public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1853] testsuite: Add extra ia32 options so that -fprefetch-loop-arrays works [PR106397]
@ 2022-07-27 10:01 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2022-07-27 10:01 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3044a7a824981496875acc6debf467fb904c55f2
commit r13-1853-g3044a7a824981496875acc6debf467fb904c55f2
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Jul 27 12:00:36 2022 +0200
testsuite: Add extra ia32 options so that -fprefetch-loop-arrays works [PR106397]
-fprefetch-loop-arrays isn't supported on ia32 with just -march=i386 and
similar, the following patch adds extra options similar testcases use.
2022-07-27 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/106397
* gcc.dg/pr106397.c: For ia32, add dg-additional-options
-march=i686 -msse.
Diff:
---
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 a6b2e913346..2bc17f8cf80 100644
--- a/gcc/testsuite/gcc.dg/pr106397.c
+++ b/gcc/testsuite/gcc.dg/pr106397.c
@@ -1,5 +1,6 @@
/* { 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 } } } */
int
bar (void)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-27 10:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 10:01 [gcc r13-1853] testsuite: Add extra ia32 options so that -fprefetch-loop-arrays works [PR106397] Jakub Jelinek
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).