OSDN Git Service

* gcc.target/i386/fma_double_1.c: Add -mfpmath=sse.
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Oct 2011 10:18:48 +0000 (10:18 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Oct 2011 10:18:48 +0000 (10:18 +0000)
* gcc.target/i386/fma_double_2.c: Ditto.
* gcc.target/i386/fma_double_3.c: Ditto.
* gcc.target/i386/fma_double_4.c: Ditto.
* gcc.target/i386/fma_double_5.c: Ditto.
* gcc.target/i386/fma_double_6.c: Ditto.
* gcc.target/i386/fma_float_1.c: Ditto.
* gcc.target/i386/fma_float_2.c: Ditto.
* gcc.target/i386/fma_float_3.c: Ditto.
* gcc.target/i386/fma_float_4.c: Ditto.
* gcc.target/i386/fma_float_5.c: Ditto.
* gcc.target/i386/fma_float_6.c: Ditto.
* gcc.target/i386/l_fma_double_1.c: Ditto.
* gcc.target/i386/l_fma_double_2.c: Ditto.
* gcc.target/i386/l_fma_double_3.c: Ditto.
* gcc.target/i386/l_fma_double_4.c: Ditto.
* gcc.target/i386/l_fma_double_5.c: Ditto.
* gcc.target/i386/l_fma_double_6.c: Ditto.
* gcc.target/i386/l_fma_float_1.c: Ditto.
* gcc.target/i386/l_fma_float_2.c: Ditto.
* gcc.target/i386/l_fma_float_3.c: Ditto.
* gcc.target/i386/l_fma_float_4.c: Ditto.
* gcc.target/i386/l_fma_float_5.c: Ditto.
* gcc.target/i386/l_fma_float_6.c: Ditto.
* gcc.target/i386/l_fma_run_double_1.c: Ditto.
* gcc.target/i386/l_fma_run_double_2.c: Ditto.
* gcc.target/i386/l_fma_run_double_3.c: Ditto.
* gcc.target/i386/l_fma_run_double_4.c: Ditto.
* gcc.target/i386/l_fma_run_double_5.c: Ditto.
* gcc.target/i386/l_fma_run_double_6.c: Ditto.
* gcc.target/i386/l_fma_run_float_1.c: Ditto.
* gcc.target/i386/l_fma_run_float_2.c: Ditto.
* gcc.target/i386/l_fma_run_float_3.c: Ditto.
* gcc.target/i386/l_fma_run_float_4.c: Ditto.
* gcc.target/i386/l_fma_run_float_5.c: Ditto.
* gcc.target/i386/l_fma_run_float_6.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179796 138bc75d-0d04-0410-961f-82ee72b054a4

37 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/fma_double_1.c
gcc/testsuite/gcc.target/i386/fma_double_2.c
gcc/testsuite/gcc.target/i386/fma_double_3.c
gcc/testsuite/gcc.target/i386/fma_double_4.c
gcc/testsuite/gcc.target/i386/fma_double_5.c
gcc/testsuite/gcc.target/i386/fma_double_6.c
gcc/testsuite/gcc.target/i386/fma_float_1.c
gcc/testsuite/gcc.target/i386/fma_float_2.c
gcc/testsuite/gcc.target/i386/fma_float_3.c
gcc/testsuite/gcc.target/i386/fma_float_4.c
gcc/testsuite/gcc.target/i386/fma_float_5.c
gcc/testsuite/gcc.target/i386/fma_float_6.c
gcc/testsuite/gcc.target/i386/l_fma_double_1.c
gcc/testsuite/gcc.target/i386/l_fma_double_2.c
gcc/testsuite/gcc.target/i386/l_fma_double_3.c
gcc/testsuite/gcc.target/i386/l_fma_double_4.c
gcc/testsuite/gcc.target/i386/l_fma_double_5.c
gcc/testsuite/gcc.target/i386/l_fma_double_6.c
gcc/testsuite/gcc.target/i386/l_fma_float_1.c
gcc/testsuite/gcc.target/i386/l_fma_float_2.c
gcc/testsuite/gcc.target/i386/l_fma_float_3.c
gcc/testsuite/gcc.target/i386/l_fma_float_4.c
gcc/testsuite/gcc.target/i386/l_fma_float_5.c
gcc/testsuite/gcc.target/i386/l_fma_float_6.c
gcc/testsuite/gcc.target/i386/l_fma_run_double_1.c
gcc/testsuite/gcc.target/i386/l_fma_run_double_2.c
gcc/testsuite/gcc.target/i386/l_fma_run_double_3.c
gcc/testsuite/gcc.target/i386/l_fma_run_double_4.c
gcc/testsuite/gcc.target/i386/l_fma_run_double_5.c
gcc/testsuite/gcc.target/i386/l_fma_run_double_6.c
gcc/testsuite/gcc.target/i386/l_fma_run_float_1.c
gcc/testsuite/gcc.target/i386/l_fma_run_float_2.c
gcc/testsuite/gcc.target/i386/l_fma_run_float_3.c
gcc/testsuite/gcc.target/i386/l_fma_run_float_4.c
gcc/testsuite/gcc.target/i386/l_fma_run_float_5.c
gcc/testsuite/gcc.target/i386/l_fma_run_float_6.c

index 1a80895..f4fcb2c 100644 (file)
@@ -1,3 +1,42 @@
+2011-10-11  Kirill Yukhin  <kirill.yukhin@intel.com>
+
+       * gcc.target/i386/fma_double_1.c: Add -mfpmath=sse.
+       * gcc.target/i386/fma_double_2.c: Ditto.
+       * gcc.target/i386/fma_double_3.c: Ditto.
+       * gcc.target/i386/fma_double_4.c: Ditto.
+       * gcc.target/i386/fma_double_5.c: Ditto.
+       * gcc.target/i386/fma_double_6.c: Ditto.
+       * gcc.target/i386/fma_float_1.c: Ditto.
+       * gcc.target/i386/fma_float_2.c: Ditto.
+       * gcc.target/i386/fma_float_3.c: Ditto.
+       * gcc.target/i386/fma_float_4.c: Ditto.
+       * gcc.target/i386/fma_float_5.c: Ditto.
+       * gcc.target/i386/fma_float_6.c: Ditto.
+       * gcc.target/i386/l_fma_double_1.c: Ditto.
+       * gcc.target/i386/l_fma_double_2.c: Ditto.
+       * gcc.target/i386/l_fma_double_3.c: Ditto.
+       * gcc.target/i386/l_fma_double_4.c: Ditto.
+       * gcc.target/i386/l_fma_double_5.c: Ditto.
+       * gcc.target/i386/l_fma_double_6.c: Ditto.
+       * gcc.target/i386/l_fma_float_1.c: Ditto.
+       * gcc.target/i386/l_fma_float_2.c: Ditto.
+       * gcc.target/i386/l_fma_float_3.c: Ditto.
+       * gcc.target/i386/l_fma_float_4.c: Ditto.
+       * gcc.target/i386/l_fma_float_5.c: Ditto.
+       * gcc.target/i386/l_fma_float_6.c: Ditto.
+       * gcc.target/i386/l_fma_run_double_1.c: Ditto.
+       * gcc.target/i386/l_fma_run_double_2.c: Ditto.
+       * gcc.target/i386/l_fma_run_double_3.c: Ditto.
+       * gcc.target/i386/l_fma_run_double_4.c: Ditto.
+       * gcc.target/i386/l_fma_run_double_5.c: Ditto.
+       * gcc.target/i386/l_fma_run_double_6.c: Ditto.
+       * gcc.target/i386/l_fma_run_float_1.c: Ditto.
+       * gcc.target/i386/l_fma_run_float_2.c: Ditto.
+       * gcc.target/i386/l_fma_run_float_3.c: Ditto.
+       * gcc.target/i386/l_fma_run_float_4.c: Ditto.
+       * gcc.target/i386/l_fma_run_float_5.c: Ditto.
+       * gcc.target/i386/l_fma_run_float_6.c: Ditto.
+
 2011-10-11  Tristan Gingold  <gingold@adacore.com>
 
        * gcc.dg/va-arg-4.c: New test.
index 51196ab..86bd754 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O2 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 8536363..e30d689 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O2 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 8ca789f..c66078d 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O2 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 06a6a12..5df7020 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O2 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 42b3731..68b785f 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O2 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 4ba0ab1..5078601 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O2 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 0d5ef64..a8a2706 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O2 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index a7f0897..81836be 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O2 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index ab837d6..354da87 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O2 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 7501974..ed1e449 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O2 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 056b067..ed563da 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O2 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 58d9f13..50ca455 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O2 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 1f3e528..81f6111 100644 (file)
@@ -5,7 +5,7 @@
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
 
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 
 #define TYPE double
index 051396f..cb100f6 100644 (file)
@@ -5,7 +5,7 @@
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
 
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 
 #define TYPE double
index 1153ed9..3aa1139 100644 (file)
@@ -5,7 +5,7 @@
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
 
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 
 #define TYPE double
index 804e9ec..97b3a18 100644 (file)
@@ -5,7 +5,7 @@
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
 
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 
 #define TYPE double
index 4d721e7..743d5a7 100644 (file)
@@ -5,7 +5,7 @@
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
 
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 
 #define TYPE double
index 0281fc6..4f433d5 100644 (file)
@@ -5,7 +5,7 @@
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
 
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 
 #define TYPE double
index a25fa3d..bc44d15 100644 (file)
@@ -5,7 +5,7 @@
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
 
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 
 #define TYPE float
index 6d5fb2c..8e4db8a 100644 (file)
@@ -5,7 +5,7 @@
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
 
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 
 #define TYPE float
index 5db5db8..397618a 100644 (file)
@@ -5,7 +5,7 @@
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
 
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 
 #define TYPE float
index 792c5f1..6ba667a 100644 (file)
@@ -5,7 +5,7 @@
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
 
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 
 #define TYPE float
index 8be80ad..0f7b3aa 100644 (file)
@@ -5,7 +5,7 @@
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
 
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 
 #define TYPE float
index 3d88fdb..f53f0c0 100644 (file)
@@ -5,7 +5,7 @@
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
 
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 
 #define TYPE float
index 86f74d4..f7aaf25 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 1f512d2..9bd3a5b 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index b7710e0..eac0e5b 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 1a0ec54..eca6c0a 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index f0581c8..830574b 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 981043c..cd869dd 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 36d658d..55c9bcf 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 7c6d376..e0a9274 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index a94b562..4beac3c 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index c6d51f8..f85dba4 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index ad90804..4de24ea 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */
index 0bd8103..daaf017 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
 /* { dg-require-effective-target fma } */
-/* { dg-options "-O3 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma" } */
 
 /* Test that the compiler properly optimizes floating point multiply
    and add instructions into FMA3 instructions.  */