MIPS compact branch support
[official-gcc.git] / gcc / testsuite / gcc.target / mips / branch-8.c
blob5a5494e0bd1a872b27a39090f5063612d76ab14d
1 /* { dg-options "-mshared -mabi=32" } */
2 /* { dg-final { scan-assembler-not "(\\\$28|cpload|cprestore)" } } */
3 /* { dg-final { scan-assembler-not "\tjrc?\t\\\$1\n" } } */
5 #include "branch-helper.h"
7 NOCOMPRESSION void
8 foo (int (*bar) (void), int *x)
10 *x = bar ();
11 if (__builtin_expect (*x == 0, 1))
12 OCCUPY_0x1fff8;