Debian Codegraph @

gcc/testsuite/gcc.target/i386/zero-scratch-regs-18.c

raw
1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-options "-O2 -fzero-call-used-regs=used -march=corei7 -fno-stack-protector -fno-PIC" } */
3
4 float
5 foo (float z, float y, float x)
6 {
7 return x + y;
8 }
9
10 /* { dg-final { scan-assembler-not "vzeroall" } } */
11 /* { dg-final { scan-assembler "pxor\[ \t\]+%xmm1, %xmm1" { target { ! ia32 } } } } */
12 /* { dg-final { scan-assembler "pxor\[ \t\]+%xmm2, %xmm2" { target { ! ia32 } } } } */
13 /* { dg-final { scan-assembler-not "xorl\[ \t\]+%" } } */