public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-2143] i386: Fix mvc17.c test for default target clone under --with-arch
@ 2023-06-28 2:16 Hongyu Wang
0 siblings, 0 replies; only message in thread
From: Hongyu Wang @ 2023-06-28 2:16 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:c5703272e9e3d7dce0c45c52f1922daa77e436e8
commit r14-2143-gc5703272e9e3d7dce0c45c52f1922daa77e436e8
Author: Hongyu Wang <hongyu.wang@intel.com>
Date: Wed Jun 28 09:13:29 2023 +0800
i386: Fix mvc17.c test for default target clone under --with-arch
For target clones, the default clone follows the default march
so adjust the testcase to avoid test failure on --with-arch=native
build.
gcc/testsuite/ChangeLog:
* gcc.target/i386/mvc17.c: Add -march=x86-64 to dg-options.
Diff:
---
gcc/testsuite/gcc.target/i386/mvc17.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/i386/mvc17.c b/gcc/testsuite/gcc.target/i386/mvc17.c
index 2c7cc2fdace..8b83c1aecb3 100644
--- a/gcc/testsuite/gcc.target/i386/mvc17.c
+++ b/gcc/testsuite/gcc.target/i386/mvc17.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-require-ifunc "" } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -march=x86-64" } */
/* { dg-final { scan-assembler-times "rep mov" 1 } } */
__attribute__((target_clones("default","arch=icelake-server")))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-28 2:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-28 2:16 [gcc r14-2143] i386: Fix mvc17.c test for default target clone under --with-arch Hongyu Wang
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).