| 1 |
/* { dg-options "-O2" } */ |
| 2 |
|
| 3 |
float test (); |
| 4 |
float g; |
| 5 |
|
| 6 |
float foo (float x, float y) { |
| 7 |
g = x + test (); |
| 8 |
return (x + test ()) * y; |
| 9 |
} |
| 10 |
|
| 11 |
/* { dg-final { scan-assembler {\tstp\td14, d15, \[sp,} } } */ |
| 12 |
/* { dg-final { scan-assembler {\tldp\td14, d15, \[sp,} } } */ |