ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/mips/umips-branch-13.c

14 lines
330 B
C

/* { dg-options "-mshared -mabi=n32 -mmicromips" } */
/* { dg-final { scan-assembler-not "(\\\$28|%gp_rel|%got)" } } */
/* { dg-final { scan-assembler-not "\tjrc?\t\\\$1\n" } } */
#include "branch-helper.h"
NOMIPS16 void
foo (int (*bar) (void), int *x)
{
*x = bar ();
if (__builtin_expect (*x == 0, 1))
OCCUPY_0xfffc;
}