2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr67985-3.c
blob10705f5b2311d726782ce1868afa3963b04faaf2
1 /* { dg-do compile { target ia32 } } */
2 /* { dg-options "-O2 -miamcu -mfpmath=sse -march=lakemont" } */
4 float
5 __attribute__((target("arch=haswell")))
6 foo (float x, float y)
8 return x * y;
11 /* { dg-final { scan-assembler "mulss" } } */
12 /* { dg-final { scan-assembler "movd\[ \t\]%xmm\[0-7\], %eax" } } */