Message ID | 20221122084235.1216435-1-chenyixuan@iscas.ac.cn |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2081398wrr; Tue, 22 Nov 2022 00:43:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf6CXMK15WES52vP0hlKoMyoegIpt5y6pgkrL2eBrsJmlK8lW/BOeuV001xFbkMzoaGsohoi X-Received: by 2002:a17:906:948c:b0:78d:e869:f328 with SMTP id t12-20020a170906948c00b0078de869f328mr18074454ejx.696.1669106604579; Tue, 22 Nov 2022 00:43:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669106604; cv=none; d=google.com; s=arc-20160816; b=BZ1agzfVC/6X7UgNrY2JZMFUyQZNFNtEEAfnN3F2olEW05+4plFtslnV9Mfm/OEMxU ev+9WJFtyJNj2M/JZwvTF7KfeTy9R0Rwu0EUIXVYqnWj9hp3QbLaIUgG0SkgK8OFX19O e7GZ9Vb01ME/lVDG2uLGNSJ8hDbHgyK18j9g6OTHiHmB3gpQbNvgb7bY0odrwJ8nmPmU tIFNF6bHohBEFpaD+QLSzclYUqJHUg/8fpAlbqQmvFiB04YvKBNy9yRh7yNILBSqVyvk 6xLisbBlpPSCMwmMUMORWPhRL2lGK156YGm3vk55L/SKz3BwEbZo1B0l+Xk3vhLgK1ta H6kQ== 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:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dmarc-filter :delivered-to; bh=AAOzT+TRVSE90qLhbKY457owy6n7N1gocGdRM4Qxxv8=; b=rr8P0kSC3Lm5K6WKSaLF2Jz6YRNOXkhCDjggPnzzkH4pGJu+ixfmmpSG1YifyKyoF6 PdqCwQ47RbaBvqwyOJSgH7V+oaA4Sw/jObLVm6vZjWp+ynKAv9Huzp/uyeXKmxvit4Q1 hSWeY2fNWh2Y8hNa6Z7keHzqD1i2dgyf3PXdzEAvVYl4crFvMNgXIK1PWApdGxZ34gSq 99Vyi1HL00ajqOjEVbm7KmDXVAmvlK4N2IMIuaKwSbVcIszlxZe9gk+iU2tWDJozCyva u/pxqTN0OrPD98WhP2MJ6Jg0SZbJICTgq2dBxnF4vel1bAxxsm0M2GSRnsKtC5lFeTaV ndbw== ARC-Authentication-Results: i=1; mx.google.com; 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 sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id sa6-20020a1709076d0600b007882936242fsi6009872ejc.769.2022.11.22.00.43.24 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 00:43:24 -0800 (PST) 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; 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 AB68A3857C45 for <ouuuleilei@gmail.com>; Tue, 22 Nov 2022 08:43:20 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from cstnet.cn (smtp21.cstnet.cn [159.226.251.21]) by sourceware.org (Postfix) with ESMTP id 1F41B3857400 for <gcc-patches@gcc.gnu.org>; Tue, 22 Nov 2022 08:42:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1F41B3857400 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=iscas.ac.cn Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=iscas.ac.cn Received: from ubuntu.. (unknown [27.16.214.61]) by APP-01 (Coremail) with SMTP id qwCowAB3oO59i3xjoOrJAA--.41045S2; Tue, 22 Nov 2022 16:42:39 +0800 (CST) From: Yixuan Chen <chenyixuan@iscas.ac.cn> To: gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, andrew@sifive.com, oriachiuan@gmail.com, jiawei@iscas.ac.cn, Yixuan Chen <chenyixuan@iscas.ac.cn> Subject: [PATCH] Riscv don't support "-fprefetch-loop-arrays", skip. Date: Tue, 22 Nov 2022 16:42:35 +0800 Message-Id: <20221122084235.1216435-1-chenyixuan@iscas.ac.cn> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: qwCowAB3oO59i3xjoOrJAA--.41045S2 X-Coremail-Antispam: 1UD129KBjvdXoWrtF1fJFWkGF17AF13tF4UCFg_yoWfXwbEg3 4xGF4DtrW8Ar18AFn5ur48t3yFya1DWr9agayfK3ZFqF1DXa90ya1kuasxArykCrWjqFWf KFnavrWay3ZrKjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbwxFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_Ar0_tr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Cr0_ Gr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s 0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xII jxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr 1lF7xvr2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7MxAIw28IcxkI7VAKI48J MxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwV AFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv2 0xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4 v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AK xVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjfU5WlkUUUUU X-Originating-IP: [27.16.214.61] X-CM-SenderInfo: xfkh05pl0xt046lvutnvoduhdfq/ X-Spam-Status: No, score=-13.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, 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.29 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 Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750185127285831982?= X-GMAIL-MSGID: =?utf-8?q?1750185127285831982?= |
Series |
Riscv don't support "-fprefetch-loop-arrays", skip.
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
陈逸轩
Nov. 22, 2022, 8:42 a.m. UTC
gcc/testsuite/ChangeLog: Riscv don't support "-fprefetch-loop-arrays" option, skip. 2022-11-22 Yixuan Chen <chenyixuan@iscas.ac.cn> * gcc.dg/pr106397.c: Riscv don't support "-fprefetch-loop-arrays" option, skip. --- gcc/testsuite/gcc.dg/pr106397.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Tue, Nov 22, 2022 at 9:43 AM Yixuan Chen <chenyixuan@iscas.ac.cn> wrote: > > gcc/testsuite/ChangeLog: > > Riscv don't support "-fprefetch-loop-arrays" option, skip. Looking around other testcases simply add -w to the set of command-line options, can you do that instead? OK with that change, Richard. > 2022-11-22 Yixuan Chen <chenyixuan@iscas.ac.cn> > > * gcc.dg/pr106397.c: Riscv don't support "-fprefetch-loop-arrays" option, skip. > --- > gcc/testsuite/gcc.dg/pr106397.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.dg/pr106397.c b/gcc/testsuite/gcc.dg/pr106397.c > index 2bc17f8cf80..7b507125575 100644 > --- a/gcc/testsuite/gcc.dg/pr106397.c > +++ b/gcc/testsuite/gcc.dg/pr106397.c > @@ -1,7 +1,7 @@ > /* { dg-do compile } */ > /* { dg-options "-O3 -fprefetch-loop-arrays --param l2-cache-size=0 --param prefetch-latency=3 -fprefetch-loop-arrays" } */ > /* { dg-additional-options "-march=i686 -msse" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */ > - > +/* { dg-skip-if "" { riscv*-*-* } } */ > int > bar (void) > { > -- > 2.37.2 >
diff --git a/gcc/testsuite/gcc.dg/pr106397.c b/gcc/testsuite/gcc.dg/pr106397.c index 2bc17f8cf80..7b507125575 100644 --- a/gcc/testsuite/gcc.dg/pr106397.c +++ b/gcc/testsuite/gcc.dg/pr106397.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O3 -fprefetch-loop-arrays --param l2-cache-size=0 --param prefetch-latency=3 -fprefetch-loop-arrays" } */ /* { dg-additional-options "-march=i686 -msse" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */ - +/* { dg-skip-if "" { riscv*-*-* } } */ int bar (void) {