gcc/testsuite/gcc.target/i386/zero-scratch-regs-19.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; |
| 8 | } |
| 9 | |
| 10 | /* { dg-final { scan-assembler-not "vzeroall" } } */ |
| 11 | /* { dg-final { scan-assembler "pxor\[ \t\]+%xmm2, %xmm2" { target { ! ia32 } } } } */ |
| 12 | /* { dg-final { scan-assembler-not "xorl\[ \t\]+%" } } */ |