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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [20040127-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR target/10904 */
2
/* Origin: <kminola@eng.umd.edu> */
3
 
4
/* Verify that the register allocator correctly aligns
5
   floating-point registers on SPARC64.  */
6
 
7
/* { dg-do assemble } */
8
/* { dg-options "-O2" } */
9
 
10
extern int foo1();
11
extern int foo2();
12
 
13
void foo(int n, int b)
14
{
15
  int i, a;
16
 
17
  foo1();
18
 
19
  a = (long)(b * ((double) 0.1));
20
 
21
  for (i=0; i < n; i++) {
22
    foo2(a);
23
  }
24
}

powered by: WebSVN 2.1.0

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