| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/lib/io-readsb.S |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 1995-2000 Russell King |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | #include <linux/linkage.h> |
|---|
| 11 | 8 | #include <asm/assembler.h> |
|---|
| .. | .. |
|---|
| 16 | 13 | cmp ip, #2 |
|---|
| 17 | 14 | ldrb r3, [r0] |
|---|
| 18 | 15 | strb r3, [r1], #1 |
|---|
| 19 | | - ldrgeb r3, [r0] |
|---|
| 20 | | - strgeb r3, [r1], #1 |
|---|
| 21 | | - ldrgtb r3, [r0] |
|---|
| 22 | | - strgtb r3, [r1], #1 |
|---|
| 16 | + ldrbge r3, [r0] |
|---|
| 17 | + strbge r3, [r1], #1 |
|---|
| 18 | + ldrbgt r3, [r0] |
|---|
| 19 | + strbgt r3, [r1], #1 |
|---|
| 23 | 20 | subs r2, r2, ip |
|---|
| 24 | 21 | bne .Linsb_aligned |
|---|
| 25 | 22 | |
|---|
| .. | .. |
|---|
| 72 | 69 | bpl .Linsb_16_lp |
|---|
| 73 | 70 | |
|---|
| 74 | 71 | tst r2, #15 |
|---|
| 75 | | - ldmeqfd sp!, {r4 - r6, pc} |
|---|
| 72 | + ldmfdeq sp!, {r4 - r6, pc} |
|---|
| 76 | 73 | |
|---|
| 77 | 74 | .Linsb_no_16: tst r2, #8 |
|---|
| 78 | 75 | beq .Linsb_no_8 |
|---|
| .. | .. |
|---|
| 109 | 106 | str r3, [r1], #4 |
|---|
| 110 | 107 | |
|---|
| 111 | 108 | .Linsb_no_4: ands r2, r2, #3 |
|---|
| 112 | | - ldmeqfd sp!, {r4 - r6, pc} |
|---|
| 109 | + ldmfdeq sp!, {r4 - r6, pc} |
|---|
| 113 | 110 | |
|---|
| 114 | 111 | cmp r2, #2 |
|---|
| 115 | 112 | ldrb r3, [r0] |
|---|
| 116 | 113 | strb r3, [r1], #1 |
|---|
| 117 | | - ldrgeb r3, [r0] |
|---|
| 118 | | - strgeb r3, [r1], #1 |
|---|
| 119 | | - ldrgtb r3, [r0] |
|---|
| 120 | | - strgtb r3, [r1] |
|---|
| 114 | + ldrbge r3, [r0] |
|---|
| 115 | + strbge r3, [r1], #1 |
|---|
| 116 | + ldrbgt r3, [r0] |
|---|
| 117 | + strbgt r3, [r1] |
|---|
| 121 | 118 | |
|---|
| 122 | 119 | ldmfd sp!, {r4 - r6, pc} |
|---|
| 123 | 120 | ENDPROC(__raw_readsb) |
|---|