diff options
author | Hongyu Wang <hongyu.wang@intel.com> | 2023-06-28 09:13:29 +0800 |
---|---|---|
committer | Hongyu Wang <hongyu.wang@intel.com> | 2023-06-28 10:14:38 +0800 |
commit | c5703272e9e3d7dce0c45c52f1922daa77e436e8 (patch) | |
tree | 11362ddc4103a2ce1bc890afc12a2766c20cc783 | |
parent | 4ae5ad78c32bd775c6da5fd419183d29d6bef38a (diff) | |
download | gcc-c5703272e9e3d7dce0c45c52f1922daa77e436e8.zip gcc-c5703272e9e3d7dce0c45c52f1922daa77e436e8.tar.gz gcc-c5703272e9e3d7dce0c45c52f1922daa77e436e8.tar.bz2 |
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.
-rw-r--r-- | gcc/testsuite/gcc.target/i386/mvc17.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/i386/mvc17.c b/gcc/testsuite/gcc.target/i386/mvc17.c index 2c7cc2f..8b83c1a 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"))) |