1 /* { dg-options "-mshared -mabi=32" } */
2 /* { dg-final { scan-assembler "\t\\.cpload\t\\\$25\n" } } */
3 /* { dg-final { scan-assembler "\t\\.cprestore\t16\n" } } */
4 /* { dg-final { scan-assembler "\tlw\t\\\$1,16\\(\\\$(fp|sp)\\)\n" } } */
5 /* { dg-final { scan-assembler "\tlw\t\\\$1,%got\\(\[^)\]*\\)\\(\\\$1\\)\n" } } */
6 /* { dg-final { scan-assembler "\taddiu\t\\\$1,\\\$1,%lo\\(\[^)\]*\\)\n" } } */
7 /* { dg-final { scan-assembler "\tjr\t\\\$1\n" } } */
8 /* { dg-final { scan-assembler-not "\\\$28" } } */
10 #include "branch-helper.h"
13 foo (int (*bar
) (void), int *x
)
16 if (__builtin_expect (*x
== 0, 1))