diff options
Diffstat (limited to 'arch/arm/lib/io-readsw-armv4.S')
-rw-r--r-- | arch/arm/lib/io-readsw-armv4.S | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/arm/lib/io-readsw-armv4.S b/arch/arm/lib/io-readsw-armv4.S index c92b66ecbe86..4db1c5f0b219 100644 --- a/arch/arm/lib/io-readsw-armv4.S +++ b/arch/arm/lib/io-readsw-armv4.S | |||
@@ -18,8 +18,8 @@ | |||
18 | #endif | 18 | #endif |
19 | .endm | 19 | .endm |
20 | 20 | ||
21 | .insw_align: movs ip, r1, lsl #31 | 21 | .Linsw_align: movs ip, r1, lsl #31 |
22 | bne .insw_noalign | 22 | bne .Linsw_noalign |
23 | ldrh ip, [r0] | 23 | ldrh ip, [r0] |
24 | sub r2, r2, #1 | 24 | sub r2, r2, #1 |
25 | strh ip, [r1], #2 | 25 | strh ip, [r1], #2 |
@@ -28,14 +28,14 @@ ENTRY(__raw_readsw) | |||
28 | teq r2, #0 | 28 | teq r2, #0 |
29 | moveq pc, lr | 29 | moveq pc, lr |
30 | tst r1, #3 | 30 | tst r1, #3 |
31 | bne .insw_align | 31 | bne .Linsw_align |
32 | 32 | ||
33 | stmfd sp!, {r4, r5, lr} | 33 | stmfd sp!, {r4, r5, lr} |
34 | 34 | ||
35 | subs r2, r2, #8 | 35 | subs r2, r2, #8 |
36 | bmi .no_insw_8 | 36 | bmi .Lno_insw_8 |
37 | 37 | ||
38 | .insw_8_lp: ldrh r3, [r0] | 38 | .Linsw_8_lp: ldrh r3, [r0] |
39 | ldrh r4, [r0] | 39 | ldrh r4, [r0] |
40 | pack r3, r3, r4 | 40 | pack r3, r3, r4 |
41 | 41 | ||
@@ -53,10 +53,10 @@ ENTRY(__raw_readsw) | |||
53 | 53 | ||
54 | subs r2, r2, #8 | 54 | subs r2, r2, #8 |
55 | stmia r1!, {r3 - r5, ip} | 55 | stmia r1!, {r3 - r5, ip} |
56 | bpl .insw_8_lp | 56 | bpl .Linsw_8_lp |
57 | 57 | ||
58 | .no_insw_8: tst r2, #4 | 58 | .Lno_insw_8: tst r2, #4 |
59 | beq .no_insw_4 | 59 | beq .Lno_insw_4 |
60 | 60 | ||
61 | ldrh r3, [r0] | 61 | ldrh r3, [r0] |
62 | ldrh r4, [r0] | 62 | ldrh r4, [r0] |
@@ -68,15 +68,15 @@ ENTRY(__raw_readsw) | |||
68 | 68 | ||
69 | stmia r1!, {r3, r4} | 69 | stmia r1!, {r3, r4} |
70 | 70 | ||
71 | .no_insw_4: movs r2, r2, lsl #31 | 71 | .Lno_insw_4: movs r2, r2, lsl #31 |
72 | bcc .no_insw_2 | 72 | bcc .Lno_insw_2 |
73 | 73 | ||
74 | ldrh r3, [r0] | 74 | ldrh r3, [r0] |
75 | ldrh ip, [r0] | 75 | ldrh ip, [r0] |
76 | pack r3, r3, ip | 76 | pack r3, r3, ip |
77 | str r3, [r1], #4 | 77 | str r3, [r1], #4 |
78 | 78 | ||
79 | .no_insw_2: ldrneh r3, [r0] | 79 | .Lno_insw_2: ldrneh r3, [r0] |
80 | strneh r3, [r1] | 80 | strneh r3, [r1] |
81 | 81 | ||
82 | ldmfd sp!, {r4, r5, pc} | 82 | ldmfd sp!, {r4, r5, pc} |
@@ -93,7 +93,7 @@ ENTRY(__raw_readsw) | |||
93 | #define pull_hbyte1 lsr #8 | 93 | #define pull_hbyte1 lsr #8 |
94 | #endif | 94 | #endif |
95 | 95 | ||
96 | .insw_noalign: stmfd sp!, {r4, lr} | 96 | .Linsw_noalign: stmfd sp!, {r4, lr} |
97 | ldrccb ip, [r1, #-1]! | 97 | ldrccb ip, [r1, #-1]! |
98 | bcc 1f | 98 | bcc 1f |
99 | 99 | ||