From 0a6fa37645370f2bbbee102afd270464259c4124 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 12 Oct 2011 17:39:11 +0000 Subject: [PATCH] Add -mfpmath=sse/-mtune=generic to FMA tests. 2011-10-12 H.J. Lu * 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. From-SVN: r179861 --- gcc/testsuite/ChangeLog | 29 +++++++++++++++++++ .../gcc.target/i386/fma_run_double_1.c | 2 +- .../gcc.target/i386/fma_run_double_2.c | 2 +- .../gcc.target/i386/fma_run_double_3.c | 2 +- .../gcc.target/i386/fma_run_double_4.c | 2 +- .../gcc.target/i386/fma_run_double_5.c | 2 +- .../gcc.target/i386/fma_run_double_6.c | 2 +- .../gcc.target/i386/fma_run_float_1.c | 2 +- .../gcc.target/i386/fma_run_float_2.c | 2 +- .../gcc.target/i386/fma_run_float_3.c | 2 +- .../gcc.target/i386/fma_run_float_4.c | 2 +- .../gcc.target/i386/fma_run_float_5.c | 2 +- .../gcc.target/i386/fma_run_float_6.c | 2 +- .../gcc.target/i386/l_fma_double_1.c | 5 +--- .../gcc.target/i386/l_fma_double_2.c | 5 +--- .../gcc.target/i386/l_fma_double_3.c | 5 +--- .../gcc.target/i386/l_fma_double_4.c | 5 +--- .../gcc.target/i386/l_fma_double_5.c | 5 +--- .../gcc.target/i386/l_fma_double_6.c | 5 +--- gcc/testsuite/gcc.target/i386/l_fma_float_1.c | 5 +--- gcc/testsuite/gcc.target/i386/l_fma_float_2.c | 5 +--- gcc/testsuite/gcc.target/i386/l_fma_float_3.c | 5 +--- gcc/testsuite/gcc.target/i386/l_fma_float_4.c | 5 +--- gcc/testsuite/gcc.target/i386/l_fma_float_5.c | 5 +--- gcc/testsuite/gcc.target/i386/l_fma_float_6.c | 5 +--- 25 files changed, 53 insertions(+), 60 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5af301f7823..11a3cc6b106 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,32 @@ +2011-10-12 H.J. Lu + + * 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 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 d46327d23ee..79b219b874e 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 14d325c3af4..ee1c50c432e 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 f61f3bf7664..e55c41f6926 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 36d89ed979f..59128726bba 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 a43af769c03..701b606e862 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 b72c87d13cb..5e9756d7d75 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 1ca34af62fe..2c0766aa0a1 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 380fd3bd742..701f32f65dc 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 0b09056cd36..73e2a8d7626 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 e44a62cb92f..860d361ad7f 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 10c4f2beab1..93a0c09d613 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 95c44a1ca13..5004e2d756d 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 81f6111f98e..c5d5b6ac09a 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 cb100f6b2bc..cc52c75efbd 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 3aa11399588..0e26f2a15d4 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 97b3a18244d..0951330c1ac 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 743d5a738a2..ceb64902a2a 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 4f433d5b479..4360693dff5 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 bc44d15b564..b2cdbdc2309 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 8e4db8a324f..9926e84ceba 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 397618a48f4..e365a261b0d 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 6ba667ae2c9..b0ae671ebca 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 0f7b3aa3958..d574959b472 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 f53f0c0c576..7ab8dd3b388 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" -- 2.30.2