summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/arm/_memcpy.S24
1 files changed, 12 insertions, 12 deletions
diff --git a/libc/string/arm/_memcpy.S b/libc/string/arm/_memcpy.S
index 5a5ba7c59..7bd4b0776 100644
--- a/libc/string/arm/_memcpy.S
+++ b/libc/string/arm/_memcpy.S
@@ -184,7 +184,7 @@ _memcpy:
stmdb sp!, {r4, r5}
.Lmemcpy_fsrcul1loop16:
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
mov r3, lr, lsl #8
ldmia r1!, {r4, r5, r12, lr}
orr r3, r3, r4, lsr #24
@@ -213,7 +213,7 @@ _memcpy:
blt .Lmemcpy_fsrcul1l4
.Lmemcpy_fsrcul1loop4:
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
mov r12, lr, lsl #8
ldr lr, [r1], #4
orr r12, r12, lr, lsr #24
@@ -237,7 +237,7 @@ _memcpy:
stmdb sp!, {r4, r5}
.Lmemcpy_fsrcul2loop16:
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
mov r3, lr, lsl #16
ldmia r1!, {r4, r5, r12, lr}
orr r3, r3, r4, lsr #16
@@ -266,7 +266,7 @@ _memcpy:
blt .Lmemcpy_fsrcul2l4
.Lmemcpy_fsrcul2loop4:
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
mov r12, lr, lsl #16
ldr lr, [r1], #4
orr r12, r12, lr, lsr #16
@@ -290,7 +290,7 @@ _memcpy:
stmdb sp!, {r4, r5}
.Lmemcpy_fsrcul3loop16:
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
mov r3, lr, lsl #24
ldmia r1!, {r4, r5, r12, lr}
orr r3, r3, r4, lsr #8
@@ -319,7 +319,7 @@ _memcpy:
blt .Lmemcpy_fsrcul3l4
.Lmemcpy_fsrcul3loop4:
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
mov r12, lr, lsl #24
ldr lr, [r1], #4
orr r12, r12, lr, lsr #8
@@ -430,7 +430,7 @@ _memcpy:
stmdb sp!, {r4, r5, lr}
.Lmemcpy_bsrcul3loop16:
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
mov lr, r3, lsr #8
ldmdb r1!, {r3-r5, r12}
orr lr, lr, r12, lsl #24
@@ -459,7 +459,7 @@ _memcpy:
blt .Lmemcpy_bsrcul3l4
.Lmemcpy_bsrcul3loop4:
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
mov r12, r3, lsr #8
ldr r3, [r1, #-4]!
orr r12, r12, r3, lsl #24
@@ -483,7 +483,7 @@ _memcpy:
stmdb sp!, {r4, r5, lr}
.Lmemcpy_bsrcul2loop16:
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
mov lr, r3, lsr #16
ldmdb r1!, {r3-r5, r12}
orr lr, lr, r12, lsl #16
@@ -512,7 +512,7 @@ _memcpy:
blt .Lmemcpy_bsrcul2l4
.Lmemcpy_bsrcul2loop4:
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
mov r12, r3, lsr #16
ldr r3, [r1, #-4]!
orr r12, r12, r3, lsl #16
@@ -536,7 +536,7 @@ _memcpy:
stmdb sp!, {r4, r5, lr}
.Lmemcpy_bsrcul1loop32:
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
mov lr, r3, lsr #24
ldmdb r1!, {r3-r5, r12}
orr lr, lr, r12, lsl #8
@@ -565,7 +565,7 @@ _memcpy:
blt .Lmemcpy_bsrcul1l4
.Lmemcpy_bsrcul1loop4:
-#if BYTE_ORDER == BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN
mov r12, r3, lsr #24
ldr r3, [r1, #-4]!
orr r12, r12, r3, lsl #8