2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / mips / umips-branch-6.c
blobd688bc9c1f4021b70725024302b97cf2125423e6
1 /* { dg-options "-mshared -mabi=32 -mmicromips" } */
2 /* { dg-final { scan-assembler "\t\\.cpload\t\\\$25\n" } } */
3 /* { dg-final { scan-assembler "\tjr\t\\\$1\n" } } */
4 /* { dg-final { scan-assembler-not "\\.cprestore" } } */
6 #include "branch-helper.h"
8 NOMIPS16 void
9 foo (volatile int *x)
11 if (__builtin_expect (*x == 0, 1))
12 OCCUPY_0x10000;