gcc/testsuite/gcc.target/cris/dbr-1.c
raw| 1 | /* Check that delayed-branch-slot is able to fill a trivially fillable |
| 2 | slot. The xfail is due to the "move.d [$r10+4],$r10" not being split |
| 3 | up into "addq 4,$r10" and "move.d [$r10],$r10"; both slottable and of |
| 4 | the same actual cost in size and cycles as the unsplit insn. */ |
| 5 | /* { dg-do compile } */ |
| 6 | /* { dg-options "-O2" } */ |
| 7 | /* { dg-final { scan-assembler-not "\tnop" { xfail *-*-* } } } */ |
| 8 | void *f(void **p) |
| 9 | { |
| 10 | return p[1]; |
| 11 | } |