[llvm-commits] [llvm-gcc-4.2] r67312 - /llvm-gcc-4.2/trunk/gcc/config/arm/lib1funcs.asm
Misha Brukman
brukman+llvm at gmail.com
Thu Mar 19 11:06:05 PDT 2009
Author: brukman
Date: Thu Mar 19 13:06:05 2009
New Revision: 67312
URL: http://llvm.org/viewvc/llvm-project?rev=67312&view=rev
Log:
Fixes PR2545 by adding parentheses around parameters to THUMB_DIV_MOD_BODY.
Original patch by Adam Treat.
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/lib1funcs.asm
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/lib1funcs.asm
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/lib1funcs.asm?rev=67312&r1=67311&r2=67312&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/lib1funcs.asm (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/lib1funcs.asm Thu Mar 19 13:06:05 2009
@@ -845,7 +845,8 @@
cmp dividend, divisor
blo LSYM(Lgot_result)
- THUMB_DIV_MOD_BODY 0
+ /* LLVM LOCAL */
+ THUMB_DIV_MOD_BODY(0)
mov r0, result
pop { work }
@@ -920,7 +921,8 @@
LSYM(Lover10):
push { work }
- THUMB_DIV_MOD_BODY 1
+ /* LLVM LOCAL */
+ THUMB_DIV_MOD_BODY(1)
pop { work }
RET
@@ -973,7 +975,8 @@
cmp dividend, divisor
blo LSYM(Lgot_result)
- THUMB_DIV_MOD_BODY 0
+ /* LLVM LOCAL */
+ THUMB_DIV_MOD_BODY(0)
mov r0, result
mov work, ip
@@ -1076,7 +1079,8 @@
cmp dividend, divisor
blo LSYM(Lgot_result)
- THUMB_DIV_MOD_BODY 1
+ /* LLVM LOCAL */
+ THUMB_DIV_MOD_BODY(1)
pop { work }
cmp work, #0
More information about the llvm-commits
mailing list