Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Add register prefixes.
details: https://anonhg.NetBSD.org/src/rev/87dadc042664
branches: trunk
changeset: 477643:87dadc042664
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Oct 25 23:48:07 1999 +0000
description:
Add register prefixes.
diffstat:
lib/libc/arch/m68k/SYS.h | 6 +-
lib/libc/arch/m68k/gen/__setjmp14.S | 58 ++++++------
lib/libc/arch/m68k/gen/__sigsetjmp14.S | 16 +-
lib/libc/arch/m68k/gen/_setjmp.S | 44 ++++----
lib/libc/arch/m68k/gen/adddf3.S | 14 +-
lib/libc/arch/m68k/gen/addsf3.S | 10 +-
lib/libc/arch/m68k/gen/alloca.S | 22 ++--
lib/libc/arch/m68k/gen/ashlsi3.S | 10 +-
lib/libc/arch/m68k/gen/ashrsi3.S | 10 +-
lib/libc/arch/m68k/gen/bswap16.S | 6 +-
lib/libc/arch/m68k/gen/bswap32.S | 10 +-
lib/libc/arch/m68k/gen/bswap64.S | 18 +-
lib/libc/arch/m68k/gen/cmpdf2.S | 14 +-
lib/libc/arch/m68k/gen/cmpsf2.S | 14 +-
lib/libc/arch/m68k/gen/divdf3.S | 14 +-
lib/libc/arch/m68k/gen/divsf3.S | 10 +-
lib/libc/arch/m68k/gen/divsi3.S | 8 +-
lib/libc/arch/m68k/gen/extendsfdf2.S | 12 +-
lib/libc/arch/m68k/gen/fabs.S | 14 +-
lib/libc/arch/m68k/gen/fixdfsi.S | 8 +-
lib/libc/arch/m68k/gen/fixunsdfsi.S | 16 +-
lib/libc/arch/m68k/gen/floatsidf.S | 12 +-
lib/libc/arch/m68k/gen/flt_rounds.S | 10 +-
lib/libc/arch/m68k/gen/fpgetmask.S | 6 +-
lib/libc/arch/m68k/gen/fpgetround.S | 6 +-
lib/libc/arch/m68k/gen/fpgetsticky.S | 6 +-
lib/libc/arch/m68k/gen/fpsetmask.S | 16 +-
lib/libc/arch/m68k/gen/fpsetround.S | 16 +-
lib/libc/arch/m68k/gen/fpsetsticky.S | 16 +-
lib/libc/arch/m68k/gen/lshlsi3.S | 10 +-
lib/libc/arch/m68k/gen/lshrsi3.S | 10 +-
lib/libc/arch/m68k/gen/modf.S | 20 ++--
lib/libc/arch/m68k/gen/modsi3.S | 8 +-
lib/libc/arch/m68k/gen/muldf3.S | 14 +-
lib/libc/arch/m68k/gen/mulsf3.S | 10 +-
lib/libc/arch/m68k/gen/mulsi3.S | 8 +-
lib/libc/arch/m68k/gen/negdf2.S | 12 +-
lib/libc/arch/m68k/gen/negsf2.S | 10 +-
lib/libc/arch/m68k/gen/setjmp.S | 52 +++++-----
lib/libc/arch/m68k/gen/sigsetjmp.S | 16 +-
lib/libc/arch/m68k/gen/subdf3.S | 14 +-
lib/libc/arch/m68k/gen/subsf3.S | 10 +-
lib/libc/arch/m68k/gen/truncdfsf2.S | 8 +-
lib/libc/arch/m68k/gen/udivsi3.S | 8 +-
lib/libc/arch/m68k/gen/umodsi3.S | 8 +-
lib/libc/arch/m68k/gen/umulsi3.S | 8 +-
lib/libc/arch/m68k/net/htonl.S | 6 +-
lib/libc/arch/m68k/net/htons.S | 8 +-
lib/libc/arch/m68k/net/ntohl.S | 6 +-
lib/libc/arch/m68k/net/ntohs.S | 8 +-
lib/libc/arch/m68k/quad/ashldi3.S | 38 ++++----
lib/libc/arch/m68k/quad/ashrdi3.S | 40 ++++----
lib/libc/arch/m68k/quad/lshrdi3.S | 38 ++++----
lib/libc/arch/m68k/stdlib/abs.S | 8 +-
lib/libc/arch/m68k/string/bcmp.S | 78 ++++++++--------
lib/libc/arch/m68k/string/bcopy.S | 156 ++++++++++++++++----------------
lib/libc/arch/m68k/string/bzero.S | 78 ++++++++--------
lib/libc/arch/m68k/string/ffs.S | 18 +-
lib/libc/arch/m68k/string/index.S | 18 +-
lib/libc/arch/m68k/string/memcmp.S | 52 +++++-----
lib/libc/arch/m68k/string/memset.S | 100 ++++++++++----------
lib/libc/arch/m68k/string/rindex.S | 18 +-
lib/libc/arch/m68k/string/strcat.S | 18 +-
lib/libc/arch/m68k/string/strcmp.S | 38 ++++----
lib/libc/arch/m68k/string/strcpy.S | 14 +-
lib/libc/arch/m68k/string/strlen.S | 14 +-
lib/libc/arch/m68k/string/strncmp.S | 42 ++++----
lib/libc/arch/m68k/string/strncpy.S | 22 ++--
lib/libc/arch/m68k/string/swab.S | 18 +-
lib/libc/arch/m68k/sys/Ovfork.S | 52 +++++-----
lib/libc/arch/m68k/sys/__sigreturn14.S | 10 +-
lib/libc/arch/m68k/sys/__vfork14.S | 52 +++++-----
lib/libc/arch/m68k/sys/brk.S | 34 +++---
lib/libc/arch/m68k/sys/cerror.S | 36 +++---
lib/libc/arch/m68k/sys/exect.S | 6 +-
lib/libc/arch/m68k/sys/fork.S | 8 +-
lib/libc/arch/m68k/sys/pipe.S | 12 +-
lib/libc/arch/m68k/sys/ptrace.S | 30 +++---
lib/libc/arch/m68k/sys/sbrk.S | 32 +++---
lib/libc/arch/m68k/sys/setlogin.S | 16 +-
lib/libc/arch/m68k/sys/sigpending.S | 10 +-
lib/libc/arch/m68k/sys/sigprocmask.S | 24 ++--
lib/libc/arch/m68k/sys/sigsuspend.S | 12 +-
lib/libc/arch/m68k/sys/syscall.S | 6 +-
sys/arch/m68k/include/asm.h | 4 +-
85 files changed, 914 insertions(+), 914 deletions(-)
diffs (truncated from 3720 to 300 lines):
diff -r 493038db64aa -r 87dadc042664 lib/libc/arch/m68k/SYS.h
--- a/lib/libc/arch/m68k/SYS.h Mon Oct 25 23:34:31 1999 +0000
+++ b/lib/libc/arch/m68k/SYS.h Mon Oct 25 23:48:07 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: SYS.h,v 1.11 1999/05/02 23:19:49 kleink Exp $ */
+/* $NetBSD: SYS.h,v 1.12 1999/10/25 23:48:07 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -44,9 +44,9 @@
#ifdef __STDC__
#define IMMEDIATE #
-#define SYSTRAP(x) movl IMMEDIATE SYS_ ## x ## ,d0; trap IMMEDIATE 0
+#define SYSTRAP(x) movl IMMEDIATE SYS_ ## x ## ,%d0; trap IMMEDIATE 0
#else
-#define SYSTRAP(x) movl #SYS_/**/x,d0; trap #0
+#define SYSTRAP(x) movl #SYS_/**/x,%d0; trap #0
#endif
#ifdef __ELF__
diff -r 493038db64aa -r 87dadc042664 lib/libc/arch/m68k/gen/__setjmp14.S
--- a/lib/libc/arch/m68k/gen/__setjmp14.S Mon Oct 25 23:34:31 1999 +0000
+++ b/lib/libc/arch/m68k/gen/__setjmp14.S Mon Oct 25 23:48:07 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __setjmp14.S,v 1.2 1999/10/18 03:22:14 itohy Exp $ */
+/* $NetBSD: __setjmp14.S,v 1.3 1999/10/25 23:48:08 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -43,7 +43,7 @@
#if 0
RCSID("from: @(#)setjmp.s 5.1 (Berkeley) 5/12/90")
#else
- RCSID("$NetBSD: __setjmp14.S,v 1.2 1999/10/18 03:22:14 itohy Exp $")
+ RCSID("$NetBSD: __setjmp14.S,v 1.3 1999/10/25 23:48:08 thorpej Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
@@ -60,50 +60,50 @@
ENTRY(__setjmp14)
/* Get signal stack info. Note overlay of ss_sp and ss_size! */
- lea sp@(-12),sp /* sizeof(stack_t) */
- clrl sp@ /* ss = NULL */
- movl sp,sp@(4) /* oss = stack_t on stack */
+ lea %sp@(-12),%sp /* sizeof(stack_t) */
+ clrl %sp@ /* ss = NULL */
+ movl %sp,%sp@(4) /* oss = stack_t on stack */
jbsr PIC_PLT(_C_LABEL(__sigaltstack14))
- movl sp@(8),d0 /* ss_flags */
- andl #1,d0 /* extract SS_ONSTACK */
- lea sp@(12),sp /* pop stack_t */
+ movl %sp@(8),%d0 /* ss_flags */
+ andl #1,%d0 /* extract SS_ONSTACK */
+ lea %sp@(12),%sp /* pop stack_t */
/* Get pointer to jmp_buf; a sigcontext is at the beginning. */
- movl sp@(4),a0
- movl d0,a0@ /* store onstack */
- clrl a0@(4) /* unused word (old style signal mask) */
+ movl %sp@(4),%a0
+ movl %d0,%a0@ /* store onstack */
+ clrl %a0@(4) /* unused word (old style signal mask) */
/* Get the signal mask. */
- pea a0@(28) /* oset = &sc.sc_mask */
- movl #0,sp@- /* set = NULL */
- movl #0,sp@- /* action = 0 <ignored> */
+ pea %a0@(28) /* oset = &sc.sc_mask */
+ movl #0,%sp@- /* set = NULL */
+ movl #0,%sp@- /* action = 0 <ignored> */
jbsr PIC_PLT(_C_LABEL(__sigprocmask14))
- addl #12,sp
+ addl #12,%sp
- lea sp@(4),a1 /* adjust SP since we won't rts */
- movl a1,a0@(8) /* save SP */
- movl a6,a0@(12) /* save FP */
- clrl a0@(16) /* no AP */
- movl sp@,a0@(20) /* save return PC */
- clrl a0@(24) /* clear PS */
+ lea %sp@(4),%a1 /* adjust SP since we won't rts */
+ movl %a1,%a0@(8) /* save SP */
+ movl %a6,%a0@(12) /* save FP */
+ clrl %a0@(16) /* no AP */
+ movl %sp@,%a0@(20) /* save return PC */
+ clrl %a0@(24) /* clear PS */
/* Save remaining non-scratch regs after signal mask. */
- moveml #0x3CFC,a0@(44)
+ moveml #0x3CFC,%a0@(44)
- clrl d0 /* return 0 */
+ clrl %d0 /* return 0 */
rts
ENTRY(__longjmp14)
- movl sp@(4),a0 /* save area pointer */
- tstl a0@(8) /* ensure non-zero SP */
+ movl %sp@(4),%a0 /* save area pointer */
+ tstl %a0@(8) /* ensure non-zero SP */
jeq botch /* oops! */
- movl sp@(8),d0 /* grab return value */
+ movl %sp@(8),%d0 /* grab return value */
jne ok /* non-zero ok */
- moveq #1,d0 /* else make non-zero */
+ moveq #1,%d0 /* else make non-zero */
ok:
- moveml a0@(44),#0x3CFC /* restore non-scratch regs */
- movl a0,sp@- /* let sigreturn */
+ moveml %a0@(44),#0x3CFC /* restore non-scratch regs */
+ movl %a0,%sp@- /* let sigreturn */
jbsr PIC_PLT(_C_LABEL(__sigreturn14)) /* finish for us */
botch:
diff -r 493038db64aa -r 87dadc042664 lib/libc/arch/m68k/gen/__sigsetjmp14.S
--- a/lib/libc/arch/m68k/gen/__sigsetjmp14.S Mon Oct 25 23:34:31 1999 +0000
+++ b/lib/libc/arch/m68k/gen/__sigsetjmp14.S Mon Oct 25 23:48:07 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __sigsetjmp14.S,v 1.2 1999/10/18 03:24:28 itohy Exp $ */
+/* $NetBSD: __sigsetjmp14.S,v 1.3 1999/10/25 23:48:08 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -43,7 +43,7 @@
#if 0
RCSID("from: @(#)_setjmp.s 5.1 (Berkeley) 5/12/90")
#else
- RCSID("$NetBSD: __sigsetjmp14.S,v 1.2 1999/10/18 03:24:28 itohy Exp $")
+ RCSID("$NetBSD: __sigsetjmp14.S,v 1.3 1999/10/25 23:48:08 thorpej Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
@@ -62,10 +62,10 @@
#include <m68k/setjmp.h>
ENTRY(__sigsetjmp14)
- movl sp@(8),d1 /* grab the mask */
- movl sp@(4),a0 /* grab the area pointer */
- movl d1,a0@(_JBLEN * 4) /* save at end of area */
- tstl d1
+ movl %sp@(8),%d1 /* grab the mask */
+ movl %sp@(4),%a0 /* grab the area pointer */
+ movl %d1,%a0@(_JBLEN * 4) /* save at end of area */
+ tstl %d1
bne dosig
jra PIC_PLT(_C_LABEL(_setjmp))
dosig:
@@ -73,8 +73,8 @@
ENTRY(__siglongjmp14)
- movl sp@(4),a0 /* save area pointer */
- tstl a0@(_JBLEN * 4) /* check mask... */
+ movl %sp@(4),%a0 /* save area pointer */
+ tstl %a0@(_JBLEN * 4) /* check mask... */
bne didsig
jra PIC_PLT(_C_LABEL(_longjmp))
didsig:
diff -r 493038db64aa -r 87dadc042664 lib/libc/arch/m68k/gen/_setjmp.S
--- a/lib/libc/arch/m68k/gen/_setjmp.S Mon Oct 25 23:34:31 1999 +0000
+++ b/lib/libc/arch/m68k/gen/_setjmp.S Mon Oct 25 23:48:07 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: _setjmp.S,v 1.5 1999/10/18 03:24:29 itohy Exp $ */
+/* $NetBSD: _setjmp.S,v 1.6 1999/10/25 23:48:09 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -43,7 +43,7 @@
#if 0
RCSID("from: @(#)_setjmp.s 5.1 (Berkeley) 5/12/90")
#else
- RCSID("$NetBSD: _setjmp.S,v 1.5 1999/10/18 03:24:29 itohy Exp $")
+ RCSID("$NetBSD: _setjmp.S,v 1.6 1999/10/25 23:48:09 thorpej Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
@@ -59,32 +59,32 @@
*/
ENTRY(_setjmp)
- movl sp@(4),a0 /* save area pointer */
- clrl a0@+ /* no old onstack */
- clrl a0@+ /* no old sigmask */
- movl sp,a0@+ /* save old SP */
- movl a6,a0@+ /* save old FP */
- clrl a0@+ /* no old AP */
- movl sp@,a0@+ /* save old PC */
- clrl a0@+ /* clear PS */
- moveml #0x3CFC,a0@ /* save other non-scratch regs */
- clrl d0 /* return zero */
+ movl %sp@(4),%a0 /* save area pointer */
+ clrl %a0@+ /* no old onstack */
+ clrl %a0@+ /* no old sigmask */
+ movl %sp,%a0@+ /* save old SP */
+ movl %a6,%a0@+ /* save old FP */
+ clrl %a0@+ /* no old AP */
+ movl %sp@,%a0@+ /* save old PC */
+ clrl %a0@+ /* clear PS */
+ moveml #0x3CFC,%a0@ /* save other non-scratch regs */
+ clrl %d0 /* return zero */
rts
ENTRY(_longjmp)
- movl sp@(4),a0 /* save area pointer */
- addql #8,a0 /* skip onstack/sigmask */
- tstl a0@ /* ensure non-zero SP */
+ movl %sp@(4),%a0 /* save area pointer */
+ addql #8,%a0 /* skip onstack/sigmask */
+ tstl %a0@ /* ensure non-zero SP */
jeq botch /* oops! */
- movl sp@(8),d0 /* grab return value */
+ movl %sp@(8),%d0 /* grab return value */
jne ok /* non-zero ok */
- moveq #1,d0 /* else make non-zero */
+ moveq #1,%d0 /* else make non-zero */
ok:
- movl a0@+,sp /* restore SP */
- movl a0@+,a6 /* restore FP */
- addql #4,a0 /* skip AP */
- movl a0@+,sp@ /* restore PC */
- moveml a0@(4),#0x3CFC /* restore non-scratch regs */
+ movl %a0@+,%sp /* restore SP */
+ movl %a0@+,%a6 /* restore FP */
+ addql #4,%a0 /* skip AP */
+ movl %a0@+,%sp@ /* restore PC */
+ moveml %a0@(4),#0x3CFC /* restore non-scratch regs */
rts
botch:
diff -r 493038db64aa -r 87dadc042664 lib/libc/arch/m68k/gen/adddf3.S
--- a/lib/libc/arch/m68k/gen/adddf3.S Mon Oct 25 23:34:31 1999 +0000
+++ b/lib/libc/arch/m68k/gen/adddf3.S Mon Oct 25 23:48:07 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adddf3.S,v 1.4 1999/05/02 20:17:20 kleink Exp $ */
+/* $NetBSD: adddf3.S,v 1.5 1999/10/25 23:48:09 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -43,17 +43,17 @@
#if 0
RCSID("from: @(#)adddf3.s 5.1 (Berkeley) 6/7/90")
#else
- RCSID("$NetBSD: adddf3.S,v 1.4 1999/05/02 20:17:20 kleink Exp $")
+ RCSID("$NetBSD: adddf3.S,v 1.5 1999/10/25 23:48:09 thorpej Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
/* double + double */
ENTRY(__adddf3)
- fmoved sp@(4),fp0
- faddd sp@(12),fp0
+ fmoved %sp@(4),%fp0
+ faddd %sp@(12),%fp0
#ifndef __SVR4_ABI__
- fmoved fp0,sp@-
- movel sp@+,d0
- movel sp@+,d1
+ fmoved %fp0,%sp@-
+ movel %sp@+,%d0
+ movel %sp@+,%d1
#endif
rts
diff -r 493038db64aa -r 87dadc042664 lib/libc/arch/m68k/gen/addsf3.S
--- a/lib/libc/arch/m68k/gen/addsf3.S Mon Oct 25 23:34:31 1999 +0000
+++ b/lib/libc/arch/m68k/gen/addsf3.S Mon Oct 25 23:48:07 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: addsf3.S,v 1.4 1999/05/02 20:17:20 kleink Exp $ */
+/* $NetBSD: addsf3.S,v 1.5 1999/10/25 23:48:09 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -43,15 +43,15 @@
#if 0
RCSID("from: @(#)addsf3.s 5.1 (Berkeley) 6/7/90")
#else
- RCSID("$NetBSD: addsf3.S,v 1.4 1999/05/02 20:17:20 kleink Exp $")
+ RCSID("$NetBSD: addsf3.S,v 1.5 1999/10/25 23:48:09 thorpej Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
/* single + single */
ENTRY(__addsf3)
- fmoves sp@(4),fp0
- fadds sp@(8),fp0
+ fmoves %sp@(4),%fp0
+ fadds %sp@(8),%fp0
#ifndef __SVR4_ABI__
- fmoves fp0,d0
+ fmoves %fp0,%d0
#endif
rts
diff -r 493038db64aa -r 87dadc042664 lib/libc/arch/m68k/gen/alloca.S
--- a/lib/libc/arch/m68k/gen/alloca.S Mon Oct 25 23:34:31 1999 +0000
+++ b/lib/libc/arch/m68k/gen/alloca.S Mon Oct 25 23:48:07 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alloca.S,v 1.4 1999/05/02 20:09:29 kleink Exp $ */
+/* $NetBSD: alloca.S,v 1.5 1999/10/25 23:48:09 thorpej Exp $ */
Home |
Main Index |
Thread Index |
Old Index