slight re-arrangement to maybe pick up one cycle on dual-issue ARM cores

llvm-svn: 128003
This commit is contained in:
Stephen Canon 2011-03-21 17:35:26 +00:00
parent 4dc36c66e5
commit 32acbef33f
1 changed files with 1 additions and 1 deletions

View File

@ -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