Hello!

These scan-asm tests expect SSE2 as their maximum ISA level.

2016-01-13  Uros Bizjak  <ubiz...@gmail.com>

    * gcc.target/i386/pr45685.c (dg-options): Add -mno-sse4.
    * gcc.target/i386/pr68432-1.c (dg-options): Ditto.
    * gcc.target/i386/pr68432-2.c (dg-options): Ditto.
    * gcc.target/i386/pr68432-3.c (dg-options): Ditto.

Tested on x86_64-linux-gnu {,-m32} and committed to mainline SVN.

Uros.
diff --git a/gcc/testsuite/gcc.target/i386/pr45685.c 
b/gcc/testsuite/gcc.target/i386/pr45685.c
index 4edce3e..93c6686 100644
--- a/gcc/testsuite/gcc.target/i386/pr45685.c
+++ b/gcc/testsuite/gcc.target/i386/pr45685.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { ! ia32 } } } */
-/* { dg-options "-O3" } */
+/* { dg-options "-O3 -mno-sse4" } */
 
 typedef unsigned long long int uint64_t;
 typedef long long int int64_t;
diff --git a/gcc/testsuite/gcc.target/i386/pr68432-1.c 
b/gcc/testsuite/gcc.target/i386/pr68432-1.c
index 8493652..82806a2 100644
--- a/gcc/testsuite/gcc.target/i386/pr68432-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr68432-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -fno-math-errno -fno-trapping-math -msse2 -mfpmath=sse" } 
*/
+/* { dg-options "-O2 -fno-math-errno -fno-trapping-math -msse2 -mno-sse4 
-mfpmath=sse" } */
 
 float
 f1 (float f)
diff --git a/gcc/testsuite/gcc.target/i386/pr68432-2.c 
b/gcc/testsuite/gcc.target/i386/pr68432-2.c
index 8a0c295..134176f 100644
--- a/gcc/testsuite/gcc.target/i386/pr68432-2.c
+++ b/gcc/testsuite/gcc.target/i386/pr68432-2.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-Os -fno-math-errno -fno-trapping-math -msse2 -mfpmath=sse" } 
*/
+/* { dg-options "-Os -fno-math-errno -fno-trapping-math -msse2 -mno-sse4 
-mfpmath=sse" } */
 
 float
 f1 (float f)
diff --git a/gcc/testsuite/gcc.target/i386/pr68432-3.c 
b/gcc/testsuite/gcc.target/i386/pr68432-3.c
index 5f22972..173fd33 100644
--- a/gcc/testsuite/gcc.target/i386/pr68432-3.c
+++ b/gcc/testsuite/gcc.target/i386/pr68432-3.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -fno-math-errno -fno-trapping-math -msse2 -mfpmath=sse" } 
*/
+/* { dg-options "-O2 -fno-math-errno -fno-trapping-math -msse2 -mno-sse4 
-mfpmath=sse" } */
 
 float __attribute__ ((cold))
 f1 (float f)

Reply via email to