Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/luna68k/include add register prefixes. no change i...
details: https://anonhg.NetBSD.org/src/rev/9f8afc89eefd
branches: trunk
changeset: 514212:9f8afc89eefd
user: chs <chs%NetBSD.org@localhost>
date: Sat Aug 25 23:08:39 2001 +0000
description:
add register prefixes. no change in generated .o files.
diffstat:
sys/arch/luna68k/include/bus.h | 182 ++++++++++++++++++++--------------------
1 files changed, 91 insertions(+), 91 deletions(-)
diffs (truncated from 315 to 300 lines):
diff -r d4741bdfbf0d -r 9f8afc89eefd sys/arch/luna68k/include/bus.h
--- a/sys/arch/luna68k/include/bus.h Sat Aug 25 23:05:43 2001 +0000
+++ b/sys/arch/luna68k/include/bus.h Sat Aug 25 23:08:39 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.3 2000/01/25 22:13:21 drochner Exp $ */
+/* $NetBSD: bus.h,v 1.4 2001/08/25 23:08:39 chs Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -174,11 +174,11 @@
#define bus_space_read_multi_1(t, h, o, a, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,a1 ; \
- movl %2,d0 ; \
- 1: movb a0@,a1@+ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%a1 ; \
+ movl %2,%%d0 ; \
+ 1: movb %%a0@,%%a1@+ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
@@ -188,11 +188,11 @@
#define bus_space_read_multi_2(t, h, o, a, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,a1 ; \
- movl %2,d0 ; \
- 1: movw a0@,a1@+ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%a1 ; \
+ movl %2,%%d0 ; \
+ 1: movw %%a0@,%%a1@+ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
@@ -202,11 +202,11 @@
#define bus_space_read_multi_4(t, h, o, a, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,a1 ; \
- movl %2,d0 ; \
- 1: movl a0@,a1@+ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%a1 ; \
+ movl %2,%%d0 ; \
+ 1: movl %%a0@,%%a1@+ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
@@ -230,11 +230,11 @@
#define bus_space_read_region_1(t, h, o, a, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,a1 ; \
- movl %2,d0 ; \
- 1: movb a0@+,a1@+ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%a1 ; \
+ movl %2,%%d0 ; \
+ 1: movb %%a0@+,%%a1@+ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
@@ -244,11 +244,11 @@
#define bus_space_read_region_2(t, h, o, a, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,a1 ; \
- movl %2,d0 ; \
- 1: movw a0@+,a1@+ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%a1 ; \
+ movl %2,%%d0 ; \
+ 1: movw %%a0@+,%%a1@+ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
@@ -258,11 +258,11 @@
#define bus_space_read_region_4(t, h, o, a, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,a1 ; \
- movl %2,d0 ; \
- 1: movl a0@+,a1@+ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%a1 ; \
+ movl %2,%%d0 ; \
+ 1: movl %%a0@+,%%a1@+ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
@@ -307,11 +307,11 @@
#define bus_space_write_multi_1(t, h, o, a, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,a1 ; \
- movl %2,d0 ; \
- 1: movb a1@+,a0@ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%a1 ; \
+ movl %2,%%d0 ; \
+ 1: movb a1@+,%%a0@ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
@@ -321,11 +321,11 @@
#define bus_space_write_multi_2(t, h, o, a, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,a1 ; \
- movl %2,d0 ; \
- 1: movw a1@+,a0@ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%a1 ; \
+ movl %2,%%d0 ; \
+ 1: movw a1@+,%%a0@ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
@@ -335,11 +335,11 @@
#define bus_space_write_multi_4(t, h, o, a, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,a1 ; \
- movl %2,d0 ; \
- 1: movl a1@+,a0@ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%a1 ; \
+ movl %2,%%d0 ; \
+ 1: movl a1@+,%%a0@ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
@@ -363,11 +363,11 @@
#define bus_space_write_region_1(t, h, o, a, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,a1 ; \
- movl %2,d0 ; \
- 1: movb a1@+,a0@+ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%a1 ; \
+ movl %2,%%d0 ; \
+ 1: movb a1@+,%%a0@+ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
@@ -377,11 +377,11 @@
#define bus_space_write_region_2(t, h, o, a, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,a1 ; \
- movl %2,d0 ; \
- 1: movw a1@+,a0@+ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%a1 ; \
+ movl %2,%%d0 ; \
+ 1: movw a1@+,%%a0@+ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
@@ -391,11 +391,11 @@
#define bus_space_write_region_4(t, h, o, a, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,a1 ; \
- movl %2,d0 ; \
- 1: movl a1@+,a0@+ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%a1 ; \
+ movl %2,%%d0 ; \
+ 1: movl a1@+,%%a0@+ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \
@@ -419,11 +419,11 @@
#define bus_space_set_multi_1(t, h, o, val, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,d1 ; \
- movl %2,d0 ; \
- 1: movb d1,a0@ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%d1 ; \
+ movl %2,%%d0 ; \
+ 1: movb %%d1,%%a0@ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h)+(o)), "g" ((u_long)val), \
@@ -434,11 +434,11 @@
#define bus_space_set_multi_2(t, h, o, val, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,d1 ; \
- movl %2,d0 ; \
- 1: movw d1,a0@ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%d1 ; \
+ movl %2,%%d0 ; \
+ 1: movw %%d1,%%a0@ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h)+(o)), "g" ((u_long)val), \
@@ -449,11 +449,11 @@
#define bus_space_set_multi_4(t, h, o, val, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,d1 ; \
- movl %2,d0 ; \
- 1: movl d1,a0@ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%d1 ; \
+ movl %2,%%d0 ; \
+ 1: movl %%d1,%%a0@ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h)+(o)), "g" ((u_long)val), \
@@ -478,11 +478,11 @@
#define bus_space_set_region_1(t, h, o, val, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,d1 ; \
- movl %2,d0 ; \
- 1: movb d1,a0@+ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%d1 ; \
+ movl %2,%%d0 ; \
+ 1: movb %%d1,%%a0@+ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h)+(o)), "g" ((u_long)val), \
@@ -493,11 +493,11 @@
#define bus_space_set_region_2(t, h, o, val, c) do { \
(void) t; \
__asm __volatile (" \
- movl %0,a0 ; \
- movl %1,d1 ; \
- movl %2,d0 ; \
- 1: movw d1,a0@+ ; \
- subql #1,d0 ; \
+ movl %0,%%a0 ; \
+ movl %1,%%d1 ; \
+ movl %2,%%d0 ; \
+ 1: movw %%d1,%%a0@+ ; \
+ subql #1,%%d0 ; \
jne 1b" : \
: \
"r" ((h)+(o)), "g" ((u_long)val), \
@@ -508,11 +508,11 @@
#define bus_space_set_region_4(t, h, o, val, c) do { \
Home |
Main Index |
Thread Index |
Old Index