summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/lshrdi3.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/lshrdi3.S')
-rw-r--r--arch/arm/lib/lshrdi3.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/lib/lshrdi3.S b/arch/arm/lib/lshrdi3.S
index 99ea338bf87c..f83d449141f7 100644
--- a/arch/arm/lib/lshrdi3.S
+++ b/arch/arm/lib/lshrdi3.S
@@ -43,7 +43,9 @@ ENTRY(__aeabi_llsr)
rsb ip, r2, #32
movmi al, al, lsr r2
movpl al, ah, lsr r3
- orrmi al, al, ah, lsl ip
+ ARM( orrmi al, al, ah, lsl ip )
+ THUMB( lslmi r3, ah, ip )
+ THUMB( orrmi al, al, r3 )
mov ah, ah, lsr r2
mov pc, lr