8353f70f250f4a5a1da01db358547878421e4fa4
[deliverable/binutils-gdb.git] / gas / testsuite / gas / riscv / priv-reg.s
1 .macro csr val
2 csrr a0,\val
3 .endm
4
5 # Supported the current priv spec 1.11.
6 csr ustatus
7 csr uie
8 csr utvec
9
10 csr uscratch
11 csr uepc
12 csr ucause
13 csr utval # Added in 1.10
14 csr uip
15
16 csr fflags
17 csr frm
18 csr fcsr
19
20 csr cycle
21 csr time
22 csr instret
23 csr hpmcounter3
24 csr hpmcounter4
25 csr hpmcounter5
26 csr hpmcounter6
27 csr hpmcounter7
28 csr hpmcounter8
29 csr hpmcounter9
30 csr hpmcounter10
31 csr hpmcounter11
32 csr hpmcounter12
33 csr hpmcounter13
34 csr hpmcounter14
35 csr hpmcounter15
36 csr hpmcounter16
37 csr hpmcounter17
38 csr hpmcounter18
39 csr hpmcounter19
40 csr hpmcounter20
41 csr hpmcounter21
42 csr hpmcounter22
43 csr hpmcounter23
44 csr hpmcounter24
45 csr hpmcounter25
46 csr hpmcounter26
47 csr hpmcounter27
48 csr hpmcounter28
49 csr hpmcounter29
50 csr hpmcounter30
51 csr hpmcounter31
52 csr cycleh
53 csr timeh
54 csr instreth
55 csr hpmcounter3h
56 csr hpmcounter4h
57 csr hpmcounter5h
58 csr hpmcounter6h
59 csr hpmcounter7h
60 csr hpmcounter8h
61 csr hpmcounter9h
62 csr hpmcounter10h
63 csr hpmcounter11h
64 csr hpmcounter12h
65 csr hpmcounter13h
66 csr hpmcounter14h
67 csr hpmcounter15h
68 csr hpmcounter16h
69 csr hpmcounter17h
70 csr hpmcounter18h
71 csr hpmcounter19h
72 csr hpmcounter20h
73 csr hpmcounter21h
74 csr hpmcounter22h
75 csr hpmcounter23h
76 csr hpmcounter24h
77 csr hpmcounter25h
78 csr hpmcounter26h
79 csr hpmcounter27h
80 csr hpmcounter28h
81 csr hpmcounter29h
82 csr hpmcounter30h
83 csr hpmcounter31h
84
85 csr sstatus
86 csr sedeleg
87 csr sideleg
88 csr sie
89 csr stvec
90 csr scounteren # Added in 1.10
91
92 csr sscratch
93 csr sepc
94 csr scause
95 csr stval # Added in 1.10
96 csr sip
97
98 csr satp # Added in 1.10
99
100 csr mvendorid
101 csr marchid
102 csr mimpid
103 csr mhartid
104
105 csr mstatus
106 csr misa # 0xf10 in 1.9, but changed to 0x301 since 1.9.1.
107 csr medeleg
108 csr mideleg
109 csr mie
110 csr mtvec
111 csr mcounteren # Added in 1.10
112
113 csr mscratch
114 csr mepc
115 csr mcause
116 csr mtval # Added in 1.10
117 csr mip
118
119 csr pmpcfg0 # Added in 1.10
120 csr pmpcfg1 # Added in 1.10
121 csr pmpcfg2 # Added in 1.10
122 csr pmpcfg3 # Added in 1.10
123 csr pmpaddr0 # Added in 1.10
124 csr pmpaddr1 # Added in 1.10
125 csr pmpaddr2 # Added in 1.10
126 csr pmpaddr3 # Added in 1.10
127 csr pmpaddr4 # Added in 1.10
128 csr pmpaddr5 # Added in 1.10
129 csr pmpaddr6 # Added in 1.10
130 csr pmpaddr7 # Added in 1.10
131 csr pmpaddr8 # Added in 1.10
132 csr pmpaddr9 # Added in 1.10
133 csr pmpaddr10 # Added in 1.10
134 csr pmpaddr11 # Added in 1.10
135 csr pmpaddr12 # Added in 1.10
136 csr pmpaddr13 # Added in 1.10
137 csr pmpaddr14 # Added in 1.10
138 csr pmpaddr15 # Added in 1.10
139
140 csr mcycle
141 csr minstret
142 csr mhpmcounter3
143 csr mhpmcounter4
144 csr mhpmcounter5
145 csr mhpmcounter6
146 csr mhpmcounter7
147 csr mhpmcounter8
148 csr mhpmcounter9
149 csr mhpmcounter10
150 csr mhpmcounter11
151 csr mhpmcounter12
152 csr mhpmcounter13
153 csr mhpmcounter14
154 csr mhpmcounter15
155 csr mhpmcounter16
156 csr mhpmcounter17
157 csr mhpmcounter18
158 csr mhpmcounter19
159 csr mhpmcounter20
160 csr mhpmcounter21
161 csr mhpmcounter22
162 csr mhpmcounter23
163 csr mhpmcounter24
164 csr mhpmcounter25
165 csr mhpmcounter26
166 csr mhpmcounter27
167 csr mhpmcounter28
168 csr mhpmcounter29
169 csr mhpmcounter30
170 csr mhpmcounter31
171 csr mcycleh
172 csr minstreth
173 csr mhpmcounter3h
174 csr mhpmcounter4h
175 csr mhpmcounter5h
176 csr mhpmcounter6h
177 csr mhpmcounter7h
178 csr mhpmcounter8h
179 csr mhpmcounter9h
180 csr mhpmcounter10h
181 csr mhpmcounter11h
182 csr mhpmcounter12h
183 csr mhpmcounter13h
184 csr mhpmcounter14h
185 csr mhpmcounter15h
186 csr mhpmcounter16h
187 csr mhpmcounter17h
188 csr mhpmcounter18h
189 csr mhpmcounter19h
190 csr mhpmcounter20h
191 csr mhpmcounter21h
192 csr mhpmcounter22h
193 csr mhpmcounter23h
194 csr mhpmcounter24h
195 csr mhpmcounter25h
196 csr mhpmcounter26h
197 csr mhpmcounter27h
198 csr mhpmcounter28h
199 csr mhpmcounter29h
200 csr mhpmcounter30h
201 csr mhpmcounter31h
202
203 csr mcountinhibit # Added in 1.11
204 csr mhpmevent3
205 csr mhpmevent4
206 csr mhpmevent5
207 csr mhpmevent6
208 csr mhpmevent7
209 csr mhpmevent8
210 csr mhpmevent9
211 csr mhpmevent10
212 csr mhpmevent11
213 csr mhpmevent12
214 csr mhpmevent13
215 csr mhpmevent14
216 csr mhpmevent15
217 csr mhpmevent16
218 csr mhpmevent17
219 csr mhpmevent18
220 csr mhpmevent19
221 csr mhpmevent20
222 csr mhpmevent21
223 csr mhpmevent22
224 csr mhpmevent23
225 csr mhpmevent24
226 csr mhpmevent25
227 csr mhpmevent26
228 csr mhpmevent27
229 csr mhpmevent28
230 csr mhpmevent29
231 csr mhpmevent30
232 csr mhpmevent31
233
234 csr tselect
235 csr tdata1
236 csr tdata2
237 csr tdata3
238
239 csr dcsr
240 csr dpc
241 csr dscratch0 # Added in 1.11
242 csr dscratch1 # Added in 1.11
243
244 # Supported in previous priv spec, but dropped now.
245 csr ubadaddr # 0x043 in 1.9.1, but the value is utval since 1.10
246 csr sbadaddr # 0x143 in 1.9.1, but the value is stval since 1.10
247 csr sptbr # 0x180 in 1.9.1, but the value is satp since 1.10
248 csr mbadaddr # 0x343 in 1.9.1, but the value is mtval since 1.10
249 csr mucounteren # 0x320 in 1.9.1, dropped in 1.10, but the value is mcountinhibit since 1.11
250 csr dscratch # 0x7b2 in 1.10, but the value is dscratch0 since 1.11
251
252 csr hstatus # 0x200, dropped in 1.10
253 csr hedeleg # 0x202, dropped in 1.10
254 csr hideleg # 0x203, dropped in 1.10
255 csr hie # 0x204, dropped in 1.10
256 csr htvec # 0x205, dropped in 1.10
257 csr hscratch # 0x240, dropped in 1.10
258 csr hepc # 0x241, dropped in 1.10
259 csr hcause # 0x242, dropped in 1.10
260 csr hbadaddr # 0x243, dropped in 1.10
261 csr hip # 0x244, dropped in 1.10
262 csr mbase # 0x380, dropped in 1.10
263 csr mbound # 0x381, dropped in 1.10
264 csr mibase # 0x382, dropped in 1.10
265 csr mibound # 0x383, dropped in 1.10
266 csr mdbase # 0x384, dropped in 1.10
267 csr mdbound # 0x385, dropped in 1.10
268 csr mscounteren # 0x321, dropped in 1.10
269 csr mhcounteren # 0x322, dropped in 1.10
This page took 0.035361 seconds and 3 git commands to generate.