summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-01-08 05:10:41 -0600
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-01-08 08:14:48 -0600
commit38f3458175ecf7c3588bd5b6e465f4d9205fbe1c (patch)
tree1c5442a50f36e93adb52c57c7e02977699d60f55 /ChangeLog
parent3ff6304ee7294951adef3255457ca28ebaf0d7d1 (diff)
downloadglibc-38f3458175ecf7c3588bd5b6e465f4d9205fbe1c.tar.gz
glibc-38f3458175ecf7c3588bd5b6e465f4d9205fbe1c.tar.xz
glibc-38f3458175ecf7c3588bd5b6e465f4d9205fbe1c.zip
PowerPC: remove wrong truncl implementation for PowerPC64
The truncl assembly implementation (sysdeps/powerpc/powerpc64/fpu/s_truncl.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_truncl.c instead it fixes tgammal
issues regarding wrong result sign.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 62ebe4b584..1b19405fd2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,11 @@
-2013-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+	[BZ #16414]
+	* sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
+	implementation.
+	* sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
+
+2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
 	* sysdeps/powerpc/fpu/libm-test-ulps: Update.