aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/gcc/testsuite/gcc.target/bfin/builtins/max_fr1x32-1.c
blob: 90adcef064bfaf7f00642bbd062eff912d987ce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern void abort (void);

typedef long fract32;

int main ()
{
  fract32 t;

  t = __builtin_bfin_max_fr1x32 (0x77777777, 0x70007000);
  if (t != 0x77777777)
    abort ();

  return 0;
}