From patchwork Wed Oct 25 08:08:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?6ZKf5bGF5ZOy?= X-Patchwork-Id: 1854865 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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 4SFhQ744nzz23jV for ; Wed, 25 Oct 2023 19:08:31 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 85D793858032 for ; Wed, 25 Oct 2023 08:08:29 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgau1.qq.com (smtpbgau1.qq.com [54.206.16.166]) by sourceware.org (Postfix) with ESMTPS id 92EF83858C27 for ; Wed, 25 Oct 2023 08:08:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 92EF83858C27 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 92EF83858C27 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=54.206.16.166 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698221298; cv=none; b=k0qscmkJEIQVl6lOcgywOjtVqvjcLVQqy19VyRkCEToDcJ+4iQz+/rUfD33A+TgaFBhzHz0zhvpFi13PcYWFCfVZGvvvQXTIPXLKmYtxop+/yP7asp1KauG9CMYR/BGAzDn/CLOwfCkCUV+4oHyYqmfHjI/wohSE2GoT05BrYuA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698221298; c=relaxed/simple; bh=cXLEVJvdAK0LYScOP97Al2XU9TrkZz5ieJk73J3cxCI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=rZ3kPPfFk0WyTk39RprVt+qbVlGE1rkksRbNTcY3MBUNpxauKUNdmEKRNlS0F5idST/9ANgERAundST77qXm7HgNzVboObMPdprgNtUu/ephSboiwxs9Wj+vSUokrQVKNVJwLNxhBFishmip5JKoJfB8MvbVYUFiqMBqlwtraLk= ARC-Authentication-Results: i=1; server2.sourceware.org X-QQ-mid: bizesmtp90t1698221289tc20eums Received: from rios-cad122.hadoop.rioslab.org ( [58.60.1.26]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 25 Oct 2023 16:08:07 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: +ynUkgUhZJl+uhG6jQ5rFd5wbvrIUXFcQDfq2JGKAKIDqODKQHmdCInmEpX01 CQUXYCFQH8DWbxdg4xFM3rgJLoP/nvcs7s/keCwRj9XfBtDnQUIsWuoFrZauzdGZuwofpl3 HJfOonvN56S21ovHlMlTQvIrgM0t5EyC1fTGZD5YmQQ2RV7iIRI6jxW3/rJ8ubDaKPl/lMM SMxp61yrxggOPh0JwvB5FBurjJE2lMWZcNLQjhVE+oMnEZLtSMi3ShmeiWVSBxGeUHLu0+3 zmEmg7eZeW6Z3Sh+Y/jSQi2mOJfRM8Mn/kVskLKjF+k3H5QPs0qxx8wLf/E9Ql35m44inEf rcDpTZeA6wvLbXBJuBePHrc9tdtW4MnZouWhcrks8dvgf9e5GG9+N8keYOV51gE/GnYd2e+ X-QQ-GoodBg: 2 X-BIZMAIL-ID: 11487506277120547490 From: Juzhe-Zhong To: gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, kito.cheng@sifive.com, jeffreyalaw@gmail.com, rdapp.gcc@gmail.com, Juzhe-Zhong Subject: [PATCH] RISC-V: Fix multiple EXCESS test FAILs in RVV testsuite Date: Wed, 25 Oct 2023 16:08:06 +0800 Message-Id: <20231025080806.1435834-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.3 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, 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 gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/slp-mask-run-1.c: Fix test. * gcc.target/riscv/rvv/autovec/vls-vlmax/vec_extract-run.c: Ditto. * gcc.target/riscv/rvv/autovec/vls-vlmax/vec_extract-runu.c: Ditto. * gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-run.c: Ditto. * gcc.target/riscv/rvv/autovec/vmv-imm-run.c: Ditto. --- gcc/testsuite/gcc.target/riscv/rvv/autovec/slp-mask-run-1.c | 2 +- .../gcc.target/riscv/rvv/autovec/vls-vlmax/vec_extract-run.c | 2 +- .../gcc.target/riscv/rvv/autovec/vls-vlmax/vec_extract-runu.c | 2 +- .../gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-run.c | 2 +- gcc/testsuite/gcc.target/riscv/rvv/autovec/vmv-imm-run.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/slp-mask-run-1.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/slp-mask-run-1.c index b3469c41c87..192040c04f6 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/slp-mask-run-1.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/slp-mask-run-1.c @@ -1,5 +1,5 @@ /* { dg-do run { target { riscv_v } } } */ -/* { dg-additional-options "-std=gnu99 -O3 -march=rv64gcv -mabi=lp64d --param=riscv-autovec-preference=scalable" } */ +/* { dg-options "-std=gnu99 -O3 --param=riscv-autovec-preference=scalable" } */ #include #include diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/vec_extract-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/vec_extract-run.c index 5df7e08c42f..a2f85477f9e 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/vec_extract-run.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/vec_extract-run.c @@ -1,5 +1,5 @@ /* { dg-do run { target { riscv_v } } } */ -/* { dg-additional-options "-std=c99 -Wno-pedantic -Wno-psabi" } */ +/* { dg-options "-std=c99 -Wno-pedantic -Wno-psabi -O3" } */ #include diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/vec_extract-runu.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/vec_extract-runu.c index 7c77ae87f08..958f764f989 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/vec_extract-runu.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/vec_extract-runu.c @@ -1,5 +1,5 @@ /* { dg-do run { target { riscv_v } } } */ -/* { dg-additional-options "-std=c99 -Wno-pedantic -Wno-psabi" } */ +/* { dg-options "-std=c99 -Wno-pedantic -Wno-psabi -O3" } */ #include #include diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-run.c index 5dc095cce51..59341f4ca9b 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-run.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vls-vlmax/vec_set-run.c @@ -1,5 +1,5 @@ /* { dg-do run { target { riscv_v } } } */ -/* { dg-additional-options "-std=c99 -Wno-pedantic -Wno-psabi" } */ +/* { dg-options "-std=c99 -Wno-pedantic -Wno-psabi -O3" } */ #include diff --git a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmv-imm-run.c b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmv-imm-run.c index 7a50b701c36..7535aeac497 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmv-imm-run.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/autovec/vmv-imm-run.c @@ -1,5 +1,5 @@ /* { dg-do run { target { riscv_v } } } */ -/* { dg-additional-options "-std=c99 -fno-vect-cost-model --param=riscv-autovec-preference=scalable -fno-builtin" } */ +/* { dg-options "-std=c99 -fno-vect-cost-model --param=riscv-autovec-preference=scalable -fno-builtin -O3" } */ #include "vmv-imm-template.h"