1 /* 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 foo(int n,int b)13void 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 } 25