summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/branch-4.c
blob: 9dec90469f5aa7213d3946a6aeeb51bbb546378f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-options "-mshared -mabi=n32" } */
/* { dg-final { scan-assembler-not "(\\\$25|\\\$28|%gp_rel|%got)" } } */
/* { dg-final { scan-assembler-not "\tjrc?\t\\\$1\n" } } */

#include "branch-helper.h"

NOCOMPRESSION void
foo (volatile int *x)
{
  if (__builtin_expect (*x == 0, 1))
    OCCUPY_0x1fff8;
}