Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libkern/arch/arm Use .L prefix for all local labels.
details: https://anonhg.NetBSD.org/src/rev/747074cbe726
branches: trunk
changeset: 535340:747074cbe726
user: briggs <briggs%NetBSD.org@localhost>
date: Thu Aug 15 18:30:36 2002 +0000
description:
Use .L prefix for all local labels.
diffstat:
sys/lib/libkern/arch/arm/divsi3.S | 230 +++++++++++++++++++-------------------
sys/lib/libkern/arch/arm/memcpy.S | 186 +++++++++++++++---------------
sys/lib/libkern/arch/arm/memset.S | 26 ++--
3 files changed, 221 insertions(+), 221 deletions(-)
diffs (truncated from 1012 to 300 lines):
diff -r 4e021102ea5d -r 747074cbe726 sys/lib/libkern/arch/arm/divsi3.S
--- a/sys/lib/libkern/arch/arm/divsi3.S Thu Aug 15 18:29:02 2002 +0000
+++ b/sys/lib/libkern/arch/arm/divsi3.S Thu Aug 15 18:30:36 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: divsi3.S,v 1.2 2001/11/13 20:06:40 chris Exp $ */
+/* $NetBSD: divsi3.S,v 1.3 2002/08/15 18:30:36 briggs Exp $ */
/*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
@@ -24,7 +24,7 @@
ENTRY(__umodsi3)
stmfd sp!, {lr}
sub sp, sp, #4 /* align stack */
- bl L_udivide
+ bl .L_udivide
add sp, sp, #4 /* unalign stack */
mov r0, r1
#ifdef __APCS_26__
@@ -36,7 +36,7 @@
ENTRY(__modsi3)
stmfd sp!, {lr}
sub sp, sp, #4 /* align stack */
- bl L_divide
+ bl .L_divide
add sp, sp, #4 /* unalign stack */
mov r0, r1
#ifdef __APCS_26__
@@ -45,7 +45,7 @@
ldmfd sp!, {pc}
#endif
-L_overflow:
+.L_overflow:
#if !defined(_KERNEL) && !defined(_STANDALONE)
mov r0, #8 /* SIGFPE */
bl PIC_SYM(_C_LABEL(raise), PLT) /* raise it */
@@ -61,23 +61,23 @@
#endif
ENTRY(__udivsi3)
-L_udivide: /* r0 = r0 / r1; r1 = r0 % r1 */
+.L_udivide: /* r0 = r0 / r1; r1 = r0 % r1 */
eor r0, r1, r0
eor r1, r0, r1
eor r0, r1, r0
/* r0 = r1 / r0; r1 = r1 % r0 */
cmp r0, #1
- bcc L_overflow
- beq L_divide_l0
+ bcc .L_overflow
+ beq .L_divide_l0
mov ip, #0
movs r1, r1
- bpl L_divide_l1
+ bpl .L_divide_l1
orr ip, ip, #0x20000000 /* ip bit 0x20000000 = -ve r1 */
movs r1, r1, lsr #1
orrcs ip, ip, #0x10000000 /* ip bit 0x10000000 = bit 0 of r1 */
- b L_divide_l1
+ b .L_divide_l1
-L_divide_l0: /* r0 == 1 */
+.L_divide_l0: /* r0 == 1 */
mov r0, r1
mov r1, #0
#ifdef __APCS_26__
@@ -87,14 +87,14 @@
#endif
ENTRY(__divsi3)
-L_divide: /* r0 = r0 / r1; r1 = r0 % r1 */
+.L_divide: /* r0 = r0 / r1; r1 = r0 % r1 */
eor r0, r1, r0
eor r1, r0, r1
eor r0, r1, r0
/* r0 = r1 / r0; r1 = r1 % r0 */
cmp r0, #1
- bcc L_overflow
- beq L_divide_l0
+ bcc .L_overflow
+ beq .L_divide_l0
ands ip, r0, #0x80000000
rsbmi r0, r0, #0
ands r2, r1, #0x80000000
@@ -103,7 +103,7 @@
orr ip, r2, ip, lsr #1 /* ip bit 0x40000000 = -ve division */
/* ip bit 0x80000000 = -ve remainder */
-L_divide_l1:
+.L_divide_l1:
mov r2, #1
mov r3, #0
@@ -112,276 +112,276 @@
* careful when shifting the divisor. Test this.
*/
movs r1,r1
- bpl L_old_code
+ bpl .L_old_code
/*
* At this point, the highest bit of r1 is known to be set.
* We abuse this below in the tst instructions.
*/
tst r1, r0 /*, lsl #0 */
- bmi L_divide_b1
+ bmi .L_divide_b1
tst r1, r0, lsl #1
- bmi L_divide_b2
+ bmi .L_divide_b2
tst r1, r0, lsl #2
- bmi L_divide_b3
+ bmi .L_divide_b3
tst r1, r0, lsl #3
- bmi L_divide_b4
+ bmi .L_divide_b4
tst r1, r0, lsl #4
- bmi L_divide_b5
+ bmi .L_divide_b5
tst r1, r0, lsl #5
- bmi L_divide_b6
+ bmi .L_divide_b6
tst r1, r0, lsl #6
- bmi L_divide_b7
+ bmi .L_divide_b7
tst r1, r0, lsl #7
- bmi L_divide_b8
+ bmi .L_divide_b8
tst r1, r0, lsl #8
- bmi L_divide_b9
+ bmi .L_divide_b9
tst r1, r0, lsl #9
- bmi L_divide_b10
+ bmi .L_divide_b10
tst r1, r0, lsl #10
- bmi L_divide_b11
+ bmi .L_divide_b11
tst r1, r0, lsl #11
- bmi L_divide_b12
+ bmi .L_divide_b12
tst r1, r0, lsl #12
- bmi L_divide_b13
+ bmi .L_divide_b13
tst r1, r0, lsl #13
- bmi L_divide_b14
+ bmi .L_divide_b14
tst r1, r0, lsl #14
- bmi L_divide_b15
+ bmi .L_divide_b15
tst r1, r0, lsl #15
- bmi L_divide_b16
+ bmi .L_divide_b16
tst r1, r0, lsl #16
- bmi L_divide_b17
+ bmi .L_divide_b17
tst r1, r0, lsl #17
- bmi L_divide_b18
+ bmi .L_divide_b18
tst r1, r0, lsl #18
- bmi L_divide_b19
+ bmi .L_divide_b19
tst r1, r0, lsl #19
- bmi L_divide_b20
+ bmi .L_divide_b20
tst r1, r0, lsl #20
- bmi L_divide_b21
+ bmi .L_divide_b21
tst r1, r0, lsl #21
- bmi L_divide_b22
+ bmi .L_divide_b22
tst r1, r0, lsl #22
- bmi L_divide_b23
+ bmi .L_divide_b23
tst r1, r0, lsl #23
- bmi L_divide_b24
+ bmi .L_divide_b24
tst r1, r0, lsl #24
- bmi L_divide_b25
+ bmi .L_divide_b25
tst r1, r0, lsl #25
- bmi L_divide_b26
+ bmi .L_divide_b26
tst r1, r0, lsl #26
- bmi L_divide_b27
+ bmi .L_divide_b27
tst r1, r0, lsl #27
- bmi L_divide_b28
+ bmi .L_divide_b28
tst r1, r0, lsl #28
- bmi L_divide_b29
+ bmi .L_divide_b29
tst r1, r0, lsl #29
- bmi L_divide_b30
+ bmi .L_divide_b30
tst r1, r0, lsl #30
- bmi L_divide_b31
+ bmi .L_divide_b31
/*
* instead of:
* tst r1, r0, lsl #31
- * bmi L_divide_b32
+ * bmi .L_divide_b32
*/
- b L_divide_b32
+ b .L_divide_b32
-L_old_code:
+.L_old_code:
cmp r1, r0
- bcc L_divide_b0
+ bcc .L_divide_b0
cmp r1, r0, lsl #1
- bcc L_divide_b1
+ bcc .L_divide_b1
cmp r1, r0, lsl #2
- bcc L_divide_b2
+ bcc .L_divide_b2
cmp r1, r0, lsl #3
- bcc L_divide_b3
+ bcc .L_divide_b3
cmp r1, r0, lsl #4
- bcc L_divide_b4
+ bcc .L_divide_b4
cmp r1, r0, lsl #5
- bcc L_divide_b5
+ bcc .L_divide_b5
cmp r1, r0, lsl #6
- bcc L_divide_b6
+ bcc .L_divide_b6
cmp r1, r0, lsl #7
- bcc L_divide_b7
+ bcc .L_divide_b7
cmp r1, r0, lsl #8
- bcc L_divide_b8
+ bcc .L_divide_b8
cmp r1, r0, lsl #9
- bcc L_divide_b9
+ bcc .L_divide_b9
cmp r1, r0, lsl #10
- bcc L_divide_b10
+ bcc .L_divide_b10
cmp r1, r0, lsl #11
- bcc L_divide_b11
+ bcc .L_divide_b11
cmp r1, r0, lsl #12
- bcc L_divide_b12
+ bcc .L_divide_b12
cmp r1, r0, lsl #13
- bcc L_divide_b13
+ bcc .L_divide_b13
cmp r1, r0, lsl #14
- bcc L_divide_b14
+ bcc .L_divide_b14
cmp r1, r0, lsl #15
- bcc L_divide_b15
+ bcc .L_divide_b15
cmp r1, r0, lsl #16
- bcc L_divide_b16
+ bcc .L_divide_b16
cmp r1, r0, lsl #17
- bcc L_divide_b17
+ bcc .L_divide_b17
cmp r1, r0, lsl #18
- bcc L_divide_b18
+ bcc .L_divide_b18
cmp r1, r0, lsl #19
- bcc L_divide_b19
+ bcc .L_divide_b19
cmp r1, r0, lsl #20
- bcc L_divide_b20
+ bcc .L_divide_b20
cmp r1, r0, lsl #21
- bcc L_divide_b21
+ bcc .L_divide_b21
cmp r1, r0, lsl #22
- bcc L_divide_b22
+ bcc .L_divide_b22
cmp r1, r0, lsl #23
- bcc L_divide_b23
+ bcc .L_divide_b23
cmp r1, r0, lsl #24
- bcc L_divide_b24
+ bcc .L_divide_b24
cmp r1, r0, lsl #25
- bcc L_divide_b25
+ bcc .L_divide_b25
cmp r1, r0, lsl #26
- bcc L_divide_b26
+ bcc .L_divide_b26
cmp r1, r0, lsl #27
- bcc L_divide_b27
+ bcc .L_divide_b27
cmp r1, r0, lsl #28
- bcc L_divide_b28
+ bcc .L_divide_b28
cmp r1, r0, lsl #29
- bcc L_divide_b29
+ bcc .L_divide_b29
cmp r1, r0, lsl #30
- bcc L_divide_b30
Home |
Main Index |
Thread Index |
Old Index