summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.target/bfin/builtins/norm32-1.c
blob: f8c6b93caf6d7df3b38913bbb149c2c21ac8c179 (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 (0x12345678);
  if (a != 2)
    abort ();

  exit (0);
}

OpenPOWER on IntegriCloud