This is the mail archive of the glibc-cvs@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]

GNU C Library master sources branch master updated. glibc-2.23-394-gd8728df


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  d8728df4306c07ed3dc64e825dec9f2e97cb826d (commit)
      from  de628893f63ebf8cfa7b480028ab1d7d0a01ab06 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d8728df4306c07ed3dc64e825dec9f2e97cb826d

commit d8728df4306c07ed3dc64e825dec9f2e97cb826d
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri May 27 15:26:48 2016 +0000

    Remove unused macros from libm-test.inc.
    
    This patch removes various no-longer-used macros from libm-test.inc.
    NO_TEST_INLINE_FLOAT, NO_TEST_INLINE_DOUBLE and M_PI_6l would have
    been used before relevant tests were moved to auto-libm-test-in.
    TEST_COND_x86_64 and TEST_COND_x86 were for tests in auto-libm-test-in
    XFAILed for x86, and are no longer relevant now the bugs in question
    have been fixed and the XFAILing removed (if future x86-specific
    XFAILs become needed, they can always be added back).
    
    Tested for x86_64 and x86.
    
    	* math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
    	(NO_TEST_INLINE_DOUBLE): Likewise.
    	(TEST_COND_x86_64): Likewise.
    	(TEST_COND_x86): Likewise.
    	(M_PI_6l): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 85a73f5..31736a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2016-05-27  Joseph Myers  <joseph@codesourcery.com>
+
+	* math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
+	(NO_TEST_INLINE_DOUBLE): Likewise.
+	(TEST_COND_x86_64): Likewise.
+	(TEST_COND_x86): Likewise.
+	(M_PI_6l): Likewise.
+
 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
 
 	* math/libm-test.inc:
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 9c75a01..523c932 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -263,18 +263,6 @@ struct ulp_data
 						 ? 0			\
 						 : UNDERFLOW_EXCEPTION)
 
-/* Inline tests disabled for particular types.  */
-#if TEST_COND_binary32
-# define NO_TEST_INLINE_FLOAT	NO_TEST_INLINE
-#else
-# define NO_TEST_INLINE_FLOAT	0
-#endif
-#if TEST_COND_binary64
-# define NO_TEST_INLINE_DOUBLE	NO_TEST_INLINE
-#else
-# define NO_TEST_INLINE_DOUBLE	0
-#endif
-
 /* Conditions used by tests generated by gen-auto-libm-tests.c.  */
 #define TEST_COND_flt_32 TEST_COND_binary32
 #define TEST_COND_dbl_64 TEST_COND_binary64
@@ -293,20 +281,7 @@ struct ulp_data
 #define TEST_COND_before_rounding	(!TININESS_AFTER_ROUNDING)
 #define TEST_COND_after_rounding	TININESS_AFTER_ROUNDING
 
-#ifdef __x86_64__
-# define TEST_COND_x86_64	1
-#else
-# define TEST_COND_x86_64	0
-#endif
-
-#ifdef __i386__
-# define TEST_COND_x86		1
-#else
-# define TEST_COND_x86		0
-#endif
-
 /* Various constants (we must supply them precalculated for accuracy).  */
-#define M_PI_6l			.52359877559829887307710723054658383L
 #define M_PI_34l		2.356194490192344928846982537459627163L	/* 3*pi/4 */
 #define M_PI_34_LOG10El		1.023282265381381010614337719073516828L
 #define M_PI2_LOG10El		0.682188176920920673742891812715677885L

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog          |    8 ++++++++
 math/libm-test.inc |   25 -------------------------
 2 files changed, 8 insertions(+), 25 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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