Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/stand/bootblock/boot Add register prefixes.



details:   https://anonhg.NetBSD.org/src/rev/201d0b152d21
branches:  trunk
changeset: 504402:201d0b152d21
user:      is <is%NetBSD.org@localhost>
date:      Thu Mar 01 21:32:53 2001 +0000

description:
Add register prefixes.

diffstat:

 sys/arch/amiga/stand/bootblock/boot/alloc.s    |   24 +-
 sys/arch/amiga/stand/bootblock/boot/ashrdi3.s  |   14 +-
 sys/arch/amiga/stand/bootblock/boot/bbstart.s  |   94 ++++----
 sys/arch/amiga/stand/bootblock/boot/bcopy.s    |   26 +-
 sys/arch/amiga/stand/bootblock/boot/bzero.s    |   10 +-
 sys/arch/amiga/stand/bootblock/boot/libstubs.s |  254 ++++++++++++------------
 sys/arch/amiga/stand/bootblock/boot/muldi3.s   |   36 +-
 sys/arch/amiga/stand/bootblock/boot/printf.s   |   38 +-
 sys/arch/amiga/stand/bootblock/boot/startit.s  |  220 ++++++++++----------
 9 files changed, 358 insertions(+), 358 deletions(-)

diffs (truncated from 1083 to 300 lines):

diff -r c6aac77d9ad3 -r 201d0b152d21 sys/arch/amiga/stand/bootblock/boot/alloc.s
--- a/sys/arch/amiga/stand/bootblock/boot/alloc.s       Thu Mar 01 17:11:13 2001 +0000
+++ b/sys/arch/amiga/stand/bootblock/boot/alloc.s       Thu Mar 01 21:32:53 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alloc.s,v 1.5 2001/02/26 14:58:36 is Exp $ */
+/* $NetBSD: alloc.s,v 1.6 2001/03/01 21:32:53 is Exp $ */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -43,19 +43,19 @@
 #include <machine/asm.h>
 
 ENTRY_NOPROFILE(alloc)
-       movl    a6,sp@-
-       movl    pc@(_C_LABEL(SysBase):w),a6
-       movl    sp@(8),d0
-       movl    #0x50001,d1     | MEMF_CLEAR|MEMF_REVERSE|MEMF_PUBLIC for now.
-       jsr     a6@(-0x2ac)     | AllocVec
-       movl    sp@+,a6
+       movl    %a6,sp@-
+       movl    %pc@(_C_LABEL(SysBase):w),%a6
+       movl    %sp@(8),%d0
+       movl    #0x50001,%d1    | MEMF_CLEAR|MEMF_REVERSE|MEMF_PUBLIC for now.
+       jsr     %a6@(-0x2ac)    | AllocVec
+       movl    %sp@+,%a6
        rts
 
 ENTRY_NOPROFILE(free)
-       movl    a6,sp@-
-       movl    pc@(_C_LABEL(SysBase):w),a6
-       movl    sp@(8),a1
-       jsr     a6@(-0x2b2)     | FreeVec
-       movl    sp@+,a6
+       movl    %a6,sp@-
+       movl    %pc@(_C_LABEL(SysBase):w),%a6
+       movl    %sp@(8),%a1
+       jsr     %a6@(-0x2b2)    | FreeVec
+       movl    %sp@+,%a6
        rts
 
diff -r c6aac77d9ad3 -r 201d0b152d21 sys/arch/amiga/stand/bootblock/boot/ashrdi3.s
--- a/sys/arch/amiga/stand/bootblock/boot/ashrdi3.s     Thu Mar 01 17:11:13 2001 +0000
+++ b/sys/arch/amiga/stand/bootblock/boot/ashrdi3.s     Thu Mar 01 21:32:53 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ashrdi3.s,v 1.4 2001/02/26 14:58:36 is Exp $ */
+/*     $NetBSD: ashrdi3.s,v 1.5 2001/03/01 21:32:53 is Exp $ */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -39,14 +39,14 @@
 #include <machine/asm.h>
 
 ENTRY_NOPROFILE(__ashrdi3)
-       movl d2,sp@-            | 0 reg, 1 pc, 2..4 parameters
-       movml sp@(8),d0-d2
+       movl %d2,sp@-           | 0 reg, 1 %pc, 2..4 parameters
+       movml %sp@(8),%d0-d2
        jra L2
 L1:
-       asrl #1,d0
-       roxrl #1,d1
+       asrl #1,%d0
+       roxrl #1,%d1
 L2:
-       dbra d2,L1
+       dbra %d2,L1
 
-       movl sp@+,d2
+       movl %sp@+,%d2
        rts
diff -r c6aac77d9ad3 -r 201d0b152d21 sys/arch/amiga/stand/bootblock/boot/bbstart.s
--- a/sys/arch/amiga/stand/bootblock/boot/bbstart.s     Thu Mar 01 17:11:13 2001 +0000
+++ b/sys/arch/amiga/stand/bootblock/boot/bbstart.s     Thu Mar 01 21:32:53 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bbstart.s,v 1.6 2001/02/26 14:58:36 is Exp $ */
+/* $NetBSD: bbstart.s,v 1.7 2001/03/01 21:32:53 is Exp $ */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -80,46 +80,46 @@
  * autoload
  */
 Lautoload:
-       movl    a6,sp@-                 |SysBase
-       movl    a1,sp@-                 |IORequest
+       movl    %a6,sp@-                        |SysBase
+       movl    %a1,sp@-                        |IORequest
 
-       movl    #AUTOLOAD,d0            |Howmuch
-       movl    d0,a1@(IOlen)           | for the actual read...
-       movl    #0x10001,d1             |MEMF_CLEAR|MEMF_PUBLIC
-       jsr     a6@(LVOAllocMem)
-       movl    sp@+,a1                 |IORequest
-       movl    sp@+,a6                 |SysBase
-       orl     d0,d0
+       movl    #AUTOLOAD,%d0           |Howmuch
+       movl    %d0,a1@(IOlen)          | for the actual read...
+       movl    #0x10001,%d1            |MEMF_CLEAR|MEMF_PUBLIC
+       jsr     %a6@(LVOAllocMem)
+       movl    %sp@+,%a1                       |IORequest
+       movl    %sp@+,%a6                       |SysBase
+       orl     %d0,d0
        jne     Lgotmem
-       movql   #1,d0
+       movql   #1,%d0
        rts
 
 Lgotmem:
-       movl    d0,sp@-                 |Address
-       movl    a1@(IOoff),sp@-         |Old offset
-       movl    a1,sp@-
-       movl    a6,sp@-
+       movl    %d0,sp@-                        |Address
+       movl    %a1@(IOoff),%sp@-               |Old offset
+       movl    %a1,sp@-
+       movl    %a6,sp@-
 
 /* we've set IOlen above */
-       movl    d0,a1@(IObuf)
-       movw    #Cmd_Rd,a1@(IOcmd)
-       jsr     a6@(LVODoIO)
+       movl    %d0,a1@(IObuf)
+       movw    #Cmd_Rd,%a1@(IOcmd)
+       jsr     %a6@(LVODoIO)
 
-       movl    sp@+,a6
-       movl    sp@+,a1
-       movl    sp@+,a1@(IOoff)
+       movl    %sp@+,%a6
+       movl    %sp@+,%a1
+       movl    %sp@+,%a1@(IOoff)
 
-       tstb    a1@(IOerr)
+       tstb    %a1@(IOerr)
        jne     Lioerr
-       addl    #Lrelocate-Lzero,sp@
+       addl    #Lrelocate-Lzero,%sp@
 
-       movl    a6,sp@-
-       jsr     a6@(LVOCacheClearU)
-       movl    sp@+,a6
+       movl    %a6,sp@-
+       jsr     %a6@(LVOCacheClearU)
+       movl    %sp@+,%a6
        rts
 Lioerr:
-       movql   #1,d0
-       addql   #4,sp
+       movql   #1,%d0
+       addql   #4,%sp
        rts
 #endif
 
@@ -139,42 +139,42 @@
  */
  
 Lrelocate:
-       lea     pc@(Lzero),a0
-       movl    a0,d1
-       movw    pc@(Lreltab),a2
-       addl    d1,a2
+       lea     %pc@(Lzero),%a0
+       movl    %a0,d1
+       movw    %pc@(Lreltab),%a2
+       addl    %d1,a2
        jra     Loopend
        
 Loopw:
-       clrw    a2@+
-       movl    d1,a0   | for a variant with relative words, erase this line
+       clrw    %a2@+
+       movl    %d1,a0  | for a variant with relative words, erase this line
 Loopb:
-       addl    d0,a0
-       addl    d1,a0@
+       addl    %d0,a0
+       addl    %d1,a0@
 Loopend:
-       movq    #0,d0
-       movb    a2@,d0
-       clrb    a2@+    | bfclr a2@+{0:8} is still two shorts
-       tstb    d0      | we could save one short by using casb d0,d0,a2@+
+       movq    #0,%d0
+       movb    %a2@,%d0
+       clrb    %a2@+   | bfclr %a2@+{0:8} is still two shorts
+       tstb    %d0     | we could save one short by using casb %d0,d0,%a2@+
        jne     Loopb
 
-       movw    a2@,d0
+       movw    %a2@,%d0
        jne     Loopw
 
 Lendtab:
-       movl    a6,sp@-
-       jsr     a6@(LVOCacheClearU)
-       movl    sp@+,a6
+       movl    %a6,sp@-
+       jsr     %a6@(LVOCacheClearU)
+       movl    %sp@+,%a6
 
 /* We are relocated. Now it is safe to initialize _SysBase: */
 
-       movl    a6,_SysBase
+       movl    %a6,_SysBase
 
-       movl    a1,sp@-
+       movl    %a1,sp@-
        bsr     _C_LABEL(pain)
 
 Lerr:
-       movq    #1,d0
+       movq    #1,%d0
        rts
 
        .comm _C_LABEL(SysBase),4
diff -r c6aac77d9ad3 -r 201d0b152d21 sys/arch/amiga/stand/bootblock/boot/bcopy.s
--- a/sys/arch/amiga/stand/bootblock/boot/bcopy.s       Thu Mar 01 17:11:13 2001 +0000
+++ b/sys/arch/amiga/stand/bootblock/boot/bcopy.s       Thu Mar 01 21:32:53 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcopy.s,v 1.5 2001/02/26 14:58:37 is Exp $     */
+/*     $NetBSD: bcopy.s,v 1.6 2001/03/01 21:32:53 is Exp $     */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -46,29 +46,29 @@
        .even
 
 ENTRY_NOPROFILE(memcpy)
-       movel sp@(4),a0
-       movel sp@(8),a1
+       movel %sp@(4),%a0
+       movel %sp@(8),%a1
        jra Lcpy
 
 ENTRY_NOPROFILE(bcopy)
-       movel sp@(4),a1
-       movel sp@(8),a0
+       movel %sp@(4),%a1
+       movel %sp@(8),%a0
 Lcpy:
-       movel sp@(12),d0
+       movel %sp@(12),%d0
        jeq L1
-       cmpl a1,a0
+       cmpl %a1,a0
        jcc L3
 L4:
-       moveb a1@+,a0@+
-       subql #1,d0
+       moveb %a1@+,%a0@+
+       subql #1,%d0
        jne L4
        rts
 L3:
-       addl d0,a1
-       addl d0,a0
+       addl %d0,a1
+       addl %d0,a0
 L9:
-       moveb a1@-,a0@-
-       subql #1,d0
+       moveb %a1@-,%a0@-
+       subql #1,%d0
        jne L9
 L1:
        rts
diff -r c6aac77d9ad3 -r 201d0b152d21 sys/arch/amiga/stand/bootblock/boot/bzero.s
--- a/sys/arch/amiga/stand/bootblock/boot/bzero.s       Thu Mar 01 17:11:13 2001 +0000
+++ b/sys/arch/amiga/stand/bootblock/boot/bzero.s       Thu Mar 01 21:32:53 2001 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: bzero.s,v 1.4 2001/02/26 14:58:37 is Exp $ */
+/*      $NetBSD: bzero.s,v 1.5 2001/03/01 21:32:53 is Exp $ */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -42,12 +42,12 @@
 #include <machine/asm.h>
 
 ENTRY_NOPROFILE(bzero)
-       movel sp@(4),a0
-       movel sp@(8),d0
+       movel %sp@(4),%a0
+       movel %sp@(8),%d0
        jeq L3
 L4:
-       clrb a0@+
-       subql #1,d0
+       clrb %a0@+
+       subql #1,%d0
        jne L4
 L3:
        rts
diff -r c6aac77d9ad3 -r 201d0b152d21 sys/arch/amiga/stand/bootblock/boot/libstubs.s
--- a/sys/arch/amiga/stand/bootblock/boot/libstubs.s    Thu Mar 01 17:11:13 2001 +0000
+++ b/sys/arch/amiga/stand/bootblock/boot/libstubs.s    Thu Mar 01 21:32:53 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: libstubs.s,v 1.4 2001/02/26 14:58:37 is Exp $ */
+/* $NetBSD: libstubs.s,v 1.5 2001/03/01 21:32:53 is Exp $ */
 
 /*-



Home | Main Index | Thread Index | Old Index