gcc/testsuite/gcc.target/mips/branch-2.c
raw| 1 | /* { dg-options "-mshared -mabi=32" } */ |
| 2 | /* { dg-final { scan-assembler-not "(\\\$25|\\\$28|cpload)" } } */ |
| 3 | /* { dg-final { scan-assembler-not "\tjr\t\\\$1\n" } } */ |
| 4 | /* { dg-final { scan-assembler-not "\\.cprestore" } } */ |
| 5 | |
| 6 | #include "branch-helper.h" |
| 7 | |
| 8 | NOCOMPRESSION void |
| 9 | foo (volatile int *x) |
| 10 | { |
| 11 | if (__builtin_expect (*x == 0, 1)) |
| 12 | OCCUPY_0x1fff8; |
| 13 | } |