diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-04-21 16:13:55 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-04-21 16:13:55 +0000 |
commit | 9b2190b382036354e4ff7026d2cd8f3f4fe8337d (patch) | |
tree | 3a3c9d6dc424e2c5dae0b09124ecb56ba9c95e09 /runtime/powerpc/i64_sdiv.s | |
parent | 468f0c4407895557ca8089430f894a85f06afe97 (diff) | |
download | compcert-9b2190b382036354e4ff7026d2cd8f3f4fe8337d.tar.gz compcert-9b2190b382036354e4ff7026d2cd8f3f4fe8337d.zip |
Fixes in PowerPC port
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2209 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'runtime/powerpc/i64_sdiv.s')
-rw-r--r-- | runtime/powerpc/i64_sdiv.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/powerpc/i64_sdiv.s b/runtime/powerpc/i64_sdiv.s index 6f2547f2..f5225061 100644 --- a/runtime/powerpc/i64_sdiv.s +++ b/runtime/powerpc/i64_sdiv.s @@ -53,7 +53,7 @@ __i64_sdiv: xor r5, r5, r0 subfc r6, r0, r6 subfe r5, r0, r5 - bl __i64_umod # do unsigned division + bl __i64_udivmod # do unsigned division mtlr r11 # restore return address srawi r0, r12, 31 # apply expected sign to quotient xor r8, r8, r0 # RES = Q if r12 >= 0, -Q if r12 < 0 |