diff options
Diffstat (limited to 'runtime/powerpc/i64_smod.s')
-rw-r--r-- | runtime/powerpc/i64_smod.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/powerpc/i64_smod.s b/runtime/powerpc/i64_smod.s index 47873342..320571dc 100644 --- a/runtime/powerpc/i64_smod.s +++ b/runtime/powerpc/i64_smod.s @@ -52,7 +52,7 @@ __i64_smod: 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 xor r4, r4, r12 # apply expected sign to remainder xor r3, r3, r12 # RES = R if r12 == 0, -R if r12 == -1 |