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