summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-05-06 08:23:20 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-05-06 08:23:20 +0000
commit1611de2462f56666fed59452e0a41e2251765d75 (patch)
tree27f7fa2e3bb8e8cfe3151aa58d6eb4e778128e7b /runtime
parent9b3388bea495d027aa618118096a8223f6866437 (diff)
Wrong pseudo-instr
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2236 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'runtime')
-rw-r--r--runtime/powerpc/i64_utof.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/powerpc/i64_utof.s b/runtime/powerpc/i64_utof.s
index b31e520..2617cbd 100644
--- a/runtime/powerpc/i64_utof.s
+++ b/runtime/powerpc/i64_utof.s
@@ -43,7 +43,7 @@
__i64_utof:
mflr r9
# Check whether X < 2^53
- srlwi. r0, r3, 21 # test if X >> 53 == 0
+ andis. r0, r3, 0xFFE0 # test bits 53...63 of X
beq 1f
# X is large enough that double rounding can occur.
# Avoid it by nudging X away from the points where double rounding