glibc/sysdeps/x86
Joseph Myers da75c1b180 Remove x86 mathinline.h.
After previous cleanups, the only code in the x86 bits/mathinline.h
that is relevant with current compilers is the inline of
__ieee754_atan2l that is conditional on __LIBC_INTERNAL_MATH_INLINES
(i.e. for when libm itself is being built).

This inline is something that does belong in glibc not GCC, since
__ieee754_atan2l is a purely internal function name.  This patch moves
that inline to a new sysdeps/x86/fpu/math_private.h, removing the
bits/mathinline.h header.

Note that previously the inline was only for non-SSE 32-bit x86.  That
condition does not make sense, however, for a long double function; if
it's not inlined, exactly the same x87 instruction will end up getting
used by the out-of-line function, for both 32-bit and 64-bit.  So that
condition is not retained in the new version.

Tested for x86_64 and x86.  As expected, installed stripped shared
libraries are unchanged for 32-bit x86, but installed stripped libm.so
is changed for x86_64 because calls to __ieee754_atan2l start being
inlined where previously they were out of line calls.  (The same
change to start inlining the function would presumably also apply for
32-bit built with -mfpmath=sse, but that's not a configuration I've
tested.)

	* sysdeps/x86/fpu/math_private.h: New file.
	* sysdeps/x86/fpu/bits/mathinline.h: Remove.
2018-12-19 22:55:32 +00:00
..
bits
fpu Remove x86 mathinline.h. 2018-12-19 22:55:32 +00:00
nptl
__longjmp_cancel.S
atomic-machine.h x86: Merge i386/x86_64 atomic-machine.h 2018-12-18 04:25:26 -08:00
cacheinfo.c
cet-tunables.h
check-cet.awk
configure
configure.ac
cpu-features-offsets.sym
cpu-features.c x86: Add Hygon Dhyana support. 2018-12-13 09:25:20 -05:00
cpu-features.h
cpu-tunables.c
dl-cet.c
dl-get-cpu-features.c
dl-hwcap.h
dl-procinfo.c
dl-procinfo.h
dl-procruntime.c
dl-prop.h
dl-tunables.list
elide.h
float128-abi.h
fpu_control.h
hp-timing.h
init-arch.h
jmp_buf-ssp.sym
ldsodefs.h
libc-start.c
libc-start.h
link_map.h
linkmap.h
longjmp.c
Makeconfig
Makefile
string_private.h
sysdep.h
tininess.h
tst-cet-legacy-1.c
tst-cet-legacy-1a.c
tst-cet-legacy-2.c
tst-cet-legacy-2a.c
tst-cet-legacy-3.c
tst-cet-legacy-4.c
tst-cet-legacy-4a.c
tst-cet-legacy-4b.c
tst-cet-legacy-4c.c
tst-cet-legacy-mod-1.c
tst-cet-legacy-mod-2.c
tst-cet-legacy-mod-4.c
tst-get-cpu-features-static.c
tst-get-cpu-features.c
Versions