GNU C Library master sources branch master updated. glibc-2.28.9000-396-g033a2c0

jsm28@sourceware.org jsm28@sourceware.org
Fri Dec 14 22:36:00 GMT 2018


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  033a2c0a20393c7e48000d83c2ca7ac8ea292d9e (commit)
      from  e361dc043d0490dbcba88f5e16854e8e19f8231c (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=033a2c0a20393c7e48000d83c2ca7ac8ea292d9e

commit 033a2c0a20393c7e48000d83c2ca7ac8ea292d9e
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Dec 14 22:35:57 2018 +0000

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

diff --git a/ChangeLog b/ChangeLog
index 098d925..3dd9054 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-12-14  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
+	definition.
+	(acosh): Likewise.
+	(atanh): Likewise.
+
 2018-12-14  Florian Weimer  <fweimer@redhat.com>
 
 	* manual/process.texi (Process Creation Concepts): Remove
diff --git a/sysdeps/x86/fpu/bits/mathinline.h b/sysdeps/x86/fpu/bits/mathinline.h
index 8eae370..785fa2c 100644
--- a/sysdeps/x86/fpu/bits/mathinline.h
+++ b/sysdeps/x86/fpu/bits/mathinline.h
@@ -285,19 +285,6 @@ __inline_mathcodeNP (tanh, __x, \
 #   ifdef __FAST_MATH__
 __inline_mathcodeNP (expm1, __x, __expm1_code)
 
-/* The argument range of the inline version of asinhl is slightly reduced.  */
-__inline_mathcodeNP (asinh, __x, \
-  register long double  __y = __fabsl (__x);				      \
-  return (log1pl (__y * __y / (__libc_sqrtl (__y * __y + 1.0) + 1.0) + __y)   \
-	  * __sgn1l (__x)))
-
-__inline_mathcodeNP (acosh, __x, \
-  return logl (__x + __libc_sqrtl (__x - 1.0) * __libc_sqrtl (__x + 1.0)))
-
-__inline_mathcodeNP (atanh, __x, \
-  register long double __y = __fabsl (__x);				      \
-  return -0.5 * log1pl (-(__y + __y) / (1.0 + __y)) * __sgn1l (__x))
-
 #   endif
 #  endif
 

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

Summary of changes:
 ChangeLog                         |    7 +++++++
 sysdeps/x86/fpu/bits/mathinline.h |   13 -------------
 2 files changed, 7 insertions(+), 13 deletions(-)


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



More information about the Glibc-cvs mailing list