blob: 10705f5b2311d726782ce1868afa3963b04faaf2 [file] [log] [blame]
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2 -miamcu -mfpmath=sse -march=lakemont" } */
float
__attribute__((target("arch=haswell")))
foo (float x, float y)
{
return x * y;
}
/* { dg-final { scan-assembler "mulss" } } */
/* { dg-final { scan-assembler "movd\[ \t\]%xmm\[0-7\], %eax" } } */