public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Riscv don't support "-fprefetch-loop-arrays", skip.
@ 2022-11-22  8:42 Yixuan Chen
  2022-11-22  8:54 ` Richard Biener
  0 siblings, 1 reply; 2+ messages in thread
From: Yixuan Chen @ 2022-11-22  8:42 UTC (permalink / raw)
  To: gcc-patches; +Cc: kito.cheng, andrew, oriachiuan, jiawei, Yixuan Chen

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(-)

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-22  8:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-22  8:42 [PATCH] Riscv don't support "-fprefetch-loop-arrays", skip Yixuan Chen
2022-11-22  8:54 ` Richard Biener

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).