1 ! RUN
: not llvm-mc
%s
-triple
=sparc
-show-encoding
2>&1 | FileCheck
%s
--check-prefix
=V8
2 ! RUN
: llvm-mc
%s
-triple
=sparcv9
-show-encoding | FileCheck
%s
--check-prefix
=V9
4 ! V8
: error
: invalid instruction mnemonic
5 ! V8-NEXT
: addc %g2
, %g1
, %g3
6 ! V9
: addx
%g2
, %g1
, %g3
! encoding
: [0x86,0x40,0x80,0x01]
9 ! V8
: error
: invalid instruction mnemonic
10 ! V8-NEXT
: addccc
%g1
, %g2
, %g3
11 ! V9
: addxcc
%g1
, %g2
, %g3
! encoding
: [0x86,0xc0,0x40,0x02]
14 ! V8
: error
: invalid instruction mnemonic
15 ! V8-NEXT
: subc %g2
, %g1
, %g3
16 ! V9
: subx
%g2
, %g1
, %g3
! encoding
: [0x86,0x60,0x80,0x01]
19 ! V8
: error
: invalid instruction mnemonic
20 ! V8-NEXT
: subccc
%g1
, %g2
, %g3
21 ! V9
: subxcc
%g1
, %g2
, %g3
! encoding
: [0x86,0xe0,0x40,0x02]
24 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
25 ! V8-NEXT
: popc
%g1
, %g2
26 ! V9
: popc
%g1
, %g2
! encoding
: [0x85,0x70,0x00,0x01]
30 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
31 ! V8-NEXT
: signx
%g1
, %g2
32 ! V9
: sra %g1
, %g0
, %g2
! encoding
: [0x85,0x38,0x40,0x00]
34 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
36 ! V9
: sra %g1
, %g0
, %g1
! encoding
: [0x83,0x38,0x40,0x00]
39 ! V8
: error
: invalid instruction mnemonic
40 ! V8-NEXT
: lduw
[%i0
+ %l6
], %o2
41 ! V9
: ld [%i0+
%l6
], %o2
! encoding
: [0xd4,0x06,0x00,0x16]
43 ! V8
: error
: invalid instruction mnemonic
44 ! V8-NEXT
: lduw
[%i0
+ 32], %o2
45 ! V9
: ld [%i0+
32], %o2
! encoding
: [0xd4,0x06,0x20,0x20]
47 ! V8
: error
: invalid instruction mnemonic
48 ! V8-NEXT
: lduw
[%g1
], %o2
49 ! V9
: ld [%g1
], %o2
! encoding
: [0xd4,0x00,0x40,0x00]
51 ! V8
: error
: invalid instruction mnemonic
52 ! V8-NEXT
: lduwa
[%i0
+ %l6
] 131, %o2
53 ! V9
: lda
[%i0+
%l6
] #ASI_SNF, %o2 ! encoding: [0xd4,0x86,0x10,0x76]
54 lduwa
[%i0
+ %l6
] 131, %o2
55 ! V8
: error
: invalid instruction mnemonic
56 ! V8-NEXT
: lduwa
[%i0
+ %l6
] (130+1), %o2
57 ! V9
: lda
[%i0+
%l6
] #ASI_SNF, %o2 ! encoding: [0xd4,0x86,0x10,0x76]
58 lduwa
[%i0
+ %l6
] (130+1), %o2
60 ! V9
: ldsw
[%i0+
%l6
], %o2
! encoding
: [0xd4,0x46,0x00,0x16]
62 ! V9
: ldsw
[%i0+
32], %o2
! encoding
: [0xd4,0x46,0x20,0x20]
64 ! V9
: ldsw
[%g1
], %o2
! encoding
: [0xd4,0x40,0x40,0x00]
66 ! V9
: ldswa
[%i0+
%l6
] #ASI_SNF, %o2 ! encoding: [0xd4,0xc6,0x10,0x76]
67 ldswa
[%i0
+ %l6
] 131, %o2
68 ! V9
: ldswa
[%i0+
%l6
] #ASI_SNF, %o2 ! encoding: [0xd4,0xc6,0x10,0x76]
69 ldswa
[%i0
+ %l6
] (130+1), %o2
71 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
72 ! V8-NEXT
: lda
[%l0
] 0xf0, %f29
73 ! V9
: lda
[%l0
] 240, %f29 ! encoding
: [0xfb,0x84,0x1e,0x00]
75 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
76 ! V8-NEXT
: lda
[%l0
] (0xef+0x01), %f29
77 ! V9
: lda
[%l0
] 240, %f29 ! encoding
: [0xfb,0x84,0x1e,0x00]
78 lda
[%l0
] (0xef+0x01), %f29
80 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
81 ! V8-NEXT
: ldda
[%l0
] 0xf0, %f48
82 ! V9
: ldda
[%l0
] 240, %f48
! encoding
: [0xe3,0x9c,0x1e,0x00]
84 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
85 ! V8-NEXT
: ldda
[%l0
] (0xef+0x01), %f48
86 ! V9
: ldda
[%l0
] 240, %f48
! encoding
: [0xe3,0x9c,0x1e,0x00]
87 ldda
[%l0
] (0xef+0x01), %f48
89 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
90 ! V8-NEXT
: ldqa
[%l0
] 0xf0, %f48
91 ! V9
: ldqa
[%l0
] 240, %f48
! encoding
: [0xe3,0x94,0x1e,0x00]
93 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
94 ! V8-NEXT
: ldqa
[%l0
] (0xef+0x01), %f48
95 ! V9
: ldqa
[%l0
] 240, %f48
! encoding
: [0xe3,0x94,0x1e,0x00]
96 ldqa
[%l0
] (0xef+0x01), %f48
97 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
98 ! V8-NEXT
: ldq
[%l0
], %f48
99 ! V9
: ldq
[%l0
], %f48
! encoding
: [0xe3,0x14,0x00,0x00]
103 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
104 ! V8-NEXT
: sta
%f29, [%l0
] 0xf0
105 ! V9
: sta
%f29, [%l0
] 240 ! encoding
: [0xfb,0xa4,0x1e,0x00]
107 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
108 ! V8-NEXT
: sta
%f29, [%l0
] (0xef+0x01)
109 ! V9
: sta
%f29, [%l0
] 240 ! encoding
: [0xfb,0xa4,0x1e,0x00]
110 sta
%f29, [%l0
] (0xef+0x01)
112 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
113 ! V8-NEXT
: stda
%f48
, [%l0
] 0xf0
114 ! V9
: stda
%f48
, [%l0
] 240 ! encoding
: [0xe3,0xbc,0x1e,0x00]
115 stda
%f48
, [%l0
] 0xf0
116 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
117 ! V8-NEXT
: stda
%f48
, [%l0
] (0xef+0x01)
118 ! V9
: stda
%f48
, [%l0
] 240 ! encoding
: [0xe3,0xbc,0x1e,0x00]
119 stda
%f48
, [%l0
] (0xef+0x01)
121 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
122 ! V8-NEXT
: stqa
%f48
, [%l0
] 0xf0
123 ! V9
: stqa
%f48
, [%l0
] 240 ! encoding
: [0xe3,0xb4,0x1e,0x00]
124 stqa
%f48
, [%l0
] 0xf0
125 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
126 ! V8-NEXT
: stqa
%f48
, [%l0
] (0xef+0x01)
127 ! V9
: stqa
%f48
, [%l0
] 240 ! encoding
: [0xe3,0xb4,0x1e,0x00]
128 stqa
%f48
, [%l0
] (0xef+0x01)
129 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
130 ! V8-NEXT
: stq %f48
, [%l0
]
131 ! V9
: stq %f48
, [%l0
] ! encoding
: [0xe3,0x34,0x00,0x00]
134 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
135 ! V8-NEXT
: ldx [%g2
+ 20],%fsr
136 ! V9
: ldx [%g2+
20], %fsr
! encoding
: [0xc3,0x08,0xa0,0x14]
139 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
140 ! V8-NEXT
: ldx [%g2
+ %i5
],%fsr
141 ! V9
: ldx [%g2+
%i5
], %fsr
! encoding
: [0xc3,0x08,0x80,0x1d]
144 ! V9
: ldxa
[%g2+
%i5
] #ASI_SNF, %g0 ! encoding: [0xc0,0xd8,0x90,0x7d]
145 ldxa
[%g2
+ %i5
] 131, %g0
146 ! V9
: ldxa
[%g2+
%i5
] #ASI_SNF, %g0 ! encoding: [0xc0,0xd8,0x90,0x7d]
147 ldxa
[%g2
+ %i5
] (130+1), %g0
149 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
150 ! V8-NEXT
: stx %fsr
,[%g2
+ 20]
151 ! V9
: stx %fsr
, [%g2+
20] ! encoding
: [0xc3,0x28,0xa0,0x14]
154 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
155 ! V8-NEXT
: stx %fsr
,[%g2
+ %i5
]
156 ! V9
: stx %fsr
, [%g2+
%i5
] ! encoding
: [0xc3,0x28,0x80,0x1d]
159 ! V9
: stxa
%g0
, [%g2+
%i5
] #ASI_SNF ! encoding: [0xc0,0xf0,0x90,0x7d]
160 stxa
%g0
, [%g2
+ %i5
] 131
161 ! V9
: stxa
%g0
, [%g2+
%i5
] #ASI_SNF ! encoding: [0xc0,0xf0,0x90,0x7d]
162 stxa
%g0
, [%g2
+ %i5
] (130+1)
164 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
165 ! V8-NEXT
: wrpr
%g6
,%i6
,%tpc
166 ! V9
: wrpr
%g6
, %fp
, %tpc
! encoding
: [0x81,0x91,0x80,0x1e]
168 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
169 ! V8-NEXT
: wrpr
%g6
,%i6
,%tnpc
170 ! V9
: wrpr
%g6
, %fp
, %tnpc
! encoding
: [0x83,0x91,0x80,0x1e]
172 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
173 ! V8-NEXT
: wrpr
%g6
,%i6
,%tstate
174 ! V9
: wrpr
%g6
, %fp
, %tstate
! encoding
: [0x85,0x91,0x80,0x1e]
176 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
177 ! V8-NEXT
: wrpr
%g6
,%i6
,%tt
178 ! V9
: wrpr
%g6
, %fp
, %tt
! encoding
: [0x87,0x91,0x80,0x1e]
180 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
181 ! V8-NEXT
: wrpr
%g6
,%i6
,%tick
182 ! V9
: wrpr
%g6
, %fp
, %tick
! encoding
: [0x89,0x91,0x80,0x1e]
184 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
185 ! V8-NEXT
: wrpr
%g6
,%i6
,%tba
186 ! V9
: wrpr
%g6
, %fp
, %tba
! encoding
: [0x8b,0x91,0x80,0x1e]
188 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
189 ! V8-NEXT
: wrpr
%g6
,%i6
,%pstate
190 ! V9
: wrpr
%g6
, %fp
, %pstate
! encoding
: [0x8d,0x91,0x80,0x1e]
192 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
193 ! V8-NEXT
: wrpr
%g6
,%i6
,%tl
194 ! V9
: wrpr
%g6
, %fp
, %tl
! encoding
: [0x8f,0x91,0x80,0x1e]
196 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
197 ! V8-NEXT
: wrpr
%g6
,%i6
,%pil
198 ! V9
: wrpr
%g6
, %fp
, %pil
! encoding
: [0x91,0x91,0x80,0x1e]
200 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
201 ! V8-NEXT
: wrpr
%g6
,%i6
,%cwp
202 ! V9
: wrpr
%g6
, %fp
, %cwp
! encoding
: [0x93,0x91,0x80,0x1e]
204 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
205 ! V8-NEXT
: wrpr
%g6
,%i6
,%cansave
206 ! V9
: wrpr
%g6
, %fp
, %cansave
! encoding
: [0x95,0x91,0x80,0x1e]
207 wrpr
%g6
,%i6
,%cansave
208 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
209 ! V8-NEXT
: wrpr
%g6
,%i6
,%canrestore
210 ! V9
: wrpr
%g6
, %fp
, %canrestore
! encoding
: [0x97,0x91,0x80,0x1e]
211 wrpr
%g6
,%i6
,%canrestore
212 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
213 ! V8-NEXT
: wrpr
%g6
,%i6
,%cleanwin
214 ! V9
: wrpr
%g6
, %fp
, %cleanwin
! encoding
: [0x99,0x91,0x80,0x1e]
215 wrpr
%g6
,%i6
,%cleanwin
216 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
217 ! V8-NEXT
: wrpr
%g6
,%i6
,%otherwin
218 ! V9
: wrpr
%g6
, %fp
, %otherwin
! encoding
: [0x9b,0x91,0x80,0x1e]
219 wrpr
%g6
,%i6
,%otherwin
220 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
221 ! V8-NEXT
: wrpr
%g6
,%i6
,%wstate
222 ! V9
: wrpr
%g6
, %fp
, %wstate
! encoding
: [0x9d,0x91,0x80,0x1e]
225 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
226 ! V8-NEXT
: wrpr
%g6
,255,%tpc
227 ! V9
: wrpr
%g6
, 255, %tpc
! encoding
: [0x81,0x91,0xa0,0xff]
229 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
230 ! V8-NEXT
: wrpr
%g6
,255,%tnpc
231 ! V9
: wrpr
%g6
, 255, %tnpc
! encoding
: [0x83,0x91,0xa0,0xff]
233 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
234 ! V8-NEXT
: wrpr
%g6
,255,%tstate
235 ! V9
: wrpr
%g6
, 255, %tstate
! encoding
: [0x85,0x91,0xa0,0xff]
237 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
238 ! V8-NEXT
: wrpr
%g6
,255,%tt
239 ! V9
: wrpr
%g6
, 255, %tt
! encoding
: [0x87,0x91,0xa0,0xff]
241 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
242 ! V8-NEXT
: wrpr
%g6
,255,%tick
243 ! V9
: wrpr
%g6
, 255, %tick
! encoding
: [0x89,0x91,0xa0,0xff]
245 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
246 ! V8-NEXT
: wrpr
%g6
,255,%tba
247 ! V9
: wrpr
%g6
, 255, %tba
! encoding
: [0x8b,0x91,0xa0,0xff]
249 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
250 ! V8-NEXT
: wrpr
%g6
,255,%pstate
251 ! V9
: wrpr
%g6
, 255, %pstate
! encoding
: [0x8d,0x91,0xa0,0xff]
253 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
254 ! V8-NEXT
: wrpr
%g6
,255,%tl
255 ! V9
: wrpr
%g6
, 255, %tl
! encoding
: [0x8f,0x91,0xa0,0xff]
257 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
258 ! V8-NEXT
: wrpr
%g6
,255,%pil
259 ! V9
: wrpr
%g6
, 255, %pil
! encoding
: [0x91,0x91,0xa0,0xff]
261 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
262 ! V8-NEXT
: wrpr
%g6
,255,%cwp
263 ! V9
: wrpr
%g6
, 255, %cwp
! encoding
: [0x93,0x91,0xa0,0xff]
265 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
266 ! V8-NEXT
: wrpr
%g6
,255,%cansave
267 ! V9
: wrpr
%g6
, 255, %cansave
! encoding
: [0x95,0x91,0xa0,0xff]
268 wrpr
%g6
,255,%cansave
269 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
270 ! V8-NEXT
: wrpr
%g6
,255,%canrestore
271 ! V9
: wrpr
%g6
, 255, %canrestore
! encoding
: [0x97,0x91,0xa0,0xff]
272 wrpr
%g6
,255,%canrestore
273 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
274 ! V8-NEXT
: wrpr
%g6
,255,%cleanwin
275 ! V9
: wrpr
%g6
, 255, %cleanwin
! encoding
: [0x99,0x91,0xa0,0xff]
276 wrpr
%g6
,255,%cleanwin
277 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
278 ! V8-NEXT
: wrpr
%g6
,255,%otherwin
279 ! V9
: wrpr
%g6
, 255, %otherwin
! encoding
: [0x9b,0x91,0xa0,0xff]
280 wrpr
%g6
,255,%otherwin
281 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
282 ! V8-NEXT
: wrpr
%g6
,255,%wstate
283 ! V9
: wrpr
%g6
, 255, %wstate
! encoding
: [0x9d,0x91,0xa0,0xff]
286 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
287 ! V8-NEXT
: wrpr
%i6
,%tpc
288 ! V9
: wrpr
%fp
, %g0
, %tpc
! encoding
: [0x81,0x97,0x80,0x00]
290 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
291 ! V8-NEXT
: wrpr
%i6
,%tnpc
292 ! V9
: wrpr
%fp
, %g0
, %tnpc
! encoding
: [0x83,0x97,0x80,0x00]
294 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
295 ! V8-NEXT
: wrpr
%i6
,%tstate
296 ! V9
: wrpr
%fp
, %g0
, %tstate
! encoding
: [0x85,0x97,0x80,0x00]
298 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
299 ! V8-NEXT
: wrpr
%i6
,%tt
300 ! V9
: wrpr
%fp
, %g0
, %tt
! encoding
: [0x87,0x97,0x80,0x00]
302 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
303 ! V8-NEXT
: wrpr
%i6
,%tick
304 ! V9
: wrpr
%fp
, %g0
, %tick
! encoding
: [0x89,0x97,0x80,0x00]
306 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
307 ! V8-NEXT
: wrpr
%i6
,%tba
308 ! V9
: wrpr
%fp
, %g0
, %tba
! encoding
: [0x8b,0x97,0x80,0x00]
310 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
311 ! V8-NEXT
: wrpr
%i6
,%pstate
312 ! V9
: wrpr
%fp
, %g0
, %pstate
! encoding
: [0x8d,0x97,0x80,0x00]
314 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
315 ! V8-NEXT
: wrpr
%i6
,%tl
316 ! V9
: wrpr
%fp
, %g0
, %tl
! encoding
: [0x8f,0x97,0x80,0x00]
318 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
319 ! V8-NEXT
: wrpr
%i6
,%pil
320 ! V9
: wrpr
%fp
, %g0
, %pil
! encoding
: [0x91,0x97,0x80,0x00]
322 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
323 ! V8-NEXT
: wrpr
%i6
,%cwp
324 ! V9
: wrpr
%fp
, %g0
, %cwp
! encoding
: [0x93,0x97,0x80,0x00]
326 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
327 ! V8-NEXT
: wrpr
%i6
,%cansave
328 ! V9
: wrpr
%fp
, %g0
, %cansave
! encoding
: [0x95,0x97,0x80,0x00]
330 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
331 ! V8-NEXT
: wrpr
%i6
,%canrestore
332 ! V9
: wrpr
%fp
, %g0
, %canrestore
! encoding
: [0x97,0x97,0x80,0x00]
334 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
335 ! V8-NEXT
: wrpr
%i6
,%cleanwin
336 ! V9
: wrpr
%fp
, %g0
, %cleanwin
! encoding
: [0x99,0x97,0x80,0x00]
338 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
339 ! V8-NEXT
: wrpr
%i6
,%otherwin
340 ! V9
: wrpr
%fp
, %g0
, %otherwin
! encoding
: [0x9b,0x97,0x80,0x00]
342 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
343 ! V8-NEXT
: wrpr
%i6
,%wstate
344 ! V9
: wrpr
%fp
, %g0
, %wstate
! encoding
: [0x9d,0x97,0x80,0x00]
347 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
348 ! V8-NEXT
: wrpr
255,%tpc
349 ! V9
: wrpr
%g0
, 255, %tpc
! encoding
: [0x81,0x90,0x20,0xff]
351 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
352 ! V8-NEXT
: wrpr
255,%tnpc
353 ! V9
: wrpr
%g0
, 255, %tnpc
! encoding
: [0x83,0x90,0x20,0xff]
355 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
356 ! V8-NEXT
: wrpr
255,%tstate
357 ! V9
: wrpr
%g0
, 255, %tstate
! encoding
: [0x85,0x90,0x20,0xff]
359 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
360 ! V8-NEXT
: wrpr
255,%tt
361 ! V9
: wrpr
%g0
, 255, %tt
! encoding
: [0x87,0x90,0x20,0xff]
363 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
364 ! V8-NEXT
: wrpr
255,%tick
365 ! V9
: wrpr
%g0
, 255, %tick
! encoding
: [0x89,0x90,0x20,0xff]
367 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
368 ! V8-NEXT
: wrpr
255,%tba
369 ! V9
: wrpr
%g0
, 255, %tba
! encoding
: [0x8b,0x90,0x20,0xff]
371 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
372 ! V8-NEXT
: wrpr
255,%pstate
373 ! V9
: wrpr
%g0
, 255, %pstate
! encoding
: [0x8d,0x90,0x20,0xff]
375 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
376 ! V8-NEXT
: wrpr
255,%tl
377 ! V9
: wrpr
%g0
, 255, %tl
! encoding
: [0x8f,0x90,0x20,0xff]
379 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
380 ! V8-NEXT
: wrpr
255,%pil
381 ! V9
: wrpr
%g0
, 255, %pil
! encoding
: [0x91,0x90,0x20,0xff]
383 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
384 ! V8-NEXT
: wrpr
255,%cwp
385 ! V9
: wrpr
%g0
, 255, %cwp
! encoding
: [0x93,0x90,0x20,0xff]
387 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
388 ! V8-NEXT
: wrpr
255,%cansave
389 ! V9
: wrpr
%g0
, 255, %cansave
! encoding
: [0x95,0x90,0x20,0xff]
391 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
392 ! V8-NEXT
: wrpr
255,%canrestore
393 ! V9
: wrpr
%g0
, 255, %canrestore
! encoding
: [0x97,0x90,0x20,0xff]
395 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
396 ! V8-NEXT
: wrpr
255,%cleanwin
397 ! V9
: wrpr
%g0
, 255, %cleanwin
! encoding
: [0x99,0x90,0x20,0xff]
399 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
400 ! V8-NEXT
: wrpr
255,%otherwin
401 ! V9
: wrpr
%g0
, 255, %otherwin
! encoding
: [0x9b,0x90,0x20,0xff]
403 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
404 ! V8-NEXT
: wrpr
255,%wstate
405 ! V9
: wrpr
%g0
, 255, %wstate
! encoding
: [0x9d,0x90,0x20,0xff]
408 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
409 ! V8-NEXT
: rdpr
%tpc
,%i5
410 ! V9
: rdpr
%tpc
, %i5
! encoding
: [0xbb,0x50,0x00,0x00]
412 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
413 ! V8-NEXT
: rdpr
%tnpc
,%i5
414 ! V9
: rdpr
%tnpc
, %i5
! encoding
: [0xbb,0x50,0x40,0x00]
416 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
417 ! V8-NEXT
: rdpr
%tstate
,%i5
418 ! V9
: rdpr
%tstate
, %i5
! encoding
: [0xbb,0x50,0x80,0x00]
420 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
421 ! V8-NEXT
: rdpr
%tt
,%i5
422 ! V9
: rdpr
%tt
, %i5
! encoding
: [0xbb,0x50,0xc0,0x00]
424 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
425 ! V8-NEXT
: rdpr
%tick
,%i5
426 ! V9
: rdpr
%tick
, %i5
! encoding
: [0xbb,0x51,0x00,0x00]
428 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
429 ! V8-NEXT
: rdpr
%tba
,%i5
430 ! V9
: rdpr
%tba
, %i5
! encoding
: [0xbb,0x51,0x40,0x00]
432 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
433 ! V8-NEXT
: rdpr
%pstate
,%i5
434 ! V9
: rdpr
%pstate
, %i5
! encoding
: [0xbb,0x51,0x80,0x00]
436 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
437 ! V8-NEXT
: rdpr
%tl
,%i5
438 ! V9
: rdpr
%tl
, %i5
! encoding
: [0xbb,0x51,0xc0,0x00]
440 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
441 ! V8-NEXT
: rdpr
%pil
,%i5
442 ! V9
: rdpr
%pil
, %i5
! encoding
: [0xbb,0x52,0x00,0x00]
444 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
445 ! V8-NEXT
: rdpr
%cwp
,%i5
446 ! V9
: rdpr
%cwp
, %i5
! encoding
: [0xbb,0x52,0x40,0x00]
448 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
449 ! V8-NEXT
: rdpr
%cansave
,%i5
450 ! V9
: rdpr
%cansave
, %i5
! encoding
: [0xbb,0x52,0x80,0x00]
452 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
453 ! V8-NEXT
: rdpr
%canrestore
,%i5
454 ! V9
: rdpr
%canrestore
, %i5
! encoding
: [0xbb,0x52,0xc0,0x00]
456 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
457 ! V8-NEXT
: rdpr
%cleanwin
,%i5
458 ! V9
: rdpr
%cleanwin
, %i5
! encoding
: [0xbb,0x53,0x00,0x00]
460 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
461 ! V8-NEXT
: rdpr
%otherwin
,%i5
462 ! V9
: rdpr
%otherwin
, %i5
! encoding
: [0xbb,0x53,0x40,0x00]
464 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
465 ! V8-NEXT
: rdpr
%wstate
,%i5
466 ! V9
: rdpr
%wstate
, %i5
! encoding
: [0xbb,0x53,0x80,0x00]
469 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
470 ! V8-NEXT
: rdpr
%fq
,%i5
471 ! V9
: rdpr
%fq
, %i5
! encoding
: [0xbb,0x53,0xc0,0x00]
473 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
474 ! V8-NEXT
: rdpr
%ver
,%i5
475 ! V9
: rdpr
%ver
, %i5
! encoding
: [0xbb,0x57,0xc0,0x00]
478 ! V9
: rd
%pc
, %o7
! encoding
: [0x9f,0x41,0x40,0x00]
480 ! V9
: rd
%asi
, %g1
! encoding
: [0x83,0x40,0xc0,0x00]
482 ! V9
: rd
%ccr
, %g1
! encoding
: [0x83,0x40,0x80,0x00]
484 ! V9
: rd
%tick
, %i5
! encoding
: [0xbb,0x41,0x00,0x00]
487 ! V9
: wr
%i0
, %i1
, %asi
! encoding
: [0x87,0x86,0x00,0x19]
489 ! V9
: wr
%i0
, 1, %asi
! encoding
: [0x87,0x86,0x20,0x01]
491 ! V9
: wr
%i0
, %i1
, %ccr
! encoding
: [0x85,0x86,0x00,0x19]
493 ! V9
: wr
%i0
, 1, %ccr
! encoding
: [0x85,0x86,0x20,0x01]
496 ! V9
: st %o1
, [%o0
] ! encoding
: [0xd2,0x22,0x00,0x00]
498 ! V9
: st %o1
, [%o0
] ! encoding
: [0xd2,0x22,0x00,0x00]
500 ! V9
: st %o1
, [%o0
] ! encoding
: [0xd2,0x22,0x00,0x00]
503 ! V9
: sta
%o2
, [%i0+
%l6
] #ASI_SNF ! encoding: [0xd4,0xa6,0x10,0x76]
504 stwa
%o2
, [%i0
+ %l6
] 131
505 ! V9
: sta
%o2
, [%i0+
%l6
] #ASI_SNF ! encoding: [0xd4,0xa6,0x10,0x76]
506 stuwa
%o2
, [%i0
+ %l6
] 131
507 ! V9
: sta
%o2
, [%i0+
%l6
] #ASI_SNF ! encoding: [0xd4,0xa6,0x10,0x76]
508 stswa
%o2
, [%i0
+ %l6
] 131
510 !! SPARCv9 provides
a new variant of ASI-tagged memory accesses.
511 ! V9
: ldxa
[%g2
] %asi
, %g0
! encoding
: [0xc0,0xd8,0xa0,0x00]
513 ! V9
: stxa
%g0
, [%g2
] %asi
! encoding
: [0xc0,0xf0,0xa0,0x00]
515 ! V9
: ldxa
[%g2+
5] %asi
, %g0
! encoding
: [0xc0,0xd8,0xa0,0x05]
516 ldxa
[%g2
+ 5] %asi
, %g0
517 ! V9
: stxa
%g0
, [%g2+
5] %asi
! encoding
: [0xc0,0xf0,0xa0,0x05]
518 stxa
%g0
, [%g2
+ 5] %asi
520 !! Also make sure named ASI tags are parsed properly.
521 ! V9
: ldxa
[%g2+
%i5
] #ASI_SNF, %g0 ! encoding: [0xc0,0xd8,0x90,0x7d]
522 ldxa
[%g2
+ %i5
] #ASI_SNF, %g0
523 ! V9
: stxa
%g0
, [%g2+
%i5
] #ASI_SNF ! encoding: [0xc0,0xf0,0x90,0x7d]
524 stxa
%g0
, [%g2
+ %i5
] #ASI_SNF
526 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
527 ! V8-NEXT
: prefetch
[ %i1
+ 0xf80 ], 1
528 ! V9
: prefetch
[%i1+
3968], 1 ! encoding
: [0xc3,0x6e,0x6f,0x80]
529 prefetch
[ %i1
+ 0xf80 ], 1
531 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
532 ! V8-NEXT
: prefetch
[ %i1
+ %i2
], 1
533 ! V9
: prefetch
[%i1+
%i2
], 1 ! encoding
: [0xc3,0x6e,0x40,0x1a]
534 prefetch
[ %i1
+ %i2
], 1
536 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
538 ! V9
: done
! encoding
: [0x81,0xf0,0x00,0x00]
540 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
542 ! V9
: retry
! encoding
: [0x83,0xf0,0x00,0x00]
544 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
546 ! V9
: saved
! encoding
: [0x81,0x88,0x00,0x00]
548 ! V8
: error
: instruction requires
a CPU feature
not currently enabled
550 ! V9
: restored
! encoding
: [0x83,0x88,0x00,0x00]