1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
$NetBSD: patch-an,v 1.1 2001/05/11 11:17:39 dmcmahill Exp $
regparm is only for i386
--- features.h.orig Thu Feb 1 17:56:32 2001
+++ features.h Tue May 8 18:47:14 2001
@@ -71,6 +71,11 @@
#define ARCH_MODE ARCH_370
+#ifdef __i386__
#define DEF_INST(_name) \
__attribute__ ((regparm(3))) void s370_ ## _name (BYTE inst[], int execflag, REGS *regs)
+#else
+#define DEF_INST(_name) \
+void s370_ ## _name (BYTE inst[], int execflag, REGS *regs)
+#endif
#define ARCH_DEP(_name) \
@@ -130,6 +135,11 @@
#define ARCH_MODE ARCH_390
+#ifdef __i386__
#define DEF_INST(_name) \
__attribute__ ((regparm(3))) void s390_ ## _name (BYTE inst[], int execflag, REGS *regs)
+#else
+#define DEF_INST(_name) \
+void s390_ ## _name (BYTE inst[], int execflag, REGS *regs)
+#endif
#define ARCH_DEP(_name) \
@@ -212,6 +222,11 @@
#define SSGROUP_BIT ASCE_G
+#ifdef __i386__
#define DEF_INST(_name) \
__attribute__ ((regparm(3))) void z900_ ## _name (BYTE inst[], int execflag, REGS *regs)
+#else
+#define DEF_INST(_name) \
+void z900_ ## _name (BYTE inst[], int execflag, REGS *regs)
+#endif
#define ARCH_DEP(_name) \
@@ -268,6 +283,11 @@
#define SSGROUP_BIT ASCE_G
+#ifdef __i386__
#define DEF_INST(_name) \
__attribute__ ((regparm(3))) void z964_ ## _name (BYTE inst[], int execflag, REGS *regs)
+#else
+#define DEF_INST(_name) \
+void z964_ ## _name (BYTE inst[], int execflag, REGS *regs)
+#endif
#define ARCH_DEP(_name) \
|