Message ID | 20240127025016.246199-1-patrick@rivosinc.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp281050dyb; Fri, 26 Jan 2024 18:51:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IHHXLR9vNhq4oF5JRKxDpEVCfPghlY1en8l/lkxYQEnnTDmVBi2Blp0l12YhElRt6hoXPlB X-Received: by 2002:a05:6214:f6d:b0:685:f795:da5e with SMTP id iy13-20020a0562140f6d00b00685f795da5emr1014352qvb.98.1706323863727; Fri, 26 Jan 2024 18:51:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706323863; cv=pass; d=google.com; s=arc-20160816; b=HJRzWxf9E4Bc9voypIosji5Gmfk21/D1zTpKC89YbDe1L8mKWGZ/T0aLMHW9w6yWhl neMHL4H9D3tVEmo+nX86eBZYryq4L5t/VyuegxG9CCoAlda5fcABQcx3a6AGrlc/T8qT R7h6o+3oN5BIRZqb721OUpSnYZJTLjUL0c88e6PuPCYQDWWrZDvQWckSTuFRhhBvchFF f0CeeTh8q+6MhjxKLLaZHdXm+ReLrzX4ow8Nq1WHCmD11WfIPqV8nNF0A4BOQR/I7Cfr BV9KOpp0NT8LhFo0wrqxWoBhbQ6ia4RjlxTb4mtFXTTCUBEyRNfS8z7rUrIwEfs257IF IDJA== 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:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=WeG5ta7dfT3Hi1qxmcyPre0baAPtr+PGoI+4k+FkywM=; fh=8PGYJfC7jaqyHUjth+/LViv5tODJldxVjZgJWQsBDwA=; b=s0CPgi2DW60Y/j82udHgai3upmDmIHntCV0eloEZY6E8TLuZEmdj7mCrJySrncUR1l qfMlFwfOg1bwNBOjnO8bm4GLXoexap4m/19S1fLfRlUJ10J5jSpFNzmeKgDViUe/ax0E 0nTnIH+FhkwuuqiwzgGDjJejoSZnbFJJrdkLumw3pilFmSDXVadkgxsLCFyfm9pQticC D+03SPV1DoBvEaArqiDDRiCXfAoC8L7VlhY3CxFrZTUfcDBLOVOzl6rfPkhNA/X2FPYi hR7rFXp8cBeykrXZHLjJcHpJm0UGbDgQT8Y4nwdiIXpgMKB+xGW6THamMej45AoPk8lb zpig== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=c7mhfLrs; arc=pass (i=1); 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 (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id gs2-20020a056214226200b0067f235a34bcsi2747152qvb.79.2024.01.26.18.51.03 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 18:51:03 -0800 (PST) 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; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=c7mhfLrs; arc=pass (i=1); 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 709EC3858432 for <ouuuleilei@gmail.com>; Sat, 27 Jan 2024 02:51:03 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id ACEDF3858D28 for <gcc-patches@gcc.gnu.org>; Sat, 27 Jan 2024 02:50:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ACEDF3858D28 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 ACEDF3858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::635 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706323826; cv=none; b=AoZi2EPdROCkrFTZ1lIrqbO7WpmklULmHasLfRGvk0O66HSMZYnRBNQrcQuGU/52+Ep+HewqQjcZGN5KKfbRTUQ22yQuI7L/shebI0GrU1pS3eEmFmbaF1CE87BVOCxAqUYfHOIZCDYh2AZM0TVOuu35heos8vum9pg42hVc7u4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706323826; c=relaxed/simple; bh=PifE2x6z5wGscT8MO4M3xHn/vivG5aOyfsXSQQZaJv8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=wu2Xstl+zslptcaUkSBxENpzKpjqIOJBZfoSx2LBUQSNIYiqi6eNFsfzUuzvRbI8wle/jdM1xm0aGU0jF/U9TlAa3hQcr36TnBCuGt8nU1A1xinYDCZEkmpFmbcYxNFJ3ZZahfVPHTgevEKVQBvnc7vwboCQK/8YBWKwOC/vjb0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1d751bc0c15so9614395ad.2 for <gcc-patches@gcc.gnu.org>; Fri, 26 Jan 2024 18:50:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1706323822; x=1706928622; 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=WeG5ta7dfT3Hi1qxmcyPre0baAPtr+PGoI+4k+FkywM=; b=c7mhfLrs2PxDmYmivKSN7yxLBC9BLgdDVpWhEL1G+SFZJ41o99tzpZXyBujCrvW9PO Y2NRHylQfMQj3Vppw9fp1e99Bs47R3Gkkne3oxGIALZ/HvDzbEOyIUNgPgO8TGI+jJiU 9GH4cpHNSNqgc6R3UHTzr1/m6Y8315OlLUygLEGVvzCit2q3M10TLfkpngBmwGr0+kHI xssZVyyBLxQy/2oCCMpoKViiurkTD/Zgxn5jDAGvuuSCKjQK8m4eFyxkePg4EYKAem+x 7413lPqJH0TFSi7B/queVWN75kmsaFvOLq8NFXY03E5IfBxUKDNUJ2y7ZMBt2goXqGwU MptQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706323822; x=1706928622; 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=WeG5ta7dfT3Hi1qxmcyPre0baAPtr+PGoI+4k+FkywM=; b=NcDhrOCOZqWyaeeDqKEWZ3ddyG1yVw6Yo0e9gBX73yDIpcgs3lcDi8K65rTTZ99Ouz UC+99DCLoTG+IqsMUicu7c1VSKdYlBUdiQgUQenzBbNgnSXQqE3/WMpS4gLva2bq6/5C AzFgE4rYBK3hbe2d9x8jHkGkUC2Hnj1PH8TBKP7KLH0EbVAbfAAPMHOx7i2bjoGcojQw lNNrUQ3LuUTLCoEJxohI9magsaHB/V/nUUiGANJMJXYu22YtWPB5l2uCEQX6Is7Bx05Q EJvOvlSaCtCbwAX4WLyqLUph6UWxqpz+g4oN6lDNylkIH1vfNAxP3/vzZ0FnmUo6/jRe djbQ== X-Gm-Message-State: AOJu0YxruhMNJk4simKvSsPhCe8A1eRuvGt1Datd2D7QBGaz2w1D1iWx 4abolHvc4qhGwO367kzeiiBGW9ejD6VjxHC97ivdRmN/SC2KNrpOpKmLKUeDGxVIMeER0YF4gH6 g X-Received: by 2002:a17:902:e743:b0:1d7:57d:278e with SMTP id p3-20020a170902e74300b001d7057d278emr887282plf.24.1706323822218; Fri, 26 Jan 2024 18:50:22 -0800 (PST) Received: from patrick-ThinkPad-X1-Carbon-Gen-8.ba.rivosinc.com ([2601:647:5700:6860:cda:9ded:cfce:10f9]) by smtp.gmail.com with ESMTPSA id q15-20020a17090ac10f00b002901ded7356sm1831949pjt.2.2024.01.26.18.50.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 18:50:21 -0800 (PST) From: Patrick O'Neill <patrick@rivosinc.com> To: gcc-patches@gcc.gnu.org Cc: juzhe.zhong@rivai.ai, Patrick O'Neill <patrick@rivosinc.com> Subject: [PATCH] RISC-V: Add require-effective-target to pr113429 testcase Date: Fri, 26 Jan 2024 18:50:15 -0800 Message-ID: <20240127025016.246199-1-patrick@rivosinc.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789210251836288975 X-GMAIL-MSGID: 1789210251836288975 |
Series |
RISC-V: Add require-effective-target to pr113429 testcase
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Patrick O'Neill
Jan. 27, 2024, 2:50 a.m. UTC
The pr113429 testcase fails with newlib spike runs. Adding
require-effective-target rv64 and riscv_v fixes the issue.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/vsetvl/pr113429.c: Add
require-effective-target rv64 and riscv_v
Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
---
Tested using rv64gc newlib spike.
---
gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c | 2 ++
1 file changed, 2 insertions(+)
Comments
ok juzhe.zhong@rivai.ai From: Patrick O'Neill Date: 2024-01-27 10:50 To: gcc-patches CC: juzhe.zhong; Patrick O'Neill Subject: [PATCH] RISC-V: Add require-effective-target to pr113429 testcase The pr113429 testcase fails with newlib spike runs. Adding require-effective-target rv64 and riscv_v fixes the issue. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/vsetvl/pr113429.c: Add require-effective-target rv64 and riscv_v Signed-off-by: Patrick O'Neill <patrick@rivosinc.com> --- Tested using rv64gc newlib spike. --- gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c index 05c3eeecb94..a7f5db616d8 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c @@ -1,5 +1,7 @@ /* { dg-do run } */ /* { dg-options "-march=rv64gcv_zvl256b -mabi=lp64d -O3" } */ +/* { dg-require-effective-target rv64 } */ +/* { dg-require-effective-target riscv_v } */ long a; int b, c, d, e, f, g; -- 2.34.1
Committed. Thanks for catching this. Patrick On 1/28/24 19:41, juzhe.zhong@rivai.ai wrote: > ok > > > ------------------------------------------------------------------------ > juzhe.zhong@rivai.ai > > *From:* Patrick O'Neill <mailto:patrick@rivosinc.com> > *Date:* 2024-01-27 10:50 > *To:* gcc-patches <mailto:gcc-patches@gcc.gnu.org> > *CC:* juzhe.zhong <mailto:juzhe.zhong@rivai.ai>; Patrick O'Neill > <mailto:patrick@rivosinc.com> > *Subject:* [PATCH] RISC-V: Add require-effective-target to > pr113429 testcase > The pr113429 testcase fails with newlib spike runs. Adding > require-effective-target rv64 and riscv_v fixes the issue. > gcc/testsuite/ChangeLog: > * gcc.target/riscv/rvv/vsetvl/pr113429.c: Add > require-effective-target rv64 and riscv_v > Signed-off-by: Patrick O'Neill <patrick@rivosinc.com> > --- > Tested using rv64gc newlib spike. > --- > gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c | 2 ++ > 1 file changed, 2 insertions(+) > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c > b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c > index 05c3eeecb94..a7f5db616d8 100644 > --- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c > +++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c > @@ -1,5 +1,7 @@ > /* { dg-do run } */ > /* { dg-options "-march=rv64gcv_zvl256b -mabi=lp64d -O3" } */ > +/* { dg-require-effective-target rv64 } */ > +/* { dg-require-effective-target riscv_v } */ > long a; > int b, c, d, e, f, g; > -- > 2.34.1 >
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c index 05c3eeecb94..a7f5db616d8 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/vsetvl/pr113429.c @@ -1,5 +1,7 @@ /* { dg-do run } */ /* { dg-options "-march=rv64gcv_zvl256b -mabi=lp64d -O3" } */ +/* { dg-require-effective-target rv64 } */ +/* { dg-require-effective-target riscv_v } */ long a; int b, c, d, e, f, g;