summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.target/bfin/builtins/norm32-9.c
blob: 08468ac3d3dacefbd57a7be0ef1fe448eefc444e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern void abort (void);
extern void exit (int);

int main ()
{
  int a;

  a = __builtin_bfin_norm_fr1x32 (0x1234);
  if (a != 18)
    abort ();

  exit (0);
}

OpenPOWER on IntegriCloud