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.27.9000-207-g5d75b75


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  5d75b75fb772556873f3b720e63a740074ff4c40 (commit)
      from  34ba96b89c83f93e18f9a358d437061d737b22a3 (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=5d75b75fb772556873f3b720e63a740074ff4c40

commit 5d75b75fb772556873f3b720e63a740074ff4c40
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Mar 16 18:36:53 2018 +0000

    Remove sysdeps/x86/fpu/bits/mathinline.h __finite inline.
    
    Continuing the removals of inline functions from the x86
    bits/mathinline.h, this patch removes an inline of __finite (which was
    not actually architecture-specific at all beyond its
    endianness-dependence).
    
    This inline is not normally used with GCC 4.4 or later, because
    isfinite now uses __builtin_isfinite except for -fsignaling-nans.
    Allowing __builtin_isfinite etc. to work properly even for
    -fsignaling-nans, by implementing versions of those built-in functions
    that use integer arithmetic in GCC, is
    <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66462> (a patch was
    committed but had to be reverted because it caused problems, and that
    patch didn't address all formats for all architectures, only some, so
    by itself would not have been sufficient to allow glibc to use
    __builtin_isfinite unconditionally for new-enough GCC).
    
    Tested for x86_64 and x86.
    
    	* sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
    	Remove inline function.

diff --git a/ChangeLog b/ChangeLog
index 78cb497..c2468c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2018-03-16  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
+	Remove inline function.
+
 	* sysdeps/i386/fpu/libm-test-ulps: Update.
 	* sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
 
diff --git a/sysdeps/x86/fpu/bits/mathinline.h b/sysdeps/x86/fpu/bits/mathinline.h
index d7fa384..91ece8d 100644
--- a/sysdeps/x86/fpu/bits/mathinline.h
+++ b/sysdeps/x86/fpu/bits/mathinline.h
@@ -306,19 +306,6 @@ __inline_mathcodeNP2 (hypot, __x, __y,
 #  endif
 
 
-#  ifdef __USE_MISC
-
-/* This function is used in the `isfinite' macro.  */
-__MATH_INLINE int
-__NTH (__finite (double __x))
-{
-  return (__extension__
-	  (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1]
-	     | 0x800fffffu) + 1) >> 31));
-}
-
-#  endif /* __USE_MISC  */
-
 /* Undefine some of the large macros which are not used anymore.  */
 #  ifdef __FAST_MATH__
 #   undef __expm1_code

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

Summary of changes:
 ChangeLog                         |    3 +++
 sysdeps/x86/fpu/bits/mathinline.h |   13 -------------
 2 files changed, 3 insertions(+), 13 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]