summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/compress-float-ppc.c
blob: 290ab2be12199b36f6b6adc557823fad51b93c7f (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile { target powerpc_fprs } } */
/* { dg-options "-O2 -mcpu=power5" } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power5" } } */

double foo (double x) {
  return x + 1.75;
}
/* { dg-final { scan-assembler "lfs" } } */