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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [bfin/] [20090914-3.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 315 jeremybenn
/* { dg-do compile { target bfin-*-* } } */
2
typedef long fract32;
3
main() {
4
  fract32 val_tmp;
5
  fract32 val1 = 0x7FFFFFFF;
6
  fract32 val2 = 0x40000000;
7
  val_tmp = __builtin_bfin_mult_fr1x32x32 (0x06666667, val1);
8
  val2 = __builtin_bfin_mult_fr1x32x32 (0x79999999, val2);
9
  val2 = __builtin_bfin_add_fr1x32 (val_tmp, val2);
10
}

powered by: WebSVN 2.1.0

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