summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/arm/divmodsi4.S
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/arm/divmodsi4.S')
-rw-r--r--compiler-rt/lib/arm/divmodsi4.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/arm/divmodsi4.S b/compiler-rt/lib/arm/divmodsi4.S
index 6e72eabbd9e..b11a4a8ebf8 100644
--- a/compiler-rt/lib/arm/divmodsi4.S
+++ b/compiler-rt/lib/arm/divmodsi4.S
@@ -40,8 +40,8 @@ DEFINE_COMPILERRT_FUNCTION(__divmodsi4)
// Apply the sign of quotient and modulus
ldr r1, [r6]
eor r0, r0, r4, asr #31
- sub r0, r0, r4, asr #31
eor r1, r1, r5, asr #31
+ sub r0, r0, r4, asr #31
sub r1, r1, r5, asr #31
str r1, [r6]
CLEAR_FRAME_AND_RETURN
OpenPOWER on IntegriCloud