diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2022-02-09 11:48:58 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-02-09 11:53:40 -0800 |
commit | 354349e7d59323559d0e372484f10358bd86a54f (patch) | |
tree | e2bb751862d31ee7e17867250dfcbec4d11c012b | |
parent | 499f8d4c2bc585b985882b4716f35b4c1553ce32 (diff) | |
download | gcc-354349e7d59323559d0e372484f10358bd86a54f.zip gcc-354349e7d59323559d0e372484f10358bd86a54f.tar.gz gcc-354349e7d59323559d0e372484f10358bd86a54f.tar.bz2 |
x86: Compile PR target/104441 tests with -march=x86-64
Compile PR target/104441 tests with -march=x86-64 to fix test failures
when GCC is configured with --with-arch=native --with-cpu=native.
PR target/104441
* gcc.target/i386/pr104441-1a.c: Compile with -march=x86-64.
* gcc.target/i386/pr104441-1b.c: Likewise.
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr104441-1a.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr104441-1b.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr104441-1a.c b/gcc/testsuite/gcc.target/i386/pr104441-1a.c index f4d2632..83734f7 100644 --- a/gcc/testsuite/gcc.target/i386/pr104441-1a.c +++ b/gcc/testsuite/gcc.target/i386/pr104441-1a.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -mtune=skylake -Wno-attributes" } */ +/* { dg-options "-O3 -march=x86-64 -mtune=skylake -Wno-attributes" } */ #include <x86intrin.h> #include <stdint.h> diff --git a/gcc/testsuite/gcc.target/i386/pr104441-1b.c b/gcc/testsuite/gcc.target/i386/pr104441-1b.c index 0b8a796..325af04 100644 --- a/gcc/testsuite/gcc.target/i386/pr104441-1b.c +++ b/gcc/testsuite/gcc.target/i386/pr104441-1b.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O3 -mvzeroupper -Wno-attributes" } */ +/* { dg-options "-O3 -march=x86-64 -mvzeroupper -Wno-attributes" } */ #include "pr104441-1a.c" |