[llvm-commits] [compiler-rt] r128003 - /compiler-rt/trunk/lib/arm/divmodsi4.S
Stephen Canon
scanon at apple.com
Mon Mar 21 10:35:26 PDT 2011
Author: scanon
Date: Mon Mar 21 12:35:26 2011
New Revision: 128003
URL: http://llvm.org/viewvc/llvm-project?rev=128003&view=rev
Log:
slight re-arrangement to maybe pick up one cycle on dual-issue ARM cores
Modified:
compiler-rt/trunk/lib/arm/divmodsi4.S
Modified: compiler-rt/trunk/lib/arm/divmodsi4.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/divmodsi4.S?rev=128003&r1=128002&r2=128003&view=diff
==============================================================================
--- compiler-rt/trunk/lib/arm/divmodsi4.S (original)
+++ compiler-rt/trunk/lib/arm/divmodsi4.S Mon Mar 21 12:35:26 2011
@@ -40,8 +40,8 @@
// 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
More information about the llvm-commits
mailing list