From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; 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 ; 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-Google-Smtp-Source: AGHT+IGKutDCY2z8g1+SCvynQhuS7yRzX/NL4ZbZqZVD/e2v2NT2savadHCI8PZwG6mdOYsnFbMjHw== 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 To: gcc-patches@gcc.gnu.org Cc: juzhe.zhong@rivai.ai, Patrick O'Neill 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 List-Id: 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 --- 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