diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/ppc-stfiwx.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/ppc-stfiwx.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/ppc-stfiwx.c b/gcc/testsuite/gcc.dg/ppc-stfiwx.c new file mode 100644 index 00000000000..47a29ed3f17 --- /dev/null +++ b/gcc/testsuite/gcc.dg/ppc-stfiwx.c @@ -0,0 +1,8 @@ +/* { dg-do compile { target powerpc*-*-* } } */ +/* { dg-options "-mpowerpc-gfxopt" } */ +/* { dg-final { scan-assembler "stfiwx" } } */ + +int foo (double x) +{ + return x; +} |