From d42c1fcaf40ac128373702cf9786ed290e598a25 Mon Sep 17 00:00:00 2001 From: Kirill Yukhin Date: Tue, 11 Oct 2011 10:18:48 +0000 Subject: [PATCH] fma_double_1.c: Add -mfpmath=sse. * 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. From-SVN: r179796 --- gcc/testsuite/ChangeLog | 39 +++++++++++++++++++ gcc/testsuite/gcc.target/i386/fma_double_1.c | 2 +- gcc/testsuite/gcc.target/i386/fma_double_2.c | 2 +- gcc/testsuite/gcc.target/i386/fma_double_3.c | 2 +- gcc/testsuite/gcc.target/i386/fma_double_4.c | 2 +- gcc/testsuite/gcc.target/i386/fma_double_5.c | 2 +- gcc/testsuite/gcc.target/i386/fma_double_6.c | 2 +- gcc/testsuite/gcc.target/i386/fma_float_1.c | 2 +- gcc/testsuite/gcc.target/i386/fma_float_2.c | 2 +- gcc/testsuite/gcc.target/i386/fma_float_3.c | 2 +- gcc/testsuite/gcc.target/i386/fma_float_4.c | 2 +- gcc/testsuite/gcc.target/i386/fma_float_5.c | 2 +- gcc/testsuite/gcc.target/i386/fma_float_6.c | 2 +- .../gcc.target/i386/l_fma_double_1.c | 2 +- .../gcc.target/i386/l_fma_double_2.c | 2 +- .../gcc.target/i386/l_fma_double_3.c | 2 +- .../gcc.target/i386/l_fma_double_4.c | 2 +- .../gcc.target/i386/l_fma_double_5.c | 2 +- .../gcc.target/i386/l_fma_double_6.c | 2 +- gcc/testsuite/gcc.target/i386/l_fma_float_1.c | 2 +- gcc/testsuite/gcc.target/i386/l_fma_float_2.c | 2 +- gcc/testsuite/gcc.target/i386/l_fma_float_3.c | 2 +- gcc/testsuite/gcc.target/i386/l_fma_float_4.c | 2 +- gcc/testsuite/gcc.target/i386/l_fma_float_5.c | 2 +- gcc/testsuite/gcc.target/i386/l_fma_float_6.c | 2 +- .../gcc.target/i386/l_fma_run_double_1.c | 2 +- .../gcc.target/i386/l_fma_run_double_2.c | 2 +- .../gcc.target/i386/l_fma_run_double_3.c | 2 +- .../gcc.target/i386/l_fma_run_double_4.c | 2 +- .../gcc.target/i386/l_fma_run_double_5.c | 2 +- .../gcc.target/i386/l_fma_run_double_6.c | 2 +- .../gcc.target/i386/l_fma_run_float_1.c | 2 +- .../gcc.target/i386/l_fma_run_float_2.c | 2 +- .../gcc.target/i386/l_fma_run_float_3.c | 2 +- .../gcc.target/i386/l_fma_run_float_4.c | 2 +- .../gcc.target/i386/l_fma_run_float_5.c | 2 +- .../gcc.target/i386/l_fma_run_float_6.c | 2 +- 37 files changed, 75 insertions(+), 36 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1a80895dc58..f4fcb2c7d7c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,42 @@ +2011-10-11 Kirill Yukhin + + * 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 * gcc.dg/va-arg-4.c: New test. diff --git a/gcc/testsuite/gcc.target/i386/fma_double_1.c b/gcc/testsuite/gcc.target/i386/fma_double_1.c index 51196ab60f9..86bd754a281 100644 --- a/gcc/testsuite/gcc.target/i386/fma_double_1.c +++ b/gcc/testsuite/gcc.target/i386/fma_double_1.c @@ -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. */ diff --git a/gcc/testsuite/gcc.target/i386/fma_double_2.c b/gcc/testsuite/gcc.target/i386/fma_double_2.c index 8536363b2c5..e30d689e017 100644 --- a/gcc/testsuite/gcc.target/i386/fma_double_2.c +++ b/gcc/testsuite/gcc.target/i386/fma_double_2.c @@ -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. */ diff --git a/gcc/testsuite/gcc.target/i386/fma_double_3.c b/gcc/testsuite/gcc.target/i386/fma_double_3.c index 8ca789fab08..c66078d4e4c 100644 --- a/gcc/testsuite/gcc.target/i386/fma_double_3.c +++ b/gcc/testsuite/gcc.target/i386/fma_double_3.c @@ -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. */ diff --git a/gcc/testsuite/gcc.target/i386/fma_double_4.c b/gcc/testsuite/gcc.target/i386/fma_double_4.c index 06a6a123527..5df702086ca 100644 --- a/gcc/testsuite/gcc.target/i386/fma_double_4.c +++ b/gcc/testsuite/gcc.target/i386/fma_double_4.c @@ -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. */ diff --git a/gcc/testsuite/gcc.target/i386/fma_double_5.c b/gcc/testsuite/gcc.target/i386/fma_double_5.c index 42b37311f59..68b785f2627 100644 --- a/gcc/testsuite/gcc.target/i386/fma_double_5.c +++ b/gcc/testsuite/gcc.target/i386/fma_double_5.c @@ -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. */ diff --git a/gcc/testsuite/gcc.target/i386/fma_double_6.c b/gcc/testsuite/gcc.target/i386/fma_double_6.c index 4ba0ab19972..5078601b73d 100644 --- a/gcc/testsuite/gcc.target/i386/fma_double_6.c +++ b/gcc/testsuite/gcc.target/i386/fma_double_6.c @@ -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. */ diff --git a/gcc/testsuite/gcc.target/i386/fma_float_1.c b/gcc/testsuite/gcc.target/i386/fma_float_1.c index 0d5ef645b43..a8a2706860e 100644 --- a/gcc/testsuite/gcc.target/i386/fma_float_1.c +++ b/gcc/testsuite/gcc.target/i386/fma_float_1.c @@ -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. */ diff --git a/gcc/testsuite/gcc.target/i386/fma_float_2.c b/gcc/testsuite/gcc.target/i386/fma_float_2.c index a7f08972499..81836be16d3 100644 --- a/gcc/testsuite/gcc.target/i386/fma_float_2.c +++ b/gcc/testsuite/gcc.target/i386/fma_float_2.c @@ -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. */ diff --git a/gcc/testsuite/gcc.target/i386/fma_float_3.c b/gcc/testsuite/gcc.target/i386/fma_float_3.c index ab837d64212..354da87adb8 100644 --- a/gcc/testsuite/gcc.target/i386/fma_float_3.c +++ b/gcc/testsuite/gcc.target/i386/fma_float_3.c @@ -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. */ diff --git a/gcc/testsuite/gcc.target/i386/fma_float_4.c b/gcc/testsuite/gcc.target/i386/fma_float_4.c index 7501974c46f..ed1e44948a4 100644 --- a/gcc/testsuite/gcc.target/i386/fma_float_4.c +++ b/gcc/testsuite/gcc.target/i386/fma_float_4.c @@ -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. */ diff --git a/gcc/testsuite/gcc.target/i386/fma_float_5.c b/gcc/testsuite/gcc.target/i386/fma_float_5.c index 056b067406f..ed563dad2ba 100644 --- a/gcc/testsuite/gcc.target/i386/fma_float_5.c +++ b/gcc/testsuite/gcc.target/i386/fma_float_5.c @@ -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. */ diff --git a/gcc/testsuite/gcc.target/i386/fma_float_6.c b/gcc/testsuite/gcc.target/i386/fma_float_6.c index 58d9f13b403..50ca455eb98 100644 --- a/gcc/testsuite/gcc.target/i386/fma_float_6.c +++ b/gcc/testsuite/gcc.target/i386/fma_float_6.c @@ -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. */ 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 1f3e5281b78..81f6111f98e 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_double_1.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_double_1.c @@ -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 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 051396f5185..cb100f6b2bc 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_double_2.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_double_2.c @@ -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 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 1153ed9a169..3aa11399588 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_double_3.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_double_3.c @@ -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 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 804e9ec2ac9..97b3a18244d 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_double_4.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_double_4.c @@ -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 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 4d721e75723..743d5a738a2 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_double_5.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_double_5.c @@ -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 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 0281fc69770..4f433d5b479 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_double_6.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_double_6.c @@ -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 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 a25fa3d6da6..bc44d15b564 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_float_1.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_float_1.c @@ -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 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 6d5fb2c548e..8e4db8a324f 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_float_2.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_float_2.c @@ -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 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 5db5db8bb60..397618a48f4 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_float_3.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_float_3.c @@ -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 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 792c5f128a7..6ba667ae2c9 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_float_4.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_float_4.c @@ -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 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 8be80ad249f..0f7b3aa3958 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_float_5.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_float_5.c @@ -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 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 3d88fdbb930..f53f0c0c576 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_float_6.c +++ b/gcc/testsuite/gcc.target/i386/l_fma_float_6.c @@ -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 diff --git a/gcc/testsuite/gcc.target/i386/l_fma_run_double_1.c b/gcc/testsuite/gcc.target/i386/l_fma_run_double_1.c index 86f74d41564..f7aaf25a780 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_run_double_1.c +++ b/gcc/testsuite/gcc.target/i386/l_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/l_fma_run_double_2.c b/gcc/testsuite/gcc.target/i386/l_fma_run_double_2.c index 1f512d2e6ba..9bd3a5b3ea8 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_run_double_2.c +++ b/gcc/testsuite/gcc.target/i386/l_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/l_fma_run_double_3.c b/gcc/testsuite/gcc.target/i386/l_fma_run_double_3.c index b7710e0ac48..eac0e5ba9b5 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_run_double_3.c +++ b/gcc/testsuite/gcc.target/i386/l_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/l_fma_run_double_4.c b/gcc/testsuite/gcc.target/i386/l_fma_run_double_4.c index 1a0ec54c4cb..eca6c0abab8 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_run_double_4.c +++ b/gcc/testsuite/gcc.target/i386/l_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/l_fma_run_double_5.c b/gcc/testsuite/gcc.target/i386/l_fma_run_double_5.c index f0581c85dc2..830574bed5f 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_run_double_5.c +++ b/gcc/testsuite/gcc.target/i386/l_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/l_fma_run_double_6.c b/gcc/testsuite/gcc.target/i386/l_fma_run_double_6.c index 981043c3a93..cd869dd0e68 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_run_double_6.c +++ b/gcc/testsuite/gcc.target/i386/l_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/l_fma_run_float_1.c b/gcc/testsuite/gcc.target/i386/l_fma_run_float_1.c index 36d658d61f1..55c9bcff71d 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_run_float_1.c +++ b/gcc/testsuite/gcc.target/i386/l_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/l_fma_run_float_2.c b/gcc/testsuite/gcc.target/i386/l_fma_run_float_2.c index 7c6d37642e9..e0a9274f648 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_run_float_2.c +++ b/gcc/testsuite/gcc.target/i386/l_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/l_fma_run_float_3.c b/gcc/testsuite/gcc.target/i386/l_fma_run_float_3.c index a94b5628468..4beac3c3ab8 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_run_float_3.c +++ b/gcc/testsuite/gcc.target/i386/l_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/l_fma_run_float_4.c b/gcc/testsuite/gcc.target/i386/l_fma_run_float_4.c index c6d51f8c5cd..f85dba450e9 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_run_float_4.c +++ b/gcc/testsuite/gcc.target/i386/l_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/l_fma_run_float_5.c b/gcc/testsuite/gcc.target/i386/l_fma_run_float_5.c index ad90804e4c3..4de24ea2f03 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_run_float_5.c +++ b/gcc/testsuite/gcc.target/i386/l_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/l_fma_run_float_6.c b/gcc/testsuite/gcc.target/i386/l_fma_run_float_6.c index 0bd8103581d..daaf01763fe 100644 --- a/gcc/testsuite/gcc.target/i386/l_fma_run_float_6.c +++ b/gcc/testsuite/gcc.target/i386/l_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. */