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.28.9000-388-gbf8ae8c


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  bf8ae8c09ab7ae4c402f26fd1a2cff4b64e50eea (commit)
      from  de099757b693c2809527f7df7d64b70942177d97 (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=bf8ae8c09ab7ae4c402f26fd1a2cff4b64e50eea

commit bf8ae8c09ab7ae4c402f26fd1a2cff4b64e50eea
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Dec 12 22:33:06 2018 +0000

    Remove x86 mathinline.h hypot inline.
    
    Continuing the removal of bits/mathinline.h inlines that would better
    be done by the compiler, this patch removes an x86 inline for hypot
    functions (only for fast-math, only for non-SSE 32-bit x86).  I've
    filed <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88474> for adding
    such an inline as an optimization in GCC.
    
    Tested for x86_64 and x86.
    
    	* sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
    	definition.

diff --git a/ChangeLog b/ChangeLog
index 1b0fff4..92683cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-12-12  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
+	definition.
+
 2018-12-12  Leonardo Sandoval  <leonardo.sandoval.gonzalez@intel.com>
 
 	* benchtests/scripts/compare_bench.py (do_compare): write to
diff --git a/sysdeps/x86/fpu/bits/mathinline.h b/sysdeps/x86/fpu/bits/mathinline.h
index 91ece8d..8eae370 100644
--- a/sysdeps/x86/fpu/bits/mathinline.h
+++ b/sysdeps/x86/fpu/bits/mathinline.h
@@ -298,10 +298,6 @@ __inline_mathcodeNP (atanh, __x, \
   register long double __y = __fabsl (__x);				      \
   return -0.5 * log1pl (-(__y + __y) / (1.0 + __y)) * __sgn1l (__x))
 
-/* The argument range of the inline version of hypotl is slightly reduced.  */
-__inline_mathcodeNP2 (hypot, __x, __y,
-		      return __libc_sqrtl (__x * __x + __y * __y))
-
 #   endif
 #  endif
 

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

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