testsuite: Fix xorsign.c, vect-double-2.c fails with -march=x86-64-v2
Checks
Commit Message
Hi, all
These testcases raise fails with -march=x86-64-v2, so add -mno-sse4 to avoid
these unexpected fails.
Bootstrap and regtest running on x86-64-linux-gnu, pushed as obvious.
BRs,
Lin
gcc/testsuite/ChangeLog:
PR testsuite/116608
* gcc.target/i386/vect-double-2.c: Add extra option -mno-sse4
* gcc.target/i386/xorsign.c: Ditto.
---
gcc/testsuite/gcc.target/i386/vect-double-2.c | 2 +-
gcc/testsuite/gcc.target/i386/xorsign.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -ftree-vectorize -fno-tree-loop-distribute-patterns -mfpmath=sse -msse2 -mtune=atom -fdump-tree-vect-stats" } */
+/* { dg-options "-O2 -ftree-vectorize -fno-tree-loop-distribute-patterns -mfpmath=sse -msse2 -mtune=atom -fdump-tree-vect-stats -mno-sse4" } */
extern void abort (void);
@@ -1,5 +1,5 @@
/* { dg-do run { target sse2_runtime } } */
-/* { dg-options "-O2 -msse2 -mfpmath=sse -ftree-vectorize -fdump-tree-vect-details -save-temps" } */
+/* { dg-options "-O2 -msse2 -mfpmath=sse -ftree-vectorize -fdump-tree-vect-details -save-temps -mno-sse4" } */
extern void abort ();