From bdd74070cc94ca50f1096808977268981308d7d6 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 9 May 2012 20:17:21 +0200 Subject: 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. --- ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 6d7243b..a89b191 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,17 @@ 2012-05-09 Andreas Jaeger + + [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 Pedro Alves * nscd/nscd.c (run_mode): Use enum. -- cgit v1.1