From: Thomas Schwinge Date: Thu, 21 Feb 2013 20:29:37 +0000 (+0100) Subject: Enable tests for x86_64, too, which currently are enabled only for x86. X-Git-Tag: glibc-2.18~523 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64487e126468f91ecdfe7ab7a0f3a82762874d5a;p=thirdparty%2Fglibc.git Enable tests for x86_64, too, which currently are enabled only for x86. --- diff --git a/ChangeLog b/ChangeLog index b8a05216123..5c1c1f32e52 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2013-03-15 Thomas Schwinge + * 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. diff --git a/math/libm-test.inc b/math/libm-test.inc index 132a540e289..1b6111d393b 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 a4e70d66683..2df5d1e61f2 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