gcc/testsuite/gcc.target/mips/umips-branch-7.c
raw| 1 | /* { dg-options "-mshared -mabi=n32 -mmicromips" } */ |
| 2 | /* { dg-final { scan-assembler-not "(\\\$25|\\\$28|%gp_rel|%got)" } } */ |
| 3 | /* { dg-final { scan-assembler-not "\tjrc?\t\\\$1\n" } } */ |
| 4 | |
| 5 | #include "branch-helper.h" |
| 6 | |
| 7 | NOMIPS16 void |
| 8 | foo (volatile int *x) |
| 9 | { |
| 10 | if (__builtin_expect (*x == 0, 1)) |
| 11 | OCCUPY_0xfffc; |
| 12 | } |