compress-float-sse.c: New.
2005-07-10 Dale Johannesen <dalej@apple.com> * gcc.target/i386/compress-float-sse.c: New. * gcc.target/i386/compress-float-sse-pic.c: New. * gcc.target/i386/compress-float-387.c: New. * gcc.target/i386/compress-float-387-pic.c: New. * gcc.dg/compress-float-ppc.c: New. * gcc.dg/compress-float-ppc-pic.c: New. From-SVN: r101939
This commit is contained in:
parent
e4541b7a1e
commit
015294b667
7 changed files with 45 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
2005-07-12 Dale Johannesen <dalej@apple.com>
|
||||
|
||||
* gcc.target/i386/compress-float-sse.c: New.
|
||||
* gcc.target/i386/compress-float-sse-pic.c: New.
|
||||
* gcc.target/i386/compress-float-387.c: New.
|
||||
* gcc.target/i386/compress-float-387-pic.c: New.
|
||||
* gcc.dg/compress-float-ppc.c: New.
|
||||
* gcc.dg/compress-float-ppc-pic.c: New.
|
||||
|
||||
2005-07-11 Thomas Koenig <Thomas.Koenig@online.de>
|
||||
|
||||
gfortran.dg/dev_null.f90: Remove targets.
|
||||
|
|
6
gcc/testsuite/gcc.dg/compress-float-ppc-pic.c
Normal file
6
gcc/testsuite/gcc.dg/compress-float-ppc-pic.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
/* { dg-do compile { target powerpc*-*-* } } */
|
||||
/* { dg-options "-O2 -fpic" } */
|
||||
double foo (double x) {
|
||||
return x + 1.75;
|
||||
}
|
||||
/* { dg-final { scan-assembler "lfs" } } */
|
6
gcc/testsuite/gcc.dg/compress-float-ppc.c
Normal file
6
gcc/testsuite/gcc.dg/compress-float-ppc.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
/* { dg-do compile { target powerpc*-*-* } } */
|
||||
/* { dg-options "-O2" } */
|
||||
double foo (double x) {
|
||||
return x + 1.75;
|
||||
}
|
||||
/* { dg-final { scan-assembler "lfs" } } */
|
6
gcc/testsuite/gcc.target/i386/compress-float-387-pic.c
Normal file
6
gcc/testsuite/gcc.target/i386/compress-float-387-pic.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
/* { dg-do compile { target i?86*-*-* } } */
|
||||
/* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=387 -fpic" } */
|
||||
double foo (double x) {
|
||||
return x + 1.75;
|
||||
}
|
||||
/* { dg-final { scan-assembler "flds" } } */
|
6
gcc/testsuite/gcc.target/i386/compress-float-387.c
Normal file
6
gcc/testsuite/gcc.target/i386/compress-float-387.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
/* { dg-do compile { target i?86*-*-* } } */
|
||||
/* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=387" } */
|
||||
double foo (double x) {
|
||||
return x + 1.75;
|
||||
}
|
||||
/* { dg-final { scan-assembler "flds" } } */
|
6
gcc/testsuite/gcc.target/i386/compress-float-sse-pic.c
Normal file
6
gcc/testsuite/gcc.target/i386/compress-float-sse-pic.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
/* { dg-do compile { target i?86*-*-* } } */
|
||||
/* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=sse -fpic" } */
|
||||
double foo (double x) {
|
||||
return x + 1.75;
|
||||
}
|
||||
/* { dg-final { scan-assembler "movsd" } } */
|
6
gcc/testsuite/gcc.target/i386/compress-float-sse.c
Normal file
6
gcc/testsuite/gcc.target/i386/compress-float-sse.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
/* { dg-do compile { target i?86*-*-* } } */
|
||||
/* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=sse" } */
|
||||
double foo (double x) {
|
||||
return x + 1.75;
|
||||
}
|
||||
/* { dg-final { scan-assembler "movsd" } } */
|
Loading…
Add table
Reference in a new issue