Commit 6a2d4d49f9b930aee9a86a02bd0a8a20e710ad63
1 parent
aaa9128a
Delete obsolete MIPS dyngen ops.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4370 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
0 additions
and
156 deletions
target-mips/op.c
@@ -48,104 +48,6 @@ | @@ -48,104 +48,6 @@ | ||
48 | func(arg0, arg1, arg2, arg3) | 48 | func(arg0, arg1, arg2, arg3) |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | -#define REG 1 | ||
52 | -#include "op_template.c" | ||
53 | -#undef REG | ||
54 | -#define REG 2 | ||
55 | -#include "op_template.c" | ||
56 | -#undef REG | ||
57 | -#define REG 3 | ||
58 | -#include "op_template.c" | ||
59 | -#undef REG | ||
60 | -#define REG 4 | ||
61 | -#include "op_template.c" | ||
62 | -#undef REG | ||
63 | -#define REG 5 | ||
64 | -#include "op_template.c" | ||
65 | -#undef REG | ||
66 | -#define REG 6 | ||
67 | -#include "op_template.c" | ||
68 | -#undef REG | ||
69 | -#define REG 7 | ||
70 | -#include "op_template.c" | ||
71 | -#undef REG | ||
72 | -#define REG 8 | ||
73 | -#include "op_template.c" | ||
74 | -#undef REG | ||
75 | -#define REG 9 | ||
76 | -#include "op_template.c" | ||
77 | -#undef REG | ||
78 | -#define REG 10 | ||
79 | -#include "op_template.c" | ||
80 | -#undef REG | ||
81 | -#define REG 11 | ||
82 | -#include "op_template.c" | ||
83 | -#undef REG | ||
84 | -#define REG 12 | ||
85 | -#include "op_template.c" | ||
86 | -#undef REG | ||
87 | -#define REG 13 | ||
88 | -#include "op_template.c" | ||
89 | -#undef REG | ||
90 | -#define REG 14 | ||
91 | -#include "op_template.c" | ||
92 | -#undef REG | ||
93 | -#define REG 15 | ||
94 | -#include "op_template.c" | ||
95 | -#undef REG | ||
96 | -#define REG 16 | ||
97 | -#include "op_template.c" | ||
98 | -#undef REG | ||
99 | -#define REG 17 | ||
100 | -#include "op_template.c" | ||
101 | -#undef REG | ||
102 | -#define REG 18 | ||
103 | -#include "op_template.c" | ||
104 | -#undef REG | ||
105 | -#define REG 19 | ||
106 | -#include "op_template.c" | ||
107 | -#undef REG | ||
108 | -#define REG 20 | ||
109 | -#include "op_template.c" | ||
110 | -#undef REG | ||
111 | -#define REG 21 | ||
112 | -#include "op_template.c" | ||
113 | -#undef REG | ||
114 | -#define REG 22 | ||
115 | -#include "op_template.c" | ||
116 | -#undef REG | ||
117 | -#define REG 23 | ||
118 | -#include "op_template.c" | ||
119 | -#undef REG | ||
120 | -#define REG 24 | ||
121 | -#include "op_template.c" | ||
122 | -#undef REG | ||
123 | -#define REG 25 | ||
124 | -#include "op_template.c" | ||
125 | -#undef REG | ||
126 | -#define REG 26 | ||
127 | -#include "op_template.c" | ||
128 | -#undef REG | ||
129 | -#define REG 27 | ||
130 | -#include "op_template.c" | ||
131 | -#undef REG | ||
132 | -#define REG 28 | ||
133 | -#include "op_template.c" | ||
134 | -#undef REG | ||
135 | -#define REG 29 | ||
136 | -#include "op_template.c" | ||
137 | -#undef REG | ||
138 | -#define REG 30 | ||
139 | -#include "op_template.c" | ||
140 | -#undef REG | ||
141 | -#define REG 31 | ||
142 | -#include "op_template.c" | ||
143 | -#undef REG | ||
144 | - | ||
145 | -#define TN | ||
146 | -#include "op_template.c" | ||
147 | -#undef TN | ||
148 | - | ||
149 | #define FREG 0 | 51 | #define FREG 0 |
150 | #include "fop_template.c" | 52 | #include "fop_template.c" |
151 | #undef FREG | 53 | #undef FREG |
target-mips/op_template.c deleted
100644 → 0
1 | -/* | ||
2 | - * MIPS emulation micro-operations templates for reg load & store for qemu. | ||
3 | - * | ||
4 | - * Copyright (c) 2004-2005 Jocelyn Mayer | ||
5 | - * | ||
6 | - * This library is free software; you can redistribute it and/or | ||
7 | - * modify it under the terms of the GNU Lesser General Public | ||
8 | - * License as published by the Free Software Foundation; either | ||
9 | - * version 2 of the License, or (at your option) any later version. | ||
10 | - * | ||
11 | - * This library is distributed in the hope that it will be useful, | ||
12 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
14 | - * Lesser General Public License for more details. | ||
15 | - * | ||
16 | - * You should have received a copy of the GNU Lesser General Public | ||
17 | - * License along with this library; if not, write to the Free Software | ||
18 | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | - */ | ||
20 | - | ||
21 | -#if defined(REG) | ||
22 | -void glue(op_load_gpr_T0_gpr, REG) (void) | ||
23 | -{ | ||
24 | - T0 = env->gpr[env->current_tc][REG]; | ||
25 | - FORCE_RET(); | ||
26 | -} | ||
27 | - | ||
28 | -void glue(op_store_T0_gpr_gpr, REG) (void) | ||
29 | -{ | ||
30 | - env->gpr[env->current_tc][REG] = T0; | ||
31 | - FORCE_RET(); | ||
32 | -} | ||
33 | - | ||
34 | -void glue(op_load_gpr_T1_gpr, REG) (void) | ||
35 | -{ | ||
36 | - T1 = env->gpr[env->current_tc][REG]; | ||
37 | - FORCE_RET(); | ||
38 | -} | ||
39 | - | ||
40 | -void glue(op_store_T1_gpr_gpr, REG) (void) | ||
41 | -{ | ||
42 | - env->gpr[env->current_tc][REG] = T1; | ||
43 | - FORCE_RET(); | ||
44 | -} | ||
45 | - | ||
46 | - | ||
47 | -void glue(op_load_srsgpr_T0_gpr, REG) (void) | ||
48 | -{ | ||
49 | - T0 = env->gpr[(env->CP0_SRSCtl >> CP0SRSCtl_PSS) & 0xf][REG]; | ||
50 | - FORCE_RET(); | ||
51 | -} | ||
52 | - | ||
53 | -void glue(op_store_T0_srsgpr_gpr, REG) (void) | ||
54 | -{ | ||
55 | - env->gpr[(env->CP0_SRSCtl >> CP0SRSCtl_PSS) & 0xf][REG] = T0; | ||
56 | - FORCE_RET(); | ||
57 | -} | ||
58 | -#endif |