summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.target/bfin/builtins/add_fr1x32-1.c
blob: a14ad688dd45b6a17afb5dbd64e1d0ec7bcd1556 (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_add_fr1x32 (0x40003000, 0x50002000);
  if (t != 0x7fffffff)
    abort ();

  return 0;
}

OpenPOWER on IntegriCloud