diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-05-06 08:23:20 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-05-06 08:23:20 +0000 |
commit | 1611de2462f56666fed59452e0a41e2251765d75 (patch) | |
tree | 27f7fa2e3bb8e8cfe3151aa58d6eb4e778128e7b /runtime/powerpc/i64_utof.s | |
parent | 9b3388bea495d027aa618118096a8223f6866437 (diff) | |
download | compcert-1611de2462f56666fed59452e0a41e2251765d75.tar.gz compcert-1611de2462f56666fed59452e0a41e2251765d75.zip |
Wrong pseudo-instr
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2236 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'runtime/powerpc/i64_utof.s')
-rw-r--r-- | runtime/powerpc/i64_utof.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/powerpc/i64_utof.s b/runtime/powerpc/i64_utof.s index b31e5209..2617cbda 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 |