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: "juzhe.zhong@rivai.ai" X-Patchwork-Id: 157911 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2439529vqx; Wed, 25 Oct 2023 01:08:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IETSRIkMJV+pTrNzLdA5zulPpIo974kLg4PLrYV4Pc5sMMBycSvCK+km/23xkG8+poN5eul X-Received: by 2002:a05:622a:148e:b0:41c:da4f:fa26 with SMTP id t14-20020a05622a148e00b0041cda4ffa26mr12877140qtx.66.1698221322006; Wed, 25 Oct 2023 01:08:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698221321; cv=pass; d=google.com; s=arc-20160816; b=1BxU9T4+UA4FeePcs4d/YaWLqNzvck1RlHQA7+ZgE+KTZ4QQYLFOF7P0RVz3YR0l/X ROLPSSpjyifGZOFt7kZpUKr9CRbfemkNp+/WUUIFdSpG3PElRfMFevR/PRiUu3srzsCU zJQfzt3JjFXxNaSGq+icDjSD4Ho2tSKu45IOQ6qqjmb2m2Z+87qjv0Q8yFoJbORLCGwA RW3INBjqkhyCtAc0ZJ8zzgdtZKE95L4j/lf8Ic9DwBGwPA0HAh4qUwuEVourV+WD2cNb 9MnZ+iJdOum6jTn9Mu3L8z/NEFyeYIUPNlsmQ8X3HMnq+TQWx64z3j6rXZkuVFnGOzcg YIlQ== 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:feedback-id :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:arc-filter:dmarc-filter:delivered-to; bh=UB90Q/65fs3WVxAiPsWd0CRkZ8HgYhE62UR3BWvpeZU=; fh=12MRPJmZ1mgDpHqWoogMKqnaGRGM2b7lcuJroqfjJiw=; b=aKvY4i77Ap1Vaclmg+ag9yzdgGNRubtcd3yGgOBQYSauIoiUmaHdoo7aAONcRUMaUs /nQGp9GKTxeIhMlKEa65IqvliFDO4SIOsOm35E+CKiVB67IElskNlevY9oVU37gzLaXq H/I+Mn1tnp2+Azh/AhLp34PK8gCBV1FWJtEgdN+WapE9dpFSVDsh6plF1rq+g8RlxiaM /QG50mhRg2TPtBTzTzirKDEdLbXvYEZS7N5ehMO0hswLK5Snr5/GDSw81SlALp67EeEQ sr6WozXPLh8TQo2WibUI/iBVixF12JJg+GIQSxLKxCyv6xf/pnyhzSFNNIoX2f4ScXVQ Ns4A== 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 f3-20020ac87f03000000b0040fdab1c16csi8379632qtk.616.2023.10.25.01.08.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 01:08:41 -0700 (PDT) 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 C2B94385770B for ; Wed, 25 Oct 2023 08:08:41 +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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780714120728436783 X-GMAIL-MSGID: 1780714120728436783 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"