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] Ver2: Riscv don't support "-fprefetch-loop-arrays" option, add "-w" option.
Date: Tue, 22 Nov 2022 17:48:42 +0800 [thread overview]
Message-ID: <20221122094842.2629693-1-chenyixuan@iscas.ac.cn> (raw)
gcc/testsuite/ChangeLog:
Riscv don't support "-fprefetch-loop-arrays" option, add "-w" option.
2022-11-22 Yixuan Chen <chenyixuan@iscas.ac.cn>
* gcc.dg/pr106397.c: Riscv don't support "-fprefetch-loop-arrays" option, add "-w" option.
---
gcc/testsuite/gcc.dg/pr106397.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.dg/pr106397.c b/gcc/testsuite/gcc.dg/pr106397.c
index 2bc17f8cf80..b0983b61dfc 100644
--- a/gcc/testsuite/gcc.dg/pr106397.c
+++ b/gcc/testsuite/gcc.dg/pr106397.c
@@ -1,6 +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-additional-options "-w" { target riscv*-*-* } } */
int
bar (void)
--
2.37.2
next reply other threads:[~2022-11-22 9:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-22 9:48 Yixuan Chen [this message]
2022-11-22 10:03 ` Richard Biener
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221122094842.2629693-1-chenyixuan@iscas.ac.cn \
--to=chenyixuan@iscas.ac.cn \
--cc=andrew@sifive.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jiawei@iscas.ac.cn \
--cc=kito.cheng@gmail.com \
--cc=oriachiuan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).