summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.target/bfin/builtins/norm32-11.c
blob: ae675b0d223188058aeae65d1d70424256f409b9 (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 (0xfffffedc);
  if (a != 22)
    abort ();

  exit (0);
}

OpenPOWER on IntegriCloud