gcc/testsuite/gcc.target/i386/pr67985-2.c
raw| 1 | /* { dg-do compile { target ia32 } } */ |
| 2 | /* { dg-options "-O2 -miamcu -msse2 -mfpmath=sse -mtune=generic" } */ |
| 3 | |
| 4 | float |
| 5 | __attribute__((target("arch=lakemont"))) |
| 6 | foo (float x, float y) |
| 7 | { |
| 8 | return x * y; |
| 9 | } |
| 10 | |
| 11 | /* { dg-final { scan-assembler-not "mulss" } } */ |
| 12 | /* { dg-final { scan-assembler-not "movl\[ \t\].*, %eax" } } */ |
| 13 | /* { dg-final { scan-assembler "call\[ \t\]_?__mulsf3" } } */ |