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:
Dale Johannesen 2005-07-12 20:33:02 +00:00 committed by Dale Johannesen
parent e4541b7a1e
commit 015294b667
7 changed files with 45 additions and 0 deletions

View file

@ -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.

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */

View 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" } } */