diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-07-24 07:32:57 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2009-07-24 07:32:57 -0400 |
commit | 8b592783a2e8b7721a99730bd549aab5208f36af (patch) | |
tree | 468636a17d31f6a29287240c63234e739eabf666 /arch/arm/lib/ashrdi3.S | |
parent | 347c8b70b1d5256e445e54e736f88d21877616cf (diff) |
Thumb-2: Implement the unified arch/arm/lib functions
This patch adds the ARM/Thumb-2 unified support for the arch/arm/lib/*
files.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/lib/ashrdi3.S')
-rw-r--r-- | arch/arm/lib/ashrdi3.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/lib/ashrdi3.S b/arch/arm/lib/ashrdi3.S index 9f8b35572f8c..015e8aa5a1d1 100644 --- a/arch/arm/lib/ashrdi3.S +++ b/arch/arm/lib/ashrdi3.S | |||
@@ -43,7 +43,9 @@ ENTRY(__aeabi_lasr) | |||
43 | rsb ip, r2, #32 | 43 | rsb ip, r2, #32 |
44 | movmi al, al, lsr r2 | 44 | movmi al, al, lsr r2 |
45 | movpl al, ah, asr r3 | 45 | movpl al, ah, asr r3 |
46 | orrmi al, al, ah, lsl ip | 46 | ARM( orrmi al, al, ah, lsl ip ) |
47 | THUMB( lslmi r3, ah, ip ) | ||
48 | THUMB( orrmi al, al, r3 ) | ||
47 | mov ah, ah, asr r2 | 49 | mov ah, ah, asr r2 |
48 | mov pc, lr | 50 | mov pc, lr |
49 | 51 | ||