gcc/testsuite/gcc.target/i386/pr106022-4.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -march=x86-64" } */ |
| 3 | |
| 4 | void |
| 5 | foo (float *c) |
| 6 | { |
| 7 | c[0] = 2.3; |
| 8 | c[1] = 0.0; |
| 9 | } |
| 10 | |
| 11 | /* { dg-final { scan-assembler-times "movl\[ \\t\]+\\\$0x40133333" 1 { target { ia32 } } } } */ |
| 12 | /* { dg-final { scan-assembler-times "movl\[ \\t\]+\\\$0x00000000" 1 { target { ia32 } } } } */ |
| 13 | /* { dg-final { scan-assembler-times "movq\[ \\t\]+\\\$1075000115," 1 { target { ! ia32 } } } } */ |
| 14 | /* { dg-final { scan-assembler-not "xmm" } } */ |