| 1 |
/* Verify that we don't switch mode for single moves. */ |
| 2 |
/* { dg-do compile { target { any_fpu && { ! fmovd_enabled } } } } */ |
| 3 |
/* { dg-final { scan-assembler-not "fpscr|fpchg" } } */ |
| 4 |
|
| 5 |
float *g; |
| 6 |
|
| 7 |
float |
| 8 |
foo(float f) |
| 9 |
{ |
| 10 |
return f; |
| 11 |
} |
| 12 |
|
| 13 |
float |
| 14 |
foo1(void) |
| 15 |
{ |
| 16 |
return *g; |
| 17 |
} |