summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.target/bfin/builtins/mult_fr1x32-1.c
blob: 8c8ad87bda47cb524b51d3898250f008d1bb5c35 (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_mult_fr1x32 (0x7777, 0x0001);
  if (t != 0x0000eeee)
    abort ();

  return 0;
}

OpenPOWER on IntegriCloud