about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-02-21 21:29:37 +0100
committerThomas Schwinge <thomas@codesourcery.com>2013-03-15 19:02:18 +0100
commit64487e126468f91ecdfe7ab7a0f3a82762874d5a (patch)
treef6b404ff8be60517b60fb2bc6d3635489a3ae155 /math
parente015e27b902c3e599370771dbbb0c5de0ec00f44 (diff)
downloadglibc-64487e126468f91ecdfe7ab7a0f3a82762874d5a.tar.gz
glibc-64487e126468f91ecdfe7ab7a0f3a82762874d5a.tar.xz
glibc-64487e126468f91ecdfe7ab7a0f3a82762874d5a.zip
Enable tests for x86_64, too, which currently are enabled only for x86.
Diffstat (limited to 'math')
-rw-r--r--math/libm-test.inc2
-rw-r--r--math/test-misc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 132a540e28..1b6111d393 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -361,7 +361,7 @@ print_complex_function_ulps (const char *function_name, FLOAT real_ulp,
 static void
 fpstack_test (const char *test_name)
 {
-#ifdef i386
+#if defined (__i386__) || defined (__x86_64__)
   static int old_stack;
   int sw;
 
diff --git a/math/test-misc.c b/math/test-misc.c
index a4e70d6668..2df5d1e61f 100644
--- a/math/test-misc.c
+++ b/math/test-misc.c
@@ -1056,7 +1056,7 @@ main (void)
     }
 #endif
 
-#ifdef __i386__
+#if defined (__i386__) || defined (__x86_64__)
   /* This is a test for the strange long doubles in x86 FPUs.  */
   {
     union