1 |
1181 |
sfurman |
/* CPU data header for frv.
|
2 |
|
|
|
3 |
|
|
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
4 |
|
|
|
5 |
|
|
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
6 |
|
|
|
7 |
|
|
This file is part of the GNU Binutils and/or GDB, the GNU debugger.
|
8 |
|
|
|
9 |
|
|
This program is free software; you can redistribute it and/or modify
|
10 |
|
|
it under the terms of the GNU General Public License as published by
|
11 |
|
|
the Free Software Foundation; either version 2, or (at your option)
|
12 |
|
|
any later version.
|
13 |
|
|
|
14 |
|
|
This program is distributed in the hope that it will be useful,
|
15 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
17 |
|
|
GNU General Public License for more details.
|
18 |
|
|
|
19 |
|
|
You should have received a copy of the GNU General Public License along
|
20 |
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
21 |
|
|
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
22 |
|
|
|
23 |
|
|
*/
|
24 |
|
|
|
25 |
|
|
#ifndef FRV_CPU_H
|
26 |
|
|
#define FRV_CPU_H
|
27 |
|
|
|
28 |
|
|
#define CGEN_ARCH frv
|
29 |
|
|
|
30 |
|
|
/* Given symbol S, return frv_cgen_<S>. */
|
31 |
|
|
#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
|
32 |
|
|
#define CGEN_SYM(s) frv##_cgen_##s
|
33 |
|
|
#else
|
34 |
|
|
#define CGEN_SYM(s) frv/**/_cgen_/**/s
|
35 |
|
|
#endif
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
/* Selected cpu families. */
|
39 |
|
|
#define HAVE_CPU_FRVBF
|
40 |
|
|
|
41 |
|
|
#define CGEN_INSN_LSB0_P 1
|
42 |
|
|
|
43 |
|
|
/* Minimum size of any insn (in bytes). */
|
44 |
|
|
#define CGEN_MIN_INSN_SIZE 4
|
45 |
|
|
|
46 |
|
|
/* Maximum size of any insn (in bytes). */
|
47 |
|
|
#define CGEN_MAX_INSN_SIZE 4
|
48 |
|
|
|
49 |
|
|
#define CGEN_INT_INSN_P 1
|
50 |
|
|
|
51 |
|
|
/* Maximum number of syntax elements in an instruction. */
|
52 |
|
|
#define CGEN_ACTUAL_MAX_SYNTAX_ELEMENTS 22
|
53 |
|
|
|
54 |
|
|
/* CGEN_MNEMONIC_OPERANDS is defined if mnemonics have operands.
|
55 |
|
|
e.g. In "b,a foo" the ",a" is an operand. If mnemonics have operands
|
56 |
|
|
we can't hash on everything up to the space. */
|
57 |
|
|
#define CGEN_MNEMONIC_OPERANDS
|
58 |
|
|
|
59 |
|
|
/* Maximum number of fields in an instruction. */
|
60 |
|
|
#define CGEN_ACTUAL_MAX_IFMT_OPERANDS 10
|
61 |
|
|
|
62 |
|
|
/* Enums. */
|
63 |
|
|
|
64 |
|
|
/* Enum declaration for insn op enums. */
|
65 |
|
|
typedef enum insn_op {
|
66 |
|
|
OP_00, OP_01, OP_02, OP_03
|
67 |
|
|
, OP_04, OP_05, OP_06, OP_07
|
68 |
|
|
, OP_08, OP_09, OP_0A, OP_0B
|
69 |
|
|
, OP_0C, OP_0D, OP_0E, OP_0F
|
70 |
|
|
, OP_10, OP_11, OP_12, OP_13
|
71 |
|
|
, OP_14, OP_15, OP_16, OP_17
|
72 |
|
|
, OP_18, OP_19, OP_1A, OP_1B
|
73 |
|
|
, OP_1C, OP_1D, OP_1E, OP_1F
|
74 |
|
|
, OP_20, OP_21, OP_22, OP_23
|
75 |
|
|
, OP_24, OP_25, OP_26, OP_27
|
76 |
|
|
, OP_28, OP_29, OP_2A, OP_2B
|
77 |
|
|
, OP_2C, OP_2D, OP_2E, OP_2F
|
78 |
|
|
, OP_30, OP_31, OP_32, OP_33
|
79 |
|
|
, OP_34, OP_35, OP_36, OP_37
|
80 |
|
|
, OP_38, OP_39, OP_3A, OP_3B
|
81 |
|
|
, OP_3C, OP_3D, OP_3E, OP_3F
|
82 |
|
|
, OP_40, OP_41, OP_42, OP_43
|
83 |
|
|
, OP_44, OP_45, OP_46, OP_47
|
84 |
|
|
, OP_48, OP_49, OP_4A, OP_4B
|
85 |
|
|
, OP_4C, OP_4D, OP_4E, OP_4F
|
86 |
|
|
, OP_50, OP_51, OP_52, OP_53
|
87 |
|
|
, OP_54, OP_55, OP_56, OP_57
|
88 |
|
|
, OP_58, OP_59, OP_5A, OP_5B
|
89 |
|
|
, OP_5C, OP_5D, OP_5E, OP_5F
|
90 |
|
|
, OP_60, OP_61, OP_62, OP_63
|
91 |
|
|
, OP_64, OP_65, OP_66, OP_67
|
92 |
|
|
, OP_68, OP_69, OP_6A, OP_6B
|
93 |
|
|
, OP_6C, OP_6D, OP_6E, OP_6F
|
94 |
|
|
, OP_70, OP_71, OP_72, OP_73
|
95 |
|
|
, OP_74, OP_75, OP_76, OP_77
|
96 |
|
|
, OP_78, OP_79, OP_7A, OP_7B
|
97 |
|
|
, OP_7C, OP_7D, OP_7E, OP_7F
|
98 |
|
|
} INSN_OP;
|
99 |
|
|
|
100 |
|
|
/* Enum declaration for insn ope enums. */
|
101 |
|
|
typedef enum insn_ope1 {
|
102 |
|
|
OPE1_00, OPE1_01, OPE1_02, OPE1_03
|
103 |
|
|
, OPE1_04, OPE1_05, OPE1_06, OPE1_07
|
104 |
|
|
, OPE1_08, OPE1_09, OPE1_0A, OPE1_0B
|
105 |
|
|
, OPE1_0C, OPE1_0D, OPE1_0E, OPE1_0F
|
106 |
|
|
, OPE1_10, OPE1_11, OPE1_12, OPE1_13
|
107 |
|
|
, OPE1_14, OPE1_15, OPE1_16, OPE1_17
|
108 |
|
|
, OPE1_18, OPE1_19, OPE1_1A, OPE1_1B
|
109 |
|
|
, OPE1_1C, OPE1_1D, OPE1_1E, OPE1_1F
|
110 |
|
|
, OPE1_20, OPE1_21, OPE1_22, OPE1_23
|
111 |
|
|
, OPE1_24, OPE1_25, OPE1_26, OPE1_27
|
112 |
|
|
, OPE1_28, OPE1_29, OPE1_2A, OPE1_2B
|
113 |
|
|
, OPE1_2C, OPE1_2D, OPE1_2E, OPE1_2F
|
114 |
|
|
, OPE1_30, OPE1_31, OPE1_32, OPE1_33
|
115 |
|
|
, OPE1_34, OPE1_35, OPE1_36, OPE1_37
|
116 |
|
|
, OPE1_38, OPE1_39, OPE1_3A, OPE1_3B
|
117 |
|
|
, OPE1_3C, OPE1_3D, OPE1_3E, OPE1_3F
|
118 |
|
|
} INSN_OPE1;
|
119 |
|
|
|
120 |
|
|
/* Enum declaration for insn ope enums. */
|
121 |
|
|
typedef enum insn_ope2 {
|
122 |
|
|
OPE2_00, OPE2_01, OPE2_02, OPE2_03
|
123 |
|
|
, OPE2_04, OPE2_05, OPE2_06, OPE2_07
|
124 |
|
|
, OPE2_08, OPE2_09, OPE2_0A, OPE2_0B
|
125 |
|
|
, OPE2_0C, OPE2_0D, OPE2_0E, OPE2_0F
|
126 |
|
|
} INSN_OPE2;
|
127 |
|
|
|
128 |
|
|
/* Enum declaration for insn ope enums. */
|
129 |
|
|
typedef enum insn_ope3 {
|
130 |
|
|
OPE3_00, OPE3_01, OPE3_02, OPE3_03
|
131 |
|
|
, OPE3_04, OPE3_05, OPE3_06, OPE3_07
|
132 |
|
|
} INSN_OPE3;
|
133 |
|
|
|
134 |
|
|
/* Enum declaration for insn ope enums. */
|
135 |
|
|
typedef enum insn_ope4 {
|
136 |
|
|
OPE4_0, OPE4_1, OPE4_2, OPE4_3
|
137 |
|
|
} INSN_OPE4;
|
138 |
|
|
|
139 |
|
|
/* Enum declaration for integer branch cond enums. */
|
140 |
|
|
typedef enum int_cc {
|
141 |
|
|
ICC_NEV, ICC_C, ICC_V, ICC_LT
|
142 |
|
|
, ICC_EQ, ICC_LS, ICC_N, ICC_LE
|
143 |
|
|
, ICC_RA, ICC_NC, ICC_NV, ICC_GE
|
144 |
|
|
, ICC_NE, ICC_HI, ICC_P, ICC_GT
|
145 |
|
|
} INT_CC;
|
146 |
|
|
|
147 |
|
|
/* Enum declaration for float branch cond enums. */
|
148 |
|
|
typedef enum flt_cc {
|
149 |
|
|
FCC_NEV, FCC_U, FCC_GT, FCC_UG
|
150 |
|
|
, FCC_LT, FCC_UL, FCC_LG, FCC_NE
|
151 |
|
|
, FCC_EQ, FCC_UE, FCC_GE, FCC_UGE
|
152 |
|
|
, FCC_LE, FCC_ULE, FCC_O, FCC_RA
|
153 |
|
|
} FLT_CC;
|
154 |
|
|
|
155 |
|
|
/* Enum declaration for . */
|
156 |
|
|
typedef enum gr_names {
|
157 |
|
|
H_GR_SP = 1, H_GR_FP = 2, H_GR_GR0 = 0, H_GR_GR1 = 1
|
158 |
|
|
, H_GR_GR2 = 2, H_GR_GR3 = 3, H_GR_GR4 = 4, H_GR_GR5 = 5
|
159 |
|
|
, H_GR_GR6 = 6, H_GR_GR7 = 7, H_GR_GR8 = 8, H_GR_GR9 = 9
|
160 |
|
|
, H_GR_GR10 = 10, H_GR_GR11 = 11, H_GR_GR12 = 12, H_GR_GR13 = 13
|
161 |
|
|
, H_GR_GR14 = 14, H_GR_GR15 = 15, H_GR_GR16 = 16, H_GR_GR17 = 17
|
162 |
|
|
, H_GR_GR18 = 18, H_GR_GR19 = 19, H_GR_GR20 = 20, H_GR_GR21 = 21
|
163 |
|
|
, H_GR_GR22 = 22, H_GR_GR23 = 23, H_GR_GR24 = 24, H_GR_GR25 = 25
|
164 |
|
|
, H_GR_GR26 = 26, H_GR_GR27 = 27, H_GR_GR28 = 28, H_GR_GR29 = 29
|
165 |
|
|
, H_GR_GR30 = 30, H_GR_GR31 = 31, H_GR_GR32 = 32, H_GR_GR33 = 33
|
166 |
|
|
, H_GR_GR34 = 34, H_GR_GR35 = 35, H_GR_GR36 = 36, H_GR_GR37 = 37
|
167 |
|
|
, H_GR_GR38 = 38, H_GR_GR39 = 39, H_GR_GR40 = 40, H_GR_GR41 = 41
|
168 |
|
|
, H_GR_GR42 = 42, H_GR_GR43 = 43, H_GR_GR44 = 44, H_GR_GR45 = 45
|
169 |
|
|
, H_GR_GR46 = 46, H_GR_GR47 = 47, H_GR_GR48 = 48, H_GR_GR49 = 49
|
170 |
|
|
, H_GR_GR50 = 50, H_GR_GR51 = 51, H_GR_GR52 = 52, H_GR_GR53 = 53
|
171 |
|
|
, H_GR_GR54 = 54, H_GR_GR55 = 55, H_GR_GR56 = 56, H_GR_GR57 = 57
|
172 |
|
|
, H_GR_GR58 = 58, H_GR_GR59 = 59, H_GR_GR60 = 60, H_GR_GR61 = 61
|
173 |
|
|
, H_GR_GR62 = 62, H_GR_GR63 = 63
|
174 |
|
|
} GR_NAMES;
|
175 |
|
|
|
176 |
|
|
/* Enum declaration for . */
|
177 |
|
|
typedef enum fr_names {
|
178 |
|
|
H_FR_FR0, H_FR_FR1, H_FR_FR2, H_FR_FR3
|
179 |
|
|
, H_FR_FR4, H_FR_FR5, H_FR_FR6, H_FR_FR7
|
180 |
|
|
, H_FR_FR8, H_FR_FR9, H_FR_FR10, H_FR_FR11
|
181 |
|
|
, H_FR_FR12, H_FR_FR13, H_FR_FR14, H_FR_FR15
|
182 |
|
|
, H_FR_FR16, H_FR_FR17, H_FR_FR18, H_FR_FR19
|
183 |
|
|
, H_FR_FR20, H_FR_FR21, H_FR_FR22, H_FR_FR23
|
184 |
|
|
, H_FR_FR24, H_FR_FR25, H_FR_FR26, H_FR_FR27
|
185 |
|
|
, H_FR_FR28, H_FR_FR29, H_FR_FR30, H_FR_FR31
|
186 |
|
|
, H_FR_FR32, H_FR_FR33, H_FR_FR34, H_FR_FR35
|
187 |
|
|
, H_FR_FR36, H_FR_FR37, H_FR_FR38, H_FR_FR39
|
188 |
|
|
, H_FR_FR40, H_FR_FR41, H_FR_FR42, H_FR_FR43
|
189 |
|
|
, H_FR_FR44, H_FR_FR45, H_FR_FR46, H_FR_FR47
|
190 |
|
|
, H_FR_FR48, H_FR_FR49, H_FR_FR50, H_FR_FR51
|
191 |
|
|
, H_FR_FR52, H_FR_FR53, H_FR_FR54, H_FR_FR55
|
192 |
|
|
, H_FR_FR56, H_FR_FR57, H_FR_FR58, H_FR_FR59
|
193 |
|
|
, H_FR_FR60, H_FR_FR61, H_FR_FR62, H_FR_FR63
|
194 |
|
|
} FR_NAMES;
|
195 |
|
|
|
196 |
|
|
/* Enum declaration for . */
|
197 |
|
|
typedef enum cpr_names {
|
198 |
|
|
H_CPR_CPR0, H_CPR_CPR1, H_CPR_CPR2, H_CPR_CPR3
|
199 |
|
|
, H_CPR_CPR4, H_CPR_CPR5, H_CPR_CPR6, H_CPR_CPR7
|
200 |
|
|
, H_CPR_CPR8, H_CPR_CPR9, H_CPR_CPR10, H_CPR_CPR11
|
201 |
|
|
, H_CPR_CPR12, H_CPR_CPR13, H_CPR_CPR14, H_CPR_CPR15
|
202 |
|
|
, H_CPR_CPR16, H_CPR_CPR17, H_CPR_CPR18, H_CPR_CPR19
|
203 |
|
|
, H_CPR_CPR20, H_CPR_CPR21, H_CPR_CPR22, H_CPR_CPR23
|
204 |
|
|
, H_CPR_CPR24, H_CPR_CPR25, H_CPR_CPR26, H_CPR_CPR27
|
205 |
|
|
, H_CPR_CPR28, H_CPR_CPR29, H_CPR_CPR30, H_CPR_CPR31
|
206 |
|
|
, H_CPR_CPR32, H_CPR_CPR33, H_CPR_CPR34, H_CPR_CPR35
|
207 |
|
|
, H_CPR_CPR36, H_CPR_CPR37, H_CPR_CPR38, H_CPR_CPR39
|
208 |
|
|
, H_CPR_CPR40, H_CPR_CPR41, H_CPR_CPR42, H_CPR_CPR43
|
209 |
|
|
, H_CPR_CPR44, H_CPR_CPR45, H_CPR_CPR46, H_CPR_CPR47
|
210 |
|
|
, H_CPR_CPR48, H_CPR_CPR49, H_CPR_CPR50, H_CPR_CPR51
|
211 |
|
|
, H_CPR_CPR52, H_CPR_CPR53, H_CPR_CPR54, H_CPR_CPR55
|
212 |
|
|
, H_CPR_CPR56, H_CPR_CPR57, H_CPR_CPR58, H_CPR_CPR59
|
213 |
|
|
, H_CPR_CPR60, H_CPR_CPR61, H_CPR_CPR62, H_CPR_CPR63
|
214 |
|
|
} CPR_NAMES;
|
215 |
|
|
|
216 |
|
|
/* Enum declaration for . */
|
217 |
|
|
typedef enum spr_names {
|
218 |
|
|
H_SPR_PSR = 0, H_SPR_PCSR = 1, H_SPR_BPCSR = 2, H_SPR_TBR = 3
|
219 |
|
|
, H_SPR_BPSR = 4, H_SPR_HSR0 = 16, H_SPR_HSR1 = 17, H_SPR_HSR2 = 18
|
220 |
|
|
, H_SPR_HSR3 = 19, H_SPR_HSR4 = 20, H_SPR_HSR5 = 21, H_SPR_HSR6 = 22
|
221 |
|
|
, H_SPR_HSR7 = 23, H_SPR_HSR8 = 24, H_SPR_HSR9 = 25, H_SPR_HSR10 = 26
|
222 |
|
|
, H_SPR_HSR11 = 27, H_SPR_HSR12 = 28, H_SPR_HSR13 = 29, H_SPR_HSR14 = 30
|
223 |
|
|
, H_SPR_HSR15 = 31, H_SPR_HSR16 = 32, H_SPR_HSR17 = 33, H_SPR_HSR18 = 34
|
224 |
|
|
, H_SPR_HSR19 = 35, H_SPR_HSR20 = 36, H_SPR_HSR21 = 37, H_SPR_HSR22 = 38
|
225 |
|
|
, H_SPR_HSR23 = 39, H_SPR_HSR24 = 40, H_SPR_HSR25 = 41, H_SPR_HSR26 = 42
|
226 |
|
|
, H_SPR_HSR27 = 43, H_SPR_HSR28 = 44, H_SPR_HSR29 = 45, H_SPR_HSR30 = 46
|
227 |
|
|
, H_SPR_HSR31 = 47, H_SPR_HSR32 = 48, H_SPR_HSR33 = 49, H_SPR_HSR34 = 50
|
228 |
|
|
, H_SPR_HSR35 = 51, H_SPR_HSR36 = 52, H_SPR_HSR37 = 53, H_SPR_HSR38 = 54
|
229 |
|
|
, H_SPR_HSR39 = 55, H_SPR_HSR40 = 56, H_SPR_HSR41 = 57, H_SPR_HSR42 = 58
|
230 |
|
|
, H_SPR_HSR43 = 59, H_SPR_HSR44 = 60, H_SPR_HSR45 = 61, H_SPR_HSR46 = 62
|
231 |
|
|
, H_SPR_HSR47 = 63, H_SPR_HSR48 = 64, H_SPR_HSR49 = 65, H_SPR_HSR50 = 66
|
232 |
|
|
, H_SPR_HSR51 = 67, H_SPR_HSR52 = 68, H_SPR_HSR53 = 69, H_SPR_HSR54 = 70
|
233 |
|
|
, H_SPR_HSR55 = 71, H_SPR_HSR56 = 72, H_SPR_HSR57 = 73, H_SPR_HSR58 = 74
|
234 |
|
|
, H_SPR_HSR59 = 75, H_SPR_HSR60 = 76, H_SPR_HSR61 = 77, H_SPR_HSR62 = 78
|
235 |
|
|
, H_SPR_HSR63 = 79, H_SPR_CCR = 256, H_SPR_CCCR = 263, H_SPR_LR = 272
|
236 |
|
|
, H_SPR_LCR = 273, H_SPR_ISR = 288, H_SPR_NEEAR0 = 352, H_SPR_NEEAR1 = 353
|
237 |
|
|
, H_SPR_NEEAR2 = 354, H_SPR_NEEAR3 = 355, H_SPR_NEEAR4 = 356, H_SPR_NEEAR5 = 357
|
238 |
|
|
, H_SPR_NEEAR6 = 358, H_SPR_NEEAR7 = 359, H_SPR_NEEAR8 = 360, H_SPR_NEEAR9 = 361
|
239 |
|
|
, H_SPR_NEEAR10 = 362, H_SPR_NEEAR11 = 363, H_SPR_NEEAR12 = 364, H_SPR_NEEAR13 = 365
|
240 |
|
|
, H_SPR_NEEAR14 = 366, H_SPR_NEEAR15 = 367, H_SPR_NEEAR16 = 368, H_SPR_NEEAR17 = 369
|
241 |
|
|
, H_SPR_NEEAR18 = 370, H_SPR_NEEAR19 = 371, H_SPR_NEEAR20 = 372, H_SPR_NEEAR21 = 373
|
242 |
|
|
, H_SPR_NEEAR22 = 374, H_SPR_NEEAR23 = 375, H_SPR_NEEAR24 = 376, H_SPR_NEEAR25 = 377
|
243 |
|
|
, H_SPR_NEEAR26 = 378, H_SPR_NEEAR27 = 379, H_SPR_NEEAR28 = 380, H_SPR_NEEAR29 = 381
|
244 |
|
|
, H_SPR_NEEAR30 = 382, H_SPR_NEEAR31 = 383, H_SPR_NESR0 = 384, H_SPR_NESR1 = 385
|
245 |
|
|
, H_SPR_NESR2 = 386, H_SPR_NESR3 = 387, H_SPR_NESR4 = 388, H_SPR_NESR5 = 389
|
246 |
|
|
, H_SPR_NESR6 = 390, H_SPR_NESR7 = 391, H_SPR_NESR8 = 392, H_SPR_NESR9 = 393
|
247 |
|
|
, H_SPR_NESR10 = 394, H_SPR_NESR11 = 395, H_SPR_NESR12 = 396, H_SPR_NESR13 = 397
|
248 |
|
|
, H_SPR_NESR14 = 398, H_SPR_NESR15 = 399, H_SPR_NESR16 = 400, H_SPR_NESR17 = 401
|
249 |
|
|
, H_SPR_NESR18 = 402, H_SPR_NESR19 = 403, H_SPR_NESR20 = 404, H_SPR_NESR21 = 405
|
250 |
|
|
, H_SPR_NESR22 = 406, H_SPR_NESR23 = 407, H_SPR_NESR24 = 408, H_SPR_NESR25 = 409
|
251 |
|
|
, H_SPR_NESR26 = 410, H_SPR_NESR27 = 411, H_SPR_NESR28 = 412, H_SPR_NESR29 = 413
|
252 |
|
|
, H_SPR_NESR30 = 414, H_SPR_NESR31 = 415, H_SPR_NECR = 416, H_SPR_GNER0 = 432
|
253 |
|
|
, H_SPR_GNER1 = 433, H_SPR_FNER0 = 434, H_SPR_FNER1 = 435, H_SPR_EPCR0 = 512
|
254 |
|
|
, H_SPR_EPCR1 = 513, H_SPR_EPCR2 = 514, H_SPR_EPCR3 = 515, H_SPR_EPCR4 = 516
|
255 |
|
|
, H_SPR_EPCR5 = 517, H_SPR_EPCR6 = 518, H_SPR_EPCR7 = 519, H_SPR_EPCR8 = 520
|
256 |
|
|
, H_SPR_EPCR9 = 521, H_SPR_EPCR10 = 522, H_SPR_EPCR11 = 523, H_SPR_EPCR12 = 524
|
257 |
|
|
, H_SPR_EPCR13 = 525, H_SPR_EPCR14 = 526, H_SPR_EPCR15 = 527, H_SPR_EPCR16 = 528
|
258 |
|
|
, H_SPR_EPCR17 = 529, H_SPR_EPCR18 = 530, H_SPR_EPCR19 = 531, H_SPR_EPCR20 = 532
|
259 |
|
|
, H_SPR_EPCR21 = 533, H_SPR_EPCR22 = 534, H_SPR_EPCR23 = 535, H_SPR_EPCR24 = 536
|
260 |
|
|
, H_SPR_EPCR25 = 537, H_SPR_EPCR26 = 538, H_SPR_EPCR27 = 539, H_SPR_EPCR28 = 540
|
261 |
|
|
, H_SPR_EPCR29 = 541, H_SPR_EPCR30 = 542, H_SPR_EPCR31 = 543, H_SPR_EPCR32 = 544
|
262 |
|
|
, H_SPR_EPCR33 = 545, H_SPR_EPCR34 = 546, H_SPR_EPCR35 = 547, H_SPR_EPCR36 = 548
|
263 |
|
|
, H_SPR_EPCR37 = 549, H_SPR_EPCR38 = 550, H_SPR_EPCR39 = 551, H_SPR_EPCR40 = 552
|
264 |
|
|
, H_SPR_EPCR41 = 553, H_SPR_EPCR42 = 554, H_SPR_EPCR43 = 555, H_SPR_EPCR44 = 556
|
265 |
|
|
, H_SPR_EPCR45 = 557, H_SPR_EPCR46 = 558, H_SPR_EPCR47 = 559, H_SPR_EPCR48 = 560
|
266 |
|
|
, H_SPR_EPCR49 = 561, H_SPR_EPCR50 = 562, H_SPR_EPCR51 = 563, H_SPR_EPCR52 = 564
|
267 |
|
|
, H_SPR_EPCR53 = 565, H_SPR_EPCR54 = 566, H_SPR_EPCR55 = 567, H_SPR_EPCR56 = 568
|
268 |
|
|
, H_SPR_EPCR57 = 569, H_SPR_EPCR58 = 570, H_SPR_EPCR59 = 571, H_SPR_EPCR60 = 572
|
269 |
|
|
, H_SPR_EPCR61 = 573, H_SPR_EPCR62 = 574, H_SPR_EPCR63 = 575, H_SPR_ESR0 = 576
|
270 |
|
|
, H_SPR_ESR1 = 577, H_SPR_ESR2 = 578, H_SPR_ESR3 = 579, H_SPR_ESR4 = 580
|
271 |
|
|
, H_SPR_ESR5 = 581, H_SPR_ESR6 = 582, H_SPR_ESR7 = 583, H_SPR_ESR8 = 584
|
272 |
|
|
, H_SPR_ESR9 = 585, H_SPR_ESR10 = 586, H_SPR_ESR11 = 587, H_SPR_ESR12 = 588
|
273 |
|
|
, H_SPR_ESR13 = 589, H_SPR_ESR14 = 590, H_SPR_ESR15 = 591, H_SPR_ESR16 = 592
|
274 |
|
|
, H_SPR_ESR17 = 593, H_SPR_ESR18 = 594, H_SPR_ESR19 = 595, H_SPR_ESR20 = 596
|
275 |
|
|
, H_SPR_ESR21 = 597, H_SPR_ESR22 = 598, H_SPR_ESR23 = 599, H_SPR_ESR24 = 600
|
276 |
|
|
, H_SPR_ESR25 = 601, H_SPR_ESR26 = 602, H_SPR_ESR27 = 603, H_SPR_ESR28 = 604
|
277 |
|
|
, H_SPR_ESR29 = 605, H_SPR_ESR30 = 606, H_SPR_ESR31 = 607, H_SPR_ESR32 = 608
|
278 |
|
|
, H_SPR_ESR33 = 609, H_SPR_ESR34 = 610, H_SPR_ESR35 = 611, H_SPR_ESR36 = 612
|
279 |
|
|
, H_SPR_ESR37 = 613, H_SPR_ESR38 = 614, H_SPR_ESR39 = 615, H_SPR_ESR40 = 616
|
280 |
|
|
, H_SPR_ESR41 = 617, H_SPR_ESR42 = 618, H_SPR_ESR43 = 619, H_SPR_ESR44 = 620
|
281 |
|
|
, H_SPR_ESR45 = 621, H_SPR_ESR46 = 622, H_SPR_ESR47 = 623, H_SPR_ESR48 = 624
|
282 |
|
|
, H_SPR_ESR49 = 625, H_SPR_ESR50 = 626, H_SPR_ESR51 = 627, H_SPR_ESR52 = 628
|
283 |
|
|
, H_SPR_ESR53 = 629, H_SPR_ESR54 = 630, H_SPR_ESR55 = 631, H_SPR_ESR56 = 632
|
284 |
|
|
, H_SPR_ESR57 = 633, H_SPR_ESR58 = 634, H_SPR_ESR59 = 635, H_SPR_ESR60 = 636
|
285 |
|
|
, H_SPR_ESR61 = 637, H_SPR_ESR62 = 638, H_SPR_ESR63 = 639, H_SPR_EIR0 = 640
|
286 |
|
|
, H_SPR_EIR1 = 641, H_SPR_EIR2 = 642, H_SPR_EIR3 = 643, H_SPR_EIR4 = 644
|
287 |
|
|
, H_SPR_EIR5 = 645, H_SPR_EIR6 = 646, H_SPR_EIR7 = 647, H_SPR_EIR8 = 648
|
288 |
|
|
, H_SPR_EIR9 = 649, H_SPR_EIR10 = 650, H_SPR_EIR11 = 651, H_SPR_EIR12 = 652
|
289 |
|
|
, H_SPR_EIR13 = 653, H_SPR_EIR14 = 654, H_SPR_EIR15 = 655, H_SPR_EIR16 = 656
|
290 |
|
|
, H_SPR_EIR17 = 657, H_SPR_EIR18 = 658, H_SPR_EIR19 = 659, H_SPR_EIR20 = 660
|
291 |
|
|
, H_SPR_EIR21 = 661, H_SPR_EIR22 = 662, H_SPR_EIR23 = 663, H_SPR_EIR24 = 664
|
292 |
|
|
, H_SPR_EIR25 = 665, H_SPR_EIR26 = 666, H_SPR_EIR27 = 667, H_SPR_EIR28 = 668
|
293 |
|
|
, H_SPR_EIR29 = 669, H_SPR_EIR30 = 670, H_SPR_EIR31 = 671, H_SPR_ESFR0 = 672
|
294 |
|
|
, H_SPR_ESFR1 = 673, H_SPR_SR0 = 768, H_SPR_SR1 = 769, H_SPR_SR2 = 770
|
295 |
|
|
, H_SPR_SR3 = 771, H_SPR_FSR0 = 1024, H_SPR_FSR1 = 1025, H_SPR_FSR2 = 1026
|
296 |
|
|
, H_SPR_FSR3 = 1027, H_SPR_FSR4 = 1028, H_SPR_FSR5 = 1029, H_SPR_FSR6 = 1030
|
297 |
|
|
, H_SPR_FSR7 = 1031, H_SPR_FSR8 = 1032, H_SPR_FSR9 = 1033, H_SPR_FSR10 = 1034
|
298 |
|
|
, H_SPR_FSR11 = 1035, H_SPR_FSR12 = 1036, H_SPR_FSR13 = 1037, H_SPR_FSR14 = 1038
|
299 |
|
|
, H_SPR_FSR15 = 1039, H_SPR_FSR16 = 1040, H_SPR_FSR17 = 1041, H_SPR_FSR18 = 1042
|
300 |
|
|
, H_SPR_FSR19 = 1043, H_SPR_FSR20 = 1044, H_SPR_FSR21 = 1045, H_SPR_FSR22 = 1046
|
301 |
|
|
, H_SPR_FSR23 = 1047, H_SPR_FSR24 = 1048, H_SPR_FSR25 = 1049, H_SPR_FSR26 = 1050
|
302 |
|
|
, H_SPR_FSR27 = 1051, H_SPR_FSR28 = 1052, H_SPR_FSR29 = 1053, H_SPR_FSR30 = 1054
|
303 |
|
|
, H_SPR_FSR31 = 1055, H_SPR_FSR32 = 1056, H_SPR_FSR33 = 1057, H_SPR_FSR34 = 1058
|
304 |
|
|
, H_SPR_FSR35 = 1059, H_SPR_FSR36 = 1060, H_SPR_FSR37 = 1061, H_SPR_FSR38 = 1062
|
305 |
|
|
, H_SPR_FSR39 = 1063, H_SPR_FSR40 = 1064, H_SPR_FSR41 = 1065, H_SPR_FSR42 = 1066
|
306 |
|
|
, H_SPR_FSR43 = 1067, H_SPR_FSR44 = 1068, H_SPR_FSR45 = 1069, H_SPR_FSR46 = 1070
|
307 |
|
|
, H_SPR_FSR47 = 1071, H_SPR_FSR48 = 1072, H_SPR_FSR49 = 1073, H_SPR_FSR50 = 1074
|
308 |
|
|
, H_SPR_FSR51 = 1075, H_SPR_FSR52 = 1076, H_SPR_FSR53 = 1077, H_SPR_FSR54 = 1078
|
309 |
|
|
, H_SPR_FSR55 = 1079, H_SPR_FSR56 = 1080, H_SPR_FSR57 = 1081, H_SPR_FSR58 = 1082
|
310 |
|
|
, H_SPR_FSR59 = 1083, H_SPR_FSR60 = 1084, H_SPR_FSR61 = 1085, H_SPR_FSR62 = 1086
|
311 |
|
|
, H_SPR_FSR63 = 1087, H_SPR_FQOP0 = 1088, H_SPR_FQOP1 = 1090, H_SPR_FQOP2 = 1092
|
312 |
|
|
, H_SPR_FQOP3 = 1094, H_SPR_FQOP4 = 1096, H_SPR_FQOP5 = 1098, H_SPR_FQOP6 = 1100
|
313 |
|
|
, H_SPR_FQOP7 = 1102, H_SPR_FQOP8 = 1104, H_SPR_FQOP9 = 1106, H_SPR_FQOP10 = 1108
|
314 |
|
|
, H_SPR_FQOP11 = 1110, H_SPR_FQOP12 = 1112, H_SPR_FQOP13 = 1114, H_SPR_FQOP14 = 1116
|
315 |
|
|
, H_SPR_FQOP15 = 1118, H_SPR_FQOP16 = 1120, H_SPR_FQOP17 = 1122, H_SPR_FQOP18 = 1124
|
316 |
|
|
, H_SPR_FQOP19 = 1126, H_SPR_FQOP20 = 1128, H_SPR_FQOP21 = 1130, H_SPR_FQOP22 = 1132
|
317 |
|
|
, H_SPR_FQOP23 = 1134, H_SPR_FQOP24 = 1136, H_SPR_FQOP25 = 1138, H_SPR_FQOP26 = 1140
|
318 |
|
|
, H_SPR_FQOP27 = 1142, H_SPR_FQOP28 = 1144, H_SPR_FQOP29 = 1146, H_SPR_FQOP30 = 1148
|
319 |
|
|
, H_SPR_FQOP31 = 1150, H_SPR_FQST0 = 1089, H_SPR_FQST1 = 1091, H_SPR_FQST2 = 1093
|
320 |
|
|
, H_SPR_FQST3 = 1095, H_SPR_FQST4 = 1097, H_SPR_FQST5 = 1099, H_SPR_FQST6 = 1101
|
321 |
|
|
, H_SPR_FQST7 = 1103, H_SPR_FQST8 = 1105, H_SPR_FQST9 = 1107, H_SPR_FQST10 = 1109
|
322 |
|
|
, H_SPR_FQST11 = 1111, H_SPR_FQST12 = 1113, H_SPR_FQST13 = 1115, H_SPR_FQST14 = 1117
|
323 |
|
|
, H_SPR_FQST15 = 1119, H_SPR_FQST16 = 1121, H_SPR_FQST17 = 1123, H_SPR_FQST18 = 1125
|
324 |
|
|
, H_SPR_FQST19 = 1127, H_SPR_FQST20 = 1129, H_SPR_FQST21 = 1131, H_SPR_FQST22 = 1133
|
325 |
|
|
, H_SPR_FQST23 = 1135, H_SPR_FQST24 = 1137, H_SPR_FQST25 = 1139, H_SPR_FQST26 = 1141
|
326 |
|
|
, H_SPR_FQST27 = 1143, H_SPR_FQST28 = 1145, H_SPR_FQST29 = 1147, H_SPR_FQST30 = 1149
|
327 |
|
|
, H_SPR_FQST31 = 1151, H_SPR_MCILR0 = 1272, H_SPR_MCILR1 = 1273, H_SPR_MSR0 = 1280
|
328 |
|
|
, H_SPR_MSR1 = 1281, H_SPR_MSR2 = 1282, H_SPR_MSR3 = 1283, H_SPR_MSR4 = 1284
|
329 |
|
|
, H_SPR_MSR5 = 1285, H_SPR_MSR6 = 1286, H_SPR_MSR7 = 1287, H_SPR_MSR8 = 1288
|
330 |
|
|
, H_SPR_MSR9 = 1289, H_SPR_MSR10 = 1290, H_SPR_MSR11 = 1291, H_SPR_MSR12 = 1292
|
331 |
|
|
, H_SPR_MSR13 = 1293, H_SPR_MSR14 = 1294, H_SPR_MSR15 = 1295, H_SPR_MSR16 = 1296
|
332 |
|
|
, H_SPR_MSR17 = 1297, H_SPR_MSR18 = 1298, H_SPR_MSR19 = 1299, H_SPR_MSR20 = 1300
|
333 |
|
|
, H_SPR_MSR21 = 1301, H_SPR_MSR22 = 1302, H_SPR_MSR23 = 1303, H_SPR_MSR24 = 1304
|
334 |
|
|
, H_SPR_MSR25 = 1305, H_SPR_MSR26 = 1306, H_SPR_MSR27 = 1307, H_SPR_MSR28 = 1308
|
335 |
|
|
, H_SPR_MSR29 = 1309, H_SPR_MSR30 = 1310, H_SPR_MSR31 = 1311, H_SPR_MSR32 = 1312
|
336 |
|
|
, H_SPR_MSR33 = 1313, H_SPR_MSR34 = 1314, H_SPR_MSR35 = 1315, H_SPR_MSR36 = 1316
|
337 |
|
|
, H_SPR_MSR37 = 1317, H_SPR_MSR38 = 1318, H_SPR_MSR39 = 1319, H_SPR_MSR40 = 1320
|
338 |
|
|
, H_SPR_MSR41 = 1321, H_SPR_MSR42 = 1322, H_SPR_MSR43 = 1323, H_SPR_MSR44 = 1324
|
339 |
|
|
, H_SPR_MSR45 = 1325, H_SPR_MSR46 = 1326, H_SPR_MSR47 = 1327, H_SPR_MSR48 = 1328
|
340 |
|
|
, H_SPR_MSR49 = 1329, H_SPR_MSR50 = 1330, H_SPR_MSR51 = 1331, H_SPR_MSR52 = 1332
|
341 |
|
|
, H_SPR_MSR53 = 1333, H_SPR_MSR54 = 1334, H_SPR_MSR55 = 1335, H_SPR_MSR56 = 1336
|
342 |
|
|
, H_SPR_MSR57 = 1337, H_SPR_MSR58 = 1338, H_SPR_MSR59 = 1339, H_SPR_MSR60 = 1340
|
343 |
|
|
, H_SPR_MSR61 = 1341, H_SPR_MSR62 = 1342, H_SPR_MSR63 = 1343, H_SPR_MQOP0 = 1344
|
344 |
|
|
, H_SPR_MQOP1 = 1346, H_SPR_MQOP2 = 1348, H_SPR_MQOP3 = 1350, H_SPR_MQOP4 = 1352
|
345 |
|
|
, H_SPR_MQOP5 = 1354, H_SPR_MQOP6 = 1356, H_SPR_MQOP7 = 1358, H_SPR_MQOP8 = 1360
|
346 |
|
|
, H_SPR_MQOP9 = 1362, H_SPR_MQOP10 = 1364, H_SPR_MQOP11 = 1366, H_SPR_MQOP12 = 1368
|
347 |
|
|
, H_SPR_MQOP13 = 1370, H_SPR_MQOP14 = 1372, H_SPR_MQOP15 = 1374, H_SPR_MQOP16 = 1376
|
348 |
|
|
, H_SPR_MQOP17 = 1378, H_SPR_MQOP18 = 1380, H_SPR_MQOP19 = 1382, H_SPR_MQOP20 = 1384
|
349 |
|
|
, H_SPR_MQOP21 = 1386, H_SPR_MQOP22 = 1388, H_SPR_MQOP23 = 1390, H_SPR_MQOP24 = 1392
|
350 |
|
|
, H_SPR_MQOP25 = 1394, H_SPR_MQOP26 = 1396, H_SPR_MQOP27 = 1398, H_SPR_MQOP28 = 1400
|
351 |
|
|
, H_SPR_MQOP29 = 1402, H_SPR_MQOP30 = 1404, H_SPR_MQOP31 = 1406, H_SPR_MQST0 = 1345
|
352 |
|
|
, H_SPR_MQST1 = 1347, H_SPR_MQST2 = 1349, H_SPR_MQST3 = 1351, H_SPR_MQST4 = 1353
|
353 |
|
|
, H_SPR_MQST5 = 1355, H_SPR_MQST6 = 1357, H_SPR_MQST7 = 1359, H_SPR_MQST8 = 1361
|
354 |
|
|
, H_SPR_MQST9 = 1363, H_SPR_MQST10 = 1365, H_SPR_MQST11 = 1367, H_SPR_MQST12 = 1369
|
355 |
|
|
, H_SPR_MQST13 = 1371, H_SPR_MQST14 = 1373, H_SPR_MQST15 = 1375, H_SPR_MQST16 = 1377
|
356 |
|
|
, H_SPR_MQST17 = 1379, H_SPR_MQST18 = 1381, H_SPR_MQST19 = 1383, H_SPR_MQST20 = 1385
|
357 |
|
|
, H_SPR_MQST21 = 1387, H_SPR_MQST22 = 1389, H_SPR_MQST23 = 1391, H_SPR_MQST24 = 1393
|
358 |
|
|
, H_SPR_MQST25 = 1395, H_SPR_MQST26 = 1397, H_SPR_MQST27 = 1399, H_SPR_MQST28 = 1401
|
359 |
|
|
, H_SPR_MQST29 = 1403, H_SPR_MQST30 = 1405, H_SPR_MQST31 = 1407, H_SPR_EAR0 = 1536
|
360 |
|
|
, H_SPR_EAR1 = 1537, H_SPR_EAR2 = 1538, H_SPR_EAR3 = 1539, H_SPR_EAR4 = 1540
|
361 |
|
|
, H_SPR_EAR5 = 1541, H_SPR_EAR6 = 1542, H_SPR_EAR7 = 1543, H_SPR_EAR8 = 1544
|
362 |
|
|
, H_SPR_EAR9 = 1545, H_SPR_EAR10 = 1546, H_SPR_EAR11 = 1547, H_SPR_EAR12 = 1548
|
363 |
|
|
, H_SPR_EAR13 = 1549, H_SPR_EAR14 = 1550, H_SPR_EAR15 = 1551, H_SPR_EAR16 = 1552
|
364 |
|
|
, H_SPR_EAR17 = 1553, H_SPR_EAR18 = 1554, H_SPR_EAR19 = 1555, H_SPR_EAR20 = 1556
|
365 |
|
|
, H_SPR_EAR21 = 1557, H_SPR_EAR22 = 1558, H_SPR_EAR23 = 1559, H_SPR_EAR24 = 1560
|
366 |
|
|
, H_SPR_EAR25 = 1561, H_SPR_EAR26 = 1562, H_SPR_EAR27 = 1563, H_SPR_EAR28 = 1564
|
367 |
|
|
, H_SPR_EAR29 = 1565, H_SPR_EAR30 = 1566, H_SPR_EAR31 = 1567, H_SPR_EAR32 = 1568
|
368 |
|
|
, H_SPR_EAR33 = 1569, H_SPR_EAR34 = 1570, H_SPR_EAR35 = 1571, H_SPR_EAR36 = 1572
|
369 |
|
|
, H_SPR_EAR37 = 1573, H_SPR_EAR38 = 1574, H_SPR_EAR39 = 1575, H_SPR_EAR40 = 1576
|
370 |
|
|
, H_SPR_EAR41 = 1577, H_SPR_EAR42 = 1578, H_SPR_EAR43 = 1579, H_SPR_EAR44 = 1580
|
371 |
|
|
, H_SPR_EAR45 = 1581, H_SPR_EAR46 = 1582, H_SPR_EAR47 = 1583, H_SPR_EAR48 = 1584
|
372 |
|
|
, H_SPR_EAR49 = 1585, H_SPR_EAR50 = 1586, H_SPR_EAR51 = 1587, H_SPR_EAR52 = 1588
|
373 |
|
|
, H_SPR_EAR53 = 1589, H_SPR_EAR54 = 1590, H_SPR_EAR55 = 1591, H_SPR_EAR56 = 1592
|
374 |
|
|
, H_SPR_EAR57 = 1593, H_SPR_EAR58 = 1594, H_SPR_EAR59 = 1595, H_SPR_EAR60 = 1596
|
375 |
|
|
, H_SPR_EAR61 = 1597, H_SPR_EAR62 = 1598, H_SPR_EAR63 = 1599, H_SPR_EDR0 = 1600
|
376 |
|
|
, H_SPR_EDR1 = 1601, H_SPR_EDR2 = 1602, H_SPR_EDR3 = 1603, H_SPR_EDR4 = 1604
|
377 |
|
|
, H_SPR_EDR5 = 1605, H_SPR_EDR6 = 1606, H_SPR_EDR7 = 1607, H_SPR_EDR8 = 1608
|
378 |
|
|
, H_SPR_EDR9 = 1609, H_SPR_EDR10 = 1610, H_SPR_EDR11 = 1611, H_SPR_EDR12 = 1612
|
379 |
|
|
, H_SPR_EDR13 = 1613, H_SPR_EDR14 = 1614, H_SPR_EDR15 = 1615, H_SPR_EDR16 = 1616
|
380 |
|
|
, H_SPR_EDR17 = 1617, H_SPR_EDR18 = 1618, H_SPR_EDR19 = 1619, H_SPR_EDR20 = 1620
|
381 |
|
|
, H_SPR_EDR21 = 1621, H_SPR_EDR22 = 1622, H_SPR_EDR23 = 1623, H_SPR_EDR24 = 1624
|
382 |
|
|
, H_SPR_EDR25 = 1625, H_SPR_EDR26 = 1626, H_SPR_EDR27 = 1627, H_SPR_EDR28 = 1628
|
383 |
|
|
, H_SPR_EDR29 = 1629, H_SPR_EDR30 = 1630, H_SPR_EDR31 = 1631, H_SPR_EDR32 = 1632
|
384 |
|
|
, H_SPR_EDR33 = 1636, H_SPR_EDR34 = 1634, H_SPR_EDR35 = 1635, H_SPR_EDR36 = 1636
|
385 |
|
|
, H_SPR_EDR37 = 1637, H_SPR_EDR38 = 1638, H_SPR_EDR39 = 1639, H_SPR_EDR40 = 1640
|
386 |
|
|
, H_SPR_EDR41 = 1641, H_SPR_EDR42 = 1642, H_SPR_EDR43 = 1643, H_SPR_EDR44 = 1644
|
387 |
|
|
, H_SPR_EDR45 = 1645, H_SPR_EDR46 = 1646, H_SPR_EDR47 = 1647, H_SPR_EDR48 = 1648
|
388 |
|
|
, H_SPR_EDR49 = 1649, H_SPR_EDR50 = 1650, H_SPR_EDR51 = 1651, H_SPR_EDR52 = 1652
|
389 |
|
|
, H_SPR_EDR53 = 1653, H_SPR_EDR54 = 1654, H_SPR_EDR55 = 1655, H_SPR_EDR56 = 1656
|
390 |
|
|
, H_SPR_EDR57 = 1657, H_SPR_EDR58 = 1658, H_SPR_EDR59 = 1659, H_SPR_EDR60 = 1660
|
391 |
|
|
, H_SPR_EDR61 = 1661, H_SPR_EDR62 = 1662, H_SPR_EDR63 = 1663, H_SPR_IAMLR0 = 1664
|
392 |
|
|
, H_SPR_IAMLR1 = 1665, H_SPR_IAMLR2 = 1666, H_SPR_IAMLR3 = 1667, H_SPR_IAMLR4 = 1668
|
393 |
|
|
, H_SPR_IAMLR5 = 1669, H_SPR_IAMLR6 = 1670, H_SPR_IAMLR7 = 1671, H_SPR_IAMLR8 = 1672
|
394 |
|
|
, H_SPR_IAMLR9 = 1673, H_SPR_IAMLR10 = 1674, H_SPR_IAMLR11 = 1675, H_SPR_IAMLR12 = 1676
|
395 |
|
|
, H_SPR_IAMLR13 = 1677, H_SPR_IAMLR14 = 1678, H_SPR_IAMLR15 = 1679, H_SPR_IAMLR16 = 1680
|
396 |
|
|
, H_SPR_IAMLR17 = 1681, H_SPR_IAMLR18 = 1682, H_SPR_IAMLR19 = 1683, H_SPR_IAMLR20 = 1684
|
397 |
|
|
, H_SPR_IAMLR21 = 1685, H_SPR_IAMLR22 = 1686, H_SPR_IAMLR23 = 1687, H_SPR_IAMLR24 = 1688
|
398 |
|
|
, H_SPR_IAMLR25 = 1689, H_SPR_IAMLR26 = 1690, H_SPR_IAMLR27 = 1691, H_SPR_IAMLR28 = 1692
|
399 |
|
|
, H_SPR_IAMLR29 = 1693, H_SPR_IAMLR30 = 1694, H_SPR_IAMLR31 = 1695, H_SPR_IAMLR32 = 1696
|
400 |
|
|
, H_SPR_IAMLR33 = 1697, H_SPR_IAMLR34 = 1698, H_SPR_IAMLR35 = 1699, H_SPR_IAMLR36 = 1700
|
401 |
|
|
, H_SPR_IAMLR37 = 1701, H_SPR_IAMLR38 = 1702, H_SPR_IAMLR39 = 1703, H_SPR_IAMLR40 = 1704
|
402 |
|
|
, H_SPR_IAMLR41 = 1705, H_SPR_IAMLR42 = 1706, H_SPR_IAMLR43 = 1707, H_SPR_IAMLR44 = 1708
|
403 |
|
|
, H_SPR_IAMLR45 = 1709, H_SPR_IAMLR46 = 1710, H_SPR_IAMLR47 = 1711, H_SPR_IAMLR48 = 1712
|
404 |
|
|
, H_SPR_IAMLR49 = 1713, H_SPR_IAMLR50 = 1714, H_SPR_IAMLR51 = 1715, H_SPR_IAMLR52 = 1716
|
405 |
|
|
, H_SPR_IAMLR53 = 1717, H_SPR_IAMLR54 = 1718, H_SPR_IAMLR55 = 1719, H_SPR_IAMLR56 = 1720
|
406 |
|
|
, H_SPR_IAMLR57 = 1721, H_SPR_IAMLR58 = 1722, H_SPR_IAMLR59 = 1723, H_SPR_IAMLR60 = 1724
|
407 |
|
|
, H_SPR_IAMLR61 = 1725, H_SPR_IAMLR62 = 1726, H_SPR_IAMLR63 = 1727, H_SPR_IAMPR0 = 1728
|
408 |
|
|
, H_SPR_IAMPR1 = 1729, H_SPR_IAMPR2 = 1730, H_SPR_IAMPR3 = 1731, H_SPR_IAMPR4 = 1732
|
409 |
|
|
, H_SPR_IAMPR5 = 1733, H_SPR_IAMPR6 = 1734, H_SPR_IAMPR7 = 1735, H_SPR_IAMPR8 = 1736
|
410 |
|
|
, H_SPR_IAMPR9 = 1737, H_SPR_IAMPR10 = 1738, H_SPR_IAMPR11 = 1739, H_SPR_IAMPR12 = 1740
|
411 |
|
|
, H_SPR_IAMPR13 = 1741, H_SPR_IAMPR14 = 1742, H_SPR_IAMPR15 = 1743, H_SPR_IAMPR16 = 1744
|
412 |
|
|
, H_SPR_IAMPR17 = 1745, H_SPR_IAMPR18 = 1746, H_SPR_IAMPR19 = 1747, H_SPR_IAMPR20 = 1748
|
413 |
|
|
, H_SPR_IAMPR21 = 1749, H_SPR_IAMPR22 = 1750, H_SPR_IAMPR23 = 1751, H_SPR_IAMPR24 = 1752
|
414 |
|
|
, H_SPR_IAMPR25 = 1753, H_SPR_IAMPR26 = 1754, H_SPR_IAMPR27 = 1755, H_SPR_IAMPR28 = 1756
|
415 |
|
|
, H_SPR_IAMPR29 = 1757, H_SPR_IAMPR30 = 1758, H_SPR_IAMPR31 = 1759, H_SPR_IAMPR32 = 1760
|
416 |
|
|
, H_SPR_IAMPR33 = 1761, H_SPR_IAMPR34 = 1762, H_SPR_IAMPR35 = 1763, H_SPR_IAMPR36 = 1764
|
417 |
|
|
, H_SPR_IAMPR37 = 1765, H_SPR_IAMPR38 = 1766, H_SPR_IAMPR39 = 1767, H_SPR_IAMPR40 = 1768
|
418 |
|
|
, H_SPR_IAMPR41 = 1769, H_SPR_IAMPR42 = 1770, H_SPR_IAMPR43 = 1771, H_SPR_IAMPR44 = 1772
|
419 |
|
|
, H_SPR_IAMPR45 = 1773, H_SPR_IAMPR46 = 1774, H_SPR_IAMPR47 = 1775, H_SPR_IAMPR48 = 1776
|
420 |
|
|
, H_SPR_IAMPR49 = 1777, H_SPR_IAMPR50 = 1778, H_SPR_IAMPR51 = 1779, H_SPR_IAMPR52 = 1780
|
421 |
|
|
, H_SPR_IAMPR53 = 1781, H_SPR_IAMPR54 = 1782, H_SPR_IAMPR55 = 1783, H_SPR_IAMPR56 = 1784
|
422 |
|
|
, H_SPR_IAMPR57 = 1785, H_SPR_IAMPR58 = 1786, H_SPR_IAMPR59 = 1787, H_SPR_IAMPR60 = 1788
|
423 |
|
|
, H_SPR_IAMPR61 = 1789, H_SPR_IAMPR62 = 1790, H_SPR_IAMPR63 = 1791, H_SPR_DAMLR0 = 1792
|
424 |
|
|
, H_SPR_DAMLR1 = 1793, H_SPR_DAMLR2 = 1794, H_SPR_DAMLR3 = 1795, H_SPR_DAMLR4 = 1796
|
425 |
|
|
, H_SPR_DAMLR5 = 1797, H_SPR_DAMLR6 = 1798, H_SPR_DAMLR7 = 1799, H_SPR_DAMLR8 = 1800
|
426 |
|
|
, H_SPR_DAMLR9 = 1801, H_SPR_DAMLR10 = 1802, H_SPR_DAMLR11 = 1803, H_SPR_DAMLR12 = 1804
|
427 |
|
|
, H_SPR_DAMLR13 = 1805, H_SPR_DAMLR14 = 1806, H_SPR_DAMLR15 = 1807, H_SPR_DAMLR16 = 1808
|
428 |
|
|
, H_SPR_DAMLR17 = 1809, H_SPR_DAMLR18 = 1810, H_SPR_DAMLR19 = 1811, H_SPR_DAMLR20 = 1812
|
429 |
|
|
, H_SPR_DAMLR21 = 1813, H_SPR_DAMLR22 = 1814, H_SPR_DAMLR23 = 1815, H_SPR_DAMLR24 = 1816
|
430 |
|
|
, H_SPR_DAMLR25 = 1817, H_SPR_DAMLR26 = 1818, H_SPR_DAMLR27 = 1819, H_SPR_DAMLR28 = 1820
|
431 |
|
|
, H_SPR_DAMLR29 = 1821, H_SPR_DAMLR30 = 1822, H_SPR_DAMLR31 = 1823, H_SPR_DAMLR32 = 1824
|
432 |
|
|
, H_SPR_DAMLR33 = 1825, H_SPR_DAMLR34 = 1826, H_SPR_DAMLR35 = 1827, H_SPR_DAMLR36 = 1828
|
433 |
|
|
, H_SPR_DAMLR37 = 1829, H_SPR_DAMLR38 = 1830, H_SPR_DAMLR39 = 1831, H_SPR_DAMLR40 = 1832
|
434 |
|
|
, H_SPR_DAMLR41 = 1833, H_SPR_DAMLR42 = 1834, H_SPR_DAMLR43 = 1835, H_SPR_DAMLR44 = 1836
|
435 |
|
|
, H_SPR_DAMLR45 = 1837, H_SPR_DAMLR46 = 1838, H_SPR_DAMLR47 = 1839, H_SPR_DAMLR48 = 1840
|
436 |
|
|
, H_SPR_DAMLR49 = 1841, H_SPR_DAMLR50 = 1842, H_SPR_DAMLR51 = 1843, H_SPR_DAMLR52 = 1844
|
437 |
|
|
, H_SPR_DAMLR53 = 1845, H_SPR_DAMLR54 = 1846, H_SPR_DAMLR55 = 1847, H_SPR_DAMLR56 = 1848
|
438 |
|
|
, H_SPR_DAMLR57 = 1849, H_SPR_DAMLR58 = 1850, H_SPR_DAMLR59 = 1851, H_SPR_DAMLR60 = 1852
|
439 |
|
|
, H_SPR_DAMLR61 = 1853, H_SPR_DAMLR62 = 1854, H_SPR_DAMLR63 = 1855, H_SPR_DAMPR0 = 1856
|
440 |
|
|
, H_SPR_DAMPR1 = 1857, H_SPR_DAMPR2 = 1858, H_SPR_DAMPR3 = 1859, H_SPR_DAMPR4 = 1860
|
441 |
|
|
, H_SPR_DAMPR5 = 1861, H_SPR_DAMPR6 = 1862, H_SPR_DAMPR7 = 1863, H_SPR_DAMPR8 = 1864
|
442 |
|
|
, H_SPR_DAMPR9 = 1865, H_SPR_DAMPR10 = 1866, H_SPR_DAMPR11 = 1867, H_SPR_DAMPR12 = 1868
|
443 |
|
|
, H_SPR_DAMPR13 = 1869, H_SPR_DAMPR14 = 1870, H_SPR_DAMPR15 = 1871, H_SPR_DAMPR16 = 1872
|
444 |
|
|
, H_SPR_DAMPR17 = 1873, H_SPR_DAMPR18 = 1874, H_SPR_DAMPR19 = 1875, H_SPR_DAMPR20 = 1876
|
445 |
|
|
, H_SPR_DAMPR21 = 1877, H_SPR_DAMPR22 = 1878, H_SPR_DAMPR23 = 1879, H_SPR_DAMPR24 = 1880
|
446 |
|
|
, H_SPR_DAMPR25 = 1881, H_SPR_DAMPR26 = 1882, H_SPR_DAMPR27 = 1883, H_SPR_DAMPR28 = 1884
|
447 |
|
|
, H_SPR_DAMPR29 = 1885, H_SPR_DAMPR30 = 1886, H_SPR_DAMPR31 = 1887, H_SPR_DAMPR32 = 1888
|
448 |
|
|
, H_SPR_DAMPR33 = 1889, H_SPR_DAMPR34 = 1890, H_SPR_DAMPR35 = 1891, H_SPR_DAMPR36 = 1892
|
449 |
|
|
, H_SPR_DAMPR37 = 1893, H_SPR_DAMPR38 = 1894, H_SPR_DAMPR39 = 1895, H_SPR_DAMPR40 = 1896
|
450 |
|
|
, H_SPR_DAMPR41 = 1897, H_SPR_DAMPR42 = 1898, H_SPR_DAMPR43 = 1899, H_SPR_DAMPR44 = 1900
|
451 |
|
|
, H_SPR_DAMPR45 = 1901, H_SPR_DAMPR46 = 1902, H_SPR_DAMPR47 = 1903, H_SPR_DAMPR48 = 1904
|
452 |
|
|
, H_SPR_DAMPR49 = 1905, H_SPR_DAMPR50 = 1906, H_SPR_DAMPR51 = 1907, H_SPR_DAMPR52 = 1908
|
453 |
|
|
, H_SPR_DAMPR53 = 1909, H_SPR_DAMPR54 = 1910, H_SPR_DAMPR55 = 1911, H_SPR_DAMPR56 = 1912
|
454 |
|
|
, H_SPR_DAMPR57 = 1913, H_SPR_DAMPR58 = 1914, H_SPR_DAMPR59 = 1915, H_SPR_DAMPR60 = 1916
|
455 |
|
|
, H_SPR_DAMPR61 = 1917, H_SPR_DAMPR62 = 1918, H_SPR_DAMPR63 = 1919, H_SPR_AMCR = 1920
|
456 |
|
|
, H_SPR_STBAR = 1921, H_SPR_MMCR = 1922, H_SPR_DCR = 2048, H_SPR_BRR = 2049
|
457 |
|
|
, H_SPR_NMAR = 2050, H_SPR_IBAR0 = 2052, H_SPR_IBAR1 = 2053, H_SPR_IBAR2 = 2054
|
458 |
|
|
, H_SPR_IBAR3 = 2055, H_SPR_DBAR0 = 2056, H_SPR_DBAR1 = 2057, H_SPR_DBAR2 = 2058
|
459 |
|
|
, H_SPR_DBAR3 = 2059, H_SPR_DBDR00 = 2060, H_SPR_DBDR01 = 2061, H_SPR_DBDR02 = 2062
|
460 |
|
|
, H_SPR_DBDR03 = 2063, H_SPR_DBDR10 = 2064, H_SPR_DBDR11 = 2065, H_SPR_DBDR12 = 2066
|
461 |
|
|
, H_SPR_DBDR13 = 2067, H_SPR_DBDR20 = 2068, H_SPR_DBDR21 = 2069, H_SPR_DBDR22 = 2070
|
462 |
|
|
, H_SPR_DBDR23 = 2071, H_SPR_DBDR30 = 2072, H_SPR_DBDR31 = 2073, H_SPR_DBDR32 = 2074
|
463 |
|
|
, H_SPR_DBDR33 = 2075, H_SPR_DBMR00 = 2076, H_SPR_DBMR01 = 2077, H_SPR_DBMR02 = 2078
|
464 |
|
|
, H_SPR_DBMR03 = 2079, H_SPR_DBMR10 = 2080, H_SPR_DBMR11 = 2081, H_SPR_DBMR12 = 2082
|
465 |
|
|
, H_SPR_DBMR13 = 2083, H_SPR_DBMR20 = 2084, H_SPR_DBMR21 = 2085, H_SPR_DBMR22 = 2086
|
466 |
|
|
, H_SPR_DBMR23 = 2087, H_SPR_DBMR30 = 2088, H_SPR_DBMR31 = 2089, H_SPR_DBMR32 = 2090
|
467 |
|
|
, H_SPR_DBMR33 = 2091, H_SPR_CPCFR = 2092, H_SPR_CPCR = 2093, H_SPR_CPSR = 2094
|
468 |
|
|
, H_SPR_CPESR0 = 2096, H_SPR_CPESR1 = 2097, H_SPR_CPEMR0 = 2098, H_SPR_CPEMR1 = 2099
|
469 |
|
|
, H_SPR_IHSR8 = 3848
|
470 |
|
|
} SPR_NAMES;
|
471 |
|
|
|
472 |
|
|
/* Enum declaration for . */
|
473 |
|
|
typedef enum accg_names {
|
474 |
|
|
H_ACCG_ACCG0, H_ACCG_ACCG1, H_ACCG_ACCG2, H_ACCG_ACCG3
|
475 |
|
|
, H_ACCG_ACCG4, H_ACCG_ACCG5, H_ACCG_ACCG6, H_ACCG_ACCG7
|
476 |
|
|
, H_ACCG_ACCG8, H_ACCG_ACCG9, H_ACCG_ACCG10, H_ACCG_ACCG11
|
477 |
|
|
, H_ACCG_ACCG12, H_ACCG_ACCG13, H_ACCG_ACCG14, H_ACCG_ACCG15
|
478 |
|
|
, H_ACCG_ACCG16, H_ACCG_ACCG17, H_ACCG_ACCG18, H_ACCG_ACCG19
|
479 |
|
|
, H_ACCG_ACCG20, H_ACCG_ACCG21, H_ACCG_ACCG22, H_ACCG_ACCG23
|
480 |
|
|
, H_ACCG_ACCG24, H_ACCG_ACCG25, H_ACCG_ACCG26, H_ACCG_ACCG27
|
481 |
|
|
, H_ACCG_ACCG28, H_ACCG_ACCG29, H_ACCG_ACCG30, H_ACCG_ACCG31
|
482 |
|
|
, H_ACCG_ACCG32, H_ACCG_ACCG33, H_ACCG_ACCG34, H_ACCG_ACCG35
|
483 |
|
|
, H_ACCG_ACCG36, H_ACCG_ACCG37, H_ACCG_ACCG38, H_ACCG_ACCG39
|
484 |
|
|
, H_ACCG_ACCG40, H_ACCG_ACCG41, H_ACCG_ACCG42, H_ACCG_ACCG43
|
485 |
|
|
, H_ACCG_ACCG44, H_ACCG_ACCG45, H_ACCG_ACCG46, H_ACCG_ACCG47
|
486 |
|
|
, H_ACCG_ACCG48, H_ACCG_ACCG49, H_ACCG_ACCG50, H_ACCG_ACCG51
|
487 |
|
|
, H_ACCG_ACCG52, H_ACCG_ACCG53, H_ACCG_ACCG54, H_ACCG_ACCG55
|
488 |
|
|
, H_ACCG_ACCG56, H_ACCG_ACCG57, H_ACCG_ACCG58, H_ACCG_ACCG59
|
489 |
|
|
, H_ACCG_ACCG60, H_ACCG_ACCG61, H_ACCG_ACCG62, H_ACCG_ACCG63
|
490 |
|
|
} ACCG_NAMES;
|
491 |
|
|
|
492 |
|
|
/* Enum declaration for . */
|
493 |
|
|
typedef enum acc_names {
|
494 |
|
|
H_ACC40_ACC0, H_ACC40_ACC1, H_ACC40_ACC2, H_ACC40_ACC3
|
495 |
|
|
, H_ACC40_ACC4, H_ACC40_ACC5, H_ACC40_ACC6, H_ACC40_ACC7
|
496 |
|
|
, H_ACC40_ACC8, H_ACC40_ACC9, H_ACC40_ACC10, H_ACC40_ACC11
|
497 |
|
|
, H_ACC40_ACC12, H_ACC40_ACC13, H_ACC40_ACC14, H_ACC40_ACC15
|
498 |
|
|
, H_ACC40_ACC16, H_ACC40_ACC17, H_ACC40_ACC18, H_ACC40_ACC19
|
499 |
|
|
, H_ACC40_ACC20, H_ACC40_ACC21, H_ACC40_ACC22, H_ACC40_ACC23
|
500 |
|
|
, H_ACC40_ACC24, H_ACC40_ACC25, H_ACC40_ACC26, H_ACC40_ACC27
|
501 |
|
|
, H_ACC40_ACC28, H_ACC40_ACC29, H_ACC40_ACC30, H_ACC40_ACC31
|
502 |
|
|
, H_ACC40_ACC32, H_ACC40_ACC33, H_ACC40_ACC34, H_ACC40_ACC35
|
503 |
|
|
, H_ACC40_ACC36, H_ACC40_ACC37, H_ACC40_ACC38, H_ACC40_ACC39
|
504 |
|
|
, H_ACC40_ACC40, H_ACC40_ACC41, H_ACC40_ACC42, H_ACC40_ACC43
|
505 |
|
|
, H_ACC40_ACC44, H_ACC40_ACC45, H_ACC40_ACC46, H_ACC40_ACC47
|
506 |
|
|
, H_ACC40_ACC48, H_ACC40_ACC49, H_ACC40_ACC50, H_ACC40_ACC51
|
507 |
|
|
, H_ACC40_ACC52, H_ACC40_ACC53, H_ACC40_ACC54, H_ACC40_ACC55
|
508 |
|
|
, H_ACC40_ACC56, H_ACC40_ACC57, H_ACC40_ACC58, H_ACC40_ACC59
|
509 |
|
|
, H_ACC40_ACC60, H_ACC40_ACC61, H_ACC40_ACC62, H_ACC40_ACC63
|
510 |
|
|
} ACC_NAMES;
|
511 |
|
|
|
512 |
|
|
/* Enum declaration for . */
|
513 |
|
|
typedef enum iccr_names {
|
514 |
|
|
H_ICCR_ICC0, H_ICCR_ICC1, H_ICCR_ICC2, H_ICCR_ICC3
|
515 |
|
|
} ICCR_NAMES;
|
516 |
|
|
|
517 |
|
|
/* Enum declaration for . */
|
518 |
|
|
typedef enum fccr_names {
|
519 |
|
|
H_FCCR_FCC0, H_FCCR_FCC1, H_FCCR_FCC2, H_FCCR_FCC3
|
520 |
|
|
} FCCR_NAMES;
|
521 |
|
|
|
522 |
|
|
/* Enum declaration for . */
|
523 |
|
|
typedef enum cccr_names {
|
524 |
|
|
H_CCCR_CC0, H_CCCR_CC1, H_CCCR_CC2, H_CCCR_CC3
|
525 |
|
|
, H_CCCR_CC4, H_CCCR_CC5, H_CCCR_CC6, H_CCCR_CC7
|
526 |
|
|
} CCCR_NAMES;
|
527 |
|
|
|
528 |
|
|
/* Attributes. */
|
529 |
|
|
|
530 |
|
|
/* Enum declaration for machine type selection. */
|
531 |
|
|
typedef enum mach_attr {
|
532 |
|
|
MACH_BASE, MACH_FRV, MACH_FR500, MACH_FR400
|
533 |
|
|
, MACH_TOMCAT, MACH_SIMPLE, MACH_MAX
|
534 |
|
|
} MACH_ATTR;
|
535 |
|
|
|
536 |
|
|
/* Enum declaration for instruction set selection. */
|
537 |
|
|
typedef enum isa_attr {
|
538 |
|
|
ISA_FRV, ISA_MAX
|
539 |
|
|
} ISA_ATTR;
|
540 |
|
|
|
541 |
|
|
/* Enum declaration for parallel execution pipeline selection. */
|
542 |
|
|
typedef enum unit_attr {
|
543 |
|
|
UNIT_NIL, UNIT_I0, UNIT_I1, UNIT_I01
|
544 |
|
|
, UNIT_FM0, UNIT_FM1, UNIT_FM01, UNIT_B0
|
545 |
|
|
, UNIT_B1, UNIT_B01, UNIT_C, UNIT_MULT_DIV
|
546 |
|
|
, UNIT_LOAD, UNIT_NUM_UNITS
|
547 |
|
|
} UNIT_ATTR;
|
548 |
|
|
|
549 |
|
|
/* Enum declaration for fr400 major insn categories. */
|
550 |
|
|
typedef enum fr400_major_attr {
|
551 |
|
|
FR400_MAJOR_NONE, FR400_MAJOR_I_1, FR400_MAJOR_I_2, FR400_MAJOR_I_3
|
552 |
|
|
, FR400_MAJOR_I_4, FR400_MAJOR_I_5, FR400_MAJOR_B_1, FR400_MAJOR_B_2
|
553 |
|
|
, FR400_MAJOR_B_3, FR400_MAJOR_B_4, FR400_MAJOR_B_5, FR400_MAJOR_B_6
|
554 |
|
|
, FR400_MAJOR_C_1, FR400_MAJOR_C_2, FR400_MAJOR_M_1, FR400_MAJOR_M_2
|
555 |
|
|
} FR400_MAJOR_ATTR;
|
556 |
|
|
|
557 |
|
|
/* Enum declaration for fr500 major insn categories. */
|
558 |
|
|
typedef enum fr500_major_attr {
|
559 |
|
|
FR500_MAJOR_NONE, FR500_MAJOR_I_1, FR500_MAJOR_I_2, FR500_MAJOR_I_3
|
560 |
|
|
, FR500_MAJOR_I_4, FR500_MAJOR_I_5, FR500_MAJOR_I_6, FR500_MAJOR_B_1
|
561 |
|
|
, FR500_MAJOR_B_2, FR500_MAJOR_B_3, FR500_MAJOR_B_4, FR500_MAJOR_B_5
|
562 |
|
|
, FR500_MAJOR_B_6, FR500_MAJOR_C_1, FR500_MAJOR_C_2, FR500_MAJOR_F_1
|
563 |
|
|
, FR500_MAJOR_F_2, FR500_MAJOR_F_3, FR500_MAJOR_F_4, FR500_MAJOR_F_5
|
564 |
|
|
, FR500_MAJOR_F_6, FR500_MAJOR_F_7, FR500_MAJOR_F_8, FR500_MAJOR_M_1
|
565 |
|
|
, FR500_MAJOR_M_2, FR500_MAJOR_M_3, FR500_MAJOR_M_4, FR500_MAJOR_M_5
|
566 |
|
|
, FR500_MAJOR_M_6, FR500_MAJOR_M_7, FR500_MAJOR_M_8
|
567 |
|
|
} FR500_MAJOR_ATTR;
|
568 |
|
|
|
569 |
|
|
/* Number of architecture variants. */
|
570 |
|
|
#define MAX_ISAS 1
|
571 |
|
|
#define MAX_MACHS ((int) MACH_MAX)
|
572 |
|
|
|
573 |
|
|
/* Ifield support. */
|
574 |
|
|
|
575 |
|
|
extern const struct cgen_ifld frv_cgen_ifld_table[];
|
576 |
|
|
|
577 |
|
|
/* Ifield attribute indices. */
|
578 |
|
|
|
579 |
|
|
/* Enum declaration for cgen_ifld attrs. */
|
580 |
|
|
typedef enum cgen_ifld_attr {
|
581 |
|
|
CGEN_IFLD_VIRTUAL, CGEN_IFLD_PCREL_ADDR, CGEN_IFLD_ABS_ADDR, CGEN_IFLD_RESERVED
|
582 |
|
|
, CGEN_IFLD_SIGN_OPT, CGEN_IFLD_SIGNED, CGEN_IFLD_END_BOOLS, CGEN_IFLD_START_NBOOLS = 31
|
583 |
|
|
, CGEN_IFLD_MACH, CGEN_IFLD_END_NBOOLS
|
584 |
|
|
} CGEN_IFLD_ATTR;
|
585 |
|
|
|
586 |
|
|
/* Number of non-boolean elements in cgen_ifld_attr. */
|
587 |
|
|
#define CGEN_IFLD_NBOOL_ATTRS (CGEN_IFLD_END_NBOOLS - CGEN_IFLD_START_NBOOLS - 1)
|
588 |
|
|
|
589 |
|
|
/* Enum declaration for frv ifield types. */
|
590 |
|
|
typedef enum ifield_type {
|
591 |
|
|
FRV_F_NIL, FRV_F_ANYOF, FRV_F_PACK, FRV_F_OP
|
592 |
|
|
, FRV_F_OPE1, FRV_F_OPE2, FRV_F_OPE3, FRV_F_OPE4
|
593 |
|
|
, FRV_F_GRI, FRV_F_GRJ, FRV_F_GRK, FRV_F_FRI
|
594 |
|
|
, FRV_F_FRJ, FRV_F_FRK, FRV_F_CPRI, FRV_F_CPRJ
|
595 |
|
|
, FRV_F_CPRK, FRV_F_ACCGI, FRV_F_ACCGK, FRV_F_ACC40SI
|
596 |
|
|
, FRV_F_ACC40UI, FRV_F_ACC40SK, FRV_F_ACC40UK, FRV_F_CRI
|
597 |
|
|
, FRV_F_CRJ, FRV_F_CRK, FRV_F_CCI, FRV_F_CRJ_INT
|
598 |
|
|
, FRV_F_CRJ_FLOAT, FRV_F_ICCI_1, FRV_F_ICCI_2, FRV_F_ICCI_3
|
599 |
|
|
, FRV_F_FCCI_1, FRV_F_FCCI_2, FRV_F_FCCI_3, FRV_F_FCCK
|
600 |
|
|
, FRV_F_EIR, FRV_F_S10, FRV_F_S12, FRV_F_D12
|
601 |
|
|
, FRV_F_U16, FRV_F_S16, FRV_F_S6, FRV_F_S6_1
|
602 |
|
|
, FRV_F_U6, FRV_F_S5, FRV_F_U12_H, FRV_F_U12_L
|
603 |
|
|
, FRV_F_U12, FRV_F_INT_CC, FRV_F_FLT_CC, FRV_F_COND
|
604 |
|
|
, FRV_F_CCOND, FRV_F_HINT, FRV_F_LI, FRV_F_LOCK
|
605 |
|
|
, FRV_F_DEBUG, FRV_F_A, FRV_F_AE, FRV_F_SPR_H
|
606 |
|
|
, FRV_F_SPR_L, FRV_F_SPR, FRV_F_LABEL16, FRV_F_LABELH6
|
607 |
|
|
, FRV_F_LABELL18, FRV_F_LABEL24, FRV_F_ICCI_1_NULL, FRV_F_ICCI_2_NULL
|
608 |
|
|
, FRV_F_ICCI_3_NULL, FRV_F_FCCI_1_NULL, FRV_F_FCCI_2_NULL, FRV_F_FCCI_3_NULL
|
609 |
|
|
, FRV_F_RS_NULL, FRV_F_GRI_NULL, FRV_F_GRJ_NULL, FRV_F_GRK_NULL
|
610 |
|
|
, FRV_F_FRI_NULL, FRV_F_FRJ_NULL, FRV_F_ACCJ_NULL, FRV_F_RD_NULL
|
611 |
|
|
, FRV_F_COND_NULL, FRV_F_CCOND_NULL, FRV_F_S12_NULL, FRV_F_LABEL16_NULL
|
612 |
|
|
, FRV_F_MISC_NULL_1, FRV_F_MISC_NULL_2, FRV_F_MISC_NULL_3, FRV_F_MISC_NULL_4
|
613 |
|
|
, FRV_F_MISC_NULL_5, FRV_F_MISC_NULL_6, FRV_F_MISC_NULL_7, FRV_F_MISC_NULL_8
|
614 |
|
|
, FRV_F_MISC_NULL_9, FRV_F_MISC_NULL_10, FRV_F_MISC_NULL_11, FRV_F_LI_OFF
|
615 |
|
|
, FRV_F_LI_ON, FRV_F_MAX
|
616 |
|
|
} IFIELD_TYPE;
|
617 |
|
|
|
618 |
|
|
#define MAX_IFLD ((int) FRV_F_MAX)
|
619 |
|
|
|
620 |
|
|
/* Hardware attribute indices. */
|
621 |
|
|
|
622 |
|
|
/* Enum declaration for cgen_hw attrs. */
|
623 |
|
|
typedef enum cgen_hw_attr {
|
624 |
|
|
CGEN_HW_VIRTUAL, CGEN_HW_CACHE_ADDR, CGEN_HW_PC, CGEN_HW_PROFILE
|
625 |
|
|
, CGEN_HW_END_BOOLS, CGEN_HW_START_NBOOLS = 31, CGEN_HW_MACH, CGEN_HW_END_NBOOLS
|
626 |
|
|
} CGEN_HW_ATTR;
|
627 |
|
|
|
628 |
|
|
/* Number of non-boolean elements in cgen_hw_attr. */
|
629 |
|
|
#define CGEN_HW_NBOOL_ATTRS (CGEN_HW_END_NBOOLS - CGEN_HW_START_NBOOLS - 1)
|
630 |
|
|
|
631 |
|
|
/* Enum declaration for frv hardware types. */
|
632 |
|
|
typedef enum cgen_hw_type {
|
633 |
|
|
HW_H_MEMORY, HW_H_SINT, HW_H_UINT, HW_H_ADDR
|
634 |
|
|
, HW_H_IADDR, HW_H_PC, HW_H_PSR_IMPLE, HW_H_PSR_VER
|
635 |
|
|
, HW_H_PSR_ICE, HW_H_PSR_NEM, HW_H_PSR_CM, HW_H_PSR_BE
|
636 |
|
|
, HW_H_PSR_ESR, HW_H_PSR_EF, HW_H_PSR_EM, HW_H_PSR_PIL
|
637 |
|
|
, HW_H_PSR_PS, HW_H_PSR_ET, HW_H_PSR_S, HW_H_TBR_TBA
|
638 |
|
|
, HW_H_TBR_TT, HW_H_BPSR_BS, HW_H_BPSR_BET, HW_H_GR
|
639 |
|
|
, HW_H_GR_DOUBLE, HW_H_GR_HI, HW_H_GR_LO, HW_H_FR
|
640 |
|
|
, HW_H_FR_DOUBLE, HW_H_FR_INT, HW_H_FR_HI, HW_H_FR_LO
|
641 |
|
|
, HW_H_FR_0, HW_H_FR_1, HW_H_FR_2, HW_H_FR_3
|
642 |
|
|
, HW_H_CPR, HW_H_CPR_DOUBLE, HW_H_SPR, HW_H_ACCG
|
643 |
|
|
, HW_H_ACC40S, HW_H_ACC40U, HW_H_ICCR, HW_H_FCCR
|
644 |
|
|
, HW_H_CCCR, HW_H_PACK, HW_H_HINT_TAKEN, HW_H_HINT_NOT_TAKEN
|
645 |
|
|
, HW_MAX
|
646 |
|
|
} CGEN_HW_TYPE;
|
647 |
|
|
|
648 |
|
|
#define MAX_HW ((int) HW_MAX)
|
649 |
|
|
|
650 |
|
|
/* Operand attribute indices. */
|
651 |
|
|
|
652 |
|
|
/* Enum declaration for cgen_operand attrs. */
|
653 |
|
|
typedef enum cgen_operand_attr {
|
654 |
|
|
CGEN_OPERAND_VIRTUAL, CGEN_OPERAND_PCREL_ADDR, CGEN_OPERAND_ABS_ADDR, CGEN_OPERAND_SIGN_OPT
|
655 |
|
|
, CGEN_OPERAND_SIGNED, CGEN_OPERAND_NEGATIVE, CGEN_OPERAND_RELAX, CGEN_OPERAND_SEM_ONLY
|
656 |
|
|
, CGEN_OPERAND_HASH_PREFIX, CGEN_OPERAND_END_BOOLS, CGEN_OPERAND_START_NBOOLS = 31, CGEN_OPERAND_MACH
|
657 |
|
|
, CGEN_OPERAND_END_NBOOLS
|
658 |
|
|
} CGEN_OPERAND_ATTR;
|
659 |
|
|
|
660 |
|
|
/* Number of non-boolean elements in cgen_operand_attr. */
|
661 |
|
|
#define CGEN_OPERAND_NBOOL_ATTRS (CGEN_OPERAND_END_NBOOLS - CGEN_OPERAND_START_NBOOLS - 1)
|
662 |
|
|
|
663 |
|
|
/* Enum declaration for frv operand types. */
|
664 |
|
|
typedef enum cgen_operand_type {
|
665 |
|
|
FRV_OPERAND_PC, FRV_OPERAND_PACK, FRV_OPERAND_GRI, FRV_OPERAND_GRJ
|
666 |
|
|
, FRV_OPERAND_GRK, FRV_OPERAND_GRKHI, FRV_OPERAND_GRKLO, FRV_OPERAND_GRDOUBLEK
|
667 |
|
|
, FRV_OPERAND_ACC40SI, FRV_OPERAND_ACC40UI, FRV_OPERAND_ACC40SK, FRV_OPERAND_ACC40UK
|
668 |
|
|
, FRV_OPERAND_ACCGI, FRV_OPERAND_ACCGK, FRV_OPERAND_CPRI, FRV_OPERAND_CPRJ
|
669 |
|
|
, FRV_OPERAND_CPRK, FRV_OPERAND_CPRDOUBLEK, FRV_OPERAND_FRINTI, FRV_OPERAND_FRINTJ
|
670 |
|
|
, FRV_OPERAND_FRINTK, FRV_OPERAND_FRI, FRV_OPERAND_FRJ, FRV_OPERAND_FRK
|
671 |
|
|
, FRV_OPERAND_FRKHI, FRV_OPERAND_FRKLO, FRV_OPERAND_FRDOUBLEI, FRV_OPERAND_FRDOUBLEJ
|
672 |
|
|
, FRV_OPERAND_FRDOUBLEK, FRV_OPERAND_CRI, FRV_OPERAND_CRJ, FRV_OPERAND_CRJ_INT
|
673 |
|
|
, FRV_OPERAND_CRJ_FLOAT, FRV_OPERAND_CRK, FRV_OPERAND_CCI, FRV_OPERAND_ICCI_1
|
674 |
|
|
, FRV_OPERAND_ICCI_2, FRV_OPERAND_ICCI_3, FRV_OPERAND_FCCI_1, FRV_OPERAND_FCCI_2
|
675 |
|
|
, FRV_OPERAND_FCCI_3, FRV_OPERAND_FCCK, FRV_OPERAND_EIR, FRV_OPERAND_S10
|
676 |
|
|
, FRV_OPERAND_U16, FRV_OPERAND_S16, FRV_OPERAND_S6, FRV_OPERAND_S6_1
|
677 |
|
|
, FRV_OPERAND_U6, FRV_OPERAND_S5, FRV_OPERAND_COND, FRV_OPERAND_CCOND
|
678 |
|
|
, FRV_OPERAND_HINT, FRV_OPERAND_HINT_TAKEN, FRV_OPERAND_HINT_NOT_TAKEN, FRV_OPERAND_LI
|
679 |
|
|
, FRV_OPERAND_LOCK, FRV_OPERAND_DEBUG, FRV_OPERAND_A, FRV_OPERAND_AE
|
680 |
|
|
, FRV_OPERAND_LABEL16, FRV_OPERAND_LABEL24, FRV_OPERAND_D12, FRV_OPERAND_S12
|
681 |
|
|
, FRV_OPERAND_U12, FRV_OPERAND_SPR, FRV_OPERAND_ULO16, FRV_OPERAND_SLO16
|
682 |
|
|
, FRV_OPERAND_UHI16, FRV_OPERAND_PSR_ESR, FRV_OPERAND_PSR_S, FRV_OPERAND_PSR_PS
|
683 |
|
|
, FRV_OPERAND_PSR_ET, FRV_OPERAND_BPSR_BS, FRV_OPERAND_BPSR_BET, FRV_OPERAND_TBR_TBA
|
684 |
|
|
, FRV_OPERAND_TBR_TT, FRV_OPERAND_MAX
|
685 |
|
|
} CGEN_OPERAND_TYPE;
|
686 |
|
|
|
687 |
|
|
/* Number of operands types. */
|
688 |
|
|
#define MAX_OPERANDS 77
|
689 |
|
|
|
690 |
|
|
/* Maximum number of operands referenced by any insn. */
|
691 |
|
|
#define MAX_OPERAND_INSTANCES 8
|
692 |
|
|
|
693 |
|
|
/* Insn attribute indices. */
|
694 |
|
|
|
695 |
|
|
/* Enum declaration for cgen_insn attrs. */
|
696 |
|
|
typedef enum cgen_insn_attr {
|
697 |
|
|
CGEN_INSN_ALIAS, CGEN_INSN_VIRTUAL, CGEN_INSN_UNCOND_CTI, CGEN_INSN_COND_CTI
|
698 |
|
|
, CGEN_INSN_SKIP_CTI, CGEN_INSN_DELAY_SLOT, CGEN_INSN_RELAXABLE, CGEN_INSN_RELAX
|
699 |
|
|
, CGEN_INSN_NO_DIS, CGEN_INSN_PBB, CGEN_INSN_PRIVILEGED, CGEN_INSN_NON_EXCEPTING
|
700 |
|
|
, CGEN_INSN_CONDITIONAL, CGEN_INSN_FR_ACCESS, CGEN_INSN_PRESERVE_OVF, CGEN_INSN_END_BOOLS
|
701 |
|
|
, CGEN_INSN_START_NBOOLS = 31, CGEN_INSN_MACH, CGEN_INSN_UNIT, CGEN_INSN_FR400_MAJOR
|
702 |
|
|
, CGEN_INSN_FR500_MAJOR, CGEN_INSN_END_NBOOLS
|
703 |
|
|
} CGEN_INSN_ATTR;
|
704 |
|
|
|
705 |
|
|
/* Number of non-boolean elements in cgen_insn_attr. */
|
706 |
|
|
#define CGEN_INSN_NBOOL_ATTRS (CGEN_INSN_END_NBOOLS - CGEN_INSN_START_NBOOLS - 1)
|
707 |
|
|
|
708 |
|
|
/* cgen.h uses things we just defined. */
|
709 |
|
|
#include "opcode/cgen.h"
|
710 |
|
|
|
711 |
|
|
/* Attributes. */
|
712 |
|
|
extern const CGEN_ATTR_TABLE frv_cgen_hardware_attr_table[];
|
713 |
|
|
extern const CGEN_ATTR_TABLE frv_cgen_ifield_attr_table[];
|
714 |
|
|
extern const CGEN_ATTR_TABLE frv_cgen_operand_attr_table[];
|
715 |
|
|
extern const CGEN_ATTR_TABLE frv_cgen_insn_attr_table[];
|
716 |
|
|
|
717 |
|
|
/* Hardware decls. */
|
718 |
|
|
|
719 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_gr_names;
|
720 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_gr_names;
|
721 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_gr_names;
|
722 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_gr_names;
|
723 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_fr_names;
|
724 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_fr_names;
|
725 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_fr_names;
|
726 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_fr_names;
|
727 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_fr_names;
|
728 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_fr_names;
|
729 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_fr_names;
|
730 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_fr_names;
|
731 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_fr_names;
|
732 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_cpr_names;
|
733 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_cpr_names;
|
734 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_spr_names;
|
735 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_accg_names;
|
736 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_acc_names;
|
737 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_acc_names;
|
738 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_iccr_names;
|
739 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_fccr_names;
|
740 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_cccr_names;
|
741 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_h_pack;
|
742 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_h_hint_taken;
|
743 |
|
|
extern CGEN_KEYWORD frv_cgen_opval_h_hint_not_taken;
|
744 |
|
|
|
745 |
|
|
|
746 |
|
|
|
747 |
|
|
|
748 |
|
|
#endif /* FRV_CPU_H */
|