gcc/testsuite/gcc.target/i386/pr109052-2.c
raw| 1 | /* { dg-do compile { target { ! ia32 } } } */ |
| 2 | /* { dg-options "-O2 -mfpmath=both -mavx -fno-math-errno" } */ |
| 3 | |
| 4 | double foo (double a, double b) |
| 5 | { |
| 6 | double z = __builtin_fmod (a, 3.14); |
| 7 | return z * b; |
| 8 | } |
| 9 | |
| 10 | /* { dg-final { scan-assembler-not "vmulsd\[ \t]\+%xmm\[0-9]\+, %xmm\[0-9]\+, %xmm\[0-9]\+"} } */ |