]> git.ipfire.org Git - thirdparty/glibc.git/commit - math/libm-test.inc
PowerPC: remove wrong ceill implementation for PowerPC64
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Fri, 14 Mar 2014 12:35:43 +0000 (07:35 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Fri, 14 Mar 2014 17:54:47 +0000 (12:54 -0500)
commit374f7f61214967bb4e2257695aeeeecc2a77f369
tree5fdfc34f3a435a8df5823508a51e5bb3e726a300
parent4655c291d1808c35b7c54236ae62be7a3aaa0a2d
PowerPC: remove wrong ceill implementation for PowerPC64

The ceill assembly implementation (sysdeps/powerpc/powerpc64/fpu/s_ceill.S)
returns wrong results for some inputs where first double is a exact
integer and the precision is determined by second long double.

Checking on implementation comments and history, I am very confident the
assembly implementation was based on a version before commit
5c68d401698a58cf7da150d9cce769fa6679ba5f that fixes BZ#2423 (Errors in
long double (ldbl-128ibm) rounding functions in glibc-2.4).

By just removing the implementation and make the build select
sysdeps/ieee754/ldbl-128ibm/s_ceill.c instead fixes the failing math.

Fixes BZ#16701.
ChangeLog
NEWS
math/libm-test.inc
sysdeps/powerpc/powerpc64/fpu/s_ceill.S [deleted file]