aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog29
-rw-r--r--gcc/testsuite/gcc.target/i386/fma_run_double_1.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma_run_double_2.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma_run_double_3.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma_run_double_4.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma_run_double_5.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma_run_double_6.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma_run_float_1.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma_run_float_2.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma_run_float_3.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma_run_float_4.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma_run_float_5.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/fma_run_float_6.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/l_fma_double_1.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/l_fma_double_2.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/l_fma_double_3.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/l_fma_double_4.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/l_fma_double_5.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/l_fma_double_6.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/l_fma_float_1.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/l_fma_float_2.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/l_fma_float_3.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/l_fma_float_4.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/l_fma_float_5.c5
-rw-r--r--gcc/testsuite/gcc.target/i386/l_fma_float_6.c5
25 files changed, 53 insertions, 60 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5af301f..11a3cc6 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,32 @@
+2011-10-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gcc.target/i386/fma_run_double_1.c: Add -mfpmath=sse.
+ * gcc.target/i386/fma_run_double_2.c: Likewise.
+ * gcc.target/i386/fma_run_double_3.c: Likewise.
+ * gcc.target/i386/fma_run_double_4.c: Likewise.
+ * gcc.target/i386/fma_run_double_5.c: Likewise.
+ * gcc.target/i386/fma_run_double_6.c: Likewise.
+ * gcc.target/i386/fma_run_float_1.c: Likewise.
+ * gcc.target/i386/fma_run_float_2.c: Likewise.
+ * gcc.target/i386/fma_run_float_3.c: Likewise.
+ * gcc.target/i386/fma_run_float_4.c: Likewise.
+ * gcc.target/i386/fma_run_float_5.c: Likewise.
+ * gcc.target/i386/fma_run_float_6.c: Likewise.
+
+ * gcc.target/i386/l_fma_double_1.c: Add -mtune=generic and
+ remove the extra dg-options.
+ * gcc.target/i386/l_fma_double_2.c: Likewise.
+ * gcc.target/i386/l_fma_double_3.c: Likewise.
+ * gcc.target/i386/l_fma_double_4.c: Likewise.
+ * gcc.target/i386/l_fma_double_5.c: Likewise.
+ * gcc.target/i386/l_fma_double_6.c: Likewise.
+ * gcc.target/i386/l_fma_float_1.c: Likewise.
+ * gcc.target/i386/l_fma_float_2.c: Likewise.
+ * gcc.target/i386/l_fma_float_3.c: Likewise.
+ * gcc.target/i386/l_fma_float_4.c: Likewise.
+ * gcc.target/i386/l_fma_float_5.c: Likewise.
+ * gcc.target/i386/l_fma_float_6.c: Likewise.
+
2011-10-12 Paul Koning <pkoning@gcc.gnu.org>
PR tree-optimization/50189
diff --git a/gcc/testsuite/gcc.target/i386/fma_run_double_1.c b/gcc/testsuite/gcc.target/i386/fma_run_double_1.c
index d46327d..79b219b 100644
--- a/gcc/testsuite/gcc.target/i386/fma_run_double_1.c
+++ b/gcc/testsuite/gcc.target/i386/fma_run_double_1.c
@@ -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. */
diff --git a/gcc/testsuite/gcc.target/i386/fma_run_double_2.c b/gcc/testsuite/gcc.target/i386/fma_run_double_2.c
index 14d325c..ee1c50c 100644
--- a/gcc/testsuite/gcc.target/i386/fma_run_double_2.c
+++ b/gcc/testsuite/gcc.target/i386/fma_run_double_2.c
@@ -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. */
diff --git a/gcc/testsuite/gcc.target/i386/fma_run_double_3.c b/gcc/testsuite/gcc.target/i386/fma_run_double_3.c
index f61f3bf..e55c41f 100644
--- a/gcc/testsuite/gcc.target/i386/fma_run_double_3.c
+++ b/gcc/testsuite/gcc.target/i386/fma_run_double_3.c
@@ -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. */
diff --git a/gcc/testsuite/gcc.target/i386/fma_run_double_4.c b/gcc/testsuite/gcc.target/i386/fma_run_double_4.c
index 36d89ed..5912872 100644
--- a/gcc/testsuite/gcc.target/i386/fma_run_double_4.c
+++ b/gcc/testsuite/gcc.target/i386/fma_run_double_4.c
@@ -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. */
diff --git a/gcc/testsuite/gcc.target/i386/fma_run_double_5.c b/gcc/testsuite/gcc.target/i386/fma_run_double_5.c
index a43af76..701b606 100644
--- a/gcc/testsuite/gcc.target/i386/fma_run_double_5.c
+++ b/gcc/testsuite/gcc.target/i386/fma_run_double_5.c
@@ -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. */
diff --git a/gcc/testsuite/gcc.target/i386/fma_run_double_6.c b/gcc/testsuite/gcc.target/i386/fma_run_double_6.c
index b72c87d..5e9756d 100644
--- a/gcc/testsuite/gcc.target/i386/fma_run_double_6.c
+++ b/gcc/testsuite/gcc.target/i386/fma_run_double_6.c
@@ -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. */
diff --git a/gcc/testsuite/gcc.target/i386/fma_run_float_1.c b/gcc/testsuite/gcc.target/i386/fma_run_float_1.c
index 1ca34af..2c0766a 100644
--- a/gcc/testsuite/gcc.target/i386/fma_run_float_1.c
+++ b/gcc/testsuite/gcc.target/i386/fma_run_float_1.c
@@ -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. */
diff --git a/gcc/testsuite/gcc.target/i386/fma_run_float_2.c b/gcc/testsuite/gcc.target/i386/fma_run_float_2.c
index 380fd3b..701f32f 100644
--- a/gcc/testsuite/gcc.target/i386/fma_run_float_2.c
+++ b/gcc/testsuite/gcc.target/i386/fma_run_float_2.c
@@ -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. */
diff --git a/gcc/testsuite/gcc.target/i386/fma_run_float_3.c b/gcc/testsuite/gcc.target/i386/fma_run_float_3.c
index 0b09056..73e2a8d 100644
--- a/gcc/testsuite/gcc.target/i386/fma_run_float_3.c
+++ b/gcc/testsuite/gcc.target/i386/fma_run_float_3.c
@@ -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. */
diff --git a/gcc/testsuite/gcc.target/i386/fma_run_float_4.c b/gcc/testsuite/gcc.target/i386/fma_run_float_4.c
index e44a62c..860d361 100644
--- a/gcc/testsuite/gcc.target/i386/fma_run_float_4.c
+++ b/gcc/testsuite/gcc.target/i386/fma_run_float_4.c
@@ -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. */
diff --git a/gcc/testsuite/gcc.target/i386/fma_run_float_5.c b/gcc/testsuite/gcc.target/i386/fma_run_float_5.c
index 10c4f2b..93a0c09 100644
--- a/gcc/testsuite/gcc.target/i386/fma_run_float_5.c
+++ b/gcc/testsuite/gcc.target/i386/fma_run_float_5.c
@@ -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. */
diff --git a/gcc/testsuite/gcc.target/i386/fma_run_float_6.c b/gcc/testsuite/gcc.target/i386/fma_run_float_6.c
index 95c44a1..5004e2d 100644
--- a/gcc/testsuite/gcc.target/i386/fma_run_float_6.c
+++ b/gcc/testsuite/gcc.target/i386/fma_run_float_6.c
@@ -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. */
diff --git a/gcc/testsuite/gcc.target/i386/l_fma_double_1.c b/gcc/testsuite/gcc.target/i386/l_fma_double_1.c
index 81f6111..c5d5b6a 100644
--- a/gcc/testsuite/gcc.target/i386/l_fma_double_1.c
+++ b/gcc/testsuite/gcc.target/i386/l_fma_double_1.c
@@ -1,13 +1,10 @@
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE double
#include "l_fma_1.h"
diff --git a/gcc/testsuite/gcc.target/i386/l_fma_double_2.c b/gcc/testsuite/gcc.target/i386/l_fma_double_2.c
index cb100f6..cc52c75 100644
--- a/gcc/testsuite/gcc.target/i386/l_fma_double_2.c
+++ b/gcc/testsuite/gcc.target/i386/l_fma_double_2.c
@@ -1,13 +1,10 @@
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE double
#include "l_fma_2.h"
diff --git a/gcc/testsuite/gcc.target/i386/l_fma_double_3.c b/gcc/testsuite/gcc.target/i386/l_fma_double_3.c
index 3aa1139..0e26f2a 100644
--- a/gcc/testsuite/gcc.target/i386/l_fma_double_3.c
+++ b/gcc/testsuite/gcc.target/i386/l_fma_double_3.c
@@ -1,13 +1,10 @@
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE double
#include "l_fma_3.h"
diff --git a/gcc/testsuite/gcc.target/i386/l_fma_double_4.c b/gcc/testsuite/gcc.target/i386/l_fma_double_4.c
index 97b3a18..0951330 100644
--- a/gcc/testsuite/gcc.target/i386/l_fma_double_4.c
+++ b/gcc/testsuite/gcc.target/i386/l_fma_double_4.c
@@ -1,13 +1,10 @@
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE double
#include "l_fma_4.h"
diff --git a/gcc/testsuite/gcc.target/i386/l_fma_double_5.c b/gcc/testsuite/gcc.target/i386/l_fma_double_5.c
index 743d5a7..ceb6490 100644
--- a/gcc/testsuite/gcc.target/i386/l_fma_double_5.c
+++ b/gcc/testsuite/gcc.target/i386/l_fma_double_5.c
@@ -1,13 +1,10 @@
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE double
#include "l_fma_5.h"
diff --git a/gcc/testsuite/gcc.target/i386/l_fma_double_6.c b/gcc/testsuite/gcc.target/i386/l_fma_double_6.c
index 4f433d5..4360693 100644
--- a/gcc/testsuite/gcc.target/i386/l_fma_double_6.c
+++ b/gcc/testsuite/gcc.target/i386/l_fma_double_6.c
@@ -1,13 +1,10 @@
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE double
#include "l_fma_6.h"
diff --git a/gcc/testsuite/gcc.target/i386/l_fma_float_1.c b/gcc/testsuite/gcc.target/i386/l_fma_float_1.c
index bc44d15..b2cdbdc 100644
--- a/gcc/testsuite/gcc.target/i386/l_fma_float_1.c
+++ b/gcc/testsuite/gcc.target/i386/l_fma_float_1.c
@@ -1,13 +1,10 @@
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE float
#include "l_fma_1.h"
diff --git a/gcc/testsuite/gcc.target/i386/l_fma_float_2.c b/gcc/testsuite/gcc.target/i386/l_fma_float_2.c
index 8e4db8a..9926e84 100644
--- a/gcc/testsuite/gcc.target/i386/l_fma_float_2.c
+++ b/gcc/testsuite/gcc.target/i386/l_fma_float_2.c
@@ -1,13 +1,10 @@
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE float
#include "l_fma_2.h"
diff --git a/gcc/testsuite/gcc.target/i386/l_fma_float_3.c b/gcc/testsuite/gcc.target/i386/l_fma_float_3.c
index 397618a..e365a26 100644
--- a/gcc/testsuite/gcc.target/i386/l_fma_float_3.c
+++ b/gcc/testsuite/gcc.target/i386/l_fma_float_3.c
@@ -1,13 +1,10 @@
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE float
#include "l_fma_3.h"
diff --git a/gcc/testsuite/gcc.target/i386/l_fma_float_4.c b/gcc/testsuite/gcc.target/i386/l_fma_float_4.c
index 6ba667a..b0ae671 100644
--- a/gcc/testsuite/gcc.target/i386/l_fma_float_4.c
+++ b/gcc/testsuite/gcc.target/i386/l_fma_float_4.c
@@ -1,13 +1,10 @@
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE float
#include "l_fma_4.h"
diff --git a/gcc/testsuite/gcc.target/i386/l_fma_float_5.c b/gcc/testsuite/gcc.target/i386/l_fma_float_5.c
index 0f7b3aa..d574959 100644
--- a/gcc/testsuite/gcc.target/i386/l_fma_float_5.c
+++ b/gcc/testsuite/gcc.target/i386/l_fma_float_5.c
@@ -1,13 +1,10 @@
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE float
#include "l_fma_5.h"
diff --git a/gcc/testsuite/gcc.target/i386/l_fma_float_6.c b/gcc/testsuite/gcc.target/i386/l_fma_float_6.c
index f53f0c0..7ab8dd3 100644
--- a/gcc/testsuite/gcc.target/i386/l_fma_float_6.c
+++ b/gcc/testsuite/gcc.target/i386/l_fma_float_6.c
@@ -1,13 +1,10 @@
/* { dg-do compile } */
/* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
-/* { dg-options "-O2 -mfma" } */
+/* { dg-options "-O3 -mfpmath=sse -mfma -mtune=generic" } */
/* Test that the compiler properly optimizes floating point multiply
and add instructions into FMA3 instructions. */
-/* { dg-options "-O3 -mfpmath=sse -mfma" } */
-
-
#define TYPE float
#include "l_fma_6.h"