glibc/sysdeps/x86_64
Joseph Myers 01189b083b Fix i386/x86_64 log* (1) zero sign for -ffinite-math-only (bug 19213).
For the -ffinite-math-only versions of various x86_64 and x86 log*
functions, a zero result from log* (1) is returned with incorrect sign
in round-downward mode.  This patch fixes this in a similar way to the
previous fixes for the non-*_finite versions of the functions.

Tested for x86_64 and x86 (including an i586 build), together with a
patch that will be applied separately to enable the main libm-test.inc
tests for the finite-math-only functions.

	[BZ #19213]
	* sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
	returned for argument 1.
	* sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
	* sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
	* sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
	* sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
	* sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
	* sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2015-11-05 21:56:31 +00:00
..
64
fpu Fix i386/x86_64 log* (1) zero sign for -ffinite-math-only (bug 19213). 2015-11-05 21:56:31 +00:00
multiarch Remove -mavx2 configure tests. 2015-10-28 13:29:03 +00:00
nptl Save and restore vector registers in x86-64 ld.so 2015-08-25 04:34:13 -07:00
x32 Update lrint/lrintf/lrintl for x32 2015-10-09 11:42:10 -07:00
Implies
Makefile Remove configure tests for -mno-vzeroupper support. 2015-10-09 16:03:48 +00:00
Versions
____longjmp_chk.S
__longjmp.S
_mcount.S
abort-instr.h
add_n.S
addmul_1.S
atomic-machine.h Remove miscellaneous GCC >= 4.7 version conditionals. 2015-11-04 21:34:36 +00:00
backtrace.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
bsd-_setjmp.S
bsd-setjmp.S
bzero.S
cacheinfo.c Move x86_64 init-arch.h to sysdeps/x86/init-arch.h 2015-08-20 04:29:23 -07:00
configure Remove cpuid.h configure tests. 2015-10-29 14:43:46 +00:00
configure.ac Remove cpuid.h configure tests. 2015-10-29 14:43:46 +00:00
crti.S
crtn.S
dl-irel.h
dl-lookupcfg.h Mark x86 _dl_unmap/_dl_make_tlsdesc_dynamic hidden 2015-10-15 13:48:54 -07:00
dl-machine.h Save and restore vector registers in x86-64 ld.so 2015-08-25 04:34:13 -07:00
dl-procinfo.c Add _dl_x86_cpu_features to rtld_global 2015-08-13 03:41:22 -07:00
dl-runtime.c
dl-tls.h
dl-tlsdesc.S
dl-tlsdesc.h Mark x86 _dl_unmap/_dl_make_tlsdesc_dynamic hidden 2015-10-15 13:48:54 -07:00
dl-trampoline.S Support x86-64 assmebler without AVX512 2015-10-13 10:36:27 -07:00
dl-trampoline.h Remove configure tests for AVX support. 2015-10-08 15:59:32 +00:00
ffs.c
ffsll.c
hp-timing.h
htonl.S
ifuncmain8.c Save and restore vector registers in x86-64 ld.so 2015-08-25 04:34:13 -07:00
ifuncmod8.c Save and restore vector registers in x86-64 ld.so 2015-08-25 04:34:13 -07:00
jmpbuf-offsets.h
jmpbuf-unwind.h
l10nflist.c
ldbl2mpn.c
ldsodefs.h Add _dl_x86_cpu_features to rtld_global 2015-08-13 03:41:22 -07:00
link-defines.sym
locale-defines.sym
localplt.data Support PLT and GOT references in local PIC check 2015-10-14 06:00:02 -07:00
lshift.S
machine-gmon.h
memchr.S
memcmp.S
memcpy.S
memcpy_chk.S
memmove.c
mempcpy.S
mempcpy_chk.S
memrchr.S
memset.S Replace %xmm8 with %xmm0 2015-08-25 08:48:34 -07:00
memset_chk.S
memusage.h
mp_clz_tab.c
mul_1.S
preconfigure
preconfigure.ac
rawmemchr.S
rshift.S
sched_cpucount.c
setjmp.S
stack-aliasing.h
stackguard-macros.h
stackinfo.h
start.S
stpcpy.S
strcasecmp.S
strcasecmp_l-nonascii.c
strcasecmp_l.S
strcat.S
strchr.S
strchrnul.S
strcmp.S Use SSE2 optimized strcmp in x86-64 ld.so 2015-08-25 12:38:11 -07:00
strcpy.S
strcspn.S
strlen.S Replace %xmm[8-12] with %xmm[0-4] 2015-08-25 08:51:23 -07:00
strncase.S
strncase_l-nonascii.c
strncase_l.S
strncmp.S
strnlen.S
strpbrk.S
strrchr.S
strspn.S
strtok.S
strtok_r.S
sub_n.S
submul_1.S
sysdep.h Start of series of patches with x86_64 vector math functions. 2015-06-09 14:25:49 +03:00
tls-macros.h
tlsdesc.c
tlsdesc.sym
tst-audit.h
tst-audit3.c
tst-audit4.c
tst-audit5.c
tst-audit6.c Modify several tests to use test-skeleton.c 2015-07-15 15:10:23 +05:30
tst-audit7.c
tst-audit10.c
tst-auditmod3a.c
tst-auditmod3b.c
tst-auditmod4a.c
tst-auditmod4b.c Add la_symbind32 to x86-64 audit tests 2015-07-07 06:09:29 -07:00
tst-auditmod5a.c
tst-auditmod5b.c Add la_symbind32 to x86-64 audit tests 2015-07-07 06:09:29 -07:00
tst-auditmod6a.c
tst-auditmod6b.c Add la_symbind32 to x86-64 audit tests 2015-07-07 06:09:29 -07:00
tst-auditmod6c.c Add la_symbind32 to x86-64 audit tests 2015-07-07 06:09:29 -07:00
tst-auditmod7a.c
tst-auditmod7b.c Add la_symbind32 to x86-64 audit tests 2015-07-07 06:09:29 -07:00
tst-auditmod10a.c
tst-auditmod10b.c Add la_symbind32 to x86-64 audit tests 2015-07-07 06:09:29 -07:00
tst-mallocalign1.c
tst-quad1.c
tst-quad1pie.c
tst-quad2.c
tst-quad2pie.c
tst-quadmod1.S
tst-quadmod1pie.S
tst-quadmod2.S
tst-quadmod2pie.S
tst-split-dynreloc.c Fix dynamic linker issue with bind-now 2015-08-19 05:37:01 -07:00
tst-split-dynreloc.lds Fix dynamic linker issue with bind-now 2015-08-19 05:37:01 -07:00
tst-stack-align.h
wcschr.S
wcscmp.S Fix regcomp wcscoll, wcscmp namespace (bug 18497). 2015-06-09 21:07:30 +00:00
wcslen.S
wcsrchr.S