From patchwork Mon Jul 8 17:20:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edwin Lu X-Patchwork-Id: 1958076 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=fwT2thpg; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WHrW5341gz1xpd for ; Tue, 9 Jul 2024 03:21:05 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 87798384A054 for ; Mon, 8 Jul 2024 17:21:03 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id B0B4F385840F for ; Mon, 8 Jul 2024 17:20:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B0B4F385840F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B0B4F385840F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::429 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720459241; cv=none; b=dpLfuNdKQadPpc+3rRMXbAADiHbsxwlJ0H5d7Y7d/hu3XsAvKeEQGNRNtM1547GshIHwTQycyTls1SX2h5on/jnmF4QCIft/rjQoUHXjoBjYc7je/Pjk60BH0VrOaj836zEJxujccBEec3+9pTowXF4bL5ifPsOCdcsQsiTb2nQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720459241; c=relaxed/simple; bh=9/TgTZUIp6h0VbdD48252JJ9HP3ROe3vkpiVEiJZuoo=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=njtADkWrWj0oDZSE2Me1o7Qg9T7qyCfUtMm4OxFxmlD6+Em21/i5gng8CEjvUldlrAls/yrZ1/LlstZSl4WXa+idOxry1tvWFOM0AB6ubMTPdwMswpRrDn7pKI1xQmpzgJ0+gKyVskZNfMmniDVEkok1pEWoAl69dsKnBN62Rv4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-70afe18837cso2413031b3a.3 for ; Mon, 08 Jul 2024 10:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1720459238; x=1721064038; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FmO0SDw94sSZn+6yAlLagIomL2/ZAiT8IzBVvMAwhrg=; b=fwT2thpg0IiTdX+M4fxQqkVP4Pb7Xn+Dv1/YBdNZIBn9Ot1/Gjfu+vQ57htNjhmEh9 Zj0zpOB+4e5jOwIzRtX/HuaGikf4s/caGIJM7QQkKzx0RJVaRsXLF+6XgW/y7OK5nggh VLBv/yr5/q92TYLtAHjWpcN3l4oU05t+ab2DvIThi2cH9ipHk9gHs4xACuGAyTkFPv6U WZTuqNH4esBQMNgDYob/vtsTBTyBaSLMWXUTFDpdA2sS80uaNEeEpdYaoCyqvOhKpZOZ w4gsF8x6x85pFLSWTwrBtmO1gvoJ1xNTEiCPvzgJbIQWOEVVGoroK8Aek4d/1zPaQK7s 2ozw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720459238; x=1721064038; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FmO0SDw94sSZn+6yAlLagIomL2/ZAiT8IzBVvMAwhrg=; b=LPoccugmzOcKOGKII+waIPINeaqsmZuOnTJQ5QFHRbtjwzmETlxwsgCfeX7b/LqaMj PGC4tFmOI0HJyvSec70vxM4cnyw0dC9IkQxkYO/yFpdTd0F15dAbWy2boilLeRqprXsm 278nrwCOZjj2Dfxpnc0ijkKwX+M4wq6fbPCIMeBnvKyWIAZd+0nyJuoI11F7X1LPFN1z hX7QvGSYWxF58ShBheFl32sIwO6N5CwsD2eArh3otrD0TFQtrPXx9jqpde9ZSBRhXBO8 P73pAdYj0q6fDmI91Wd7HEu59Rf1RG10Etp0TDYEef3LS59NruIpmdhRuKBJRgOU7zaW ma2A== X-Gm-Message-State: AOJu0YyFQFsUsSy7ixsmxxBSD3fVBVfP+ZcM0tDsbuLNWRA6SX4HNZR1 /ZWHYj6m+Zob53ShivDvyrXgasTMAYr5Whru8sGDtW4pdWEZZ6NBG4r0LnmMGOtWHvLNlRd/54+ V X-Google-Smtp-Source: AGHT+IFjrWZIoYd5fehKZ5F3tIjDZPLY0gQetBa811xpJxu7TFtfWgPOpTnFXm76+u/QwotaZLrAHw== X-Received: by 2002:a05:6a21:328f:b0:1bd:1d6e:d444 with SMTP id adf61e73a8af0-1c298205ee3mr77927637.2.1720459238257; Mon, 08 Jul 2024 10:20:38 -0700 (PDT) Received: from ewlu.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b4389a37fsm125056b3a.19.2024.07.08.10.20.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jul 2024 10:20:37 -0700 (PDT) From: Edwin Lu To: gcc-patches@gcc.gnu.org Cc: gnu-toolchain@rivosinc.com, Edwin Lu Subject: [PATCH 0/2] Add support for B extention Date: Mon, 8 Jul 2024 10:20:06 -0700 Message-Id: <20240708172007.3695827-1-ewlu@rivosinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org Support for recognizing B as the collection of zba, zbb, zbs extensions https://github.com/riscv/riscv-b/tags Edwin Lu (2): RISC-V: Add support for B standard extension RISC-V: Update testsuite to use b gcc/testsuite/ChangeLog: gcc/common/config/riscv/riscv-common.cc | 6 ++++++ gcc/config/riscv/arch-canonicalize | 1 + gcc/testsuite/g++.target/riscv/redundant-bitmap-1.C | 2 +- gcc/testsuite/g++.target/riscv/redundant-bitmap-2.C | 2 +- gcc/testsuite/g++.target/riscv/redundant-bitmap-3.C | 2 +- gcc/testsuite/g++.target/riscv/redundant-bitmap-4.C | 2 +- gcc/testsuite/gcc.target/riscv/shift-add-1.c | 2 +- gcc/testsuite/gcc.target/riscv/shift-add-2.c | 2 +- gcc/testsuite/gcc.target/riscv/synthesis-1.c | 2 +- gcc/testsuite/gcc.target/riscv/synthesis-2.c | 2 +- gcc/testsuite/gcc.target/riscv/synthesis-3.c | 2 +- gcc/testsuite/gcc.target/riscv/synthesis-4.c | 2 +- gcc/testsuite/gcc.target/riscv/synthesis-5.c | 2 +- gcc/testsuite/gcc.target/riscv/synthesis-6.c | 2 +- gcc/testsuite/gcc.target/riscv/synthesis-7.c | 2 +- gcc/testsuite/gcc.target/riscv/synthesis-8.c | 2 +- gcc/testsuite/gcc.target/riscv/zba_zbs_and-1.c | 2 +- gcc/testsuite/gcc.target/riscv/zbs-zext-3.c | 4 ++-- gcc/testsuite/lib/target-supports.exp | 2 +- 19 files changed, 25 insertions(+), 18 deletions(-)