From patchwork Thu Nov 30 06:16:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Wang X-Patchwork-Id: 171742 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp184794vqy; Wed, 29 Nov 2023 22:18:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IF8J7zOUkLT/FnBW786fiZclTScIsMGJgHIFHCqjj85DKM2sHLQqhQ2lGDdWcPgjT7vNtId X-Received: by 2002:a05:622a:1344:b0:417:fd7e:2154 with SMTP id w4-20020a05622a134400b00417fd7e2154mr24900877qtk.9.1701325100235; Wed, 29 Nov 2023 22:18:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701325100; cv=pass; d=google.com; s=arc-20160816; b=1Je2ie1/ZEy8VzdkFT3OT1j6U+07RCq+ddmExsqsTdfr1OffCs4wQCd5bkRb6T1vZ3 O/iBgqrH5GgSf0miFar6mIIj6Ngz3obqplj0/NNYpmw3NuFKOOEAcYuKaMU8gxhYxOFU 1KqPxMleG5bbh1MROL3vVUVV6+wV+1g60W11wwqmBJni7alT/k36MHJenZOw+ASyumi5 ByerRtlEAwuMAKP2qKjgoLgVh3CqHbdaDWKJY1yXrVgRIfNZ3nyQBf7qmsrblouW9jK1 bM//6Qk0YstpqejhOPJyoGX0nPwbqNlL2qHRgOcvRbOlsn3xVxPYwYrq3+2/RViJQs35 T95A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:message-id:date:subject:cc:to :from:arc-filter:dmarc-filter:delivered-to; bh=lLzEoVyN76VGYW7LqchDG28DzcsCCWgs1z02qhEP6jc=; fh=BmNy8UxvGkxau2yr1HBiUMVbmODcbPrkvQ7Pba0vQOs=; b=eEkMujTQdUxnSOM3GFD3Q4iRP0oaW16RM/M1GqyMRYBFETb8K+2BET3L1488YGLrTs bnq2Yhz18yGnmW02MwirGxwAcPZmmoDgaDHPFgpqmAhtS8iQkrIzAfO7PBmVsV9ILADu SAXYaXEmg0QOujJbRE06bZySSTXqIHD9rdoK+giO2PbxGZOHI4Ebz+PlrIspefEWeXDY +H9wmu41OCOSNxiom2UutAXAulWujOVQZk+XKmn2Q6ADz7dOC3BjLKi/u6AcFOK0cKWN BbBC5yAaosf3P08hNIFKZPoEh3IGeftQjzO0vtSpviMWKQ+O3Q3syNwU9cpjBN5XZBAm RviA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id b26-20020ac8755a000000b0042383d30bb7si413086qtr.436.2023.11.29.22.18.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 22:18:20 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0570C3858289 for ; Thu, 30 Nov 2023 06:18:20 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [52.237.72.81]) by sourceware.org (Postfix) with ESMTP id 1B95B3858D39 for ; Thu, 30 Nov 2023 06:17:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1B95B3858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=eswincomputing.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=eswincomputing.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1B95B3858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=52.237.72.81 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701325075; cv=none; b=M2J9fWj1wCwrnmwxurc3d48diKLb9ZqvOK4EK/ZGva+DpKpPJ2esNshLY6M5gGWAesWbst7x+ctSTXmWaAkstxBnTCthequUDgHbVq3x/6JccVuXEiNOI9NUCYj3bR/ASGyccWvpDCz9JR4Rkxc/tWYzEWZQuKbSIqnKZMtOhCo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701325075; c=relaxed/simple; bh=ZjuGlJYb8rESc9sFr0T5MQzvPBvy/O1AiQC3XYBv4/Q=; h=From:To:Subject:Date:Message-Id; b=ZMxciHunY9wgTCpnP06CLAvXaesgVNu/aeda3fHz/0ecJLDCsBY92DWNt9kLRoSvaXuyRqezxeNT6/b/RhQx9gUHy+kb6osYBOS9n7rSh3qIDSi3hW96hRUc7UNGG01JykchNFttZM234kuJhXyIrkOUCLEzfwjmTEBRC6Av8GQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost.localdomain (unknown [10.12.130.31]) by app1 (Coremail) with SMTP id TAJkCgAnAn_NKGhl2ekBAA--.9602S4; Thu, 30 Nov 2023 14:16:46 +0800 (CST) From: Feng Wang To: gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, jeffreyalaw@gmail.com, Feng Wang Subject: [PATCH] RISC-V: Update crypto vector ISA info with latest spec Date: Thu, 30 Nov 2023 06:16:52 +0000 Message-Id: <20231130061652.1382-1-wangfeng@eswincomputing.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: TAJkCgAnAn_NKGhl2ekBAA--.9602S4 X-Coremail-Antispam: 1UD129KBjvAXoW3KFy5uF18ZrWxur4fur13XFb_yoW8Xry5Wo Z7Krs5Ca1fWw1ayw47ur13u3ykZ3sFgw4SqFZFkF4kGay2gr1rC3y7t397Zr17XryfXFyY 9F4UAayDXF98J34Dn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73VFW2AGmfu7bjvjm3 AaLaJ3UjIYCTnIWjp_UUUY87AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20xva j40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxSw2 x7M28EF7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxVW8 Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I0E14v26r xl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj 6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr 0_Gr1lF7xvr2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7MxkIecxEwVCm-wCF 04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r 18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vI r41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr 1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvE x4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7VUbrMaUUUUUU== X-CM-SenderInfo: pzdqwwxhqjqvxvzl0uprps33xlqjhudrp/ X-Spam-Status: No, score=-12.7 required=5.0 tests=GIT_PATCH_0, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783968668512888514 X-GMAIL-MSGID: 1783968668512888514 This patch add the Zvkb subset of crypto vector extension. The corresponding test cases have aslo been modified. gcc/ChangeLog: * common/config/riscv/riscv-common.cc: Add zvkb ISA info. * config/riscv/riscv.opt: Add Mask(ZVKB) gcc/testsuite/ChangeLog: * gcc.target/riscv/zvkn-1.c: Replace zvbb with zvkb. * gcc.target/riscv/zvkn.c: Ditto. * gcc.target/riscv/zvknc-1.c: Ditto. * gcc.target/riscv/zvknc-2.c: Ditto. * gcc.target/riscv/zvknc.c: Ditto. * gcc.target/riscv/zvkng-1.c: Ditto. * gcc.target/riscv/zvkng-2.c: Ditto. * gcc.target/riscv/zvkng.c: Ditto. * gcc.target/riscv/zvks-1.c: Ditto. * gcc.target/riscv/zvks.c: Ditto. * gcc.target/riscv/zvksc-1.c: Ditto. * gcc.target/riscv/zvksc-2.c: Ditto. * gcc.target/riscv/zvksc.c: Ditto. * gcc.target/riscv/zvksg-1.c: Ditto. * gcc.target/riscv/zvksg-2.c: Ditto. * gcc.target/riscv/zvksg.c: Ditto. --- gcc/common/config/riscv/riscv-common.cc | 6 ++++-- gcc/config/riscv/riscv.opt | 2 ++ gcc/testsuite/gcc.target/riscv/zvkn-1.c | 8 ++++---- gcc/testsuite/gcc.target/riscv/zvkn.c | 4 ++-- gcc/testsuite/gcc.target/riscv/zvknc-1.c | 8 ++++---- gcc/testsuite/gcc.target/riscv/zvknc-2.c | 4 ++-- gcc/testsuite/gcc.target/riscv/zvknc.c | 4 ++-- gcc/testsuite/gcc.target/riscv/zvkng-1.c | 8 ++++---- gcc/testsuite/gcc.target/riscv/zvkng-2.c | 4 ++-- gcc/testsuite/gcc.target/riscv/zvkng.c | 4 ++-- gcc/testsuite/gcc.target/riscv/zvks-1.c | 8 ++++---- gcc/testsuite/gcc.target/riscv/zvks.c | 4 ++-- gcc/testsuite/gcc.target/riscv/zvksc-1.c | 8 ++++---- gcc/testsuite/gcc.target/riscv/zvksc-2.c | 4 ++-- gcc/testsuite/gcc.target/riscv/zvksc.c | 4 ++-- gcc/testsuite/gcc.target/riscv/zvksg-1.c | 8 ++++---- gcc/testsuite/gcc.target/riscv/zvksg-2.c | 4 ++-- gcc/testsuite/gcc.target/riscv/zvksg.c | 4 ++-- 18 files changed, 50 insertions(+), 46 deletions(-) diff --git a/gcc/common/config/riscv/riscv-common.cc b/gcc/common/config/riscv/riscv-common.cc index ded85b4c578..6c210412515 100644 --- a/gcc/common/config/riscv/riscv-common.cc +++ b/gcc/common/config/riscv/riscv-common.cc @@ -106,7 +106,7 @@ static const riscv_implied_info_t riscv_implied_info[] = {"zvkn", "zvkned"}, {"zvkn", "zvknhb"}, - {"zvkn", "zvbb"}, + {"zvkn", "zvkb"}, {"zvkn", "zvkt"}, {"zvknc", "zvkn"}, {"zvknc", "zvbc"}, @@ -114,7 +114,7 @@ static const riscv_implied_info_t riscv_implied_info[] = {"zvkng", "zvkg"}, {"zvks", "zvksed"}, {"zvks", "zvksh"}, - {"zvks", "zvbb"}, + {"zvks", "zvkb"}, {"zvks", "zvkt"}, {"zvksc", "zvks"}, {"zvksc", "zvbc"}, @@ -253,6 +253,7 @@ static const struct riscv_ext_version riscv_ext_version_table[] = {"zvbb", ISA_SPEC_CLASS_NONE, 1, 0}, {"zvbc", ISA_SPEC_CLASS_NONE, 1, 0}, + {"zvkb", ISA_SPEC_CLASS_NONE, 1, 0}, {"zvkg", ISA_SPEC_CLASS_NONE, 1, 0}, {"zvkned", ISA_SPEC_CLASS_NONE, 1, 0}, {"zvknha", ISA_SPEC_CLASS_NONE, 1, 0}, @@ -1624,6 +1625,7 @@ static const riscv_ext_flag_table_t riscv_ext_flag_table[] = {"zvbb", &gcc_options::x_riscv_zvb_subext, MASK_ZVBB}, {"zvbc", &gcc_options::x_riscv_zvb_subext, MASK_ZVBC}, + {"zvkb", &gcc_options::x_riscv_zvb_subext, MASK_ZVKB}, {"zvkg", &gcc_options::x_riscv_zvk_subext, MASK_ZVKG}, {"zvkned", &gcc_options::x_riscv_zvk_subext, MASK_ZVKNED}, {"zvknha", &gcc_options::x_riscv_zvk_subext, MASK_ZVKNHA}, diff --git a/gcc/config/riscv/riscv.opt b/gcc/config/riscv/riscv.opt index 0c6517bdc8b..78186fff6c5 100644 --- a/gcc/config/riscv/riscv.opt +++ b/gcc/config/riscv/riscv.opt @@ -319,6 +319,8 @@ Mask(ZVBB) Var(riscv_zvb_subext) Mask(ZVBC) Var(riscv_zvb_subext) +Mask(ZVKB) Var(riscv_zvb_subext) + TargetVariable int riscv_zvk_subext diff --git a/gcc/testsuite/gcc.target/riscv/zvkn-1.c b/gcc/testsuite/gcc.target/riscv/zvkn-1.c index 23b255b4779..069a8f66c92 100644 --- a/gcc/testsuite/gcc.target/riscv/zvkn-1.c +++ b/gcc/testsuite/gcc.target/riscv/zvkn-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-march=rv64gc_zvkned_zvknhb_zvbb_zvkt" { target { rv64 } } } */ -/* { dg-options "-march=rv32gc_zvkned_zvknhb_zvbb_zvkt" { target { rv32 } } } */ +/* { dg-options "-march=rv64gc_zvkned_zvknhb_zvkb_zvkt" { target { rv64 } } } */ +/* { dg-options "-march=rv32gc_zvkned_zvknhb_zvkb_zvkt" { target { rv32 } } } */ #ifndef __riscv_zvkn #error "Feature macro for `Zvkn' not defined" @@ -14,8 +14,8 @@ #error "Feature macro for `Zvknhb' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvkn.c b/gcc/testsuite/gcc.target/riscv/zvkn.c index 0047ebdede6..bcecbcc7e77 100644 --- a/gcc/testsuite/gcc.target/riscv/zvkn.c +++ b/gcc/testsuite/gcc.target/riscv/zvkn.c @@ -14,8 +14,8 @@ #error "Feature macro for `Zvknhb' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvknc-1.c b/gcc/testsuite/gcc.target/riscv/zvknc-1.c index d8a84c02118..64cae2bfe83 100644 --- a/gcc/testsuite/gcc.target/riscv/zvknc-1.c +++ b/gcc/testsuite/gcc.target/riscv/zvknc-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-march=rv64gc_zvkned_zvknhb_zvbb_zvkt_zvbc" { target { rv64 } } } */ -/* { dg-options "-march=rv32gc_zvkned_zvknhb_zvbb_zvkt_zvbc" { target { rv32 } } } */ +/* { dg-options "-march=rv64gc_zvkned_zvknhb_zvkb_zvkt_zvbc" { target { rv64 } } } */ +/* { dg-options "-march=rv32gc_zvkned_zvknhb_zvkb_zvkt_zvbc" { target { rv32 } } } */ #ifndef __riscv_zvknc #error "Feature macro for `Zvknc' not defined" @@ -18,8 +18,8 @@ #error "Feature macro for `Zvknhb' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `ZvKb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvknc-2.c b/gcc/testsuite/gcc.target/riscv/zvknc-2.c index 36cc6335d13..1f8b510bfd1 100644 --- a/gcc/testsuite/gcc.target/riscv/zvknc-2.c +++ b/gcc/testsuite/gcc.target/riscv/zvknc-2.c @@ -18,8 +18,8 @@ #error "Feature macro for `Zvknhb' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvknc.c b/gcc/testsuite/gcc.target/riscv/zvknc.c index a177f17fbd7..64dda5fdf1f 100644 --- a/gcc/testsuite/gcc.target/riscv/zvknc.c +++ b/gcc/testsuite/gcc.target/riscv/zvknc.c @@ -18,8 +18,8 @@ #error "Feature macro for `Zvknhb' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvkng-1.c b/gcc/testsuite/gcc.target/riscv/zvkng-1.c index d996b42af00..5419585f4de 100644 --- a/gcc/testsuite/gcc.target/riscv/zvkng-1.c +++ b/gcc/testsuite/gcc.target/riscv/zvkng-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-march=rv64gc_zvkned_zvknhb_zvbb_zvkt_zvkg" { target { rv64 } } } */ -/* { dg-options "-march=rv32gc_zvkned_zvknhb_zvbb_zvkt_zvkg" { target { rv32 } } } */ +/* { dg-options "-march=rv64gc_zvkned_zvknhb_zvkb_zvkt_zvkg" { target { rv64 } } } */ +/* { dg-options "-march=rv32gc_zvkned_zvknhb_zvkb_zvkt_zvkg" { target { rv32 } } } */ #ifndef __riscv_zvkng #error "Feature macro for `Zvkng' not defined" @@ -18,8 +18,8 @@ #error "Feature macro for `Zvknhb' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvkng-2.c b/gcc/testsuite/gcc.target/riscv/zvkng-2.c index 00199992d5c..6c7b239e831 100644 --- a/gcc/testsuite/gcc.target/riscv/zvkng-2.c +++ b/gcc/testsuite/gcc.target/riscv/zvkng-2.c @@ -18,8 +18,8 @@ #error "Feature macro for `Zvknhb' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvkng.c b/gcc/testsuite/gcc.target/riscv/zvkng.c index 4605faf3c6c..6c516a4ae13 100644 --- a/gcc/testsuite/gcc.target/riscv/zvkng.c +++ b/gcc/testsuite/gcc.target/riscv/zvkng.c @@ -18,8 +18,8 @@ #error "Feature macro for `Zvknhb' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvks-1.c b/gcc/testsuite/gcc.target/riscv/zvks-1.c index a576cdb0476..180b3f3c2a9 100644 --- a/gcc/testsuite/gcc.target/riscv/zvks-1.c +++ b/gcc/testsuite/gcc.target/riscv/zvks-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-march=rv64gc_zvksed_zvksh_zvbb_zvkt" { target { rv64 } } } */ -/* { dg-options "-march=rv32gc_zvksed_zvksh_zvbb_zvkt" { target { rv32 } } } */ +/* { dg-options "-march=rv64gc_zvksed_zvksh_zvkb_zvkt" { target { rv64 } } } */ +/* { dg-options "-march=rv32gc_zvksed_zvksh_zvkb_zvkt" { target { rv32 } } } */ #ifndef __riscv_zvks #error "Feature macro for `Zvks' not defined" @@ -14,8 +14,8 @@ #error "Feature macro for `Zvksh' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvks.c b/gcc/testsuite/gcc.target/riscv/zvks.c index d31b2610c20..2022d168ec1 100644 --- a/gcc/testsuite/gcc.target/riscv/zvks.c +++ b/gcc/testsuite/gcc.target/riscv/zvks.c @@ -14,8 +14,8 @@ #error "Feature macro for `Zvksh' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvksc-1.c b/gcc/testsuite/gcc.target/riscv/zvksc-1.c index 3b76e6cea70..0c81b4ee93b 100644 --- a/gcc/testsuite/gcc.target/riscv/zvksc-1.c +++ b/gcc/testsuite/gcc.target/riscv/zvksc-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-march=rv64gc_zvksed_zvksh_zvbb_zvkt_zvbc" { target { rv64 } } } */ -/* { dg-options "-march=rv32gc_zvksed_zvksh_zvbb_zvkt_zvbc" { target { rv32 } } } */ +/* { dg-options "-march=rv64gc_zvksed_zvksh_zvkb_zvkt_zvbc" { target { rv64 } } } */ +/* { dg-options "-march=rv32gc_zvksed_zvksh_zvkb_zvkt_zvbc" { target { rv32 } } } */ #ifndef __riscv_zvksc #error "Feature macro for `Zvksc' not defined" @@ -18,8 +18,8 @@ #error "Feature macro for `Zvksh' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvksc-2.c b/gcc/testsuite/gcc.target/riscv/zvksc-2.c index b95e34ec6e4..0cee3586390 100644 --- a/gcc/testsuite/gcc.target/riscv/zvksc-2.c +++ b/gcc/testsuite/gcc.target/riscv/zvksc-2.c @@ -18,8 +18,8 @@ #error "Feature macro for `Zvksh' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvksc.c b/gcc/testsuite/gcc.target/riscv/zvksc.c index 983f1aa89ec..6c33a86aa2e 100644 --- a/gcc/testsuite/gcc.target/riscv/zvksc.c +++ b/gcc/testsuite/gcc.target/riscv/zvksc.c @@ -18,8 +18,8 @@ #error "Feature macro for `Zvksh' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvksg-1.c b/gcc/testsuite/gcc.target/riscv/zvksg-1.c index e6b30552e4c..a81c8faf302 100644 --- a/gcc/testsuite/gcc.target/riscv/zvksg-1.c +++ b/gcc/testsuite/gcc.target/riscv/zvksg-1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-march=rv64gc_zvksed_zvksh_zvbb_zvkt_zvkg" { target { rv64 } } } */ -/* { dg-options "-march=rv32gc_zvksed_zvksh_zvbb_zvkt_zvkg" { target { rv32 } } } */ +/* { dg-options "-march=rv64gc_zvksed_zvksh_zvkb_zvkt_zvkg" { target { rv64 } } } */ +/* { dg-options "-march=rv32gc_zvksed_zvksh_zvkb_zvkt_zvkg" { target { rv32 } } } */ #ifndef __riscv_zvksg #error "Feature macro for `Zvksg' not defined" @@ -18,8 +18,8 @@ #error "Feature macro for `Zvksh' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `ZvKb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvksg-2.c b/gcc/testsuite/gcc.target/riscv/zvksg-2.c index 2475e8bba1a..f6aa06bfbbe 100644 --- a/gcc/testsuite/gcc.target/riscv/zvksg-2.c +++ b/gcc/testsuite/gcc.target/riscv/zvksg-2.c @@ -18,8 +18,8 @@ #error "Feature macro for `Zvksh' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt diff --git a/gcc/testsuite/gcc.target/riscv/zvksg.c b/gcc/testsuite/gcc.target/riscv/zvksg.c index 4db9b5d6b9b..af2cd6e26ac 100644 --- a/gcc/testsuite/gcc.target/riscv/zvksg.c +++ b/gcc/testsuite/gcc.target/riscv/zvksg.c @@ -18,8 +18,8 @@ #error "Feature macro for `Zvksh' not defined" #endif -#ifndef __riscv_zvbb -#error "Feature macro for `Zvbb' not defined" +#ifndef __riscv_zvkb +#error "Feature macro for `Zvkb' not defined" #endif #ifndef __riscv_zvkt