glibc/sysdeps
Joseph Myers bba5c93094 Remove powerpc32 sqrt wrappers.
This patch removes the powerpc32-specific wrappers for sqrt and sqrtf.

These wrappers, by adding architecture-specific uses of _LIB_VERSION
and __kernel_standard, unnecessarily complicate cleanups of libm error
handling.  They also do not serve a useful optimization purpose.  GCC
knows about sqrt as a built-in function, and can generate direct calls
to a hardware square root instruction, either on its own, in the
-fno-math-errno case, or together with an inline check for the
argument being negative and a call to the out-of-line sqrt function
for error handling only in that case (and has been able to do so for a
long time).  Thus in practice the wrapper will only be called only in
the case of negative arguments, which is not a case it is useful to
optimize for.

Tested with build-many-glibcs.py for powerpc-linux-gnu-power4.

	* sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
	Remove file.
	* sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
	Likewise.
	* sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
	Likewise.
	* sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
	Likewise.
	* sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
	Likewise.
	* sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
	Likewise.
	* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
	* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
	* sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
	* sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
	* sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
	(libm-sysdep-routines): Remove w_sqrt_compat-power5,
	w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
	w_sqrtf_compat-ppc32.
2017-08-25 11:33:04 +00:00
..
aarch64 aarch64: Use PTR_REG macro to fix ILP32 bug and make code consistent 2017-08-22 16:22:05 -07:00
alpha Remove sysdeps/alpha/bb_init_func.S 2017-08-20 06:51:15 -07:00
arm Fix uc_* namespace (bug 21457). 2017-08-09 17:51:26 +00:00
generic Consolidate remaning non cancellable definitions 2017-08-23 10:47:03 -03:00
gnu Regenerate sysdeps/gnu/errlist.c. 2017-06-04 15:27:14 -04:00
hppa Remove extra semicolons in struct pthread_mutex (bug 21804) 2017-07-24 12:22:05 +02:00
i386 i386: Replace internal_function attribute for __mcount_internal 2017-08-15 14:51:55 +02:00
ia64 Obsolete matherr, _LIB_VERSION, libieee.a. 2017-08-21 17:45:10 +00:00
ieee754 Fix CFLAGS override in sysdeps/ieee754/dbl-64 2017-08-24 15:56:11 +01:00
init_array Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
m68k Fix uc_* namespace (bug 21457). 2017-08-09 17:51:26 +00:00
mach Remove non cancellable sigsuspend definition 2017-08-22 14:25:08 -03:00
microblaze Update Microblaze libm-test-ulps 2017-07-28 09:19:40 -03:00
mips Fix uc_* namespace (bug 21457). 2017-08-09 17:51:26 +00:00
nios2 Update Nios II ULPs file. 2017-07-28 03:54:35 -07:00
nptl Remove extra semicolons in struct pthread_mutex (bug 21804) 2017-07-24 12:22:05 +02:00
posix Consolidate non cancellable pause call 2017-08-22 14:25:03 -03:00
powerpc Remove powerpc32 sqrt wrappers. 2017-08-25 11:33:04 +00:00
pthread aio: Remove support for BROKEN_THREAD_SIGNALS 2017-08-15 17:54:19 +02:00
s390 S390: Add new s390 platform z14. 2017-08-15 14:00:07 +02:00
sh PowerPC64 ELFv2 PPC64_OPT_LOCALENTRY 2017-06-14 10:47:25 +09:30
sparc Remove SPARC sqrt wrappers (bug 21973). 2017-08-21 17:46:34 +00:00
tile Do not use __ptr_t. 2017-08-08 17:14:49 +00:00
unix Remove cancellation support for syscall generation 2017-08-24 14:58:35 -03:00
wordsize-32 Build divdi3 only for architecture that required it 2017-04-06 15:14:34 -03:00
wordsize-64 Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
x86 x86: Add IBT/SHSTK bits to cpu-features 2017-08-14 05:54:38 -07:00
x86_64 x86-64: Regenerate libm-test-ulps for AVX512 mathvec tests 2017-08-23 09:11:55 -07:00