| 1 |
/* { dg-do compile { target ia32 } } */ |
| 2 |
/* { dg-options "-O2 -miamcu -msse2 -mfpmath=sse -mtune=generic" } */ |
| 3 |
|
| 4 |
float |
| 5 |
foo (float x, float y) |
| 6 |
{ |
| 7 |
return x * y; |
| 8 |
} |
| 9 |
|
| 10 |
/* { dg-final { scan-assembler "mulss" } } */ |
| 11 |
/* { dg-final { scan-assembler "movd\[ \t\]%xmm\[0-7\], %eax" } } */ |