summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/compress-float-sse-pic.c
blob: 2c9be7cd9f796e6867059bd9509a0bb93da9d51d (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=sse -fpic" } */
double foo (double x) {
  return x + 1.75;
}
/* { dg-final { scan-assembler "movsd" } } */