i386: Compile PR target/87007 tests with -mfpmath=sse
authorH.J. Lu <hongjiu.lu@intel.com>
Sun, 24 Feb 2019 22:41:55 +0000 (22:41 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sun, 24 Feb 2019 22:41:55 +0000 (14:41 -0800)
-mfpmath=sse is needed to enable SSE for FP math in 32-bit.

PR target/87007
* gcc.target/i386/pr87007-1.c: Compile with -mfpmath=sse.
* gcc.target/i386/pr87007-2.c: Likewise.

From-SVN: r269178

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr87007-1.c
gcc/testsuite/gcc.target/i386/pr87007-2.c

index 804cf45..39d7ab5 100644 (file)
@@ -1,3 +1,9 @@
+2019-02-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/87007
+       * gcc.target/i386/pr87007-1.c: Compile with -mfpmath=sse.
+       * gcc.target/i386/pr87007-2.c: Likewise.
+
 2019-02-24  Harald Anlauf  <anlauf@gmx.de>
 
        PR fortran/89266
index 93cf1dc..616a70c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=skylake" } */
+/* { dg-options "-O2 -march=skylake -mfpmath=sse" } */
 
 extern float f;
 extern double d;
index cca7ae7..fc0b3f5 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=skylake" } */
+/* { dg-options "-O2 -march=skylake -mfpmath=sse" } */
 
 extern float f;
 extern double d;