This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Enable tests for x86_64, too, which currently are enabled only for x86.


	* math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
	* math/test-misc.c (main) [__x86_64__]: Enable test for long doubles.
---
 math/libm-test.inc |    2 +-
 math/test-misc.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git math/libm-test.inc math/libm-test.inc
index 6ac3cd2..1823726 100644
--- math/libm-test.inc
+++ 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 math/test-misc.c math/test-misc.c
index a4e70d6..2df5d1e 100644
--- math/test-misc.c
+++ 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
-- 
1.7.4.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]