]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Enable tests for x86_64, too, which currently are enabled only for x86.
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 21 Feb 2013 20:29:37 +0000 (21:29 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Fri, 15 Mar 2013 18:02:18 +0000 (19:02 +0100)
ChangeLog
math/libm-test.inc
math/test-misc.c

index b8a052161233ef7212a8b6adedb763fc7db90b99..5c1c1f32e527409a154267b83e50dd09d7e9e550 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
 
+       * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
+       * math/test-misc.c (main) [__x86_64__]: Enable test for long
+       doubles.
+
        * math/test-misc.c (main): Fix copy'n'pastos.
        * misc/tst-efgcvt.c (special): Likewise.
 
index 132a540e2897f1facdc3ff9c6bd32add366da298..1b6111d393b975b3e208017cf3b05b8f7dbfb4a1 100644 (file)
@@ -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;
 
index a4e70d66683e4861a650556a09951657475890f1..2df5d1e61f2d35b0d8b947a6cb8c3a4750b27a6a 100644 (file)
@@ -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