Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr67985-3.c

raw
1 /* { dg-do compile { target ia32 } } */
2 /* { dg-options "-O2 -miamcu -mfpmath=sse -march=lakemont" } */
3
4 float
5 __attribute__((target("arch=haswell")))
6 foo (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" } } */