Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/arm Use local label names (.Lfoo vs. (Lfoo or f...



details:   https://anonhg.NetBSD.org/src/rev/33062d117d28
branches:  trunk
changeset: 535328:33062d117d28
user:      briggs <briggs%NetBSD.org@localhost>
date:      Thu Aug 15 01:38:16 2002 +0000

description:
Use local label names (.Lfoo vs. (Lfoo or foo))

diffstat:

 sys/arch/arm/arm/bcopyinout.S |  298 +++++++++++++++++++++---------------------
 sys/arch/arm/arm/blockio.S    |  116 ++++++++--------
 sys/arch/arm/arm/copystr.S    |   16 +-
 3 files changed, 215 insertions(+), 215 deletions(-)

diffs (truncated from 993 to 300 lines):

diff -r f274c1c0afbe -r 33062d117d28 sys/arch/arm/arm/bcopyinout.S
--- a/sys/arch/arm/arm/bcopyinout.S     Thu Aug 15 01:37:01 2002 +0000
+++ b/sys/arch/arm/arm/bcopyinout.S     Thu Aug 15 01:38:16 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcopyinout.S,v 1.3 2002/08/12 20:38:06 bjh21 Exp $     */
+/*     $NetBSD: bcopyinout.S,v 1.4 2002/08/15 01:38:16 briggs Exp $    */
 
 /*
  * Copyright (c) 2002 Wasabi Systems, Inc.
@@ -39,7 +39,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: bcopyinout.S,v 1.3 2002/08/12 20:38:06 bjh21 Exp $")   
+RCSID("$NetBSD: bcopyinout.S,v 1.4 2002/08/15 01:38:16 briggs Exp $")  
 
        .text
        .align  0
@@ -94,43 +94,43 @@
         * If not too many bytes, take the slow path.
         */
        cmp     r2, #0x08
-       blt     Licleanup
+       blt     .Licleanup
 
        /*
         * Align destination to word boundary.
         */
        and     r6, r1, #0x3
        ldr     pc, [pc, r6, lsl #2]
-       b       Lialend
-       .word   Lialend
-       .word   Lial1
-       .word   Lial2
-       .word   Lial3
-Lial3: ldrbt   r6, [r0], #1
+       b       .Lialend
+       .word   .Lialend
+       .word   .Lial1
+       .word   .Lial2
+       .word   .Lial3
+.Lial3:        ldrbt   r6, [r0], #1
        sub     r2, r2, #1
        strb    r6, [r1], #1
-Lial2: ldrbt   r7, [r0], #1
+.Lial2:        ldrbt   r7, [r0], #1
        sub     r2, r2, #1
        strb    r7, [r1], #1
-Lial1: ldrbt   r6, [r0], #1
+.Lial1:        ldrbt   r6, [r0], #1
        sub     r2, r2, #1
        strb    r6, [r1], #1
-Lialend:
+.Lialend:
 
        /*
         * If few bytes left, finish slow.
         */
        cmp     r2, #0x08
-       blt     Licleanup
+       blt     .Licleanup
 
        /*
         * If source is not aligned, finish slow.
         */
        ands    r3, r0, #0x03
-       bne     Licleanup
+       bne     .Licleanup
 
        cmp     r2, #0x60       /* Must be > 0x5f for unrolled cacheline */
-       blt     Licleanup8
+       blt     .Licleanup8
 
        /*
         * Align destination to cacheline boundary.
@@ -140,34 +140,34 @@
         */
        and     r6, r1, #0x1f
        ldr     pc, [pc, r6]
-       b       Licaligned
-       .word   Licaligned
-       .word   Lical4
-       .word   Lical8
-       .word   Lical12
-       .word   Lical16
-       .word   Lical20
-       .word   Lical24
-       .word   Lical28
-Lical28:ldrt   r6, [r0], #4
+       b       .Licaligned
+       .word   .Licaligned
+       .word   .Lical4
+       .word   .Lical8
+       .word   .Lical12
+       .word   .Lical16
+       .word   .Lical20
+       .word   .Lical24
+       .word   .Lical28
+.Lical28:ldrt  r6, [r0], #4
        sub     r2, r2, #4
        str     r6, [r1], #4
-Lical24:ldrt   r7, [r0], #4
+.Lical24:ldrt  r7, [r0], #4
        sub     r2, r2, #4
        str     r7, [r1], #4
-Lical20:ldrt   r6, [r0], #4
+.Lical20:ldrt  r6, [r0], #4
        sub     r2, r2, #4
        str     r6, [r1], #4
-Lical16:ldrt   r7, [r0], #4
+.Lical16:ldrt  r7, [r0], #4
        sub     r2, r2, #4
        str     r7, [r1], #4
-Lical12:ldrt   r6, [r0], #4
+.Lical12:ldrt  r6, [r0], #4
        sub     r2, r2, #4
        str     r6, [r1], #4
-Lical8:        ldrt    r7, [r0], #4
+.Lical8:ldrt   r7, [r0], #4
        sub     r2, r2, #4
        str     r7, [r1], #4
-Lical4:        ldrt    r6, [r0], #4
+.Lical4:ldrt   r6, [r0], #4
        sub     r2, r2, #4
        str     r6, [r1], #4
 
@@ -185,7 +185,7 @@
         * bytes -= 0x20;
         * copy cacheline
         */
-Licaligned:
+.Licaligned:
        PREFETCH(r0, 32)
        PREFETCH(r1, 32)
 
@@ -204,7 +204,7 @@
        stmia   r1!, {r6-r11}
 
        cmp     r2, #0x40
-       bge     Licaligned
+       bge     .Licaligned
 
        sub     r2, r2, #0x20
 
@@ -221,47 +221,47 @@
        stmia   r1!, {r6-r11}
 
        cmp     r2, #0x08
-       blt     Liprecleanup
+       blt     .Liprecleanup
 
-Licleanup8:
+.Licleanup8:
        ldrt    r8, [r0], #4
        ldrt    r9, [r0], #4
        sub     r2, r2, #8
        stmia   r1!, {r8, r9}
        cmp     r2, #8
-       bge     Licleanup8
+       bge     .Licleanup8
 
-Liprecleanup:
+.Liprecleanup:
        /*
         * If we're done, bail.
         */
        cmp     r2, #0
-       beq     Lout
+       beq     .Lout
 
-Licleanup:
+.Licleanup:
        and     r6, r2, #0x3
        ldr     pc, [pc, r6, lsl #2]
-       b       Licend
-       .word   Lic4
-       .word   Lic1
-       .word   Lic2
-       .word   Lic3
-Lic4:  ldrbt   r6, [r0], #1
+       b       .Licend
+       .word   .Lic4
+       .word   .Lic1
+       .word   .Lic2
+       .word   .Lic3
+.Lic4: ldrbt   r6, [r0], #1
        sub     r2, r2, #1
        strb    r6, [r1], #1
-Lic3:  ldrbt   r7, [r0], #1
+.Lic3: ldrbt   r7, [r0], #1
        sub     r2, r2, #1
        strb    r7, [r1], #1
-Lic2:  ldrbt   r6, [r0], #1
+.Lic2: ldrbt   r6, [r0], #1
        sub     r2, r2, #1
        strb    r6, [r1], #1
-Lic1:  ldrbt   r7, [r0], #1
+.Lic1: ldrbt   r7, [r0], #1
        subs    r2, r2, #1
        strb    r7, [r1], #1
-Licend:
-       bne     Licleanup
+.Licend:
+       bne     .Licleanup
 
-Liout:
+.Liout:
        mov     r0, #0
 
        str     r5, [r4, #PCB_ONFAULT]
@@ -307,77 +307,77 @@
         * If not too many bytes, take the slow path.
         */
        cmp     r2, #0x08
-       blt     Lcleanup
+       blt     .Lcleanup
 
        /*
         * Align destination to word boundary.
         */
        and     r6, r1, #0x3
        ldr     pc, [pc, r6, lsl #2]
-       b       Lalend
-       .word   Lalend
-       .word   Lal1
-       .word   Lal2
-       .word   Lal3
-Lal3:  ldrb    r6, [r0], #1
+       b       .Lalend
+       .word   .Lalend
+       .word   .Lal1
+       .word   .Lal2
+       .word   .Lal3
+.Lal3: ldrb    r6, [r0], #1
        sub     r2, r2, #1
        strbt   r6, [r1], #1
-Lal2:  ldrb    r7, [r0], #1
+.Lal2: ldrb    r7, [r0], #1
        sub     r2, r2, #1
        strbt   r7, [r1], #1
-Lal1:  ldrb    r6, [r0], #1
+.Lal1: ldrb    r6, [r0], #1
        sub     r2, r2, #1
        strbt   r6, [r1], #1
-Lalend:
+.Lalend:
 
        /*
         * If few bytes left, finish slow.
         */
        cmp     r2, #0x08
-       blt     Lcleanup
+       blt     .Lcleanup
 
        /*
         * If source is not aligned, finish slow.
         */
        ands    r3, r0, #0x03
-       bne     Lcleanup
+       bne     .Lcleanup
 
        cmp     r2, #0x60       /* Must be > 0x5f for unrolled cacheline */
-       blt     Lcleanup8
+       blt     .Lcleanup8
 
        /*
         * Align source & destination to cacheline boundary.
         */
        and     r6, r1, #0x1f
        ldr     pc, [pc, r6]
-       b       Lcaligned
-       .word   Lcaligned
-       .word   Lcal4
-       .word   Lcal8
-       .word   Lcal12
-       .word   Lcal16
-       .word   Lcal20
-       .word   Lcal24
-       .word   Lcal28
-Lcal28:        ldr     r6, [r0], #4
+       b       .Lcaligned
+       .word   .Lcaligned
+       .word   .Lcal4
+       .word   .Lcal8
+       .word   .Lcal12
+       .word   .Lcal16
+       .word   .Lcal20
+       .word   .Lcal24
+       .word   .Lcal28
+.Lcal28:ldr    r6, [r0], #4
        sub     r2, r2, #4
        strt    r6, [r1], #4
-Lcal24:        ldr     r7, [r0], #4
+.Lcal24:ldr    r7, [r0], #4
        sub     r2, r2, #4
        strt    r7, [r1], #4
-Lcal20:        ldr     r6, [r0], #4
+.Lcal20:ldr    r6, [r0], #4
        sub     r2, r2, #4
        strt    r6, [r1], #4



Home | Main Index | Thread Index | Old Index