Lines Matching refs:SysReg
20 class SysReg<string name, bits<12> op> {
39 let FilterClass = "SysReg";
64 def : SysReg<"ustatus", 0x000>;
65 def : SysReg<"uie", 0x004>;
66 def : SysReg<"utvec", 0x005>;
71 def : SysReg<"uscratch", 0x040>;
72 def : SysReg<"uepc", 0x041>;
73 def : SysReg<"ucause", 0x042>;
74 def : SysReg<"utval", 0x043>;
75 def : SysReg<"uip", 0x044>;
81 def FFLAGS : SysReg<"fflags", 0x001>;
82 def FRM : SysReg<"frm", 0x002>;
83 def FCSR : SysReg<"fcsr", 0x003>;
88 def CYCLE : SysReg<"cycle", 0xC00>;
89 def TIME : SysReg<"time", 0xC01>;
90 def INSTRET : SysReg<"instret", 0xC02>;
92 def : SysReg<"hpmcounter3", 0xC03>;
93 def : SysReg<"hpmcounter4", 0xC04>;
94 def : SysReg<"hpmcounter5", 0xC05>;
95 def : SysReg<"hpmcounter6", 0xC06>;
96 def : SysReg<"hpmcounter7", 0xC07>;
97 def : SysReg<"hpmcounter8", 0xC08>;
98 def : SysReg<"hpmcounter9", 0xC09>;
99 def : SysReg<"hpmcounter10", 0xC0A>;
100 def : SysReg<"hpmcounter11", 0xC0B>;
101 def : SysReg<"hpmcounter12", 0xC0C>;
102 def : SysReg<"hpmcounter13", 0xC0D>;
103 def : SysReg<"hpmcounter14", 0xC0E>;
104 def : SysReg<"hpmcounter15", 0xC0F>;
105 def : SysReg<"hpmcounter16", 0xC10>;
106 def : SysReg<"hpmcounter17", 0xC11>;
107 def : SysReg<"hpmcounter18", 0xC12>;
108 def : SysReg<"hpmcounter19", 0xC13>;
109 def : SysReg<"hpmcounter20", 0xC14>;
110 def : SysReg<"hpmcounter21", 0xC15>;
111 def : SysReg<"hpmcounter22", 0xC16>;
112 def : SysReg<"hpmcounter23", 0xC17>;
113 def : SysReg<"hpmcounter24", 0xC18>;
114 def : SysReg<"hpmcounter25", 0xC19>;
115 def : SysReg<"hpmcounter26", 0xC1A>;
116 def : SysReg<"hpmcounter27", 0xC1B>;
117 def : SysReg<"hpmcounter28", 0xC1C>;
118 def : SysReg<"hpmcounter29", 0xC1D>;
119 def : SysReg<"hpmcounter30", 0xC1E>;
120 def : SysReg<"hpmcounter31", 0xC1F>;
123 def CYCLEH : SysReg<"cycleh", 0xC80>;
124 def TIMEH : SysReg<"timeh", 0xC81>;
125 def INSTRETH : SysReg<"instreth", 0xC82>;
127 def: SysReg<"hpmcounter3h", 0xC83>;
128 def: SysReg<"hpmcounter4h", 0xC84>;
129 def: SysReg<"hpmcounter5h", 0xC85>;
130 def: SysReg<"hpmcounter6h", 0xC86>;
131 def: SysReg<"hpmcounter7h", 0xC87>;
132 def: SysReg<"hpmcounter8h", 0xC88>;
133 def: SysReg<"hpmcounter9h", 0xC89>;
134 def: SysReg<"hpmcounter10h", 0xC8A>;
135 def: SysReg<"hpmcounter11h", 0xC8B>;
136 def: SysReg<"hpmcounter12h", 0xC8C>;
137 def: SysReg<"hpmcounter13h", 0xC8D>;
138 def: SysReg<"hpmcounter14h", 0xC8E>;
139 def: SysReg<"hpmcounter15h", 0xC8F>;
140 def: SysReg<"hpmcounter16h", 0xC90>;
141 def: SysReg<"hpmcounter17h", 0xC91>;
142 def: SysReg<"hpmcounter18h", 0xC92>;
143 def: SysReg<"hpmcounter19h", 0xC93>;
144 def: SysReg<"hpmcounter20h", 0xC94>;
145 def: SysReg<"hpmcounter21h", 0xC95>;
146 def: SysReg<"hpmcounter22h", 0xC96>;
147 def: SysReg<"hpmcounter23h", 0xC97>;
148 def: SysReg<"hpmcounter24h", 0xC98>;
149 def: SysReg<"hpmcounter25h", 0xC99>;
150 def: SysReg<"hpmcounter26h", 0xC9A>;
151 def: SysReg<"hpmcounter27h", 0xC9B>;
152 def: SysReg<"hpmcounter28h", 0xC9C>;
153 def: SysReg<"hpmcounter29h", 0xC9D>;
154 def: SysReg<"hpmcounter30h", 0xC9E>;
155 def: SysReg<"hpmcounter31h", 0xC9F>;
161 def : SysReg<"sstatus", 0x100>;
162 def : SysReg<"sedeleg", 0x102>;
163 def : SysReg<"sideleg", 0x103>;
164 def : SysReg<"sie", 0x104>;
165 def : SysReg<"stvec", 0x105>;
166 def : SysReg<"scounteren", 0x106>;
171 def : SysReg<"sscratch", 0x140>;
172 def : SysReg<"sepc", 0x141>;
173 def : SysReg<"scause", 0x142>;
174 def : SysReg<"stval", 0x143>;
175 def : SysReg<"sip", 0x144>;
180 def : SysReg<"satp", 0x180>;
186 def : SysReg<"mvendorid", 0xF11>;
187 def : SysReg<"marchid", 0xF12>;
188 def : SysReg<"mimpid", 0xF13>;
189 def : SysReg<"mhartid", 0xF14>;
194 def : SysReg<"mstatus", 0x300>;
195 def : SysReg<"misa", 0x301>;
196 def : SysReg<"medeleg", 0x302>;
197 def : SysReg<"mideleg", 0x303>;
198 def : SysReg<"mie", 0x304>;
199 def : SysReg<"mtvec", 0x305>;
200 def : SysReg<"mcounteren", 0x306>;
205 def : SysReg<"mscratch", 0x340>;
206 def : SysReg<"mepc", 0x341>;
207 def : SysReg<"mcause", 0x342>;
208 def : SysReg<"mtval", 0x343>;
209 def : SysReg<"mip", 0x344>;
214 def : SysReg<"pmpcfg0", 0x3A0>;
215 def : SysReg<"pmpcfg2", 0x3A2>;
217 def : SysReg<"pmpcfg1", 0x3A1>;
218 def : SysReg<"pmpcfg3", 0x3A3>;
221 def : SysReg<"pmpaddr0", 0x3B0>;
222 def : SysReg<"pmpaddr1", 0x3B1>;
223 def : SysReg<"pmpaddr2", 0x3B2>;
224 def : SysReg<"pmpaddr3", 0x3B3>;
225 def : SysReg<"pmpaddr4", 0x3B4>;
226 def : SysReg<"pmpaddr5", 0x3B5>;
227 def : SysReg<"pmpaddr6", 0x3B6>;
228 def : SysReg<"pmpaddr7", 0x3B7>;
229 def : SysReg<"pmpaddr8", 0x3B8>;
230 def : SysReg<"pmpaddr9", 0x3B9>;
231 def : SysReg<"pmpaddr10", 0x3BA>;
232 def : SysReg<"pmpaddr11", 0x3BB>;
233 def : SysReg<"pmpaddr12", 0x3BC>;
234 def : SysReg<"pmpaddr13", 0x3BD>;
235 def : SysReg<"pmpaddr14", 0x3BE>;
236 def : SysReg<"pmpaddr15", 0x3BF>;
242 def : SysReg<"mcycle", 0xB00>;
243 def : SysReg<"minstret", 0xB02>;
245 def : SysReg<"mhpmcounter3", 0xB03>;
246 def : SysReg<"mhpmcounter4", 0xB04>;
247 def : SysReg<"mhpmcounter5", 0xB05>;
248 def : SysReg<"mhpmcounter6", 0xB06>;
249 def : SysReg<"mhpmcounter7", 0xB07>;
250 def : SysReg<"mhpmcounter8", 0xB08>;
251 def : SysReg<"mhpmcounter9", 0xB09>;
252 def : SysReg<"mhpmcounter10", 0xB0A>;
253 def : SysReg<"mhpmcounter11", 0xB0B>;
254 def : SysReg<"mhpmcounter12", 0xB0C>;
255 def : SysReg<"mhpmcounter13", 0xB0D>;
256 def : SysReg<"mhpmcounter14", 0xB0E>;
257 def : SysReg<"mhpmcounter15", 0xB0F>;
258 def : SysReg<"mhpmcounter16", 0xB10>;
259 def : SysReg<"mhpmcounter17", 0xB11>;
260 def : SysReg<"mhpmcounter18", 0xB12>;
261 def : SysReg<"mhpmcounter19", 0xB13>;
262 def : SysReg<"mhpmcounter20", 0xB14>;
263 def : SysReg<"mhpmcounter21", 0xB15>;
264 def : SysReg<"mhpmcounter22", 0xB16>;
265 def : SysReg<"mhpmcounter23", 0xB17>;
266 def : SysReg<"mhpmcounter24", 0xB18>;
267 def : SysReg<"mhpmcounter25", 0xB19>;
268 def : SysReg<"mhpmcounter26", 0xB1A>;
269 def : SysReg<"mhpmcounter27", 0xB1B>;
270 def : SysReg<"mhpmcounter28", 0xB1C>;
271 def : SysReg<"mhpmcounter29", 0xB1D>;
272 def : SysReg<"mhpmcounter30", 0xB1E>;
273 def : SysReg<"mhpmcounter31", 0xB1F>;
276 def: SysReg<"mcycleh", 0xB80>;
277 def: SysReg<"minstreth", 0xB82>;
279 def: SysReg<"mhpmcounter3h", 0xB83>;
280 def: SysReg<"mhpmcounter4h", 0xB84>;
281 def: SysReg<"mhpmcounter5h", 0xB85>;
282 def: SysReg<"mhpmcounter6h", 0xB86>;
283 def: SysReg<"mhpmcounter7h", 0xB87>;
284 def: SysReg<"mhpmcounter8h", 0xB88>;
285 def: SysReg<"mhpmcounter9h", 0xB89>;
286 def: SysReg<"mhpmcounter10h", 0xB8A>;
287 def: SysReg<"mhpmcounter11h", 0xB8B>;
288 def: SysReg<"mhpmcounter12h", 0xB8C>;
289 def: SysReg<"mhpmcounter13h", 0xB8D>;
290 def: SysReg<"mhpmcounter14h", 0xB8E>;
291 def: SysReg<"mhpmcounter15h", 0xB8F>;
292 def: SysReg<"mhpmcounter16h", 0xB90>;
293 def: SysReg<"mhpmcounter17h", 0xB91>;
294 def: SysReg<"mhpmcounter18h", 0xB92>;
295 def: SysReg<"mhpmcounter19h", 0xB93>;
296 def: SysReg<"mhpmcounter20h", 0xB94>;
297 def: SysReg<"mhpmcounter21h", 0xB95>;
298 def: SysReg<"mhpmcounter22h", 0xB96>;
299 def: SysReg<"mhpmcounter23h", 0xB97>;
300 def: SysReg<"mhpmcounter24h", 0xB98>;
301 def: SysReg<"mhpmcounter25h", 0xB99>;
302 def: SysReg<"mhpmcounter26h", 0xB9A>;
303 def: SysReg<"mhpmcounter27h", 0xB9B>;
304 def: SysReg<"mhpmcounter28h", 0xB9C>;
305 def: SysReg<"mhpmcounter29h", 0xB9D>;
306 def: SysReg<"mhpmcounter30h", 0xB9E>;
307 def: SysReg<"mhpmcounter31h", 0xB9F>;
314 def : SysReg<"mcountinhibit", 0x320>;
316 def : SysReg<"mhpmevent3", 0x323>;
317 def : SysReg<"mhpmevent4", 0x324>;
318 def : SysReg<"mhpmevent5", 0x325>;
319 def : SysReg<"mhpmevent6", 0x326>;
320 def : SysReg<"mhpmevent7", 0x327>;
321 def : SysReg<"mhpmevent8", 0x328>;
322 def : SysReg<"mhpmevent9", 0x329>;
323 def : SysReg<"mhpmevent10", 0x32A>;
324 def : SysReg<"mhpmevent11", 0x32B>;
325 def : SysReg<"mhpmevent12", 0x32C>;
326 def : SysReg<"mhpmevent13", 0x32D>;
327 def : SysReg<"mhpmevent14", 0x32E>;
328 def : SysReg<"mhpmevent15", 0x32F>;
329 def : SysReg<"mhpmevent16", 0x330>;
330 def : SysReg<"mhpmevent17", 0x331>;
331 def : SysReg<"mhpmevent18", 0x332>;
332 def : SysReg<"mhpmevent19", 0x333>;
333 def : SysReg<"mhpmevent20", 0x334>;
334 def : SysReg<"mhpmevent21", 0x335>;
335 def : SysReg<"mhpmevent22", 0x336>;
336 def : SysReg<"mhpmevent23", 0x337>;
337 def : SysReg<"mhpmevent24", 0x338>;
338 def : SysReg<"mhpmevent25", 0x339>;
339 def : SysReg<"mhpmevent26", 0x33A>;
340 def : SysReg<"mhpmevent27", 0x33B>;
341 def : SysReg<"mhpmevent28", 0x33C>;
342 def : SysReg<"mhpmevent29", 0x33D>;
343 def : SysReg<"mhpmevent30", 0x33E>;
344 def : SysReg<"mhpmevent31", 0x33F>;
349 def : SysReg<"tselect", 0x7A0>;
350 def : SysReg<"tdata1", 0x7A1>;
351 def : SysReg<"tdata2", 0x7A2>;
352 def : SysReg<"tdata3", 0x7A3>;
357 def : SysReg<"dcsr", 0x7B0>;
358 def : SysReg<"dpc", 0x7B1>;
363 def : SysReg<"dscratch0", 0x7B2>;
364 def : SysReg<"dscratch1", 0x7B3>;
369 def : SysReg<"vstart", 0x008>;
370 def : SysReg<"vxsat", 0x009>;
371 def : SysReg<"vxrm", 0x00A>;
372 def : SysReg<"vl", 0xC20>;
373 def : SysReg<"vtype", 0xC21>;
374 def : SysReg<"vlenb", 0xC22>;