OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [bfin/] [builtins/] [add_fr1x16-1.c] - Blame information for rev 751

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
extern void abort (void);
2
 
3
typedef short fract16;
4
 
5
int main ()
6
{
7
  fract16 t1;
8
 
9
  t1 = __builtin_bfin_add_fr1x16 (0x3000, 0x2000);
10
  if (t1 != 0x5000)
11
    abort ();
12
  return 0;
13
}
14
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.