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/memmove.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/memmove.S')
-rw-r--r-- | arch/arm/lib/memmove.S | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/arch/arm/lib/memmove.S b/arch/arm/lib/memmove.S index 12549187088c..5025c863713d 100644 --- a/arch/arm/lib/memmove.S +++ b/arch/arm/lib/memmove.S | |||
@@ -75,24 +75,24 @@ ENTRY(memmove) | |||
75 | addne pc, pc, ip @ C is always clear here | 75 | addne pc, pc, ip @ C is always clear here |
76 | b 7f | 76 | b 7f |
77 | 6: nop | 77 | 6: nop |
78 | ldr r3, [r1, #-4]! | 78 | W(ldr) r3, [r1, #-4]! |
79 | ldr r4, [r1, #-4]! | 79 | W(ldr) r4, [r1, #-4]! |
80 | ldr r5, [r1, #-4]! | 80 | W(ldr) r5, [r1, #-4]! |
81 | ldr r6, [r1, #-4]! | 81 | W(ldr) r6, [r1, #-4]! |
82 | ldr r7, [r1, #-4]! | 82 | W(ldr) r7, [r1, #-4]! |
83 | ldr r8, [r1, #-4]! | 83 | W(ldr) r8, [r1, #-4]! |
84 | ldr lr, [r1, #-4]! | 84 | W(ldr) lr, [r1, #-4]! |
85 | 85 | ||
86 | add pc, pc, ip | 86 | add pc, pc, ip |
87 | nop | 87 | nop |
88 | nop | 88 | nop |
89 | str r3, [r0, #-4]! | 89 | W(str) r3, [r0, #-4]! |
90 | str r4, [r0, #-4]! | 90 | W(str) r4, [r0, #-4]! |
91 | str r5, [r0, #-4]! | 91 | W(str) r5, [r0, #-4]! |
92 | str r6, [r0, #-4]! | 92 | W(str) r6, [r0, #-4]! |
93 | str r7, [r0, #-4]! | 93 | W(str) r7, [r0, #-4]! |
94 | str r8, [r0, #-4]! | 94 | W(str) r8, [r0, #-4]! |
95 | str lr, [r0, #-4]! | 95 | W(str) lr, [r0, #-4]! |
96 | 96 | ||
97 | CALGN( bcs 2b ) | 97 | CALGN( bcs 2b ) |
98 | 98 | ||