aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86/fpu
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-12-12 22:33:06 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-12-12 22:33:06 +0000
commitbf8ae8c09ab7ae4c402f26fd1a2cff4b64e50eea (patch)
treeafc0151c2664ff74c1c521654891d00598feb172 /sysdeps/x86/fpu
parentde099757b693c2809527f7df7d64b70942177d97 (diff)
downloadglibc-bf8ae8c09ab7ae4c402f26fd1a2cff4b64e50eea.zip
glibc-bf8ae8c09ab7ae4c402f26fd1a2cff4b64e50eea.tar.gz
glibc-bf8ae8c09ab7ae4c402f26fd1a2cff4b64e50eea.tar.bz2
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.
Diffstat (limited to 'sysdeps/x86/fpu')
-rw-r--r--sysdeps/x86/fpu/bits/mathinline.h4
1 files changed, 0 insertions, 4 deletions
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