| 1 |
/* { dg-options "-mno-powerpc-gfxopt -mdejagnu-cpu=power6" } */ |
| 2 |
/* { dg-final { scan-assembler-not "stfiwx" } } */ |
| 3 |
|
| 4 |
/* A basic test of the old-style (not stfiwx) fp -> int conversion. */ |
| 5 |
int f(double a, double b) |
| 6 |
{ |
| 7 |
int a1 = a; |
| 8 |
int b1 = b; |
| 9 |
return a1+b1; |
| 10 |
} |