diff options
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sselibm-1.c | 12 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sselibm-2.c | 12 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sselibm-3.c | 19 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sselibm-4.c | 22 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sselibm-5.c | 30 |
6 files changed, 11 insertions, 95 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4d24c93e0c3..a341aadbb95 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2006-05-22 Richard Guenther <rguenther@suse.de> + + Revert + 2006-01-31 Richard Guenther <rguenther@suse.de> + + * gcc.target/i386/sselibm-1.c: New testcase. + * gcc.target/i386/sselibm-2.c: Likewise. + * gcc.target/i386/sselibm-3.c: Likewise. + * gcc.target/i386/sselibm-4.c: Likewise. + * gcc.target/i386/sselibm-5.c: Likewise. + 2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de> PR c/27420 diff --git a/gcc/testsuite/gcc.target/i386/sselibm-1.c b/gcc/testsuite/gcc.target/i386/sselibm-1.c deleted file mode 100644 index 82f553ba946..00000000000 --- a/gcc/testsuite/gcc.target/i386/sselibm-1.c +++ /dev/null @@ -1,12 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-msse2 -mfpmath=sse" } */ -/* { dg-require-effective-target ilp32 } */ - -float sinf(float); - -float foo(float x) -{ - return sinf(x); -} - -/* { dg-final { scan-assembler-not "__libm_sse2_sinf" } } */ diff --git a/gcc/testsuite/gcc.target/i386/sselibm-2.c b/gcc/testsuite/gcc.target/i386/sselibm-2.c deleted file mode 100644 index 9c479b65c7f..00000000000 --- a/gcc/testsuite/gcc.target/i386/sselibm-2.c +++ /dev/null @@ -1,12 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-msse2 -mfpmath=sse -msselibm" } */ -/* { dg-require-effective-target ilp32 } */ - -float sinf(float); - -float foo(float x) -{ - return sinf(x); -} - -/* { dg-final { scan-assembler "__libm_sse2_sinf" } } */ diff --git a/gcc/testsuite/gcc.target/i386/sselibm-3.c b/gcc/testsuite/gcc.target/i386/sselibm-3.c deleted file mode 100644 index eaa8d8fcf45..00000000000 --- a/gcc/testsuite/gcc.target/i386/sselibm-3.c +++ /dev/null @@ -1,19 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-O1 -msse2 -mfpmath=sse -msselibm" } */ -/* { dg-require-effective-target ilp32 } */ - -float sinf(float); -float (*mysin)(float) = sinf; - -float f1(float x) -{ - return sinf(x); -} - -float f2(float x) -{ - /* Verify we do not expand the following call to __libm_sse2_sinf. */ - return (*mysin)(x); -} - -/* { dg-final { scan-assembler-times "__libm_sse2_sinf" 1 } } */ diff --git a/gcc/testsuite/gcc.target/i386/sselibm-4.c b/gcc/testsuite/gcc.target/i386/sselibm-4.c deleted file mode 100644 index 152672a6103..00000000000 --- a/gcc/testsuite/gcc.target/i386/sselibm-4.c +++ /dev/null @@ -1,22 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-O1 -msse2 -mfpmath=sse -msselibm" } */ -/* { dg-require-effective-target ilp32 } */ - -extern float acosf(float); -extern float asinf(float); -extern float atanf(float); -extern float atan2f(float, float); -extern float cosf(float); -extern float expf(float); -extern float log10f(float); -extern float logf(float); -extern float sinf(float); -extern float tanf(float); - -float foof(float x) -{ - return acosf(x) + asinf(x) + atanf(x) + atan2f(x, x) + cosf(x) + expf(x) - + log10f(x) + logf(x) + sinf(x) + tanf(x); -} - -/* { dg-final { scan-assembler-times "__libm_sse2" 10 } } */ diff --git a/gcc/testsuite/gcc.target/i386/sselibm-5.c b/gcc/testsuite/gcc.target/i386/sselibm-5.c deleted file mode 100644 index b7e4690f774..00000000000 --- a/gcc/testsuite/gcc.target/i386/sselibm-5.c +++ /dev/null @@ -1,30 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-O1 -msse2 -mfpmath=sse -msselibm" } */ -/* { dg-require-effective-target ilp32 } */ - -extern float acosf(float); -extern float asinf(float); -extern float atanf(float); -extern float atan2f(float, float); -extern float cosf(float); -extern float expf(float); -extern float log10f(float); -extern float logf(float); -extern float sinf(float); -extern float tanf(float); - -float foof(float x) -{ - return __builtin_sse2_acosf(x) - + __builtin_sse2_asinf(x) - + __builtin_sse2_atanf(x) - + __builtin_sse2_atan2f(x, x) - + __builtin_sse2_cosf(x) - + __builtin_sse2_expf(x) - + __builtin_sse2_log10f(x) - + __builtin_sse2_logf(x) - + __builtin_sse2_sinf(x) - + __builtin_sse2_tanf(x); -} - -/* { dg-final { scan-assembler-times "__libm_sse2" 10 } } */ |