OSDN Git Service

* gcc.target/i386/fma_double_1.c: Add -mfpmath=sse.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / l_fma_run_float_2.c
1 /* { dg-do run } */
2 /* { dg-prune-output ".*warning: 'sseregparm' attribute ignored.*" } */
3 /* { dg-require-effective-target fma } */
4 /* { dg-options "-O3 -mfpmath=sse -mfma" } */
5
6 /* Test that the compiler properly optimizes floating point multiply
7    and add instructions into FMA3 instructions.  */
8
9 #define TYPE float
10
11 #include "l_fma_2.h"
12
13 #include "fma_run_float_results_2.h"
14
15 #include "fma-check.h"
16 #include "l_fma_main.h"