From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by sourceware.org (Postfix) with ESMTPS id A4E313858C2D for ; Mon, 29 Jan 2024 17:51:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A4E313858C2D 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 A4E313858C2D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::62c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706550666; cv=none; b=kg0if+uQMagl6zzNpinuS9ptq4dpR4VU6EHR3RhXuQMHec5hngrHn70IxgLTg6JGz581xSThHd3xKv0ZYO8TGt+x82UoLDHBZDGLS3BNCBGBGODxk3cjYYYuSlSa93qYrduj+dSPMtKlf94PjoxuN74QrwrwW1jYqh5yO+pJoqI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706550666; c=relaxed/simple; bh=rC+/65TKboAyXWNE7JLyi2T5yAMJjp6YHI85MYd12gk=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=VESoegEbyjLO4TQBdE4Mvp3g9XribU7y/NpTVs275+0yMp5IiOkHYiEHTiDzRgrq52VE3IMP0cyqpAGJBtkJi3RWLFEIrJ+anthN+gLP8jF7QiyeknYwllstQKPxG2xs88z0XvXP5VF8l72eylhaLQbb8I0afSEw/bVGaPGTDd4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1d750660a0aso12130155ad.0 for ; Mon, 29 Jan 2024 09:51:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1706550663; x=1707155463; darn=gcc.gnu.org; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=w6WCB8odI70HGPGdLMkPQyKSD7ejHSQFfZ9owRRiK84=; b=2R8yQ5Htelzs6lsBCaxMjw3hhkipHFWppTe3g2UxFOo6j6gExhXZT09vDhPci8QhTd akgu7cJ0IlhstRnCScsrCRXPINzqMotOE4vMB3vTKtkeWK9TMxaRMz1JlLMYHagKcRx7 EFrWqpQBAL75Z0RBxf/XG5j11uqdcmJBvQhyMbv88qtIjmu+Wsont0HR47aW9uOmkr1R azpc1h7BbJuwEcy4LyESshMLQDltmj4AmXFw9tz/dzmI8A16d5ZvnhmDuyxioZE7HbFf JW6IGvEvvcJ06kKHQ57/eqH6Aw6qiCX0jmnTQnO/CncW4icAUn0d87aBiSL5fB0vO/f1 Ksug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706550663; x=1707155463; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=w6WCB8odI70HGPGdLMkPQyKSD7ejHSQFfZ9owRRiK84=; b=aZepU03ka7uEMT6aHBveSNCtTAP/xfCeGOKR0qNvaqjjDVaFhgViz/TMBmiNITMrpC N9Hr4fhVLPu4/9CZbcQAQv38fb2DrEnkUK9WpatQTcQSmaC956FuJsdxEolziIRDxQ/p GRUAoeDJYeA3Vcz+Gcya5sKWn8mHmxxfc+N+hCre2vTpEd+F5oBQgJ8tBmp5x98ZLVnw 6k7B7PaGo8N6+FqZ4aYPnROuC3DZBRPUkYEZKyNXk5xCnWupPRZcWGINNkfLrkZIzaNs yjS3IENQeMzMYhmyBwZFcFAS1MkcdwZcF2qBt26k2lz9dBJ+bVNxGrVN3hXDxfNeFx1G rheA== X-Gm-Message-State: AOJu0YyvBQtH7Kjvi9d9xPR265atLX3X6Xx7DZ8EAkmJxg/RXw5/o9Q0 hdKcHGkpjj1dCq/VXzzGaIeBQFPJ0xlMp+8W5yygtBl8/q8H8UTZBm7n/dgwgAg4yK7xSPCT1Wl 6 X-Google-Smtp-Source: AGHT+IHvnWqQ5kd9Ka4rFi/oWvyIFTV/qgQA106N9lhRyRqznCprqfgqHL8ZGq8NEv3DDsP+oLoOAQ== X-Received: by 2002:a17:902:e807:b0:1d8:f943:eddf with SMTP id u7-20020a170902e80700b001d8f943eddfmr1469648plg.62.1706550663602; Mon, 29 Jan 2024 09:51:03 -0800 (PST) Received: from ?IPV6:2601:647:5700:6860:5f93:65fc:11f9:e901? ([2601:647:5700:6860:5f93:65fc:11f9:e901]) by smtp.gmail.com with ESMTPSA id x5-20020a1709029a4500b001d5d736d1b2sm5605411plv.261.2024.01.29.09.51.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Jan 2024 09:51:03 -0800 (PST) Content-Type: multipart/alternative; boundary="------------tSnG90YzNhYeWPjDTkXfytMJ" Message-ID: <8c70acae-e255-4e71-bc74-b180cf0ad6d8@rivosinc.com> Date: Mon, 29 Jan 2024 09:51:01 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [Committed] RISC-V: Add require-effective-target to pr113429 testcase Content-Language: en-US To: "juzhe.zhong@rivai.ai" , gcc-patches References: <20240127025016.246199-1-patrick@rivosinc.com> <09B972E03F3130F8+202401291141029620130@rivai.ai> From: Patrick O'Neill In-Reply-To: <09B972E03F3130F8+202401291141029620130@rivai.ai> X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,GIT_PATCH_0,HTML_MESSAGE,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: This is a multi-part message in MIME format. --------------tSnG90YzNhYeWPjDTkXfytMJ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 > *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 > --- > 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 > --------------tSnG90YzNhYeWPjDTkXfytMJ--