aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndreas Jaeger <jaegerandi@gmail.com>2012-05-09 20:17:21 +0200
committerAndreas Jaeger <jaegerandi@gmail.com>2012-05-09 20:17:21 +0200
commitbdd74070cc94ca50f1096808977268981308d7d6 (patch)
tree0fb127e5c545095be68437660edf024ee5e94bf4 /ChangeLog
parent91d8d69ec6bc407af06125c4c98f70e3a43f3b38 (diff)
downloadglibc-bdd74070cc94ca50f1096808977268981308d7d6.zip
glibc-bdd74070cc94ca50f1096808977268981308d7d6.tar.gz
glibc-bdd74070cc94ca50f1096808977268981308d7d6.tar.bz2
Add volatiles for x86-64 bits/mathinline.h
[BZ #14053] GCC 4.7 might remove consecutive calls to e.g. lrintf since the assembler instructions are the same and GCC does not know that the result is different depending on the rounding mode. For SSE instructions, the control register is not available so there is no way to inform GCC about this. Therefore the asms are marked as volatile.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d7243b..a89b191 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,17 @@
2012-05-09 Andreas Jaeger <aj@suse.de>
+
+ [BZ #14053]
+ * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
+ to asm.
+ (lrint): Likewise.
+ (llrintf): Likewise.
+ (llrint): Likewise.
+ (rint): Likewise.
+ (rintf): Likewise.
+ (nearbyint): Likewise.
+ (nearbyintf): Likewise.
+
+2012-05-09 Andreas Jaeger <aj@suse.de>
Pedro Alves <palves@redhat.com>
* nscd/nscd.c (run_mode): Use enum.