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