From patchwork Wed Sep 13 03:22:35 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: 138576 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp827189vqx; Tue, 12 Sep 2023 20:23:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEJJurP0qHLnAwEQq2+m9+cC+P2uLTzrsEY8IQ+cE/AFBep4ljI2OlVJg2GurX1pty98Tne X-Received: by 2002:a05:6402:184e:b0:52d:212d:78ee with SMTP id v14-20020a056402184e00b0052d212d78eemr1021856edy.25.1694575416932; Tue, 12 Sep 2023 20:23:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694575416; cv=none; d=google.com; s=arc-20160816; b=p0ymY7YUW6uS19xqO9yDwHaEvyL1ToNBUGKyPHLXecOHyZ9siKT0wNnLXhqwRjFcsC C9ZPVUvSUq7+cyuDVREk+Pdg1db50i+r1E762UG+dD1n48At0jpTbkHYXCBs62TtuExm 6w9v6fcMAzvarCX62JTFihDQMyD1KNKRLUFhVTK5N1k7fa9erdgYqcJC62/7WWow04Ey /l883OH4WflpGHJ5lmiM01Seh7nuJmFdlPSUfH/GrW4wboOMqWPm6s01F33c4yDy9PbW 92ca16xnXwnHGoaOECc+1dxR569rbEEtEGbgoe6GcwJcb0geu6csgPd7pPy1unP4pcoi OCqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender: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:dmarc-filter:delivered-to; bh=igQFXVBqsYenNja35M/WIz7zZ0pIJEROyHvAVXaywoE=; fh=12MRPJmZ1mgDpHqWoogMKqnaGRGM2b7lcuJroqfjJiw=; b=VJT0I5u7cN2iDAyHWp05nYkcCKwp7lEaG/fg5SN68aAeFQjuqV8e/JYqD/E2Fy+WNW cCcwJHrYeFjz7yPNym2v863AQUdCG8WZHorzAwsMmAI9kuHIaC289Y9a235rvjXzUwGP Sb88Eogdgqg4lsX/kVSdAqh+ClmYDmPesWj8EhYdQxte9glpQ4sxqd9LZkO+hoE2Jy11 ez6VqJeNuXeBm0tENQK6RPy+WZ6zyJ+rvJyZMFmnQQqrQqrXZA4E6M+r0kLKkSyptHvO z2IzhOzZC0dOcltD+qs7DCLJhlQKI4zrakYm4PlhUyw7U89tJMni/fk5IWd1SeT5us9k ib6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id m8-20020a50ef08000000b0052fe530a332si210714eds.67.2023.09.12.20.23.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 20:23:36 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 E31643858032 for ; Wed, 13 Sep 2023 03:23:30 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgbr2.qq.com (smtpbgbr2.qq.com [54.207.22.56]) by sourceware.org (Postfix) with ESMTPS id 6A19F3858D3C for ; Wed, 13 Sep 2023 03:23:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6A19F3858D3C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai X-QQ-mid: bizesmtp64t1694575357to0f0s6c Received: from rios-cad121.hadoop.rioslab.org ( [58.60.1.9]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 13 Sep 2023 11:22:36 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: D2GZf6M6C/ijPnbVs/ld0qb5H5C3RGEWYU+YEprnzSbRbeF47EYNCflPt0FOS 5ei95gMAec2APXSy4+Glw9HzVnD5gCKPytky7peGAc3ke9h649z7+duC+dQVYJMPiMgJpCM gh4xac/cVAeADVHmyTpmI679Nq2NojQY2RA94jBPoV3BGnWpwqvbyyODphDug37ZrbU6Pst uN+D1QQCUYG4qXkLY6zxpzFPHLMFuBo1luG+GIRXtt9/AGMrYmcpNznHEQVNalYuGu0CPI+ zyHIDkz3hpzGXuITWMXlPrW2ezwrsqRBiQ0cPadTKsHPMPpGCe03xTWPawH7NQpTuYKlWTH 2Xq1/VlTvgITeA975r3RNH8CwXdIDaVs7hnmIUfRyMgWV49Ef+CLeM0TAOvHQ== X-QQ-GoodBg: 2 X-BIZMAIL-ID: 13448452394429706564 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: [committed] RISC-V: Remove redundant ABI test Date: Wed, 13 Sep 2023 11:22:35 +0800 Message-Id: <20230913032235.2853225-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=-12.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_SHORT, 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 Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776891112702138524 X-GMAIL-MSGID: 1776891112702138524 We only support and report warning for RVV types. We don't report warning for GNU vectors. So this testcase checking is incorrect and the FAIL is bogus. Remove it and commit it. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/base/vector-abi-9.c: Removed. --- .../gcc.target/riscv/rvv/base/vector-abi-9.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c deleted file mode 100644 index b5f130f0caf..00000000000 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/vector-abi-9.c +++ /dev/null @@ -1,16 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-march=rv64gcv -mabi=lp64d --param=riscv-autovec-preference=fixed-vlmax" } */ - -#include "riscv_vector.h" - -typedef int v4si __attribute__ ((vector_size (16))); - -v4si -fun (v4si a) { return a; } /* { dg-warning "the vector type" } */ - -void -bar () -{ - v4si a; - fun (a); -}