diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2010-11-06 11:54:44 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2010-11-06 11:54:44 +0100 |
commit | ea0b50bd4615607f3597176ed4f70523459e4f8e (patch) | |
tree | 7cf3cbe81333c3c1699618b3a52bb6c0a3e43b24 /gcc | |
parent | 0e13f09b452911a19705c8eb6c2c1b2af03f8744 (diff) | |
download | gcc-ea0b50bd4615607f3597176ed4f70523459e4f8e.zip gcc-ea0b50bd4615607f3597176ed4f70523459e4f8e.tar.gz gcc-ea0b50bd4615607f3597176ed4f70523459e4f8e.tar.bz2 |
387-2.c: Skip if -march= is specified.
* gcc.target/i386/387-2.c: Skip if -march= is specified.
* gcc.target/i386/387-6.c: Ditto.
* gcc.target/i386/387-2.c: Add -mfancy-math-387 to dg-options.
* gcc.target/i386/387-4.c: Ditto.
* gcc.target/i386/387-7.c: Ditto.
* gcc.target/i386/387-8.c: Ditto.
* gcc.target/i386/387-9.c: Ditto.
* gcc.target/i386/387-10.c: Ditto.
* gcc.target/i386/387-11.c: Ditto.
* gcc.target/i386/387-12.c: Ditto.
* gcc.target/i386/387-2.c: Add -mno-sse3 to dg-options.
From-SVN: r166400
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 15 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/387-10.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/387-11.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/387-12.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/387-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/387-3.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/387-4.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/387-6.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/387-7.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/387-8.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/387-9.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/funcspec-8.c | 2 |
12 files changed, 26 insertions, 15 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4db1313..a175424 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,18 @@ +2010-11-06 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/387-2.c: Skip if -march= is specified. + * gcc.target/i386/387-6.c: Ditto. + * gcc.target/i386/387-2.c: Add -mfancy-math-387 to dg-options. + * gcc.target/i386/387-4.c: Ditto. + * gcc.target/i386/387-7.c: Ditto. + * gcc.target/i386/387-8.c: Ditto. + * gcc.target/i386/387-9.c: Ditto. + * gcc.target/i386/387-10.c: Ditto. + * gcc.target/i386/387-11.c: Ditto. + * gcc.target/i386/387-12.c: Ditto. + + * gcc.target/i386/387-2.c: Add -mno-sse3 to dg-options. + 2010-11-06 Iain Sandoe <iains@gcc.gnu.org> PR target/44981 diff --git a/gcc/testsuite/gcc.target/i386/387-10.c b/gcc/testsuite/gcc.target/i386/387-10.c index 565f019..0ff1b2a 100644 --- a/gcc/testsuite/gcc.target/i386/387-10.c +++ b/gcc/testsuite/gcc.target/i386/387-10.c @@ -1,6 +1,6 @@ /* PR tree-optimization/24964 */ /* { dg-do compile } */ -/* { dg-options "-O2 -mfpmath=387" } */ +/* { dg-options "-O2 -mfpmath=387 -mfancy-math-387" } */ double fabs(double x); diff --git a/gcc/testsuite/gcc.target/i386/387-11.c b/gcc/testsuite/gcc.target/i386/387-11.c index 03020f6..869f606 100644 --- a/gcc/testsuite/gcc.target/i386/387-11.c +++ b/gcc/testsuite/gcc.target/i386/387-11.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -mfpmath=387" } */ +/* { dg-options "-O2 -mfpmath=387 -mfancy-math-387" } */ double foo(double x, double y) { diff --git a/gcc/testsuite/gcc.target/i386/387-12.c b/gcc/testsuite/gcc.target/i386/387-12.c index 6b3ce24..62c1d48 100644 --- a/gcc/testsuite/gcc.target/i386/387-12.c +++ b/gcc/testsuite/gcc.target/i386/387-12.c @@ -1,7 +1,6 @@ /* PR target/26915 */ /* { dg-do compile } */ -/* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O" } */ +/* { dg-options "-O -mfpmath=387 -mfancy-math-387" } */ double testm0(void) { diff --git a/gcc/testsuite/gcc.target/i386/387-2.c b/gcc/testsuite/gcc.target/i386/387-2.c index 5a317ef..bd6dbcd 100644 --- a/gcc/testsuite/gcc.target/i386/387-2.c +++ b/gcc/testsuite/gcc.target/i386/387-2.c @@ -1,6 +1,7 @@ /* Verify that -march overrides -mno-fancy-math-387. */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=i686" } } */ /* { dg-options "-O -ffast-math -mfpmath=387 -march=i686 -mno-fancy-math-387" } */ /* { dg-final { scan-assembler "fsin" } } */ /* { dg-final { scan-assembler "fcos" } } */ diff --git a/gcc/testsuite/gcc.target/i386/387-3.c b/gcc/testsuite/gcc.target/i386/387-3.c index ce11faa..d00c729 100644 --- a/gcc/testsuite/gcc.target/i386/387-3.c +++ b/gcc/testsuite/gcc.target/i386/387-3.c @@ -1,7 +1,6 @@ /* Verify that 387 mathematical constants are recognized. */ /* { dg-do compile } */ -/* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O2 -march=i686" } */ +/* { dg-options "-O2 -mfpmath=387 -mfancy-math-387" } */ /* { dg-final { scan-assembler "fldpi" } } */ long double add_pi(long double x) diff --git a/gcc/testsuite/gcc.target/i386/387-4.c b/gcc/testsuite/gcc.target/i386/387-4.c index 5617636..e4f4a48 100644 --- a/gcc/testsuite/gcc.target/i386/387-4.c +++ b/gcc/testsuite/gcc.target/i386/387-4.c @@ -1,6 +1,5 @@ /* { dg-do compile } */ -/* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O2 -march=i686" } */ +/* { dg-options "-O2 -mfancy-math-387" } */ /* { dg-final { scan-assembler "fldpi" } } */ long double atanl (long double); diff --git a/gcc/testsuite/gcc.target/i386/387-6.c b/gcc/testsuite/gcc.target/i386/387-6.c index bfef46a..7b254d1 100644 --- a/gcc/testsuite/gcc.target/i386/387-6.c +++ b/gcc/testsuite/gcc.target/i386/387-6.c @@ -1,6 +1,7 @@ /* Verify that -march overrides -mno-fancy-math-387. */ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=i686" } } */ /* { dg-options "-O -ffast-math -mfpmath=387 -march=i686 -mno-fancy-math-387" } */ /* { dg-final { scan-assembler "fpatan" } } */ /* { dg-final { scan-assembler "fyl2xp1" } } */ diff --git a/gcc/testsuite/gcc.target/i386/387-7.c b/gcc/testsuite/gcc.target/i386/387-7.c index 61c82c9..e01ed2e 100644 --- a/gcc/testsuite/gcc.target/i386/387-7.c +++ b/gcc/testsuite/gcc.target/i386/387-7.c @@ -1,7 +1,6 @@ /* Verify that 387 fsincos instruction is generated. */ /* { dg-do compile } */ -/* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O -ffast-math -march=i686" } */ +/* { dg-options "-O -ffast-math -mfpmath=387 -mfancy-math-387" } */ /* { dg-final { scan-assembler "fsincos" } } */ extern double sin (double); diff --git a/gcc/testsuite/gcc.target/i386/387-8.c b/gcc/testsuite/gcc.target/i386/387-8.c index 3293f56..2dbcd74 100644 --- a/gcc/testsuite/gcc.target/i386/387-8.c +++ b/gcc/testsuite/gcc.target/i386/387-8.c @@ -2,8 +2,7 @@ inherent load of 1.0 is used in further calculations. */ /* { dg-do compile } */ -/* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O2 -ffast-math -march=i686" } */ +/* { dg-options "-O2 -ffast-math -mfpmath=387 -mfancy-math-387" } */ /* { dg-final { scan-assembler "fptan" } } */ /* { dg-final { scan-assembler-not "fld1" } } */ diff --git a/gcc/testsuite/gcc.target/i386/387-9.c b/gcc/testsuite/gcc.target/i386/387-9.c index 9d126af..2667aa4 100644 --- a/gcc/testsuite/gcc.target/i386/387-9.c +++ b/gcc/testsuite/gcc.target/i386/387-9.c @@ -1,7 +1,6 @@ /* Verify that 387 fsincos instruction is generated. */ /* { dg-do compile } */ -/* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O -funsafe-math-optimizations -march=i686" } */ +/* { dg-options "-O -funsafe-math-optimizations -mfpmath=387 -mfancy-math-387" } */ extern double sin (double); extern double cos (double); diff --git a/gcc/testsuite/gcc.target/i386/funcspec-8.c b/gcc/testsuite/gcc.target/i386/funcspec-8.c index ba4b7f2..2258434 100644 --- a/gcc/testsuite/gcc.target/i386/funcspec-8.c +++ b/gcc/testsuite/gcc.target/i386/funcspec-8.c @@ -2,7 +2,7 @@ functions in functions with the appropriate function specific options. */ /* { dg-do compile } */ /* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=k8" } } */ -/* { dg-options "-O2 -march=k8 -mfpmath=sse" } */ +/* { dg-options "-O2 -march=k8 -mno-sse3 -mfpmath=sse" } */ typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__)); typedef double __m128d __attribute__ ((__vector_size__ (16), __may_alias__)); |