OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [20040127-1.c] - Rev 404

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

/* PR target/10904 */
/* Origin: <kminola@eng.umd.edu> */
 
/* Verify that the register allocator correctly aligns
   floating-point registers on SPARC64.  */
 
/* { dg-do assemble } */
/* { dg-options "-O2" } */
 
extern int foo1();
extern int foo2();
 
void foo(int n, int b)
{
  int i, a;
 
  foo1();
 
  a = (long)(b * ((double) 0.1));
 
  for (i=0; i < n; i++) {
    foo2(a);
  }
}
 

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

powered by: WebSVN 2.1.0

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