Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | /* |
2 | * ========== Copyright Header Begin ========================================== | |
3 | * | |
4 | * OpenSPARC T2 Processor File: tlu_rand05_ind_42.s | |
5 | * Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved | |
6 | * 4150 Network Circle, Santa Clara, California 95054, U.S.A. | |
7 | * | |
8 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
9 | * | |
10 | * This program is free software; you can redistribute it and/or modify | |
11 | * it under the terms of the GNU General Public License as published by | |
12 | * the Free Software Foundation; version 2 of the License. | |
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 | |
20 | * along with this program; if not, write to the Free Software | |
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
22 | * | |
23 | * For the avoidance of doubt, and except that if any non-GPL license | |
24 | * choice is available it will apply instead, Sun elects to use only | |
25 | * the General Public License version 2 (GPLv2) at this time for any | |
26 | * software where a choice of GPL license versions is made | |
27 | * available with the language indicating that GPLv2 or any later version | |
28 | * may be used, or where a choice of which version of the GPL is applied is | |
29 | * otherwise unspecified. | |
30 | * | |
31 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
32 | * CA 95054 USA or visit www.sun.com if you need additional information or | |
33 | * have any questions. | |
34 | * | |
35 | * | |
36 | * ========== Copyright Header End ============================================ | |
37 | */ | |
38 | #define TRAP_SECT_HV_ALSO | |
39 | #define IMMU_SKIP_IF_NO_TTE | |
40 | #define DMMU_SKIP_IF_NO_TTE | |
41 | #define PORTABLE_CORE | |
42 | #define MAIN_PAGE_NUCLEUS_ALSO | |
43 | #define MAIN_PAGE_HV_ALSO | |
44 | #define MAIN_PAGE_VA_IS_RA_ALSO | |
45 | #define DISABLE_PART_LIMIT_CHECK | |
46 | # 5 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_handlers.s" | |
47 | !!!!!!!!!!!!!!!!!!!!!!!!! | |
48 | !! Disable trap checking | |
49 | #define NO_TRAPCHECK | |
50 | ||
51 | ! Enable Traps | |
52 | #define ENABLE_T1_Privileged_Opcode_0x11 | |
53 | #define ENABLE_T1_Fp_Disabled_0x20 | |
54 | #define ENABLE_HT0_Watchdog_Reset_0x02 | |
55 | ||
56 | #define FILL_TRAP_RETRY | |
57 | #define SPILL_TRAP_RETRY | |
58 | #define CLEAN_WIN_RETRY | |
59 | ||
60 | #define My_RED_Mode_Other_Reset | |
61 | #define My_RED_Mode_Other_Reset \ | |
62 | ba red_other_ext;\ | |
63 | nop;retry;nop;nop;nop;nop;nop | |
64 | ||
65 | #define H_HT0_Software_Initiated_Reset_0x04 | |
66 | #define SUN_H_HT0_Software_Initiated_Reset_0x04 \ | |
67 | setx Software_Reset_Handler, %g1, %g2 ;\ | |
68 | jmp %g2 ;\ | |
69 | nop | |
70 | # 30 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_handlers.s" | |
71 | #define H_T1_Clean_Window_0x24 | |
72 | #define SUN_H_T1_Clean_Window_0x24 \ | |
73 | rdpr %cleanwin, %l1;\ | |
74 | add %l1,1,%l1;\ | |
75 | wrpr %l1, %g0, %cleanwin;\ | |
76 | retry; nop; nop; nop; nop | |
77 | ||
78 | #define H_T1_Clean_Window_0x25 | |
79 | #define SUN_H_T1_Clean_Window_0x25 \ | |
80 | rdpr %cleanwin, %l1;\ | |
81 | add %l1,1,%l1;\ | |
82 | wrpr %l1, %g0, %cleanwin;\ | |
83 | retry; nop; nop; nop; nop | |
84 | ||
85 | #define H_T1_Clean_Window_0x26 | |
86 | #define SUN_H_T1_Clean_Window_0x26 \ | |
87 | rdpr %cleanwin, %l1;\ | |
88 | add %l1,1,%l1;\ | |
89 | wrpr %l1, %g0, %cleanwin;\ | |
90 | retry; nop; nop; nop; nop | |
91 | ||
92 | #define H_T1_Clean_Window_0x27 | |
93 | #define SUN_H_T1_Clean_Window_0x27 \ | |
94 | rdpr %cleanwin, %l1;\ | |
95 | add %l1,1,%l1;\ | |
96 | wrpr %l1, %g0, %cleanwin;\ | |
97 | retry; nop; nop; nop; nop | |
98 | # 59 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_handlers.s" | |
99 | #define H_HT0_Tag_Overflow | |
100 | #define My_HT0_Tag_Overflow \ | |
101 | done;nop; | |
102 | ||
103 | #define H_T0_Tag_Overflow | |
104 | #define My_T0_Tag_Overflow \ | |
105 | done;nop; | |
106 | ||
107 | #define H_T1_Tag_Overflow_0x23 | |
108 | #define SUN_H_T1_Tag_Overflow_0x23 \ | |
109 | done;nop; | |
110 | ||
111 | #define H_T0_Window_Spill_0_Normal_Trap | |
112 | #define SUN_H_T0_Window_Spill_0_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
113 | ||
114 | #define H_T0_Window_Spill_1_Normal_Trap | |
115 | #define SUN_H_T0_Window_Spill_1_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
116 | ||
117 | #define H_T0_Window_Spill_2_Normal_Trap | |
118 | #define SUN_H_T0_Window_Spill_2_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
119 | ||
120 | #define H_T0_Window_Spill_3_Normal_Trap | |
121 | #define SUN_H_T0_Window_Spill_3_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
122 | ||
123 | #define H_T0_Window_Spill_4_Normal_Trap | |
124 | #define SUN_H_T0_Window_Spill_4_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
125 | ||
126 | #define H_T0_Window_Spill_5_Normal_Trap | |
127 | #define SUN_H_T0_Window_Spill_5_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
128 | ||
129 | #define H_T0_Window_Spill_6_Normal_Trap | |
130 | #define SUN_H_T0_Window_Spill_6_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
131 | ||
132 | #define H_T0_Window_Spill_7_Normal_Trap | |
133 | #define SUN_H_T0_Window_Spill_7_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
134 | ||
135 | #define H_T0_Window_Spill_0_Other_Trap | |
136 | #define SUN_H_T0_Window_Spill_0_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
137 | ||
138 | #define H_T0_Window_Spill_1_Other_Trap | |
139 | #define SUN_H_T0_Window_Spill_1_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
140 | ||
141 | #define H_T0_Window_Spill_2_Other_Trap | |
142 | #define SUN_H_T0_Window_Spill_2_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
143 | ||
144 | #define H_T0_Window_Spill_3_Other_Trap | |
145 | #define SUN_H_T0_Window_Spill_3_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
146 | ||
147 | #define H_T0_Window_Spill_4_Other_Trap | |
148 | #define SUN_H_T0_Window_Spill_4_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
149 | ||
150 | #define H_T0_Window_Spill_5_Other_Trap | |
151 | #define SUN_H_T0_Window_Spill_5_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
152 | ||
153 | #define H_T0_Window_Spill_6_Other_Trap | |
154 | #define SUN_H_T0_Window_Spill_6_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
155 | ||
156 | #define H_T0_Window_Spill_7_Other_Trap | |
157 | #define SUN_H_T0_Window_Spill_7_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
158 | ||
159 | #define H_T0_Window_Fill_0_Normal_Trap | |
160 | #define SUN_H_T0_Window_Fill_0_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
161 | ||
162 | #define H_T0_Window_Fill_1_Normal_Trap | |
163 | #define SUN_H_T0_Window_Fill_1_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
164 | ||
165 | #define H_T0_Window_Fill_2_Normal_Trap | |
166 | #define SUN_H_T0_Window_Fill_2_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
167 | ||
168 | #define H_T0_Window_Fill_3_Normal_Trap | |
169 | #define SUN_H_T0_Window_Fill_3_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
170 | ||
171 | #define H_T0_Window_Fill_4_Normal_Trap | |
172 | #define SUN_H_T0_Window_Fill_4_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
173 | ||
174 | #define H_T0_Window_Fill_5_Normal_Trap | |
175 | #define SUN_H_T0_Window_Fill_5_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
176 | ||
177 | #define H_T0_Window_Fill_6_Normal_Trap | |
178 | #define SUN_H_T0_Window_Fill_6_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
179 | ||
180 | #define H_T0_Window_Fill_7_Normal_Trap | |
181 | #define SUN_H_T0_Window_Fill_7_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
182 | ||
183 | #define H_T0_Window_Fill_0_Other_Trap | |
184 | #define SUN_H_T0_Window_Fill_0_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
185 | ||
186 | #define H_T0_Window_Fill_1_Other_Trap | |
187 | #define SUN_H_T0_Window_Fill_1_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
188 | ||
189 | #define H_T0_Window_Fill_2_Other_Trap | |
190 | #define SUN_H_T0_Window_Fill_2_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
191 | ||
192 | #define H_T0_Window_Fill_3_Other_Trap | |
193 | #define SUN_H_T0_Window_Fill_3_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
194 | ||
195 | #define H_T0_Window_Fill_4_Other_Trap | |
196 | #define SUN_H_T0_Window_Fill_4_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
197 | ||
198 | #define H_T0_Window_Fill_5_Other_Trap | |
199 | #define SUN_H_T0_Window_Fill_5_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
200 | ||
201 | #define H_T0_Window_Fill_6_Other_Trap | |
202 | #define SUN_H_T0_Window_Fill_6_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
203 | ||
204 | #define H_T0_Window_Fill_7_Other_Trap | |
205 | #define SUN_H_T0_Window_Fill_7_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
206 | # 168 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_handlers.s" | |
207 | #define H_T1_Window_Spill_0_Normal_Trap | |
208 | #define SUN_H_T1_Window_Spill_0_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
209 | ||
210 | #define H_T1_Window_Spill_1_Normal_Trap | |
211 | #define SUN_H_T1_Window_Spill_1_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
212 | ||
213 | #define H_T1_Window_Spill_2_Normal_Trap | |
214 | #define SUN_H_T1_Window_Spill_2_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
215 | ||
216 | #define H_T1_Window_Spill_3_Normal_Trap | |
217 | #define SUN_H_T1_Window_Spill_3_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
218 | ||
219 | #define H_T1_Window_Spill_4_Normal_Trap | |
220 | #define SUN_H_T1_Window_Spill_4_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
221 | ||
222 | #define H_T1_Window_Spill_5_Normal_Trap | |
223 | #define SUN_H_T1_Window_Spill_5_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
224 | ||
225 | #define H_T1_Window_Spill_6_Normal_Trap | |
226 | #define SUN_H_T1_Window_Spill_6_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
227 | ||
228 | #define H_T1_Window_Spill_7_Normal_Trap | |
229 | #define SUN_H_T1_Window_Spill_7_Normal_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
230 | ||
231 | #define H_T1_Window_Spill_0_Other_Trap | |
232 | #define SUN_H_T1_Window_Spill_0_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
233 | ||
234 | #define H_T1_Window_Spill_1_Other_Trap | |
235 | #define SUN_H_T1_Window_Spill_1_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
236 | ||
237 | #define H_T1_Window_Spill_2_Other_Trap | |
238 | #define SUN_H_T1_Window_Spill_2_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
239 | ||
240 | #define H_T1_Window_Spill_3_Other_Trap | |
241 | #define SUN_H_T1_Window_Spill_3_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
242 | ||
243 | #define H_T1_Window_Spill_4_Other_Trap | |
244 | #define SUN_H_T1_Window_Spill_4_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
245 | ||
246 | #define H_T1_Window_Spill_5_Other_Trap | |
247 | #define SUN_H_T1_Window_Spill_5_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
248 | ||
249 | #define H_T1_Window_Spill_6_Other_Trap | |
250 | #define SUN_H_T1_Window_Spill_6_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
251 | ||
252 | #define H_T1_Window_Spill_7_Other_Trap | |
253 | #define SUN_H_T1_Window_Spill_7_Other_Trap saved; retry; nop;nop;nop;nop;nop;nop; | |
254 | ||
255 | #define H_T1_Window_Fill_0_Normal_Trap | |
256 | #define SUN_H_T1_Window_Fill_0_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
257 | ||
258 | #define H_T1_Window_Fill_1_Normal_Trap | |
259 | #define SUN_H_T1_Window_Fill_1_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
260 | ||
261 | #define H_T1_Window_Fill_2_Normal_Trap | |
262 | #define SUN_H_T1_Window_Fill_2_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
263 | ||
264 | #define H_T1_Window_Fill_3_Normal_Trap | |
265 | #define SUN_H_T1_Window_Fill_3_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
266 | ||
267 | #define H_T1_Window_Fill_4_Normal_Trap | |
268 | #define SUN_H_T1_Window_Fill_4_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
269 | ||
270 | #define H_T1_Window_Fill_5_Normal_Trap | |
271 | #define SUN_H_T1_Window_Fill_5_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
272 | ||
273 | #define H_T1_Window_Fill_6_Normal_Trap | |
274 | #define SUN_H_T1_Window_Fill_6_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
275 | ||
276 | #define H_T1_Window_Fill_7_Normal_Trap | |
277 | #define SUN_H_T1_Window_Fill_7_Normal_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
278 | ||
279 | #define H_T1_Window_Fill_0_Other_Trap | |
280 | #define SUN_H_T1_Window_Fill_0_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
281 | ||
282 | #define H_T1_Window_Fill_1_Other_Trap | |
283 | #define SUN_H_T1_Window_Fill_1_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
284 | ||
285 | #define H_T1_Window_Fill_2_Other_Trap | |
286 | #define SUN_H_T1_Window_Fill_2_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
287 | ||
288 | #define H_T1_Window_Fill_3_Other_Trap | |
289 | #define SUN_H_T1_Window_Fill_3_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
290 | ||
291 | #define H_T1_Window_Fill_4_Other_Trap | |
292 | #define SUN_H_T1_Window_Fill_4_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
293 | ||
294 | #define H_T1_Window_Fill_5_Other_Trap | |
295 | #define SUN_H_T1_Window_Fill_5_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
296 | ||
297 | #define H_T1_Window_Fill_6_Other_Trap | |
298 | #define SUN_H_T1_Window_Fill_6_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
299 | ||
300 | #define H_T1_Window_Fill_7_Other_Trap | |
301 | #define SUN_H_T1_Window_Fill_7_Other_Trap restored; retry; nop;nop;nop;nop;nop;nop; | |
302 | ||
303 | #define H_T0_Trap_Instruction_0 | |
304 | #define My_T0_Trap_Instruction_0 \ | |
305 | save %i7, %g0, %i7; \ | |
306 | rdpr %tnpc, %l2; \ | |
307 | wrpr %l2, %tpc; \ | |
308 | add %l2, 4, %l2;\ | |
309 | wrpr %l2, %tnpc; \ | |
310 | stw %l2, [%i7];\ | |
311 | restore %i7, %g0, %i7; \ | |
312 | retry | |
313 | #define H_T0_Trap_Instruction_1 | |
314 | #define My_T0_Trap_Instruction_1 \ | |
315 | umul %o4, 2, %o5;\ | |
316 | rdpr %tnpc, %l2; \ | |
317 | wrpr %l2, %tpc; \ | |
318 | add %l2, 4, %l2;\ | |
319 | wrpr %l2, %tnpc; \ | |
320 | stw %l2, [%i7];\ | |
321 | illtrap;\ | |
322 | retry | |
323 | #define H_T0_Trap_Instruction_2 | |
324 | #define My_T0_Trap_Instruction_2 \ | |
325 | inc %o3;\ | |
326 | umul %o3, 2, %o4;\ | |
327 | ba 1f; \ | |
328 | save %i7, %g0, %i7; \ | |
329 | 2: done; \ | |
330 | nop; \ | |
331 | 1: ba 2b; \ | |
332 | restore %i7, %g0, %i7 | |
333 | #define H_T0_Trap_Instruction_3 | |
334 | #define My_T0_Trap_Instruction_3 \ | |
335 | inc %l3;\ | |
336 | inc %o3;\ | |
337 | umul %o3, 2, %o4;\ | |
338 | stw %o4, [%i7];\ | |
339 | save %i7, %g0, %i7 ;\ | |
340 | restore %i7, %g0, %i7 ;\ | |
341 | done ;\ | |
342 | nop; | |
343 | #define H_T0_Trap_Instruction_4 | |
344 | #define My_T0_Trap_Instruction_4 \ | |
345 | umul %i4, 2, %l5;\ | |
346 | inc %o1;\ | |
347 | rdpr %tnpc, %l2; \ | |
348 | wrpr %l2, %tpc; \ | |
349 | add %l2, 4, %l2;\ | |
350 | wrpr %l2, %tnpc; \ | |
351 | retry ;\ | |
352 | illtrap | |
353 | #define H_T0_Trap_Instruction_5 | |
354 | #define My_T0_Trap_Instruction_5 \ | |
355 | umul %i7, 2, %l1;\ | |
356 | inc %o5;\ | |
357 | rdpr %tnpc, %l2; \ | |
358 | wrpr %l2, %tpc; \ | |
359 | add %l2, 4, %l2;\ | |
360 | wrpr %l2, %tnpc; \ | |
361 | sdiv %r2, %r10, %r0; \ | |
362 | retry | |
363 | ||
364 | #define H_T1_Trap_Instruction_0 | |
365 | #define My_T1_Trap_Instruction_0 \ | |
366 | inc %o4;\ | |
367 | umul %o4, 2, %o5;\ | |
368 | ba 3f; \ | |
369 | save %i7, %g0, %i7; \ | |
370 | 4: done; \ | |
371 | nop; \ | |
372 | 3: ba 4b; \ | |
373 | restore %i7, %g0, %i7 | |
374 | #define H_T1_Trap_Instruction_1 | |
375 | #define My_T1_Trap_Instruction_1 \ | |
376 | umul %o4, 2, %o5;\ | |
377 | rdpr %tnpc, %l2; \ | |
378 | wrpr %l2, %tpc; \ | |
379 | add %l2, 4, %l2;\ | |
380 | stw %l2, [%i7];\ | |
381 | wrpr %l2, %tnpc; \ | |
382 | restore %i7, %g0, %i7 ;;\ | |
383 | retry | |
384 | #define H_T1_Trap_Instruction_2 | |
385 | #define My_T1_Trap_Instruction_2 \ | |
386 | inc %o3;\ | |
387 | umul %o3, 2, %o4;\ | |
388 | ba 5f; \ | |
389 | save %i7, %g0, %i7; \ | |
390 | 6: done; \ | |
391 | nop; \ | |
392 | 5: ba 6b; \ | |
393 | restore %i7, %g0, %i7 | |
394 | #define H_T1_Trap_Instruction_3 | |
395 | #define My_T1_Trap_Instruction_3 \ | |
396 | inc %l3;\ | |
397 | inc %o3;\ | |
398 | umul %o3, 2, %o4;\ | |
399 | inc %i3;\ | |
400 | save %i7, %g0, %i7 ;\ | |
401 | restore %i7, %g0, %i7 ;\ | |
402 | done ;\ | |
403 | nop; | |
404 | #define H_T1_Trap_Instruction_4 | |
405 | #define My_T1_Trap_Instruction_4 \ | |
406 | umul %i4, 2, %l5;\ | |
407 | rdpr %tnpc, %l2; \ | |
408 | wrpr %l2, %tpc; \ | |
409 | stw %l2, [%i7];\ | |
410 | add %l2, 4, %l2;\ | |
411 | wrpr %l2, %tnpc; \ | |
412 | retry ;\ | |
413 | illtrap | |
414 | #define H_T1_Trap_Instruction_5 | |
415 | #define My_T1_Trap_Instruction_5 \ | |
416 | umul %i7, 2, %l1;\ | |
417 | inc %o5;\ | |
418 | rdpr %tnpc, %l2; \ | |
419 | wrpr %l2, %tpc; \ | |
420 | add %l2, 4, %l2;\ | |
421 | wrpr %l2, %tnpc; \ | |
422 | sdiv %r2, %r10, %r0; \ | |
423 | retry | |
424 | ||
425 | #define H_HT0_Trap_Instruction_0 | |
426 | #define My_HT0_Trap_Instruction_0 \ | |
427 | rd %asi, %l2;\ | |
428 | mov 0x80, %l3;\ | |
429 | stxa %l3, [%l3] 0x57;\ | |
430 | stw %l2, [%i7];\ | |
431 | done;\ | |
432 | nop;nop;nop | |
433 | ||
434 | #define H_HT0_Trap_Instruction_1 | |
435 | #define My_HT0_Trap_Instruction_1 \ | |
436 | rd %asi, %l2;\ | |
437 | mov 0x80, %l3;\ | |
438 | stxa %l3, [%l3] 0x5f;\ | |
439 | done;\ | |
440 | nop;nop;nop;nop | |
441 | #define H_HT0_Trap_Instruction_2 | |
442 | #define My_HT0_Trap_Instruction_2 \ | |
443 | umul %i6, 2, %l4;\ | |
444 | stw %l4, [%i7];\ | |
445 | rdpr %tnpc, %l2; \ | |
446 | wrpr %l2, %tpc; \ | |
447 | add %l2, 4, %l2;\ | |
448 | wrpr %l2, %tnpc; \ | |
449 | sdiv %r2, %r0, %r0; \ | |
450 | retry | |
451 | #define H_HT0_Trap_Instruction_3 | |
452 | #define My_HT0_Trap_Instruction_3 \ | |
453 | umul %i5, 3, %l3;\ | |
454 | inc %o6;\ | |
455 | illtrap ;\ | |
456 | rdpr %tnpc, %l2; \ | |
457 | wrpr %l2, %tpc; \ | |
458 | add %l2, 4, %l2;\ | |
459 | wrpr %l2, %tnpc; \ | |
460 | retry | |
461 | #define H_HT0_Trap_Instruction_4 | |
462 | #define My_HT0_Trap_Instruction_4 \ | |
463 | save %i7, %g0, %i7; \ | |
464 | rdpr %tnpc, %l2; \ | |
465 | wrpr %l2, %tpc; \ | |
466 | add %l2, 4, %l2;\ | |
467 | stw %l2, [%i7];\ | |
468 | wrpr %l2, %tnpc; \ | |
469 | restore %i7, %g0, %i7 ;\ | |
470 | retry | |
471 | #define H_HT0_Trap_Instruction_5 | |
472 | #define My_HT0_Trap_Instruction_5 \ | |
473 | ba htrap_5_ext;\ | |
474 | nop; retry;\ | |
475 | nop; nop; nop; nop; nop | |
476 | ||
477 | #define H_HT0_Mem_Address_Not_Aligned_0x34 | |
478 | #define My_HT0_Mem_Address_Not_Aligned_0x34 \ | |
479 | done ;\ | |
480 | nop; | |
481 | #define H_HT0_Illegal_instruction_0x10 | |
482 | #define My_HT0_Illegal_instruction_0x10 \ | |
483 | ba 7f; \ | |
484 | rdhpr %htstate, %l3;\ | |
485 | 8: done; \ | |
486 | 7: ba 8b;\ | |
487 | wrhpr %l3, 1, %htstate;nop | |
488 | ||
489 | #define H_HT0_DAE_so_page_0x30 | |
490 | #define My_HT0_DAE_so_page_0x30 \ | |
491 | restore %i7, %g0, %i7;\ | |
492 | rd %fprs, %l2; \ | |
493 | wr %l2, 0x4, %fprs ;\ | |
494 | done; \ | |
495 | nop; | |
496 | #define H_HT0_DAE_invalid_asi_0x14 | |
497 | #define SUN_H_HT0_DAE_invalid_asi_0x14 \ | |
498 | save %i7, %g0, %i7; \ | |
499 | rd %fprs, %l2; \ | |
500 | wr %l2, 0x4, %fprs ;\ | |
501 | done; \ | |
502 | nop; | |
503 | #define H_HT0_DAE_privilege_violation_0x15 | |
504 | #define SUN_H_HT0_DAE_privilege_violation_0x15 \ | |
505 | save %i7, %g0, %i7; \ | |
506 | rd %fprs, %l2; \ | |
507 | wr %l2, 0x4, %fprs ;\ | |
508 | done; \ | |
509 | nop; | |
510 | #define H_HT0_Privileged_Action_0x37 | |
511 | #define My_HT0_Privileged_Action_0x37 \ | |
512 | done; \ | |
513 | nop; nop | |
514 | #define H_HT0_Lddf_Mem_Address_Not_Aligned_0x35 | |
515 | #define My_HT0_Lddf_Mem_Address_Not_Aligned_0x35 \ | |
516 | rdpr %tpc, %l2; \ | |
517 | add %l2, 0x4, %l2; \ | |
518 | wrpr %l2, %tpc; \ | |
519 | add %l2, 0x4, %l2; \ | |
520 | wrpr %l2, %tnpc; \ | |
521 | retry | |
522 | #define H_HT0_Stdf_Mem_Address_Not_Aligned_0x36 | |
523 | #define My_HT0_Stdf_Mem_Address_Not_Aligned_0x36 \ | |
524 | rdpr %tpc, %l2; \ | |
525 | add %l2, 0x4, %l2; \ | |
526 | wrpr %l2, %tpc; \ | |
527 | add %l2, 0x4, %l2; \ | |
528 | wrpr %l2, %tnpc; \ | |
529 | retry | |
530 | #define H_HT0_Fp_exception_other_0x22 | |
531 | #define My_HT0_Fp_exception_other_0x22 \ | |
532 | umul %i5, 4, %l2;\ | |
533 | save %i7, %g0, %i7; \ | |
534 | stw %l2, [%i7];\ | |
535 | done; \ | |
536 | nop | |
537 | #define H_HT0_Division_By_Zero | |
538 | #define My_HT0_Division_By_Zero \ | |
539 | umul %i5, 4, %l2;\ | |
540 | done; \ | |
541 | nop; nop | |
542 | #define H_T0_Division_By_Zero | |
543 | #define My_T0_Division_By_Zero \ | |
544 | inc %l6;\ | |
545 | dec %l5;\ | |
546 | umul %i5, 4, %l2;\ | |
547 | done; \ | |
548 | nop; nop | |
549 | #define H_T1_Division_By_Zero_0x28 | |
550 | #define My_H_T1_Division_By_Zero_0x28 \ | |
551 | inc %l6;\ | |
552 | dec %l5;\ | |
553 | umul %i5, 4, %l2;\ | |
554 | save %i7, %g0, %i7; \ | |
555 | restore %i7, %g0, %i7;\ | |
556 | done; \ | |
557 | nop; nop | |
558 | ||
559 | #define H_T0_Division_By_Zero | |
560 | #define My_T0_Division_By_Zero\ | |
561 | inc %l6;\ | |
562 | dec %l5;\ | |
563 | umul %i5, 4, %l2;\ | |
564 | save %i7, %g0, %i7; \ | |
565 | restore %i7, %g0, %i7;\ | |
566 | done; \ | |
567 | nop; nop | |
568 | ||
569 | #define H_T1_Fp_Exception_Other_0x22 | |
570 | #define My_H_T1_Fp_Exception_Other_0x22 \ | |
571 | inc %l6;\ | |
572 | dec %l5;\ | |
573 | umul %i5, 4, %l2;\ | |
574 | save %i7, %g0, %i7; \ | |
575 | restore %i7, %g0, %i7;\ | |
576 | done; \ | |
577 | nop; nop | |
578 | #define H_T1_Privileged_Opcode_0x11 | |
579 | #define SUN_H_T1_Privileged_Opcode_0x11 \ | |
580 | umul %i5, 4, %l2;\ | |
581 | restore %i7, %g0, %i7;\ | |
582 | stw %l5, [%i7];\ | |
583 | done; \ | |
584 | nop; | |
585 | ||
586 | #define H_HT0_Privileged_opcode_0x11 | |
587 | #define My_HT0_Privileged_opcode_0x11 \ | |
588 | done;nop | |
589 | ||
590 | #define H_HT0_Fp_disabled_0x20 | |
591 | #define My_HT0_Fp_disabled_0x20 \ | |
592 | mov 0x4, %l2 ;\ | |
593 | wr %l2, 0x0, %fprs ;\ | |
594 | sllx %l2, 10, %l3; \ | |
595 | rdpr %tstate, %l2;\ | |
596 | or %l2, %l3, %l2 ;\ | |
597 | stw %l2, [%i7];\ | |
598 | wrpr %l2, 0x0, %tstate;\ | |
599 | retry; | |
600 | ||
601 | #define H_T0_Fp_disabled_0x20 | |
602 | #define My_T0_Fp_disabled_0x20 \ | |
603 | mov 0x4, %l2 ;\ | |
604 | wr %l2, 0x0, %fprs ;\ | |
605 | sllx %l2, 10, %l3; \ | |
606 | rdpr %tstate, %l2;\ | |
607 | or %l2, %l3, %l2 ;\ | |
608 | wrpr %l2, 0x0, %tstate;\ | |
609 | retry; nop | |
610 | ||
611 | #define H_T1_Fp_Disabled_0x20 | |
612 | #define My_H_T1_Fp_Disabled_0x20 \ | |
613 | mov 0x4, %l2 ;\ | |
614 | wr %l2, 0x0, %fprs ;\ | |
615 | sllx %l2, 10, %l3; \ | |
616 | rdpr %tstate, %l2;\ | |
617 | or %l2, %l3, %l2 ;\ | |
618 | wrpr %l2, 0x0, %tstate;\ | |
619 | stw %l2, [%i7];\ | |
620 | retry | |
621 | ||
622 | #define H_HT0_Watchdog_Reset_0x02 | |
623 | #define My_HT0_Watchdog_Reset_0x02 \ | |
624 | ba wdog_2_ext;\ | |
625 | nop;retry;nop;nop;nop;nop;nop | |
626 | ||
627 | #define H_T0_Privileged_opcode_0x11 | |
628 | #define My_T0_Privileged_opcode_0x11 \ | |
629 | done;nop | |
630 | ||
631 | #define H_T1_Fp_exception_other_0x22 | |
632 | #define My_T1_Fp_exception_other_0x22 \ | |
633 | restore %i7, %g0, %i7 ; \ | |
634 | save %i7, %g0, %i7; \ | |
635 | restore %i7, %g0, %i7;\ | |
636 | ldx [%l2], %l2;\ | |
637 | done; | |
638 | ||
639 | #define H_T0_Fp_exception_other_0x22 | |
640 | #define My_T0_Fp_exception_other_0x22 \ | |
641 | inc %l6;\ | |
642 | dec %l5;\ | |
643 | umul %i5, 4, %l2;\ | |
644 | save %i7, %g0, %i7; \ | |
645 | restore %i7, %g0, %i7;\ | |
646 | stw %l2, [%i7];\ | |
647 | done; \ | |
648 | nop | |
649 | ||
650 | #define H_HT0_Trap_Level_Zero_0x5f | |
651 | #define My_HT0_Trap_Level_Zero_0x5f \ | |
652 | not %g0, %r13; \ | |
653 | rdhpr %hpstate, %l3;\ | |
654 | jmp %r13;\ | |
655 | rdhpr %htstate, %l3;\ | |
656 | and %l3, 0xfe, %l3;\ | |
657 | wrhpr %l3, 0, %htstate;\ | |
658 | stw %r13, [%i7];\ | |
659 | retry | |
660 | ||
661 | #define My_Watchdog_Reset | |
662 | #define My_Watchdog_Reset \ | |
663 | ba wdog_red_ext;\ | |
664 | nop;retry;nop;nop;nop;nop;nop | |
665 | ||
666 | #define H_HT0_Control_Transfer_Instr_0x74 | |
667 | #define My_H_HT0_Control_Transfer_Instr_0x74 \ | |
668 | rdpr %tstate, %l3;\ | |
669 | mov 1, %l4;\ | |
670 | sllx %l4, 20, %l4;\ | |
671 | wrpr %l3, %l4, %tstate ;\ | |
672 | retry;nop; | |
673 | ||
674 | #define H_T0_Control_Transfer_Instr_0x74 | |
675 | #define My_H_T0_Control_Transfer_Instr_0x74 \ | |
676 | rdpr %tstate, %l3;\ | |
677 | mov 1, %l4;\ | |
678 | sllx %l4, 20, %l4;\ | |
679 | wrpr %l3, %l4, %tstate ;\ | |
680 | retry;nop; | |
681 | ||
682 | #define H_T1_Control_Transfer_Instr_0x74 | |
683 | #define My_H_T1_Control_Transfer_Instr_0x74 \ | |
684 | rdpr %tstate, %l3;\ | |
685 | mov 1, %l4;\ | |
686 | sllx %l4, 20, %l4;\ | |
687 | wrpr %l3, %l4, %tstate ;\ | |
688 | retry;nop; | |
689 | ||
690 | #define H_HT0_IAE_privilege_violation_0x08 | |
691 | #define My_HT0_IAE_privilege_violation_0x08 \ | |
692 | done; nop; | |
693 | #define H_HT0_IAE_unauth_access_0x0b | |
694 | #define SUN_H_HT0_IAE_unauth_access_0x0b \ | |
695 | done; nop; | |
696 | ||
697 | #define H_HT0_data_access_protection_0x6c | |
698 | #define SUN_H_HT0_data_access_protection_0x6c ba daccess_prot_handler; nop | |
699 | ||
700 | #define H_HT0_PA_Watchpoint_0x61 | |
701 | #define My_H_HT0_PA_Watchpoint_0x61 \ | |
702 | done;nop | |
703 | ||
704 | #define H_T0_VA_Watchpoint_0x62 | |
705 | #define My_T0_VA_Watchpoint_0x62 \ | |
706 | done; nop | |
707 | ||
708 | #define H_T1_VA_Watchpoint_0x62 | |
709 | #define SUN_H_T1_VA_Watchpoint_0x62 \ | |
710 | done; nop | |
711 | ||
712 | #define H_HT0_VA_Watchpoint_0x62 | |
713 | #define My_H_HT0_VA_Watchpoint_0x62 \ | |
714 | done; nop | |
715 | ||
716 | #define H_T0_Instruction_VA_Watchpoint_0x75 | |
717 | #define SUN_H_T0_Instruction_VA_Watchpoint_0x75 \ | |
718 | done;nop | |
719 | ||
720 | #define H_T1_Instruction_VA_Watchpoint_0x75 | |
721 | #define SUN_H_T1_Instruction_VA_Watchpoint_0x75 \ | |
722 | done;nop | |
723 | ||
724 | #define H_HT0_Instruction_VA_Watchpoint_0x75 | |
725 | #define SUN_H_HT0_Instruction_VA_Watchpoint_0x75 \ | |
726 | done;nop | |
727 | ||
728 | #define H_HT0_Instruction_Breakpoint_0x76 | |
729 | #define SUN_H_HT0_Instruction_Breakpoint_0x76 \ | |
730 | rdhpr %htstate, %g1;\ | |
731 | wrhpr %g1, 0x400, %htstate;\ | |
732 | retry;nop | |
733 | # 696 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_handlers.s" | |
734 | #define H_HT0_Instruction_address_range_0x0d | |
735 | #define SUN_H_HT0_Instruction_address_range_0x0d \ | |
736 | done;nop | |
737 | ||
738 | #define H_HT0_mem_address_range_0x2e | |
739 | #define SUN_H_HT0_mem_address_range_0x2e \ | |
740 | done;nop | |
741 | ||
742 | #define H_HT0_DAE_nc_page_0x16 | |
743 | #define SUN_H_HT0_DAE_nc_page_0x16 \ | |
744 | done;nop | |
745 | ||
746 | #define H_HT0_DAE_nfo_page_0x17 | |
747 | #define SUN_H_HT0_DAE_nfo_page_0x17 \ | |
748 | done;nop | |
749 | # 713 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_handlers.s" | |
750 | #define H_HT0_IAE_unauth_access_0x0b | |
751 | #define SUN_H_HT0_IAE_unauth_access_0x0b \ | |
752 | done;nop | |
753 | # 718 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_handlers.s" | |
754 | #define H_HT0_IAE_nfo_page_0x0c | |
755 | #define SUN_H_HT0_IAE_nfo_page_0x0c \ | |
756 | done;nop | |
757 | # 727 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_handlers.s" | |
758 | !!!!!!!!!!!!!!!!!!!!!! END of all handlers !!!!!!!!!!!!!!!!!!! | |
759 | # 12 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
760 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
761 | !!!!!!!!!!!!!!!! START of Interrupt Handlers !!!!!!!!!!!!!!!!! | |
762 | ||
763 | #define H_HT0_Externally_Initiated_Reset_0x03 | |
764 | #define SUN_H_HT0_Externally_Initiated_Reset_0x03 \ | |
765 | ldxa [%g0] ASI_LSU_CTL_REG, %g1; \ | |
766 | set cregs_lsu_ctl_reg_r64, %g1; \ | |
767 | stxa %g1, [%g0] ASI_LSU_CTL_REG; \ | |
768 | retry;nop | |
769 | ||
770 | #define My_External_Reset \ | |
771 | ldxa [%g0] ASI_LSU_CTL_REG, %g1; \ | |
772 | set cregs_lsu_ctl_reg_r64, %g1; \ | |
773 | stxa %g1, [%g0] ASI_LSU_CTL_REG; \ | |
774 | retry;nop | |
775 | ||
776 | !!!!! SPU Interrupt Handlers | |
777 | ||
778 | #define H_HT0_Control_Word_Queue_Interrupt_0x3c | |
779 | #define My_HT0_Control_Word_Queue_Interrupt_0x3c \ | |
780 | mov 0x20,%g1; mov 1, %g2;stxa %g2,[%g1]0x40; retry | |
781 | ||
782 | #define H_HT0_Modular_Arithmetic_Interrupt_0x3d | |
783 | #define My_H_HT0_Modular_Arithmetic_Interrupt_0x3d \ | |
784 | mov 0x80,%g1; stxa %g0,[%g1]0x40; retry | |
785 | # 39 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
786 | !!!!! HW interrupt handlers | |
787 | ||
788 | #define H_HT0_Interrupt_0x60 | |
789 | #define My_HT0_Interrupt_0x60 \ | |
790 | ldxa [%g0] ASI_SWVR_INTR_RECEIVE, %g1 ;\ | |
791 | ldxa [%g0] ASI_SWVR_INTR_R, %g2 ;\ | |
792 | ldxa [%g0] ASI_SWVR_INTR_RECEIVE, %g3 ;\ | |
793 | cmp %g1, %g3 ;\ | |
794 | nop; \ | |
795 | retry; | |
796 | ||
797 | !!!!! Queue interrupt handler | |
798 | # 53 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
799 | #define H_T0_Cpu_Mondo_Trap_0x7c | |
800 | #define My_T0_Cpu_Mondo_Trap_0x7c \ | |
801 | mov 0x3c8, %g3; \ | |
802 | ldxa [%g3] 0x25, %g5; \ | |
803 | mov 0x3c0, %g3; \ | |
804 | stxa %g5, [%g3] 0x25; \ | |
805 | retry; \ | |
806 | nop; \ | |
807 | nop; \ | |
808 | nop | |
809 | ||
810 | #define H_T0_Dev_Mondo_Trap_0x7d | |
811 | #define My_T0_Dev_Mondo_Trap_0x7d \ | |
812 | mov 0x3d8, %g3; \ | |
813 | ldxa [%g3] 0x25, %g5; \ | |
814 | mov 0x3d0, %g3; \ | |
815 | stxa %g5, [%g3] 0x25; \ | |
816 | retry; \ | |
817 | nop; \ | |
818 | nop; \ | |
819 | nop | |
820 | ||
821 | #define H_T0_Resumable_Error_0x7e | |
822 | #define My_T0_Resumable_Error_0x7e \ | |
823 | mov 0x3e8, %g3; \ | |
824 | ldxa [%g3] 0x25, %g5; \ | |
825 | mov 0x3e0, %g3; \ | |
826 | stxa %g5, [%g3] 0x25; \ | |
827 | retry; \ | |
828 | nop; \ | |
829 | nop; \ | |
830 | nop | |
831 | ||
832 | #define H_T1_Cpu_Mondo_Trap_0x7c | |
833 | #define My_T1_Cpu_Mondo_Trap_0x7c \ | |
834 | mov 0x3c8, %g3; \ | |
835 | ldxa [%g3] 0x25, %g5; \ | |
836 | mov 0x3c0, %g3; \ | |
837 | stxa %g5, [%g3] 0x25; \ | |
838 | retry; \ | |
839 | nop; \ | |
840 | nop; \ | |
841 | nop | |
842 | ||
843 | #define H_T1_Dev_Mondo_Trap_0x7d | |
844 | #define My_T1_Dev_Mondo_Trap_0x7d \ | |
845 | mov 0x3d8, %g3; \ | |
846 | ldxa [%g3] 0x25, %g5; \ | |
847 | mov 0x3d0, %g3; \ | |
848 | stxa %g5, [%g3] 0x25; \ | |
849 | retry; \ | |
850 | nop; \ | |
851 | nop; \ | |
852 | nop | |
853 | ||
854 | #define H_T1_Resumable_Error_0x7e | |
855 | #define My_T1_Resumable_Error_0x7e \ | |
856 | mov 0x3e8, %g3; \ | |
857 | ldxa [%g3] 0x25, %g5; \ | |
858 | mov 0x3e0, %g3; \ | |
859 | stxa %g5, [%g3] 0x25; \ | |
860 | retry; \ | |
861 | nop; \ | |
862 | nop; \ | |
863 | nop | |
864 | ||
865 | #define H_HT0_Reserved_0x7c | |
866 | #define SUN_H_HT0_Reserved_0x7c \ | |
867 | mov 0x3c8, %g3; \ | |
868 | ldxa [%g3] 0x25, %g5; \ | |
869 | mov 0x3c0, %g3; \ | |
870 | stxa %g5, [%g3] 0x25; \ | |
871 | retry; \ | |
872 | nop; \ | |
873 | nop; \ | |
874 | nop | |
875 | ||
876 | #define H_HT0_Reserved_0x7d | |
877 | #define SUN_H_HT0_Reserved_0x7d \ | |
878 | mov 0x3d8, %g3; \ | |
879 | ldxa [%g3] 0x25, %g5; \ | |
880 | mov 0x3d0, %g3; \ | |
881 | stxa %g5, [%g3] 0x25; \ | |
882 | retry; \ | |
883 | nop; \ | |
884 | nop; \ | |
885 | nop | |
886 | ||
887 | #define H_HT0_Reserved_0x7e | |
888 | #define SUN_H_HT0_Reserved_0x7e \ | |
889 | mov 0x3e8, %g3; \ | |
890 | ldxa [%g3] 0x25, %g5; \ | |
891 | mov 0x3e0, %g3; \ | |
892 | stxa %g5, [%g3] 0x25; \ | |
893 | retry; \ | |
894 | nop; \ | |
895 | nop; \ | |
896 | nop | |
897 | # 153 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
898 | !!!!! Hstick-match trap handler | |
899 | # 156 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
900 | #define H_T0_Reserved_0x5e | |
901 | #define My_T0_Reserved_0x5e \ | |
902 | rdhpr %hintp, %g3; \ | |
903 | wrhpr %g3, %g3, %hintp; \ | |
904 | retry; \ | |
905 | nop; \ | |
906 | nop; \ | |
907 | nop; \ | |
908 | nop; \ | |
909 | nop | |
910 | ||
911 | #define H_HT0_Hstick_Match_0x5e | |
912 | #define My_HT0_Hstick_Match_0x5e \ | |
913 | rdhpr %hintp, %g3; \ | |
914 | wrhpr %g3, %g3, %hintp; \ | |
915 | retry; \ | |
916 | nop; \ | |
917 | nop; \ | |
918 | nop; \ | |
919 | nop; \ | |
920 | nop | |
921 | ||
922 | #define H_T0_Reserved_0x5e | |
923 | #define My_T0_Reserved_0x5e \ | |
924 | rdhpr %hintp, %g3; \ | |
925 | wrhpr %g3, %g3, %hintp; \ | |
926 | retry; \ | |
927 | nop; \ | |
928 | nop; \ | |
929 | nop; \ | |
930 | nop; \ | |
931 | nop | |
932 | ||
933 | #define H_T1_Reserved_0x5e | |
934 | #define My_T1_Reserved_0x5e \ | |
935 | rdhpr %hintp, %g3; \ | |
936 | wrhpr %g3, %g3, %hintp; \ | |
937 | retry; \ | |
938 | nop; \ | |
939 | nop; \ | |
940 | nop; \ | |
941 | nop; \ | |
942 | nop | |
943 | # 201 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
944 | !!!!! SW interuupt handlers | |
945 | # 204 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
946 | #define H_T0_Interrupt_Level_14_0x4e | |
947 | #define My_T0_Interrupt_Level_14_0x4e \ | |
948 | rd %softint, %g3; \ | |
949 | sethi %hi(0x14000), %g3; \ | |
950 | or %g3, 0x1, %g3; \ | |
951 | wr %g3, %g0, %clear_softint; \ | |
952 | retry; \ | |
953 | nop; \ | |
954 | nop; \ | |
955 | nop | |
956 | ||
957 | #define H_T0_Interrupt_Level_1_0x41 | |
958 | #define My_T0_Interrupt_Level_1_0x41 \ | |
959 | rd %softint, %g3; \ | |
960 | or %g0, 0x2, %g3; \ | |
961 | wr %g3, %g0, %clear_softint; \ | |
962 | retry; \ | |
963 | nop; \ | |
964 | nop; \ | |
965 | nop; \ | |
966 | nop | |
967 | ||
968 | #define H_T0_Interrupt_Level_2_0x42 | |
969 | #define My_T0_Interrupt_Level_2_0x42 \ | |
970 | rd %softint, %g3; \ | |
971 | or %g0, 0x4, %g3; \ | |
972 | wr %g3, %g0, %clear_softint; \ | |
973 | retry; \ | |
974 | nop; \ | |
975 | nop; \ | |
976 | nop; \ | |
977 | nop | |
978 | ||
979 | #define H_T0_Interrupt_Level_3_0x43 | |
980 | #define My_T0_Interrupt_Level_3_0x43 \ | |
981 | rd %softint, %g3; \ | |
982 | or %g0, 0x8, %g3; \ | |
983 | wr %g3, %g0, %clear_softint; \ | |
984 | retry; \ | |
985 | nop; \ | |
986 | nop; \ | |
987 | nop; \ | |
988 | nop | |
989 | ||
990 | #define H_T0_Interrupt_Level_4_0x44 | |
991 | #define My_T0_Interrupt_Level_4_0x44 \ | |
992 | rd %softint, %g3; \ | |
993 | or %g0, 0x10, %g3; \ | |
994 | wr %g3, %g0, %clear_softint; \ | |
995 | retry; \ | |
996 | nop; \ | |
997 | nop; \ | |
998 | nop; \ | |
999 | nop | |
1000 | ||
1001 | #define H_T0_Interrupt_Level_5_0x45 | |
1002 | #define My_T0_Interrupt_Level_5_0x45 \ | |
1003 | rd %softint, %g3; \ | |
1004 | or %g0, 0x20, %g3; \ | |
1005 | wr %g3, %g0, %clear_softint; \ | |
1006 | retry; \ | |
1007 | nop; \ | |
1008 | nop; \ | |
1009 | nop; \ | |
1010 | nop | |
1011 | ||
1012 | #define H_T0_Interrupt_Level_6_0x46 | |
1013 | #define My_T0_Interrupt_Level_6_0x46 \ | |
1014 | rd %softint, %g3; \ | |
1015 | or %g0, 0x40, %g3; \ | |
1016 | wr %g3, %g0, %clear_softint; \ | |
1017 | retry; \ | |
1018 | nop; \ | |
1019 | nop; \ | |
1020 | nop; \ | |
1021 | nop | |
1022 | ||
1023 | #define H_T0_Interrupt_Level_7_0x47 | |
1024 | #define My_T0_Interrupt_Level_7_0x47 \ | |
1025 | rd %softint, %g3; \ | |
1026 | or %g0, 0x80, %g3; \ | |
1027 | wr %g3, %g0, %clear_softint; \ | |
1028 | retry; \ | |
1029 | nop; \ | |
1030 | nop; \ | |
1031 | nop; \ | |
1032 | nop | |
1033 | ||
1034 | #define H_T0_Interrupt_Level_8_0x48 | |
1035 | #define My_T0_Interrupt_Level_8_0x48 \ | |
1036 | rd %softint, %g3; \ | |
1037 | or %g0, 0x100, %g3; \ | |
1038 | wr %g3, %g0, %clear_softint; \ | |
1039 | retry; \ | |
1040 | nop; \ | |
1041 | nop; \ | |
1042 | nop; \ | |
1043 | nop | |
1044 | ||
1045 | #define H_T0_Interrupt_Level_9_0x49 | |
1046 | #define My_T0_Interrupt_Level_9_0x49 \ | |
1047 | rd %softint, %g3; \ | |
1048 | or %g0, 0x200, %g3; \ | |
1049 | wr %g3, %g0, %clear_softint; \ | |
1050 | retry; \ | |
1051 | nop; \ | |
1052 | nop; \ | |
1053 | nop; \ | |
1054 | nop | |
1055 | ||
1056 | #define H_T0_Interrupt_Level_10_0x4a | |
1057 | #define My_T0_Interrupt_Level_10_0x4a \ | |
1058 | rd %softint, %g3; \ | |
1059 | or %g0, 0x400, %g3; \ | |
1060 | wr %g3, %g0, %clear_softint; \ | |
1061 | retry; \ | |
1062 | nop; \ | |
1063 | nop; \ | |
1064 | nop; \ | |
1065 | nop | |
1066 | ||
1067 | #define H_T0_Interrupt_Level_11_0x4b | |
1068 | #define My_T0_Interrupt_Level_11_0x4b \ | |
1069 | rd %softint, %g3; \ | |
1070 | or %g0, 0x800, %g3; \ | |
1071 | wr %g3, %g0, %clear_softint; \ | |
1072 | retry; \ | |
1073 | nop; \ | |
1074 | nop; \ | |
1075 | nop; \ | |
1076 | nop | |
1077 | ||
1078 | #define H_T0_Interrupt_Level_12_0x4c | |
1079 | #define My_T0_Interrupt_Level_12_0x4c \ | |
1080 | rd %softint, %g3; \ | |
1081 | sethi %hi(0x1000), %g3; \ | |
1082 | wr %g3, %g0, %clear_softint; \ | |
1083 | retry; \ | |
1084 | nop; \ | |
1085 | nop; \ | |
1086 | nop; \ | |
1087 | nop | |
1088 | ||
1089 | #define H_T0_Interrupt_Level_13_0x4d | |
1090 | #define My_T0_Interrupt_Level_13_0x4d \ | |
1091 | rd %softint, %g3; \ | |
1092 | sethi %hi(0x2000), %g3; \ | |
1093 | wr %g3, %g0, %clear_softint; \ | |
1094 | retry; \ | |
1095 | nop; \ | |
1096 | nop; \ | |
1097 | nop; \ | |
1098 | nop | |
1099 | ||
1100 | #define H_T0_Interrupt_Level_15_0x4f | |
1101 | #define My_T0_Interrupt_Level_15_0x4f \ | |
1102 | sethi %hi(0x8000), %g3; \ | |
1103 | wr %g3, %g0, %clear_softint; \ | |
1104 | wr %g0, %g0, %pic;\ | |
1105 | set 0x1ff8bfff, %g2;\ | |
1106 | wr %g2, %g0, %pcr;\ | |
1107 | retry; | |
1108 | ||
1109 | #define H_T1_Interrupt_Level_14_0x4e | |
1110 | #define My_T1_Interrupt_Level_14_0x4e \ | |
1111 | rd %softint, %g3; \ | |
1112 | sethi %hi(0x14000), %g3; \ | |
1113 | or %g3, 0x1, %g3; \ | |
1114 | wr %g3, %g0, %clear_softint; \ | |
1115 | retry; \ | |
1116 | nop; \ | |
1117 | nop; \ | |
1118 | nop | |
1119 | ||
1120 | #define H_T1_Interrupt_Level_1_0x41 | |
1121 | #define My_T1_Interrupt_Level_1_0x41 \ | |
1122 | rd %softint, %g3; \ | |
1123 | or %g0, 0x2, %g3; \ | |
1124 | wr %g3, %g0, %clear_softint; \ | |
1125 | retry; \ | |
1126 | nop; \ | |
1127 | nop; \ | |
1128 | nop; \ | |
1129 | nop | |
1130 | ||
1131 | #define H_T1_Interrupt_Level_2_0x42 | |
1132 | #define My_T1_Interrupt_Level_2_0x42 \ | |
1133 | rd %softint, %g3; \ | |
1134 | or %g0, 0x4, %g3; \ | |
1135 | wr %g3, %g0, %clear_softint; \ | |
1136 | retry; \ | |
1137 | nop; \ | |
1138 | nop; \ | |
1139 | nop; \ | |
1140 | nop | |
1141 | ||
1142 | #define H_T1_Interrupt_Level_3_0x43 | |
1143 | #define My_T1_Interrupt_Level_3_0x43 \ | |
1144 | rd %softint, %g3; \ | |
1145 | or %g0, 0x8, %g3; \ | |
1146 | wr %g3, %g0, %clear_softint; \ | |
1147 | retry; \ | |
1148 | nop; \ | |
1149 | nop; \ | |
1150 | nop; \ | |
1151 | nop | |
1152 | ||
1153 | #define H_T1_Interrupt_Level_4_0x44 | |
1154 | #define My_T1_Interrupt_Level_4_0x44 \ | |
1155 | rd %softint, %g3; \ | |
1156 | or %g0, 0x10, %g3; \ | |
1157 | wr %g3, %g0, %clear_softint; \ | |
1158 | retry; \ | |
1159 | nop; \ | |
1160 | nop; \ | |
1161 | nop; \ | |
1162 | nop | |
1163 | ||
1164 | #define H_T1_Interrupt_Level_5_0x45 | |
1165 | #define My_T1_Interrupt_Level_5_0x45 \ | |
1166 | rd %softint, %g3; \ | |
1167 | or %g0, 0x20, %g3; \ | |
1168 | wr %g3, %g0, %clear_softint; \ | |
1169 | retry; \ | |
1170 | nop; \ | |
1171 | nop; \ | |
1172 | nop; \ | |
1173 | nop | |
1174 | ||
1175 | #define H_T1_Interrupt_Level_6_0x46 | |
1176 | #define My_T1_Interrupt_Level_6_0x46 \ | |
1177 | rd %softint, %g3; \ | |
1178 | or %g0, 0x40, %g3; \ | |
1179 | wr %g3, %g0, %clear_softint; \ | |
1180 | retry; \ | |
1181 | nop; \ | |
1182 | nop; \ | |
1183 | nop; \ | |
1184 | nop | |
1185 | ||
1186 | #define H_T1_Interrupt_Level_7_0x47 | |
1187 | #define My_T1_Interrupt_Level_7_0x47 \ | |
1188 | rd %softint, %g3; \ | |
1189 | or %g0, 0x80, %g3; \ | |
1190 | wr %g3, %g0, %clear_softint; \ | |
1191 | retry; \ | |
1192 | nop; \ | |
1193 | nop; \ | |
1194 | nop; \ | |
1195 | nop | |
1196 | ||
1197 | #define H_T1_Interrupt_Level_8_0x48 | |
1198 | #define My_T1_Interrupt_Level_8_0x48 \ | |
1199 | rd %softint, %g3; \ | |
1200 | or %g0, 0x100, %g3; \ | |
1201 | wr %g3, %g0, %clear_softint; \ | |
1202 | retry; \ | |
1203 | nop; \ | |
1204 | nop; \ | |
1205 | nop; \ | |
1206 | nop | |
1207 | ||
1208 | #define H_T1_Interrupt_Level_9_0x49 | |
1209 | #define My_T1_Interrupt_Level_9_0x49 \ | |
1210 | rd %softint, %g3; \ | |
1211 | or %g0, 0x200, %g3; \ | |
1212 | wr %g3, %g0, %clear_softint; \ | |
1213 | retry; \ | |
1214 | nop; \ | |
1215 | nop; \ | |
1216 | nop; \ | |
1217 | nop | |
1218 | ||
1219 | #define H_T1_Interrupt_Level_10_0x4a | |
1220 | #define My_T1_Interrupt_Level_10_0x4a \ | |
1221 | rd %softint, %g3; \ | |
1222 | or %g0, 0x400, %g3; \ | |
1223 | wr %g3, %g0, %clear_softint; \ | |
1224 | retry; \ | |
1225 | nop; \ | |
1226 | nop; \ | |
1227 | nop; \ | |
1228 | nop | |
1229 | ||
1230 | #define H_T1_Interrupt_Level_11_0x4b | |
1231 | #define My_T1_Interrupt_Level_11_0x4b \ | |
1232 | rd %softint, %g3; \ | |
1233 | or %g0, 0x800, %g3; \ | |
1234 | wr %g3, %g0, %clear_softint; \ | |
1235 | retry; \ | |
1236 | nop; \ | |
1237 | nop; \ | |
1238 | nop; \ | |
1239 | nop | |
1240 | ||
1241 | #define H_T1_Interrupt_Level_12_0x4c | |
1242 | #define My_T1_Interrupt_Level_12_0x4c \ | |
1243 | rd %softint, %g3; \ | |
1244 | sethi %hi(0x1000), %g3; \ | |
1245 | wr %g3, %g0, %clear_softint; \ | |
1246 | retry; \ | |
1247 | nop; \ | |
1248 | nop; \ | |
1249 | nop; \ | |
1250 | nop | |
1251 | ||
1252 | #define H_T1_Interrupt_Level_13_0x4d | |
1253 | #define My_T1_Interrupt_Level_13_0x4d \ | |
1254 | rd %softint, %g3; \ | |
1255 | sethi %hi(0x2000), %g3; \ | |
1256 | wr %g3, %g0, %clear_softint; \ | |
1257 | retry; \ | |
1258 | nop; \ | |
1259 | nop; \ | |
1260 | nop; \ | |
1261 | nop | |
1262 | ||
1263 | #define H_T1_Interrupt_Level_15_0x4f | |
1264 | #define My_T1_Interrupt_Level_15_0x4f \ | |
1265 | sethi %hi(0x8000), %g3; \ | |
1266 | wr %g3, %g0, %clear_softint; \ | |
1267 | wr %g0, %g0, %pic;\ | |
1268 | set 0x1ff8bfff, %g2;\ | |
1269 | wr %g2, %g0, %pcr;\ | |
1270 | retry; | |
1271 | ||
1272 | #define H_HT0_Interrupt_Level_14_0x4e | |
1273 | #define My_HT0_Interrupt_Level_14_0x4e \ | |
1274 | rd %softint, %g3; \ | |
1275 | sethi %hi(0x14000), %g3; \ | |
1276 | or %g3, 0x1, %g3; \ | |
1277 | wr %g3, %g0, %clear_softint; \ | |
1278 | retry; \ | |
1279 | nop; \ | |
1280 | nop; \ | |
1281 | nop | |
1282 | ||
1283 | #define H_HT0_Interrupt_Level_1_0x41 | |
1284 | #define My_HT0_Interrupt_Level_1_0x41 \ | |
1285 | rd %softint, %g3; \ | |
1286 | or %g0, 0x2, %g3; \ | |
1287 | wr %g3, %g0, %clear_softint; \ | |
1288 | retry; \ | |
1289 | nop; \ | |
1290 | nop; \ | |
1291 | nop; \ | |
1292 | nop | |
1293 | ||
1294 | #define H_HT0_Interrupt_Level_2_0x42 | |
1295 | #define My_HT0_Interrupt_Level_2_0x42 \ | |
1296 | rd %softint, %g3; \ | |
1297 | or %g0, 0x4, %g3; \ | |
1298 | wr %g3, %g0, %clear_softint; \ | |
1299 | retry; \ | |
1300 | nop; \ | |
1301 | nop; \ | |
1302 | nop; \ | |
1303 | nop | |
1304 | ||
1305 | #define H_HT0_Interrupt_Level_3_0x43 | |
1306 | #define My_HT0_Interrupt_Level_3_0x43 \ | |
1307 | rd %softint, %g3; \ | |
1308 | or %g0, 0x8, %g3; \ | |
1309 | wr %g3, %g0, %clear_softint; \ | |
1310 | retry; \ | |
1311 | nop; \ | |
1312 | nop; \ | |
1313 | nop; \ | |
1314 | nop | |
1315 | ||
1316 | #define H_HT0_Interrupt_Level_4_0x44 | |
1317 | #define My_HT0_Interrupt_Level_4_0x44 \ | |
1318 | rd %softint, %g3; \ | |
1319 | or %g0, 0x10, %g3; \ | |
1320 | wr %g3, %g0, %clear_softint; \ | |
1321 | retry; \ | |
1322 | nop; \ | |
1323 | nop; \ | |
1324 | nop; \ | |
1325 | nop | |
1326 | ||
1327 | #define H_HT0_Interrupt_Level_5_0x45 | |
1328 | #define My_HT0_Interrupt_Level_5_0x45 \ | |
1329 | rd %softint, %g3; \ | |
1330 | or %g0, 0x20, %g3; \ | |
1331 | wr %g3, %g0, %clear_softint; \ | |
1332 | retry; \ | |
1333 | nop; \ | |
1334 | nop; \ | |
1335 | nop; \ | |
1336 | nop | |
1337 | ||
1338 | #define H_HT0_Interrupt_Level_6_0x46 | |
1339 | #define My_HT0_Interrupt_Level_6_0x46 \ | |
1340 | rd %softint, %g3; \ | |
1341 | or %g0, 0x40, %g3; \ | |
1342 | wr %g3, %g0, %clear_softint; \ | |
1343 | retry; \ | |
1344 | nop; \ | |
1345 | nop; \ | |
1346 | nop; \ | |
1347 | nop | |
1348 | ||
1349 | #define H_HT0_Interrupt_Level_7_0x47 | |
1350 | #define My_HT0_Interrupt_Level_7_0x47 \ | |
1351 | rd %softint, %g3; \ | |
1352 | or %g0, 0x80, %g3; \ | |
1353 | wr %g3, %g0, %clear_softint; \ | |
1354 | retry; \ | |
1355 | nop; \ | |
1356 | nop; \ | |
1357 | nop; \ | |
1358 | nop | |
1359 | ||
1360 | #define H_HT0_Interrupt_Level_8_0x48 | |
1361 | #define My_HT0_Interrupt_Level_8_0x48 \ | |
1362 | rd %softint, %g3; \ | |
1363 | or %g0, 0x100, %g3; \ | |
1364 | wr %g3, %g0, %clear_softint; \ | |
1365 | retry; \ | |
1366 | nop; \ | |
1367 | nop; \ | |
1368 | nop; \ | |
1369 | nop | |
1370 | ||
1371 | #define H_HT0_Interrupt_Level_9_0x49 | |
1372 | #define My_HT0_Interrupt_Level_9_0x49 \ | |
1373 | rd %softint, %g3; \ | |
1374 | or %g0, 0x200, %g3; \ | |
1375 | wr %g3, %g0, %clear_softint; \ | |
1376 | retry; \ | |
1377 | nop; \ | |
1378 | nop; \ | |
1379 | nop; \ | |
1380 | nop | |
1381 | ||
1382 | #define H_HT0_Interrupt_Level_10_0x4a | |
1383 | #define My_HT0_Interrupt_Level_10_0x4a \ | |
1384 | rd %softint, %g3; \ | |
1385 | or %g0, 0x400, %g3; \ | |
1386 | wr %g3, %g0, %clear_softint; \ | |
1387 | retry; \ | |
1388 | nop; \ | |
1389 | nop; \ | |
1390 | nop; \ | |
1391 | nop | |
1392 | ||
1393 | #define H_HT0_Interrupt_Level_11_0x4b | |
1394 | #define My_HT0_Interrupt_Level_11_0x4b \ | |
1395 | rd %softint, %g3; \ | |
1396 | or %g0, 0x800, %g3; \ | |
1397 | wr %g3, %g0, %clear_softint; \ | |
1398 | retry; \ | |
1399 | nop; \ | |
1400 | nop; \ | |
1401 | nop; \ | |
1402 | nop | |
1403 | ||
1404 | #define H_HT0_Interrupt_Level_12_0x4c | |
1405 | #define My_HT0_Interrupt_Level_12_0x4c \ | |
1406 | rd %softint, %g3; \ | |
1407 | sethi %hi(0x1000), %g3; \ | |
1408 | wr %g3, %g0, %clear_softint; \ | |
1409 | retry; \ | |
1410 | nop; \ | |
1411 | nop; \ | |
1412 | nop; \ | |
1413 | nop | |
1414 | ||
1415 | #define H_HT0_Interrupt_Level_13_0x4d | |
1416 | #define My_HT0_Interrupt_Level_13_0x4d \ | |
1417 | rd %softint, %g3; \ | |
1418 | sethi %hi(0x2000), %g3; \ | |
1419 | wr %g3, %g0, %clear_softint; \ | |
1420 | retry; \ | |
1421 | nop; \ | |
1422 | nop; \ | |
1423 | nop; \ | |
1424 | nop | |
1425 | ||
1426 | #define H_HT0_Interrupt_Level_15_0x4f | |
1427 | #define My_HT0_Interrupt_Level_15_0x4f \ | |
1428 | sethi %hi(0x8000), %g3; \ | |
1429 | wr %g3, %g0, %clear_softint; \ | |
1430 | wr %g0, %g0, %pic;\ | |
1431 | set 0x1ff8bfff, %g2;\ | |
1432 | wr %g2, %g0, %pcr;\ | |
1433 | retry; | |
1434 | # 694 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
1435 | !!!!!!!!!!!!!!!!!!!!!! END of all handlers !!!!!!!!!!!!!!!!!!! | |
1436 | # 262 "diag.j" | |
1437 | !# Steer towards main TBA on these errors .. | |
1438 | !# These are redefines ... | |
1439 | #define SUN_H_HT0_DAE_nc_page_0x16 \ | |
1440 | set 0x120000, %r2;\ | |
1441 | wrpr %r0, %r2, %tba; \ | |
1442 | done;nop | |
1443 | ||
1444 | #define SUN_H_HT0_DAE_nfo_page_0x17 \ | |
1445 | set 0x120000, %r2;\ | |
1446 | wrpr %r0, %r2, %tba; \ | |
1447 | done;nop | |
1448 | ||
1449 | #define SUN_H_HT0_IAE_unauth_access_0x0b \ | |
1450 | set retry_with_base_tba, %g2;\ | |
1451 | jmp %g2;\ | |
1452 | nop | |
1453 | ||
1454 | #define SUN_H_HT0_IAE_nfo_page_0x0c \ | |
1455 | set retry_with_base_tba, %g2;\ | |
1456 | jmp %g2;\ | |
1457 | nop | |
1458 | ||
1459 | #include "hboot.s" | |
1460 | .text | |
1461 | .global main | |
1462 | main: | |
1463 | ||
1464 | ! Set up ld/st area per thread | |
1465 | ta T_RD_THID ! Result in %o1 = r9 | |
1466 | umul %r9, 256, %r31 | |
1467 | setx user_data_start, %r1, %r3 | |
1468 | add %r31, %r3, %r31 | |
1469 | wr %r0, 0x4, %asi | |
1470 | ||
1471 | !Initializing integer registers | |
1472 | ldx [%r31+0], %r0 | |
1473 | ldx [%r31+8], %r1 | |
1474 | ldx [%r31+16], %r2 | |
1475 | ldx [%r31+24], %r3 | |
1476 | ldx [%r31+32], %r4 | |
1477 | ldx [%r31+40], %r5 | |
1478 | ldx [%r31+48], %r6 | |
1479 | ldx [%r31+56], %r7 | |
1480 | ldx [%r31+64], %r8 | |
1481 | ldx [%r31+72], %r9 | |
1482 | ldx [%r31+80], %r10 | |
1483 | ldx [%r31+88], %r11 | |
1484 | ldx [%r31+96], %r12 | |
1485 | ldx [%r31+104], %r13 | |
1486 | ldx [%r31+112], %r14 | |
1487 | mov %r31, %r15 | |
1488 | ldx [%r31+128], %r16 | |
1489 | ldx [%r31+136], %r17 | |
1490 | ldx [%r31+144], %r18 | |
1491 | ldx [%r31+152], %r19 | |
1492 | ldx [%r31+160], %r20 | |
1493 | ldx [%r31+168], %r21 | |
1494 | ldx [%r31+176], %r22 | |
1495 | ldx [%r31+184], %r23 | |
1496 | ldx [%r31+192], %r24 | |
1497 | ldx [%r31+200], %r25 | |
1498 | ldx [%r31+208], %r26 | |
1499 | ldx [%r31+216], %r27 | |
1500 | ldx [%r31+224], %r28 | |
1501 | ldx [%r31+232], %r29 | |
1502 | mov 0x31, %r14 | |
1503 | mov 0x34, %r30 | |
1504 | save %r31, %r0, %r31 | |
1505 | ldx [%r31+0], %r0 | |
1506 | ldx [%r31+8], %r1 | |
1507 | ldx [%r31+16], %r2 | |
1508 | ldx [%r31+24], %r3 | |
1509 | ldx [%r31+32], %r4 | |
1510 | ldx [%r31+40], %r5 | |
1511 | ldx [%r31+48], %r6 | |
1512 | ldx [%r31+56], %r7 | |
1513 | ldx [%r31+64], %r8 | |
1514 | ldx [%r31+72], %r9 | |
1515 | ldx [%r31+80], %r10 | |
1516 | ldx [%r31+88], %r11 | |
1517 | ldx [%r31+96], %r12 | |
1518 | ldx [%r31+104], %r13 | |
1519 | ldx [%r31+112], %r14 | |
1520 | mov %r31, %r15 | |
1521 | ldx [%r31+128], %r16 | |
1522 | ldx [%r31+136], %r17 | |
1523 | ldx [%r31+144], %r18 | |
1524 | ldx [%r31+152], %r19 | |
1525 | ldx [%r31+160], %r20 | |
1526 | ldx [%r31+168], %r21 | |
1527 | ldx [%r31+176], %r22 | |
1528 | ldx [%r31+184], %r23 | |
1529 | ldx [%r31+192], %r24 | |
1530 | ldx [%r31+200], %r25 | |
1531 | ldx [%r31+208], %r26 | |
1532 | ldx [%r31+216], %r27 | |
1533 | ldx [%r31+224], %r28 | |
1534 | ldx [%r31+232], %r29 | |
1535 | mov 0x34, %r14 | |
1536 | mov 0xb3, %r30 | |
1537 | save %r31, %r0, %r31 | |
1538 | ldx [%r31+0], %r0 | |
1539 | ldx [%r31+8], %r1 | |
1540 | ldx [%r31+16], %r2 | |
1541 | ldx [%r31+24], %r3 | |
1542 | ldx [%r31+32], %r4 | |
1543 | ldx [%r31+40], %r5 | |
1544 | ldx [%r31+48], %r6 | |
1545 | ldx [%r31+56], %r7 | |
1546 | ldx [%r31+64], %r8 | |
1547 | ldx [%r31+72], %r9 | |
1548 | ldx [%r31+80], %r10 | |
1549 | ldx [%r31+88], %r11 | |
1550 | ldx [%r31+96], %r12 | |
1551 | ldx [%r31+104], %r13 | |
1552 | ldx [%r31+112], %r14 | |
1553 | mov %r31, %r15 | |
1554 | ldx [%r31+128], %r16 | |
1555 | ldx [%r31+136], %r17 | |
1556 | ldx [%r31+144], %r18 | |
1557 | ldx [%r31+152], %r19 | |
1558 | ldx [%r31+160], %r20 | |
1559 | ldx [%r31+168], %r21 | |
1560 | ldx [%r31+176], %r22 | |
1561 | ldx [%r31+184], %r23 | |
1562 | ldx [%r31+192], %r24 | |
1563 | ldx [%r31+200], %r25 | |
1564 | ldx [%r31+208], %r26 | |
1565 | ldx [%r31+216], %r27 | |
1566 | ldx [%r31+224], %r28 | |
1567 | ldx [%r31+232], %r29 | |
1568 | mov 0xb1, %r14 | |
1569 | mov 0x33, %r30 | |
1570 | save %r31, %r0, %r31 | |
1571 | ldx [%r31+0], %r0 | |
1572 | ldx [%r31+8], %r1 | |
1573 | ldx [%r31+16], %r2 | |
1574 | ldx [%r31+24], %r3 | |
1575 | ldx [%r31+32], %r4 | |
1576 | ldx [%r31+40], %r5 | |
1577 | ldx [%r31+48], %r6 | |
1578 | ldx [%r31+56], %r7 | |
1579 | ldx [%r31+64], %r8 | |
1580 | ldx [%r31+72], %r9 | |
1581 | ldx [%r31+80], %r10 | |
1582 | ldx [%r31+88], %r11 | |
1583 | ldx [%r31+96], %r12 | |
1584 | ldx [%r31+104], %r13 | |
1585 | ldx [%r31+112], %r14 | |
1586 | mov %r31, %r15 | |
1587 | ldx [%r31+128], %r16 | |
1588 | ldx [%r31+136], %r17 | |
1589 | ldx [%r31+144], %r18 | |
1590 | ldx [%r31+152], %r19 | |
1591 | ldx [%r31+160], %r20 | |
1592 | ldx [%r31+168], %r21 | |
1593 | ldx [%r31+176], %r22 | |
1594 | ldx [%r31+184], %r23 | |
1595 | ldx [%r31+192], %r24 | |
1596 | ldx [%r31+200], %r25 | |
1597 | ldx [%r31+208], %r26 | |
1598 | ldx [%r31+216], %r27 | |
1599 | ldx [%r31+224], %r28 | |
1600 | ldx [%r31+232], %r29 | |
1601 | mov 0x31, %r14 | |
1602 | mov 0x33, %r30 | |
1603 | save %r31, %r0, %r31 | |
1604 | ldx [%r31+0], %r0 | |
1605 | ldx [%r31+8], %r1 | |
1606 | ldx [%r31+16], %r2 | |
1607 | ldx [%r31+24], %r3 | |
1608 | ldx [%r31+32], %r4 | |
1609 | ldx [%r31+40], %r5 | |
1610 | ldx [%r31+48], %r6 | |
1611 | ldx [%r31+56], %r7 | |
1612 | ldx [%r31+64], %r8 | |
1613 | ldx [%r31+72], %r9 | |
1614 | ldx [%r31+80], %r10 | |
1615 | ldx [%r31+88], %r11 | |
1616 | ldx [%r31+96], %r12 | |
1617 | ldx [%r31+104], %r13 | |
1618 | ldx [%r31+112], %r14 | |
1619 | mov %r31, %r15 | |
1620 | ldx [%r31+128], %r16 | |
1621 | ldx [%r31+136], %r17 | |
1622 | ldx [%r31+144], %r18 | |
1623 | ldx [%r31+152], %r19 | |
1624 | ldx [%r31+160], %r20 | |
1625 | ldx [%r31+168], %r21 | |
1626 | ldx [%r31+176], %r22 | |
1627 | ldx [%r31+184], %r23 | |
1628 | ldx [%r31+192], %r24 | |
1629 | ldx [%r31+200], %r25 | |
1630 | ldx [%r31+208], %r26 | |
1631 | ldx [%r31+216], %r27 | |
1632 | ldx [%r31+224], %r28 | |
1633 | ldx [%r31+232], %r29 | |
1634 | mov 0xb4, %r14 | |
1635 | mov 0x35, %r30 | |
1636 | save %r31, %r0, %r31 | |
1637 | ldx [%r31+0], %r0 | |
1638 | ldx [%r31+8], %r1 | |
1639 | ldx [%r31+16], %r2 | |
1640 | ldx [%r31+24], %r3 | |
1641 | ldx [%r31+32], %r4 | |
1642 | ldx [%r31+40], %r5 | |
1643 | ldx [%r31+48], %r6 | |
1644 | ldx [%r31+56], %r7 | |
1645 | ldx [%r31+64], %r8 | |
1646 | ldx [%r31+72], %r9 | |
1647 | ldx [%r31+80], %r10 | |
1648 | ldx [%r31+88], %r11 | |
1649 | ldx [%r31+96], %r12 | |
1650 | ldx [%r31+104], %r13 | |
1651 | ldx [%r31+112], %r14 | |
1652 | mov %r31, %r15 | |
1653 | ldx [%r31+128], %r16 | |
1654 | ldx [%r31+136], %r17 | |
1655 | ldx [%r31+144], %r18 | |
1656 | ldx [%r31+152], %r19 | |
1657 | ldx [%r31+160], %r20 | |
1658 | ldx [%r31+168], %r21 | |
1659 | ldx [%r31+176], %r22 | |
1660 | ldx [%r31+184], %r23 | |
1661 | ldx [%r31+192], %r24 | |
1662 | ldx [%r31+200], %r25 | |
1663 | ldx [%r31+208], %r26 | |
1664 | ldx [%r31+216], %r27 | |
1665 | ldx [%r31+224], %r28 | |
1666 | ldx [%r31+232], %r29 | |
1667 | mov 0xb4, %r14 | |
1668 | mov 0x30, %r30 | |
1669 | save %r31, %r0, %r31 | |
1670 | ldx [%r31+0], %r0 | |
1671 | ldx [%r31+8], %r1 | |
1672 | ldx [%r31+16], %r2 | |
1673 | ldx [%r31+24], %r3 | |
1674 | ldx [%r31+32], %r4 | |
1675 | ldx [%r31+40], %r5 | |
1676 | ldx [%r31+48], %r6 | |
1677 | ldx [%r31+56], %r7 | |
1678 | ldx [%r31+64], %r8 | |
1679 | ldx [%r31+72], %r9 | |
1680 | ldx [%r31+80], %r10 | |
1681 | ldx [%r31+88], %r11 | |
1682 | ldx [%r31+96], %r12 | |
1683 | ldx [%r31+104], %r13 | |
1684 | ldx [%r31+112], %r14 | |
1685 | mov %r31, %r15 | |
1686 | ldx [%r31+128], %r16 | |
1687 | ldx [%r31+136], %r17 | |
1688 | ldx [%r31+144], %r18 | |
1689 | ldx [%r31+152], %r19 | |
1690 | ldx [%r31+160], %r20 | |
1691 | ldx [%r31+168], %r21 | |
1692 | ldx [%r31+176], %r22 | |
1693 | ldx [%r31+184], %r23 | |
1694 | ldx [%r31+192], %r24 | |
1695 | ldx [%r31+200], %r25 | |
1696 | ldx [%r31+208], %r26 | |
1697 | ldx [%r31+216], %r27 | |
1698 | ldx [%r31+224], %r28 | |
1699 | ldx [%r31+232], %r29 | |
1700 | mov 0x33, %r14 | |
1701 | mov 0x31, %r30 | |
1702 | save %r31, %r0, %r31 | |
1703 | restore | |
1704 | restore | |
1705 | restore | |
1706 | !Initializing float registers | |
1707 | ldd [%r31+0], %f0 | |
1708 | ldd [%r31+16], %f2 | |
1709 | ldd [%r31+32], %f4 | |
1710 | ldd [%r31+48], %f6 | |
1711 | ldd [%r31+64], %f8 | |
1712 | ldd [%r31+80], %f10 | |
1713 | ldd [%r31+96], %f12 | |
1714 | ldd [%r31+112], %f14 | |
1715 | ldd [%r31+128], %f16 | |
1716 | ldd [%r31+144], %f18 | |
1717 | ldd [%r31+160], %f20 | |
1718 | ldd [%r31+176], %f22 | |
1719 | ldd [%r31+192], %f24 | |
1720 | ldd [%r31+208], %f26 | |
1721 | ldd [%r31+224], %f28 | |
1722 | ldd [%r31+240], %f30 | |
1723 | !! Set TPC/TNPC to diag-finish in case we get to a strange TL .. | |
1724 | ta T_CHANGE_HPRIV | |
1725 | setx diag_finish, %r29, %r28 | |
1726 | add %r28, 4, %r29 | |
1727 | wrpr %g0, 1, %tl | |
1728 | wrpr %r28, %tpc | |
1729 | wrpr %r29, %tnpc | |
1730 | wrpr %g0, 2, %tl | |
1731 | wrpr %r28, %tpc | |
1732 | wrpr %r29, %tnpc | |
1733 | wrpr %g0, 3, %tl | |
1734 | wrpr %r28, %tpc | |
1735 | wrpr %r29, %tnpc | |
1736 | wrpr %g0, 4, %tl | |
1737 | wrpr %r28, %tpc | |
1738 | wrpr %r29, %tnpc | |
1739 | wrpr %g0, 5, %tl | |
1740 | wrpr %r28, %tpc | |
1741 | wrpr %r29, %tnpc | |
1742 | wrpr %g0, 6, %tl | |
1743 | wrpr %r28, %tpc | |
1744 | wrpr %r29, %tnpc | |
1745 | wrpr %g0, 0, %tl | |
1746 | ||
1747 | !Initializing Tick Cmprs | |
1748 | mov 1, %g2 | |
1749 | sllx %g2, 63, %g2 | |
1750 | or %g1, %g2, %g1 | |
1751 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
1752 | wr %g1, %g0, %tick_cmpr | |
1753 | wr %g1, %g0, %sys_tick_cmpr | |
1754 | ||
1755 | ! Set up fpr PMU traps | |
1756 | set 0x1ff8bfff, %g2 | |
1757 | wr %g2, %g0, %pcr | |
1758 | ta T_RD_THID | |
1759 | brnz %o1, skip_non0 | |
1760 | setup_cmp: | |
1761 | stw %g0, [%g0] | |
1762 | rd %asi, %r12 | |
1763 | wr %r0, 0x41, %asi | |
1764 | ldxa [0x58]%asi, %r14 | |
1765 | stxa %r14, [0x50]%asi | |
1766 | setup_spu: | |
1767 | wr %g0, 0x40, %asi | |
1768 | !# allocate control word queue (e.g., setup head/tail/first/last registers) | |
1769 | setx CWQ_BASE, %g1, %l6 | |
1770 | ||
1771 | !# write base addr to first, head, and tail ptr | |
1772 | !# first store to first | |
1773 | stxa %l6, [%g0 + ASI_SPU_CWQ_FIRST] %asi !# first store to first | |
1774 | ||
1775 | stxa %l6, [%g0 + ASI_SPU_CWQ_HEAD] %asi !# then to head | |
1776 | stxa %l6, [%g0 + ASI_SPU_CWQ_TAIL] %asi !# then to tail | |
1777 | setx CWQ_LAST, %g1, %l5 !# then end of CWQ region to LAST | |
1778 | stxa %l5, [%g0 + ASI_SPU_CWQ_LAST] %asi | |
1779 | ||
1780 | !# set CWQ data | |
1781 | setx 0x2061000000000000, %l1, %l2 !# Control Word | |
1782 | ||
1783 | !# write CWQ entry (%l6 points to CWQ) | |
1784 | stx %l2, [%l6 + 0x0] | |
1785 | ||
1786 | setx msg, %g1, %l2 | |
1787 | stx %l2, [%l6 + 0x8] !# source address | |
1788 | ||
1789 | stx %g0, [%l6 + 0x10] !# Authentication Key Address (40-bit) | |
1790 | stx %g0, [%l6 + 0x18] !# Authentication IV Address (40-bit) | |
1791 | stx %g0, [%l6 + 0x20] !# Authentication FSAS Address (40-bit) | |
1792 | stx %g0, [%l6 + 0x28] !# Encryption Key Address (40-bit) | |
1793 | stx %g0, [%l6 + 0x30] !# Encryption Initialization Vector Address (40-bit) | |
1794 | ||
1795 | setx results, %g1, %o3 | |
1796 | stx %o3, [%l6 + 0x38] !# Destination Address (40-bit) | |
1797 | ||
1798 | membar #Sync | |
1799 | ||
1800 | ldxa [%g0 + ASI_SPU_CWQ_TAIL] %asi, %l2 | |
1801 | add %l2, 0x40, %l2 | |
1802 | stxa %l2, [%g0 + ASI_SPU_CWQ_TAIL] %asi | |
1803 | ||
1804 | !# Kick off the CWQ operation by writing to the CWQ_CSR | |
1805 | !# Set the enabled bit and reset the other bits | |
1806 | or %g0, 0x1, %g1 | |
1807 | stxa %g1, [%g0 + ASI_SPU_CWQ_CSR] %asi | |
1808 | ||
1809 | wr %r0, %r12, %asi | |
1810 | skip_non0: | |
1811 | ta T_CHANGE_NONHPRIV | |
1812 | ta %icc, T_RD_THID | |
1813 | ! fork: source strm = 0xffffffff; target strm = 0x1 | |
1814 | cmp %o1, 0 | |
1815 | setx fork_lbl_0_1, %g2, %g3 | |
1816 | be,a .+8 | |
1817 | jmp %g3 | |
1818 | nop | |
1819 | ! fork: source strm = 0xffffffff; target strm = 0x2 | |
1820 | cmp %o1, 1 | |
1821 | setx fork_lbl_0_2, %g2, %g3 | |
1822 | be,a .+8 | |
1823 | jmp %g3 | |
1824 | nop | |
1825 | ! fork: source strm = 0xffffffff; target strm = 0x4 | |
1826 | cmp %o1, 2 | |
1827 | setx fork_lbl_0_3, %g2, %g3 | |
1828 | be,a .+8 | |
1829 | jmp %g3 | |
1830 | nop | |
1831 | ! fork: source strm = 0xffffffff; target strm = 0x8 | |
1832 | cmp %o1, 3 | |
1833 | setx fork_lbl_0_4, %g2, %g3 | |
1834 | be,a .+8 | |
1835 | jmp %g3 | |
1836 | nop | |
1837 | ! fork: source strm = 0xffffffff; target strm = 0x10 | |
1838 | cmp %o1, 4 | |
1839 | setx fork_lbl_0_5, %g2, %g3 | |
1840 | be,a .+8 | |
1841 | jmp %g3 | |
1842 | nop | |
1843 | ! fork: source strm = 0xffffffff; target strm = 0x20 | |
1844 | cmp %o1, 5 | |
1845 | setx fork_lbl_0_6, %g2, %g3 | |
1846 | be,a .+8 | |
1847 | jmp %g3 | |
1848 | nop | |
1849 | ! fork: source strm = 0xffffffff; target strm = 0x40 | |
1850 | cmp %o1, 6 | |
1851 | setx fork_lbl_0_7, %g2, %g3 | |
1852 | be,a .+8 | |
1853 | jmp %g3 | |
1854 | nop | |
1855 | ! fork: source strm = 0xffffffff; target strm = 0x80 | |
1856 | cmp %o1, 7 | |
1857 | setx fork_lbl_0_8, %g2, %g3 | |
1858 | be,a .+8 | |
1859 | jmp %g3 | |
1860 | nop | |
1861 | setx join_lbl_0_0, %g1, %g2 | |
1862 | jmp %g2 | |
1863 | nop | |
1864 | setx join_lbl_0_0, %g1, %g2 | |
1865 | jmp %g2 | |
1866 | nop | |
1867 | fork_lbl_0_8: | |
1868 | .word 0x26700001 ! 1: BPL <illegal instruction> | |
1869 | memptr_7_0: | |
1870 | set user_data_start, %r31 | |
1871 | .word 0x85816d66 ! 2: WRCCR_I wr %r5, 0x0d66, %ccr | |
1872 | DS_7_1: | |
1873 | nop | |
1874 | not %g0, %r12 | |
1875 | jmp %r12 | |
1876 | .word 0x9d902000 ! 3: WRPR_WSTATE_I wrpr %r0, 0x0000, %wstate | |
1877 | .word 0xe46ffa57 ! 4: LDSTUB_I ldstub %r18, [%r31 + 0xfffffa57] | |
1878 | .word 0xa1902008 ! 5: WRPR_GL_I wrpr %r0, 0x0008, %- | |
1879 | change_to_randtl_7_2: | |
1880 | ta T_CHANGE_PRIV ! macro | |
1881 | done_change_to_randtl_7_2: | |
1882 | .word 0x8f902002 ! 6: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
1883 | splash_cmpr_7_3: | |
1884 | setx 0x7ca22cc8b0037dd1, %g2, %g1 | |
1885 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
1886 | sub %g1, 100, %g1 | |
1887 | .word 0xb1800001 ! 7: WR_STICK_REG_R wr %r0, %r1, %- | |
1888 | mondo_7_4: | |
1889 | nop | |
1890 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
1891 | ||
1892 | stxa %r11, [%r0+0x3c0] %asi | |
1893 | .word 0x9d948011 ! 8: WRPR_WSTATE_R wrpr %r18, %r17, %wstate | |
1894 | .word 0x87802088 ! 9: WRASI_I wr %r0, 0x0088, %asi | |
1895 | donret_7_5: | |
1896 | nop | |
1897 | rd %pc, %r12 | |
1898 | add %r12, (donretarg_7_5-donret_7_5-4), %r12 | |
1899 | mov 0x38, %r18 | |
1900 | stxa %r12, [%r18]0x58 | |
1901 | add %r12, 0x4, %r11 | |
1902 | wrpr %g0, 0x1, %tl | |
1903 | wrpr %g0, %r12, %tpc | |
1904 | wrpr %g0, %r11, %tnpc | |
1905 | wrpr %g0, %r13, %tstate | |
1906 | wrhpr %g0, %r14, %htstate | |
1907 | done | |
1908 | donretarg_7_5: | |
1909 | .word 0xe4fffa57 ! 10: SWAPA_I swapa %r18, [%r31 + 0xfffffa57] %asi | |
1910 | change_to_randtl_7_6: | |
1911 | ta T_CHANGE_PRIV ! macro | |
1912 | done_change_to_randtl_7_6: | |
1913 | .word 0x8f902001 ! 11: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
1914 | cwp_7_7: | |
1915 | set user_data_start, %o7 | |
1916 | .word 0x93902000 ! 12: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
1917 | .word 0x2e700001 ! 13: BPVS <illegal instruction> | |
1918 | splash_lsu_7_8: | |
1919 | setx 0x07ec9a0eb48554fd, %r1, %r2 | |
1920 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
1921 | .word 0x3d400001 ! 14: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
1922 | .word 0x8d902749 ! 15: WRPR_PSTATE_I wrpr %r0, 0x0749, %pstate | |
1923 | .word 0x879023df ! 16: WRPR_TT_I wrpr %r0, 0x03df, %tt | |
1924 | ta T_CHANGE_HPRIV | |
1925 | mov (7+1), %r10 | |
1926 | set sync_thr_counter1, %r23 | |
1927 | cas [%r23],%g0,%r10 !lock | |
1928 | brnz %r10, cwq_7_9 | |
1929 | rd %asi, %r12 | |
1930 | wr %g0, 0x40, %asi | |
1931 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
1932 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
1933 | cmp %l1, 1 | |
1934 | bne cwq_7_9 | |
1935 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
1936 | sub %l2, 0x40, %l2 | |
1937 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
1938 | wr %r12, %g0, %asi | |
1939 | st %g0, [%r23] | |
1940 | cwq_7_9: | |
1941 | ta T_CHANGE_NONHPRIV | |
1942 | .word 0x91414000 ! 17: RDPC rd %pc, %r8 | |
1943 | .word 0xd8c804a0 ! 18: LDSBA_R ldsba [%r0, %r0] 0x25, %r12 | |
1944 | debug_7_10: | |
1945 | nop | |
1946 | rd %pc, %r19 | |
1947 | add %r19, (64+32), %r19 | |
1948 | mov 0x38, %r18 | |
1949 | .word 0xe6f00b12 ! 19: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
1950 | .word 0xd84fc000 ! 20: LDSB_R ldsb [%r31 + %r0], %r12 | |
1951 | cwp_7_11: | |
1952 | set user_data_start, %o7 | |
1953 | .word 0x93902000 ! 21: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
1954 | .word 0x9b45c000 ! 22: RD_TICK_CMPR_REG rd %-, %r13 | |
1955 | .word 0x8d90225c ! 23: WRPR_PSTATE_I wrpr %r0, 0x025c, %pstate | |
1956 | splash_lsu_7_12: | |
1957 | setx 0xa993cbe23b7c2f89, %r1, %r2 | |
1958 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
1959 | .word 0x3d400001 ! 24: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
1960 | .word 0xa190200c ! 25: WRPR_GL_I wrpr %r0, 0x000c, %- | |
1961 | .word 0x95a00163 ! 26: FABSq dis not found | |
1962 | ||
1963 | splash_lsu_7_13: | |
1964 | setx 0x419b7cb06ef96a09, %r1, %r2 | |
1965 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
1966 | .word 0x3d400001 ! 27: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
1967 | memptr_7_14: | |
1968 | set 0x60340000, %r31 | |
1969 | .word 0x8580b416 ! 28: WRCCR_I wr %r2, 0x1416, %ccr | |
1970 | splash_hpstate_7_15: | |
1971 | .word 0x81982ebd ! 29: WRHPR_HPSTATE_I wrhpr %r0, 0x0ebd, %hpstate | |
1972 | .word 0x99464000 ! 30: RD_STICK_CMPR_REG rd %-, %r12 | |
1973 | .word 0x91d02035 ! 31: Tcc_I ta icc_or_xcc, %r0 + 53 | |
1974 | debug_7_16: | |
1975 | nop | |
1976 | rd %pc, %r19 | |
1977 | add %r19, (64+16), %r19 | |
1978 | mov 0x38, %r18 | |
1979 | .word 0xe6f00b12 ! 32: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
1980 | cwp_7_17: | |
1981 | set user_data_start, %o7 | |
1982 | .word 0x93902004 ! 33: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
1983 | .word 0xe48804a0 ! 34: LDUBA_R lduba [%r0, %r0] 0x25, %r18 | |
1984 | splash_hpstate_7_18: | |
1985 | .word 0x8198239c ! 35: WRHPR_HPSTATE_I wrhpr %r0, 0x039c, %hpstate | |
1986 | cwp_7_19: | |
1987 | set user_data_start, %o7 | |
1988 | .word 0x93902000 ! 36: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
1989 | ta T_CHANGE_HPRIV | |
1990 | mov (7+1), %r10 | |
1991 | set sync_thr_counter1, %r23 | |
1992 | cas [%r23],%g0,%r10 !lock | |
1993 | brnz %r10, cwq_7_20 | |
1994 | rd %asi, %r12 | |
1995 | wr %g0, 0x40, %asi | |
1996 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
1997 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
1998 | cmp %l1, 1 | |
1999 | bne cwq_7_20 | |
2000 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2001 | sub %l2, 0x40, %l2 | |
2002 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2003 | wr %r12, %g0, %asi | |
2004 | st %g0, [%r23] | |
2005 | cwq_7_20: | |
2006 | ta T_CHANGE_NONHPRIV | |
2007 | .word 0x91414000 ! 37: RDPC rd %pc, %r8 | |
2008 | .word 0x87802088 ! 38: WRASI_I wr %r0, 0x0088, %asi | |
2009 | DS_7_21: | |
2010 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
2011 | allclean | |
2012 | .word 0xa1b24307 ! 39: ALIGNADDRESS alignaddr %r9, %r7, %r16 | |
2013 | .word 0xe80ffaea ! 40: LDUB_I ldub [%r31 + 0xfffffaea], %r20 | |
2014 | .word 0x8d902160 ! 41: WRPR_PSTATE_I wrpr %r0, 0x0160, %pstate | |
2015 | .word 0xe8c80e40 ! 42: LDSBA_R ldsba [%r0, %r0] 0x72, %r20 | |
2016 | debug_7_22: | |
2017 | nop | |
2018 | rd %pc, %r19 | |
2019 | add %r19, (64+32), %r19 | |
2020 | mov 0x38, %r18 | |
2021 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2022 | mondo_7_23: | |
2023 | nop | |
2024 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2025 | ||
2026 | stxa %r12, [%r0+0x3c8] %asi | |
2027 | .word 0x9d930013 ! 44: WRPR_WSTATE_R wrpr %r12, %r19, %wstate | |
2028 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_24) + 8, 16, 16)) -> intp(5,0,28) | |
2029 | intvec_7_24: | |
2030 | .word 0x39400001 ! 45: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2031 | .word 0x8d902782 ! 46: WRPR_PSTATE_I wrpr %r0, 0x0782, %pstate | |
2032 | .word 0xab812f18 ! 47: WR_CLEAR_SOFTINT_I wr %r4, 0x0f18, %clear_softint | |
2033 | memptr_7_25: | |
2034 | set 0x60740000, %r31 | |
2035 | .word 0x8580a247 ! 48: WRCCR_I wr %r2, 0x0247, %ccr | |
2036 | .word 0xe927c000 ! 49: STF_R st %f20, [%r0, %r31] | |
2037 | splash_hpstate_7_26: | |
2038 | .word 0x81982fce ! 50: WRHPR_HPSTATE_I wrhpr %r0, 0x0fce, %hpstate | |
2039 | .word 0xe89004a0 ! 51: LDUHA_R lduha [%r0, %r0] 0x25, %r20 | |
2040 | .word 0x8d903a8a ! 52: WRPR_PSTATE_I wrpr %r0, 0x1a8a, %pstate | |
2041 | .word 0x91d02032 ! 53: Tcc_I ta icc_or_xcc, %r0 + 50 | |
2042 | debug_7_27: | |
2043 | nop | |
2044 | mov 8, %r18 | |
2045 | .word 0xd2f00492 ! 54: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
2046 | .word 0xe81fc000 ! 55: LDD_R ldd [%r31 + %r0], %r20 | |
2047 | ta T_CHANGE_HPRIV | |
2048 | mov (7+1), %r10 | |
2049 | set sync_thr_counter1, %r23 | |
2050 | cas [%r23],%g0,%r10 !lock | |
2051 | brnz %r10, cwq_7_28 | |
2052 | rd %asi, %r12 | |
2053 | wr %g0, 0x40, %asi | |
2054 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2055 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2056 | cmp %l1, 1 | |
2057 | bne cwq_7_28 | |
2058 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2059 | sub %l2, 0x40, %l2 | |
2060 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2061 | wr %r12, %g0, %asi | |
2062 | st %g0, [%r23] | |
2063 | cwq_7_28: | |
2064 | ta T_CHANGE_NONHPRIV | |
2065 | .word 0xa1414000 ! 56: RDPC rd %pc, %r16 | |
2066 | .word 0x87902059 ! 57: WRPR_TT_I wrpr %r0, 0x0059, %tt | |
2067 | .word 0x90da4000 ! 58: SMULcc_R smulcc %r9, %r0, %r8 | |
2068 | setx 0xbdb61eb7cbf6ee9f, %r1, %r28 | |
2069 | stxa %r28, [%g0] 0x73 | |
2070 | intvec_7_29: | |
2071 | .word 0x39400001 ! 59: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2072 | splash_hpstate_7_30: | |
2073 | .word 0x819825ef ! 60: WRHPR_HPSTATE_I wrhpr %r0, 0x05ef, %hpstate | |
2074 | .word 0xa1902000 ! 61: WRPR_GL_I wrpr %r0, 0x0000, %- | |
2075 | splash_hpstate_7_31: | |
2076 | .word 0x81982497 ! 62: WRHPR_HPSTATE_I wrhpr %r0, 0x0497, %hpstate | |
2077 | donret_7_32: | |
2078 | nop | |
2079 | rd %pc, %r12 | |
2080 | add %r12, (donretarg_7_32-donret_7_32), %r12 | |
2081 | mov 0x38, %r18 | |
2082 | stxa %r12, [%r18]0x58 | |
2083 | add %r12, 0x4, %r11 | |
2084 | wrpr %g0, 0x2, %tl | |
2085 | wrpr %g0, %r12, %tpc | |
2086 | wrpr %g0, %r11, %tnpc | |
2087 | wrpr %g0, %r13, %tstate | |
2088 | wrhpr %g0, %r14, %htstate | |
2089 | retry | |
2090 | donretarg_7_32: | |
2091 | .word 0xd8ffe315 ! 63: SWAPA_I swapa %r12, [%r31 + 0x0315] %asi | |
2092 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2093 | ta T_CHANGE_NONHPRIV ! macro | |
2094 | .word 0x93a01969 ! 64: FqTOd dis not found | |
2095 | ||
2096 | .word 0x26700001 ! 65: BPL <illegal instruction> | |
2097 | .word 0xe6c7e020 ! 66: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r19 | |
2098 | .word 0x87802004 ! 67: WRASI_I wr %r0, 0x0004, %asi | |
2099 | mondo_7_34: | |
2100 | nop | |
2101 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2102 | ||
2103 | stxa %r19, [%r0+0x3d8] %asi | |
2104 | .word 0x9d924002 ! 68: WRPR_WSTATE_R wrpr %r9, %r2, %wstate | |
2105 | ta T_CHANGE_HPRIV | |
2106 | mov (7+1), %r10 | |
2107 | set sync_thr_counter1, %r23 | |
2108 | cas [%r23],%g0,%r10 !lock | |
2109 | brnz %r10, cwq_7_35 | |
2110 | rd %asi, %r12 | |
2111 | wr %g0, 0x40, %asi | |
2112 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2113 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2114 | cmp %l1, 1 | |
2115 | bne cwq_7_35 | |
2116 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2117 | sub %l2, 0x40, %l2 | |
2118 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2119 | wr %r12, %g0, %asi | |
2120 | st %g0, [%r23] | |
2121 | cwq_7_35: | |
2122 | ta T_CHANGE_NONHPRIV | |
2123 | .word 0xa7414000 ! 69: RDPC rd %pc, %r19 | |
2124 | .word 0x9ba20d2d ! 70: FsMULd fsmuld %f8, %f44, %f44 | |
2125 | splash_hpstate_7_36: | |
2126 | .word 0x81982726 ! 71: WRHPR_HPSTATE_I wrhpr %r0, 0x0726, %hpstate | |
2127 | splash_cmpr_7_37: | |
2128 | setx 0xff22bb4a8d327346, %g2, %g1 | |
2129 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
2130 | sub %g1, 100, %g1 | |
2131 | .word 0xb1800001 ! 72: WR_STICK_REG_R wr %r0, %r1, %- | |
2132 | splash_cmpr_7_38: | |
2133 | setx 0x5a62db5556342acc, %g2, %g1 | |
2134 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2135 | sub %g1, 100, %g1 | |
2136 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
2137 | .word 0x34700001 ! 74: BPG <illegal instruction> | |
2138 | .word 0x22700001 ! 75: BPE <illegal instruction> | |
2139 | memptr_7_39: | |
2140 | set user_data_start, %r31 | |
2141 | .word 0x8582a9cf ! 76: WRCCR_I wr %r10, 0x09cf, %ccr | |
2142 | intveclr_7_40: | |
2143 | setx 0x457848cd3cc8b8d7, %r1, %r28 | |
2144 | stxa %r28, [%g0] 0x72 | |
2145 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2146 | .word 0xd28008a0 ! 78: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
2147 | splash_htba_7_41: | |
2148 | set 0x80000, %r12 | |
2149 | ld [%r12+%r0], %r1 | |
2150 | ta T_CHANGE_HPRIV | |
2151 | set 0x80000, %r12 | |
2152 | .word 0x8b98000c ! 79: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
2153 | DS_7_42: | |
2154 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
2155 | .word 0xbfefc000 ! 80: RESTORE_R restore %r31, %r0, %r31 | |
2156 | .word 0x91d02035 ! 81: Tcc_I ta icc_or_xcc, %r0 + 53 | |
2157 | change_to_randtl_7_43: | |
2158 | ta T_CHANGE_HPRIV ! macro | |
2159 | done_change_to_randtl_7_43: | |
2160 | .word 0x8f902000 ! 82: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2161 | .word 0xa1902008 ! 83: WRPR_GL_I wrpr %r0, 0x0008, %- | |
2162 | debug_7_44: | |
2163 | nop | |
2164 | mov 0x38, %r18 | |
2165 | .word 0xfef00b12 ! 84: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2166 | nop | |
2167 | mov 0x80, %g3 | |
2168 | stxa %g3, [%g3] 0x57 | |
2169 | .word 0xd25fc000 ! 85: LDX_R ldx [%r31 + %r0], %r9 | |
2170 | .word 0x91d020b4 ! 86: Tcc_I ta icc_or_xcc, %r0 + 180 | |
2171 | memptr_7_45: | |
2172 | set user_data_start, %r31 | |
2173 | .word 0x8582b527 ! 87: WRCCR_I wr %r10, 0x1527, %ccr | |
2174 | .word 0xd2d004a0 ! 88: LDSHA_R ldsha [%r0, %r0] 0x25, %r9 | |
2175 | splash_tba_7_46: | |
2176 | set 0x120000, %r12 | |
2177 | st %r1, [%r12+%r0] | |
2178 | ta T_CHANGE_PRIV | |
2179 | set 0x120000, %r12 | |
2180 | .word 0x8b90000c ! 89: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2181 | setx 0xf60f46393c0228cf, %r1, %r28 | |
2182 | stxa %r28, [%g0] 0x73 | |
2183 | intvec_7_47: | |
2184 | .word 0x39400001 ! 90: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2185 | .word 0x91d02032 ! 91: Tcc_I ta icc_or_xcc, %r0 + 50 | |
2186 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2187 | ta T_CHANGE_NONPRIV ! macro | |
2188 | .word 0x996ca41b ! 92: SDIVX_I sdivx %r18, 0x041b, %r12 | |
2189 | .word 0x38700001 ! 93: BPGU <illegal instruction> | |
2190 | mondo_7_49: | |
2191 | nop | |
2192 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2193 | ||
2194 | stxa %r12, [%r0+0x3c0] %asi | |
2195 | .word 0x9d920010 ! 94: WRPR_WSTATE_R wrpr %r8, %r16, %wstate | |
2196 | splash_tba_7_50: | |
2197 | set 0x120000, %r12 | |
2198 | st %r1, [%r12+%r0] | |
2199 | ta T_CHANGE_PRIV | |
2200 | set 0x120000, %r12 | |
2201 | .word 0x8b90000c ! 95: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2202 | .word 0x91d020b2 ! 96: Tcc_I ta icc_or_xcc, %r0 + 178 | |
2203 | .word 0xa1540000 ! 97: RDPR_GL rdpr %-, %r16 | |
2204 | .word 0x8790228c ! 98: WRPR_TT_I wrpr %r0, 0x028c, %tt | |
2205 | .word 0xd8d804a0 ! 99: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
2206 | splash_lsu_7_51: | |
2207 | setx 0x02499137b5d8884f, %r1, %r2 | |
2208 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2209 | .word 0x3d400001 ! 100: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2210 | rd %pc, %r19 | |
2211 | add %r19, (ivw_7_52-.+32), %r19 | |
2212 | mov 0x38, %r18 | |
2213 | stxa %r19, [%r18]0x58 | |
2214 | ivw_7_52: | |
2215 | .word 0x91934007 ! 101: WRPR_PIL_R wrpr %r13, %r7, %pil | |
2216 | splash_tba_7_53: | |
2217 | set 0x120000, %r12 | |
2218 | ld [%r12+%r0], %r1 | |
2219 | ta T_CHANGE_PRIV | |
2220 | set 0x120000, %r12 | |
2221 | .word 0x8b90000c ! 102: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2222 | DS_7_54: | |
2223 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
2224 | allclean | |
2225 | .word 0x91b30305 ! 103: ALIGNADDRESS alignaddr %r12, %r5, %r8 | |
2226 | cwp_7_55: | |
2227 | set user_data_start, %o7 | |
2228 | .word 0x93902007 ! 104: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
2229 | .word 0x8d902538 ! 105: WRPR_PSTATE_I wrpr %r0, 0x0538, %pstate | |
2230 | .word 0x8780208b ! 106: WRASI_I wr %r0, 0x008b, %asi | |
2231 | DS_7_56: | |
2232 | .word 0x99a109c7 ! 1: FDIVd fdivd %f4, %f38, %f12 | |
2233 | .word 0xff58f5f3 ! Random illegal ? | |
2234 | .word 0xd912c010 ! 1: LDQF_R - [%r11, %r16], %f12 | |
2235 | .word 0xa5a44827 ! 107: FADDs fadds %f17, %f7, %f18 | |
2236 | .word 0x87802058 ! 108: WRASI_I wr %r0, 0x0058, %asi | |
2237 | .word 0xa190200c ! 109: WRPR_GL_I wrpr %r0, 0x000c, %- | |
2238 | otherw | |
2239 | mov 0x31, %r30 | |
2240 | .word 0x91d0001e ! 110: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2241 | splash_cmpr_7_57: | |
2242 | setx 0x70051625bd8f1a55, %g2, %g1 | |
2243 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
2244 | sub %g1, 100, %g1 | |
2245 | .word 0xb1800001 ! 111: WR_STICK_REG_R wr %r0, %r1, %- | |
2246 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_7_58)+48, 16, 16)) -> intp(7,1,3) | |
2247 | xir_7_58: | |
2248 | .word 0xa9807226 ! 112: WR_SET_SOFTINT_I wr %r1, 0x1226, %set_softint | |
2249 | .word 0xd327ee90 ! 113: STF_I st %f9, [0x0e90, %r31] | |
2250 | DS_7_59: | |
2251 | nop | |
2252 | not %g0, %r12 | |
2253 | jmp %r12 | |
2254 | .word 0x9d902004 ! 114: WRPR_WSTATE_I wrpr %r0, 0x0004, %wstate | |
2255 | donret_7_60: | |
2256 | nop | |
2257 | rd %pc, %r12 | |
2258 | add %r12, (donretarg_7_60-donret_7_60), %r12 | |
2259 | mov 0x38, %r18 | |
2260 | stxa %r12, [%r18]0x58 | |
2261 | add %r12, 0x4, %r11 | |
2262 | wrpr %g0, 0x2, %tl | |
2263 | wrpr %g0, %r12, %tpc | |
2264 | wrpr %g0, %r11, %tnpc | |
2265 | wrpr %g0, %r13, %tstate | |
2266 | wrhpr %g0, %r14, %htstate | |
2267 | retry | |
2268 | donretarg_7_60: | |
2269 | .word 0xd2ffee90 ! 115: SWAPA_I swapa %r9, [%r31 + 0x0e90] %asi | |
2270 | .word 0xa1902005 ! 116: WRPR_GL_I wrpr %r0, 0x0005, %- | |
2271 | .word 0xd297e020 ! 117: LDUHA_I lduha [%r31, + 0x0020] %asi, %r9 | |
2272 | .word 0xd23fc000 ! 118: STD_R std %r9, [%r31 + %r0] | |
2273 | .word 0xa7a0016a ! 119: FABSq dis not found | |
2274 | ||
2275 | memptr_7_61: | |
2276 | set 0x60140000, %r31 | |
2277 | .word 0x85847084 ! 120: WRCCR_I wr %r17, 0x1084, %ccr | |
2278 | .word 0xd09ffb63 ! 121: LDDA_I ldda [%r31, + 0xfffffb63] %asi, %r8 | |
2279 | .word 0xa1902003 ! 122: WRPR_GL_I wrpr %r0, 0x0003, %- | |
2280 | splash_hpstate_7_62: | |
2281 | .word 0x81982507 ! 123: WRHPR_HPSTATE_I wrhpr %r0, 0x0507, %hpstate | |
2282 | mondo_7_63: | |
2283 | nop | |
2284 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2285 | ||
2286 | stxa %r11, [%r0+0x3d0] %asi | |
2287 | .word 0x9d93000b ! 124: WRPR_WSTATE_R wrpr %r12, %r11, %wstate | |
2288 | splash_hpstate_7_64: | |
2289 | .word 0x819826d7 ! 125: WRHPR_HPSTATE_I wrhpr %r0, 0x06d7, %hpstate | |
2290 | .word 0x91450000 ! 126: RD_SET_SOFTINT rd %set_softint, %r8 | |
2291 | .word 0x87902284 ! 127: WRPR_TT_I wrpr %r0, 0x0284, %tt | |
2292 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_7_65)+0, 16, 16)) -> intp(7,1,3) | |
2293 | xir_7_65: | |
2294 | .word 0xa9827285 ! 128: WR_SET_SOFTINT_I wr %r9, 0x1285, %set_softint | |
2295 | nop | |
2296 | mov 0x80, %g3 | |
2297 | stxa %g3, [%g3] 0x57 | |
2298 | .word 0xd85fc000 ! 129: LDX_R ldx [%r31 + %r0], %r12 | |
2299 | intveclr_7_66: | |
2300 | setx 0x8876b654892d5fb7, %r1, %r28 | |
2301 | stxa %r28, [%g0] 0x72 | |
2302 | .word 0x25400001 ! 130: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2303 | debug_7_67: | |
2304 | nop | |
2305 | rd %pc, %r19 | |
2306 | add %r19, (64+8), %r19 | |
2307 | mov 0x38, %r18 | |
2308 | .word 0xe6f00b12 ! 131: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2309 | memptr_7_68: | |
2310 | set 0x60540000, %r31 | |
2311 | .word 0x8584787e ! 132: WRCCR_I wr %r17, 0x187e, %ccr | |
2312 | tagged_7_69: | |
2313 | taddcctv %r25, 0x1b36, %r16 | |
2314 | .word 0xd807f70a ! 133: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
2315 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2316 | ta T_CHANGE_NONPRIV ! macro | |
2317 | .word 0xa1a01971 ! 134: FqTOd dis not found | |
2318 | ||
2319 | splash_tba_7_71: | |
2320 | set 0x120000, %r12 | |
2321 | ld [%r12+%r0], %r1 | |
2322 | ta T_CHANGE_PRIV | |
2323 | set 0x120000, %r12 | |
2324 | .word 0x8b90000c ! 135: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2325 | debug_7_72: | |
2326 | nop | |
2327 | mov 8, %r18 | |
2328 | .word 0xe4f00492 ! 136: STXA_R stxa %r18, [%r0 + %r18] 0x24 | |
2329 | .word 0xa5a30d2d ! 137: FsMULd fsmuld %f12, %f44, %f18 | |
2330 | .word 0xd727f70a ! 138: STF_I st %f11, [0x170a, %r31] | |
2331 | splash_lsu_7_73: | |
2332 | setx 0x18465355fcce15ff, %r1, %r2 | |
2333 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2334 | .word 0x3d400001 ! 139: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2335 | .word 0xa545c000 ! 140: RD_TICK_CMPR_REG rd %-, %r18 | |
2336 | .word 0xa9840000 ! 141: WR_SET_SOFTINT_R wr %r16, %r0, %set_softint | |
2337 | .word 0x93a349c0 ! 142: FDIVd fdivd %f44, %f0, %f40 | |
2338 | tagged_7_74: | |
2339 | tsubcctv %r24, 0x16c4, %r15 | |
2340 | .word 0xd807f70a ! 143: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
2341 | DS_7_75: | |
2342 | nop | |
2343 | not %g0, %r12 | |
2344 | jmp %r12 | |
2345 | .word 0x9d902005 ! 144: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
2346 | donret_7_76: | |
2347 | nop | |
2348 | rd %pc, %r12 | |
2349 | add %r12, (donretarg_7_76-donret_7_76), %r12 | |
2350 | mov 0x38, %r18 | |
2351 | stxa %r12, [%r18]0x58 | |
2352 | add %r12, 0x4, %r11 | |
2353 | wrpr %g0, 0x3, %tl | |
2354 | wrpr %g0, %r12, %tpc | |
2355 | wrpr %g0, %r11, %tnpc | |
2356 | wrpr %g0, %r13, %tstate | |
2357 | wrhpr %g0, %r14, %htstate | |
2358 | retry | |
2359 | donretarg_7_76: | |
2360 | .word 0xd8fff70a ! 145: SWAPA_I swapa %r12, [%r31 + 0xfffff70a] %asi | |
2361 | .word 0x8d903b1a ! 146: WRPR_PSTATE_I wrpr %r0, 0x1b1a, %pstate | |
2362 | .word 0x2c700001 ! 147: BPNEG <illegal instruction> | |
2363 | .word 0x879021f2 ! 148: WRPR_TT_I wrpr %r0, 0x01f2, %tt | |
2364 | .word 0x3a700001 ! 149: BPCC <illegal instruction> | |
2365 | change_to_randtl_7_77: | |
2366 | ta T_CHANGE_HPRIV ! macro | |
2367 | done_change_to_randtl_7_77: | |
2368 | .word 0x8f902000 ! 150: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2369 | splash_tba_7_78: | |
2370 | set 0x003d0000, %r12 | |
2371 | st %r1, [%r12+%r0] | |
2372 | ta T_CHANGE_PRIV | |
2373 | set 0x003d0000, %r12 | |
2374 | .word 0x8b90000c ! 151: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2375 | debug_7_79: | |
2376 | nop | |
2377 | rd %pc, %r19 | |
2378 | add %r19, (64+32), %r19 | |
2379 | mov 0x38, %r18 | |
2380 | .word 0xe6f00b12 ! 152: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2381 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_80) + 0, 16, 16)) -> intp(5,0,15) | |
2382 | intvec_7_80: | |
2383 | .word 0x39400001 ! 153: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2384 | splash_tba_7_81: | |
2385 | set 0x003d0000, %r12 | |
2386 | ld [%r12+%r0], %r1 | |
2387 | ta T_CHANGE_PRIV | |
2388 | set 0x003d0000, %r12 | |
2389 | .word 0x8b90000c ! 154: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2390 | .word 0xa9810008 ! 155: WR_SET_SOFTINT_R wr %r4, %r8, %set_softint | |
2391 | splash_lsu_7_82: | |
2392 | setx 0xab7bceff817d456b, %r1, %r2 | |
2393 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2394 | .word 0x3d400001 ! 156: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2395 | splash_lsu_7_83: | |
2396 | setx 0x643879a994fdb39d, %r1, %r2 | |
2397 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2398 | .word 0x3d400001 ! 157: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2399 | mov (7+1), %r10 | |
2400 | ta T_CHANGE_HPRIV | |
2401 | set sync_thr_counter2, %r23 | |
2402 | cas [%r23],%g0,%r10 !lock | |
2403 | brnz %r10, sma_7_84 | |
2404 | rd %asi, %r12 | |
2405 | wr %g0, 0x40, %asi | |
2406 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2407 | set 0x21fff, %g1 | |
2408 | stxa %g1, [%g0 + 0x80] %asi | |
2409 | wr %r12, %g0, %asi | |
2410 | st %g0, [%r23] | |
2411 | sma_7_84: | |
2412 | ta T_CHANGE_NONHPRIV | |
2413 | .word 0xd9e7e00d ! 158: CASA_R casa [%r31] %asi, %r13, %r12 | |
2414 | splash_tba_7_85: | |
2415 | set 0x120000, %r12 | |
2416 | ld [%r12+%r0], %r1 | |
2417 | ta T_CHANGE_PRIV | |
2418 | set 0x120000, %r12 | |
2419 | .word 0x8b90000c ! 159: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2420 | .word 0x8780201c ! 160: WRASI_I wr %r0, 0x001c, %asi | |
2421 | .word 0x8d902c31 ! 161: WRPR_PSTATE_I wrpr %r0, 0x0c31, %pstate | |
2422 | .word 0xa1902001 ! 162: WRPR_GL_I wrpr %r0, 0x0001, %- | |
2423 | .word 0xd93ff70a ! 163: STDF_I std %f12, [0x170a, %r31] | |
2424 | cwp_7_86: | |
2425 | set user_data_start, %o7 | |
2426 | .word 0x93902000 ! 164: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
2427 | ta T_CHANGE_HPRIV | |
2428 | mov (7+1), %r10 | |
2429 | set sync_thr_counter1, %r23 | |
2430 | cas [%r23],%g0,%r10 !lock | |
2431 | brnz %r10, cwq_7_87 | |
2432 | rd %asi, %r12 | |
2433 | wr %g0, 0x40, %asi | |
2434 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2435 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2436 | cmp %l1, 1 | |
2437 | bne cwq_7_87 | |
2438 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2439 | sub %l2, 0x40, %l2 | |
2440 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2441 | wr %r12, %g0, %asi | |
2442 | st %g0, [%r23] | |
2443 | cwq_7_87: | |
2444 | ta T_CHANGE_NONHPRIV | |
2445 | .word 0x95414000 ! 165: RDPC rd %pc, %r10 | |
2446 | DS_7_88: | |
2447 | .word 0x91a209ca ! 1: FDIVd fdivd %f8, %f10, %f8 | |
2448 | .word 0xbfe7c000 ! 166: SAVE_R save %r31, %r0, %r31 | |
2449 | cwp_7_89: | |
2450 | set user_data_start, %o7 | |
2451 | .word 0x93902003 ! 167: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
2452 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2453 | ta T_CHANGE_NONPRIV ! macro | |
2454 | .word 0x93a01970 ! 168: FqTOd dis not found | |
2455 | ||
2456 | splash_cmpr_7_91: | |
2457 | setx 0x7de4f2d9b25a6469, %g2, %g1 | |
2458 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
2459 | sub %g1, 100, %g1 | |
2460 | .word 0xb1800001 ! 169: WR_STICK_REG_R wr %r0, %r1, %- | |
2461 | debug_7_92: | |
2462 | nop | |
2463 | mov 0x38, %r18 | |
2464 | .word 0xfef00b12 ! 170: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2465 | splash_tba_7_93: | |
2466 | set 0x003d0000, %r12 | |
2467 | ld [%r12+%r0], %r1 | |
2468 | ta T_CHANGE_PRIV | |
2469 | set 0x003d0000, %r12 | |
2470 | .word 0x8b90000c ! 171: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2471 | splash_cmpr_7_94: | |
2472 | setx 0xd456bb0346eb9610, %g2, %g1 | |
2473 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2474 | sub %g1, 100, %g1 | |
2475 | .word 0xb1800001 ! 172: WR_STICK_REG_R wr %r0, %r1, %- | |
2476 | .word 0xa1902002 ! 173: WRPR_GL_I wrpr %r0, 0x0002, %- | |
2477 | otherw | |
2478 | mov 0x34, %r30 | |
2479 | .word 0x91d0001e ! 174: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2480 | .word 0x2c700001 ! 175: BPNEG <illegal instruction> | |
2481 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2482 | ta T_CHANGE_NONHPRIV ! macro | |
2483 | .word 0xa7a0196a ! 176: FqTOd dis not found | |
2484 | ||
2485 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2486 | ta T_CHANGE_NONPRIV ! macro | |
2487 | .word 0xa76c72e5 ! 177: SDIVX_I sdivx %r17, 0xfffff2e5, %r19 | |
2488 | tagged_7_97: | |
2489 | taddcctv %r10, 0x1e32, %r18 | |
2490 | .word 0xe407e4f3 ! 178: LDUW_I lduw [%r31 + 0x04f3], %r18 | |
2491 | debug_7_98: | |
2492 | nop | |
2493 | mov 0x38, %r18 | |
2494 | .word 0xfef00b12 ! 179: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2495 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2496 | ta T_CHANGE_NONHPRIV ! macro | |
2497 | .word 0x936c3caa ! 180: SDIVX_I sdivx %r16, 0xfffffcaa, %r9 | |
2498 | ta T_CHANGE_HPRIV | |
2499 | mov (7+1), %r10 | |
2500 | set sync_thr_counter1, %r23 | |
2501 | cas [%r23],%g0,%r10 !lock | |
2502 | brnz %r10, cwq_7_100 | |
2503 | rd %asi, %r12 | |
2504 | wr %g0, 0x40, %asi | |
2505 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2506 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2507 | cmp %l1, 1 | |
2508 | bne cwq_7_100 | |
2509 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2510 | sub %l2, 0x40, %l2 | |
2511 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2512 | wr %r12, %g0, %asi | |
2513 | st %g0, [%r23] | |
2514 | cwq_7_100: | |
2515 | ta T_CHANGE_NONHPRIV | |
2516 | .word 0x91414000 ! 181: RDPC rd %pc, %r8 | |
2517 | intveclr_7_101: | |
2518 | setx 0x308ee9558fce2258, %r1, %r28 | |
2519 | stxa %r28, [%g0] 0x72 | |
2520 | .word 0x25400001 ! 182: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2521 | .word 0x8780208b ! 183: WRASI_I wr %r0, 0x008b, %asi | |
2522 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2523 | ta T_CHANGE_NONPRIV ! macro | |
2524 | .word 0xa36a2a50 ! 184: SDIVX_I sdivx %r8, 0x0a50, %r17 | |
2525 | .word 0x879020af ! 185: WRPR_TT_I wrpr %r0, 0x00af, %tt | |
2526 | .word 0xdac804a0 ! 186: LDSBA_R ldsba [%r0, %r0] 0x25, %r13 | |
2527 | debug_7_103: | |
2528 | nop | |
2529 | rd %pc, %r19 | |
2530 | add %r19, (64+32), %r19 | |
2531 | mov 0x38, %r18 | |
2532 | .word 0xe6f00b12 ! 187: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2533 | .word 0xdacfe030 ! 188: LDSBA_I ldsba [%r31, + 0x0030] %asi, %r13 | |
2534 | intveclr_7_104: | |
2535 | setx 0x3a1b15b866fd5c3a, %r1, %r28 | |
2536 | stxa %r28, [%g0] 0x72 | |
2537 | .word 0x25400001 ! 189: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2538 | .word 0x93d02033 ! 190: Tcc_I tne icc_or_xcc, %r0 + 51 | |
2539 | otherw | |
2540 | mov 0x35, %r30 | |
2541 | .word 0x91d0001e ! 191: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2542 | splash_hpstate_7_105: | |
2543 | .word 0x8198246d ! 192: WRHPR_HPSTATE_I wrhpr %r0, 0x046d, %hpstate | |
2544 | debug_7_106: | |
2545 | nop | |
2546 | rd %pc, %r19 | |
2547 | add %r19, (64+48), %r19 | |
2548 | mov 0x38, %r18 | |
2549 | .word 0xe6f00b12 ! 193: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2550 | mov (7+1), %r10 | |
2551 | ta T_CHANGE_HPRIV | |
2552 | set sync_thr_counter2, %r23 | |
2553 | cas [%r23],%g0,%r10 !lock | |
2554 | brnz %r10, sma_7_107 | |
2555 | rd %asi, %r12 | |
2556 | wr %g0, 0x40, %asi | |
2557 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2558 | set 0x21fff, %g1 | |
2559 | stxa %g1, [%g0 + 0x80] %asi | |
2560 | wr %r12, %g0, %asi | |
2561 | st %g0, [%r23] | |
2562 | sma_7_107: | |
2563 | ta T_CHANGE_NONHPRIV | |
2564 | .word 0xdbe7e008 ! 194: CASA_R casa [%r31] %asi, %r8, %r13 | |
2565 | nop | |
2566 | mov 0x80, %g3 | |
2567 | stxa %g3, [%g3] 0x5f | |
2568 | .word 0xda5fc000 ! 195: LDX_R ldx [%r31 + %r0], %r13 | |
2569 | splash_lsu_7_108: | |
2570 | setx 0x8c4c1375299cdc37, %r1, %r2 | |
2571 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2572 | .word 0x3d400001 ! 196: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2573 | splash_tba_7_109: | |
2574 | set 0x120000, %r12 | |
2575 | ld [%r12+%r0], %r1 | |
2576 | ta T_CHANGE_PRIV | |
2577 | set 0x120000, %r12 | |
2578 | .word 0x8b90000c ! 197: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2579 | .word 0x91903d22 ! 198: WRPR_PIL_I wrpr %r0, 0x1d22, %pil | |
2580 | ta T_CHANGE_HPRIV | |
2581 | mov (7+1), %r10 | |
2582 | set sync_thr_counter1, %r23 | |
2583 | cas [%r23],%g0,%r10 !lock | |
2584 | brnz %r10, cwq_7_110 | |
2585 | rd %asi, %r12 | |
2586 | wr %g0, 0x40, %asi | |
2587 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2588 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2589 | cmp %l1, 1 | |
2590 | bne cwq_7_110 | |
2591 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2592 | sub %l2, 0x40, %l2 | |
2593 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2594 | wr %r12, %g0, %asi | |
2595 | st %g0, [%r23] | |
2596 | cwq_7_110: | |
2597 | ta T_CHANGE_NONHPRIV | |
2598 | .word 0xa3414000 ! 199: RDPC rd %pc, %r17 | |
2599 | .word 0x99a049d1 ! 200: FDIVd fdivd %f32, %f48, %f12 | |
2600 | debug_7_111: | |
2601 | nop | |
2602 | mov 8, %r18 | |
2603 | .word 0xe6f00492 ! 201: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
2604 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2605 | ta T_CHANGE_NONPRIV ! macro | |
2606 | .word 0xa1a01967 ! 202: FqTOd dis not found | |
2607 | ||
2608 | DS_7_113: | |
2609 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
2610 | pdist %f20, %f22, %f18 | |
2611 | .word 0xa3b50312 ! 203: ALIGNADDRESS alignaddr %r20, %r18, %r17 | |
2612 | splash_tba_7_114: | |
2613 | set 0x003d0000, %r12 | |
2614 | st %r1, [%r12+%r0] | |
2615 | ta T_CHANGE_PRIV | |
2616 | set 0x003d0000, %r12 | |
2617 | .word 0x8b90000c ! 204: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2618 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2619 | ta T_CHANGE_NONHPRIV ! macro | |
2620 | .word 0xa9a01962 ! 205: FqTOd dis not found | |
2621 | ||
2622 | intveclr_7_116: | |
2623 | setx 0xd1f104d5ff5e166e, %r1, %r28 | |
2624 | stxa %r28, [%g0] 0x72 | |
2625 | .word 0x25400001 ! 206: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2626 | nop | |
2627 | mov 0x80, %g3 | |
2628 | stxa %g3, [%g3] 0x5f | |
2629 | .word 0xe25fc000 ! 207: LDX_R ldx [%r31 + %r0], %r17 | |
2630 | splash_hpstate_7_117: | |
2631 | .word 0x81982d5e ! 208: WRHPR_HPSTATE_I wrhpr %r0, 0x0d5e, %hpstate | |
2632 | .word 0x87902304 ! 209: WRPR_TT_I wrpr %r0, 0x0304, %tt | |
2633 | debug_7_118: | |
2634 | nop | |
2635 | rd %pc, %r19 | |
2636 | add %r19, (64+0), %r19 | |
2637 | mov 0x38, %r18 | |
2638 | .word 0xe6f00b12 ! 210: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2639 | .word 0xad836558 ! 211: WR_SOFTINT_REG_I wr %r13, 0x0558, %softint | |
2640 | .word 0x8d90366b ! 212: WRPR_PSTATE_I wrpr %r0, 0x166b, %pstate | |
2641 | debug_7_119: | |
2642 | nop | |
2643 | mov 0x38, %r18 | |
2644 | .word 0xfef00b12 ! 213: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2645 | .word 0x91d02033 ! 214: Tcc_I ta icc_or_xcc, %r0 + 51 | |
2646 | mov (7+1), %r10 | |
2647 | ta T_CHANGE_HPRIV | |
2648 | set sync_thr_counter2, %r23 | |
2649 | cas [%r23],%g0,%r10 !lock | |
2650 | brnz %r10, sma_7_120 | |
2651 | rd %asi, %r12 | |
2652 | wr %g0, 0x40, %asi | |
2653 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2654 | set 0x21fff, %g1 | |
2655 | stxa %g1, [%g0 + 0x80] %asi | |
2656 | wr %r12, %g0, %asi | |
2657 | st %g0, [%r23] | |
2658 | sma_7_120: | |
2659 | ta T_CHANGE_NONHPRIV | |
2660 | .word 0xe3e7e003 ! 215: CASA_R casa [%r31] %asi, %r3, %r17 | |
2661 | splash_lsu_7_121: | |
2662 | setx 0xa9f13a3a51a6656b, %r1, %r2 | |
2663 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2664 | .word 0x3d400001 ! 216: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2665 | .word 0xe337c000 ! 217: STQF_R - %f17, [%r0, %r31] | |
2666 | splash_cmpr_7_122: | |
2667 | setx 0x46dfbf692e2ea778, %g2, %g1 | |
2668 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2669 | sub %g1, 100, %g1 | |
2670 | .word 0xb1800001 ! 218: WR_STICK_REG_R wr %r0, %r1, %- | |
2671 | intveclr_7_123: | |
2672 | setx 0x69adf51e6276cd8c, %r1, %r28 | |
2673 | stxa %r28, [%g0] 0x72 | |
2674 | .word 0x25400001 ! 219: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2675 | nop | |
2676 | mov 0x80, %g3 | |
2677 | stxa %g3, [%g3] 0x57 | |
2678 | .word 0xe25fc000 ! 220: LDX_R ldx [%r31 + %r0], %r17 | |
2679 | splash_cmpr_7_124: | |
2680 | setx 0xfc1a219ba778a9d4, %g2, %g1 | |
2681 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2682 | sub %g1, 100, %g1 | |
2683 | .word 0xb1800001 ! 221: WR_STICK_REG_R wr %r0, %r1, %- | |
2684 | splash_cmpr_7_125: | |
2685 | setx 0xc96abadf48791fab, %g2, %g1 | |
2686 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
2687 | sub %g1, 100, %g1 | |
2688 | .word 0xb1800001 ! 222: WR_STICK_REG_R wr %r0, %r1, %- | |
2689 | .word 0xe31fc000 ! 223: LDDF_R ldd [%r31, %r0], %f17 | |
2690 | tagged_7_126: | |
2691 | tsubcctv %r22, 0x1f99, %r1 | |
2692 | .word 0xe207f3f3 ! 224: LDUW_I lduw [%r31 + 0xfffff3f3], %r17 | |
2693 | splash_tba_7_127: | |
2694 | set 0x120000, %r12 | |
2695 | ld [%r12+%r0], %r1 | |
2696 | ta T_CHANGE_PRIV | |
2697 | set 0x120000, %r12 | |
2698 | .word 0x8b90000c ! 225: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2699 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2700 | ta T_CHANGE_NONPRIV ! macro | |
2701 | .word 0x95a01965 ! 226: FqTOd dis not found | |
2702 | ||
2703 | debug_7_129: | |
2704 | nop | |
2705 | mov 8, %r18 | |
2706 | .word 0xd6f00492 ! 227: STXA_R stxa %r11, [%r0 + %r18] 0x24 | |
2707 | tagged_7_130: | |
2708 | tsubcctv %r13, 0x1040, %r24 | |
2709 | .word 0xd807f3f3 ! 228: LDUW_I lduw [%r31 + 0xfffff3f3], %r12 | |
2710 | .word 0x8d9038df ! 229: WRPR_PSTATE_I wrpr %r0, 0x18df, %pstate | |
2711 | .word 0xa1a00174 ! 230: FABSq dis not found | |
2712 | ||
2713 | debug_7_131: | |
2714 | nop | |
2715 | mov 0x38, %r18 | |
2716 | .word 0xfef00b12 ! 231: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2717 | .word 0x34700001 ! 232: BPG <illegal instruction> | |
2718 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2719 | ta T_CHANGE_NONPRIV ! macro | |
2720 | .word 0x936cadbb ! 233: SDIVX_I sdivx %r18, 0x0dbb, %r9 | |
2721 | tagged_7_133: | |
2722 | taddcctv %r11, 0x1030, %r7 | |
2723 | .word 0xd807f212 ! 234: LDUW_I lduw [%r31 + 0xfffff212], %r12 | |
2724 | ta T_CHANGE_HPRIV | |
2725 | mov (7+1), %r10 | |
2726 | set sync_thr_counter1, %r23 | |
2727 | cas [%r23],%g0,%r10 !lock | |
2728 | brnz %r10, cwq_7_134 | |
2729 | rd %asi, %r12 | |
2730 | wr %g0, 0x40, %asi | |
2731 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2732 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2733 | cmp %l1, 1 | |
2734 | bne cwq_7_134 | |
2735 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2736 | sub %l2, 0x40, %l2 | |
2737 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2738 | wr %r12, %g0, %asi | |
2739 | st %g0, [%r23] | |
2740 | cwq_7_134: | |
2741 | ta T_CHANGE_NONHPRIV | |
2742 | .word 0x9b414000 ! 235: RDPC rd %pc, %r13 | |
2743 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2744 | ta T_CHANGE_NONHPRIV ! macro | |
2745 | .word 0xa369731a ! 236: SDIVX_I sdivx %r5, 0xfffff31a, %r17 | |
2746 | .word 0x8d902c04 ! 237: WRPR_PSTATE_I wrpr %r0, 0x0c04, %pstate | |
2747 | DS_7_136: | |
2748 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
2749 | .word 0xbfe7c000 ! 238: SAVE_R save %r31, %r0, %r31 | |
2750 | splash_tba_7_137: | |
2751 | set 0x120000, %r12 | |
2752 | ld [%r12+%r0], %r1 | |
2753 | ta T_CHANGE_PRIV | |
2754 | set 0x120000, %r12 | |
2755 | .word 0x8b90000c ! 239: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2756 | .word 0x97480000 ! 240: RDHPR_HPSTATE rdhpr %hpstate, %r11 | |
2757 | splash_tba_7_138: | |
2758 | set 0x003d0000, %r12 | |
2759 | st %r1, [%r12+%r0] | |
2760 | ta T_CHANGE_PRIV | |
2761 | set 0x003d0000, %r12 | |
2762 | .word 0x8b90000c ! 241: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2763 | debug_7_139: | |
2764 | nop | |
2765 | rd %pc, %r19 | |
2766 | add %r19, (64+24), %r19 | |
2767 | mov 0x38, %r18 | |
2768 | .word 0xe6f00b12 ! 242: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2769 | .word 0xd737e769 ! 243: STQF_I - %f11, [0x0769, %r31] | |
2770 | .word 0xa1902008 ! 244: WRPR_GL_I wrpr %r0, 0x0008, %- | |
2771 | debug_7_140: | |
2772 | nop | |
2773 | mov 0x38, %r18 | |
2774 | .word 0xfef00b12 ! 245: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2775 | .word 0xd66fe769 ! 246: LDSTUB_I ldstub %r11, [%r31 + 0x0769] | |
2776 | .word 0xa3a00172 ! 247: FABSq dis not found | |
2777 | ||
2778 | .word 0x3a700001 ! 248: BPCC <illegal instruction> | |
2779 | cwp_7_141: | |
2780 | set user_data_start, %o7 | |
2781 | .word 0x93902000 ! 249: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
2782 | mondo_7_142: | |
2783 | nop | |
2784 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2785 | ||
2786 | stxa %r11, [%r0+0x3c8] %asi | |
2787 | .word 0x9d95000c ! 250: WRPR_WSTATE_R wrpr %r20, %r12, %wstate | |
2788 | .word 0xa1902004 ! 251: WRPR_GL_I wrpr %r0, 0x0004, %- | |
2789 | .word 0xe48008a0 ! 252: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
2790 | debug_7_143: | |
2791 | nop | |
2792 | mov 0x38, %r18 | |
2793 | .word 0xfef00b12 ! 253: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2794 | mov (7+1), %r10 | |
2795 | ta T_CHANGE_HPRIV | |
2796 | set sync_thr_counter2, %r23 | |
2797 | cas [%r23],%g0,%r10 !lock | |
2798 | brnz %r10, sma_7_144 | |
2799 | rd %asi, %r12 | |
2800 | wr %g0, 0x40, %asi | |
2801 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2802 | set 0x21fff, %g1 | |
2803 | stxa %g1, [%g0 + 0x80] %asi | |
2804 | wr %r12, %g0, %asi | |
2805 | st %g0, [%r23] | |
2806 | sma_7_144: | |
2807 | ta T_CHANGE_NONHPRIV | |
2808 | .word 0xe5e7e008 ! 254: CASA_R casa [%r31] %asi, %r8, %r18 | |
2809 | .word 0xa1902009 ! 255: WRPR_GL_I wrpr %r0, 0x0009, %- | |
2810 | debug_7_145: | |
2811 | nop | |
2812 | rd %pc, %r19 | |
2813 | add %r19, (64+0), %r19 | |
2814 | mov 0x38, %r18 | |
2815 | .word 0xe6f00b12 ! 256: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2816 | invalw | |
2817 | mov 0x31, %r30 | |
2818 | .word 0x91d0001e ! 257: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2819 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2820 | ta T_CHANGE_NONPRIV ! macro | |
2821 | .word 0x99a01971 ! 258: FqTOd dis not found | |
2822 | ||
2823 | .word 0xe46fe769 ! 259: LDSTUB_I ldstub %r18, [%r31 + 0x0769] | |
2824 | .word 0x8d903290 ! 260: WRPR_PSTATE_I wrpr %r0, 0x1290, %pstate | |
2825 | mondo_7_147: | |
2826 | nop | |
2827 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2828 | ||
2829 | stxa %r9, [%r0+0x3c0] %asi | |
2830 | .word 0x9d914010 ! 261: WRPR_WSTATE_R wrpr %r5, %r16, %wstate | |
2831 | rd %pc, %r19 | |
2832 | add %r19, (ivw_7_148-.+56), %r19 | |
2833 | mov 0x38, %r18 | |
2834 | stxa %r19, [%r18]0x58 | |
2835 | ivw_7_148: | |
2836 | .word 0x9194c00b ! 262: WRPR_PIL_R wrpr %r19, %r11, %pil | |
2837 | nop | |
2838 | mov 0x80, %g3 | |
2839 | stxa %g3, [%g3] 0x57 | |
2840 | .word 0xe45fc000 ! 263: LDX_R ldx [%r31 + %r0], %r18 | |
2841 | setx 0x3403d8fd14f54aae, %r1, %r28 | |
2842 | stxa %r28, [%g0] 0x73 | |
2843 | intvec_7_149: | |
2844 | .word 0x39400001 ! 264: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2845 | mov (7+1), %r10 | |
2846 | ta T_CHANGE_HPRIV | |
2847 | set sync_thr_counter2, %r23 | |
2848 | cas [%r23],%g0,%r10 !lock | |
2849 | brnz %r10, sma_7_150 | |
2850 | rd %asi, %r12 | |
2851 | wr %g0, 0x40, %asi | |
2852 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2853 | set 0x21fff, %g1 | |
2854 | stxa %g1, [%g0 + 0x80] %asi | |
2855 | wr %r12, %g0, %asi | |
2856 | st %g0, [%r23] | |
2857 | sma_7_150: | |
2858 | ta T_CHANGE_NONHPRIV | |
2859 | .word 0xe5e7e013 ! 265: CASA_R casa [%r31] %asi, %r19, %r18 | |
2860 | .word 0xe497e000 ! 266: LDUHA_I lduha [%r31, + 0x0000] %asi, %r18 | |
2861 | DS_7_151: | |
2862 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
2863 | pdist %f30, %f28, %f8 | |
2864 | .word 0x99b10302 ! 267: ALIGNADDRESS alignaddr %r4, %r2, %r12 | |
2865 | .word 0x8d903bbb ! 268: WRPR_PSTATE_I wrpr %r0, 0x1bbb, %pstate | |
2866 | splash_lsu_7_152: | |
2867 | setx 0x1e5ed5a899b7c921, %r1, %r2 | |
2868 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2869 | .word 0x3d400001 ! 269: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2870 | debug_7_153: | |
2871 | nop | |
2872 | mov 8, %r18 | |
2873 | .word 0xe6f00492 ! 270: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
2874 | mov (7+1), %r10 | |
2875 | ta T_CHANGE_HPRIV | |
2876 | set sync_thr_counter2, %r23 | |
2877 | cas [%r23],%g0,%r10 !lock | |
2878 | brnz %r10, sma_7_154 | |
2879 | rd %asi, %r12 | |
2880 | wr %g0, 0x40, %asi | |
2881 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2882 | set 0x21fff, %g1 | |
2883 | stxa %g1, [%g0 + 0x80] %asi | |
2884 | wr %r12, %g0, %asi | |
2885 | st %g0, [%r23] | |
2886 | sma_7_154: | |
2887 | ta T_CHANGE_NONHPRIV | |
2888 | .word 0xe9e7e00a ! 271: CASA_R casa [%r31] %asi, %r10, %r20 | |
2889 | splash_tba_7_155: | |
2890 | set 0x120000, %r12 | |
2891 | ld [%r12+%r0], %r1 | |
2892 | ta T_CHANGE_PRIV | |
2893 | set 0x120000, %r12 | |
2894 | .word 0x8b90000c ! 272: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2895 | DS_7_156: | |
2896 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
2897 | .word 0xd75fc594 ! Random illegal ? | |
2898 | .word 0x91a289d2 ! 1: FDIVd fdivd %f10, %f18, %f8 | |
2899 | .word 0x99a0c832 ! 273: FADDs fadds %f3, %f18, %f12 | |
2900 | rd %pc, %r19 | |
2901 | add %r19, (ivw_7_157-.+48), %r19 | |
2902 | mov 0x38, %r18 | |
2903 | stxa %r19, [%r18]0x58 | |
2904 | ivw_7_157: | |
2905 | .word 0x9192800d ! 274: WRPR_PIL_R wrpr %r10, %r13, %pil | |
2906 | .word 0x8d902d9a ! 275: WRPR_PSTATE_I wrpr %r0, 0x0d9a, %pstate | |
2907 | .word 0xe0c004a0 ! 276: LDSWA_R ldswa [%r0, %r0] 0x25, %r16 | |
2908 | ta T_CHANGE_HPRIV | |
2909 | mov (7+1), %r10 | |
2910 | set sync_thr_counter1, %r23 | |
2911 | cas [%r23],%g0,%r10 !lock | |
2912 | brnz %r10, cwq_7_158 | |
2913 | rd %asi, %r12 | |
2914 | wr %g0, 0x40, %asi | |
2915 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2916 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2917 | cmp %l1, 1 | |
2918 | bne cwq_7_158 | |
2919 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2920 | sub %l2, 0x40, %l2 | |
2921 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2922 | wr %r12, %g0, %asi | |
2923 | st %g0, [%r23] | |
2924 | cwq_7_158: | |
2925 | ta T_CHANGE_NONHPRIV | |
2926 | .word 0xa5414000 ! 277: RDPC rd %pc, %r18 | |
2927 | ta T_CHANGE_HPRIV | |
2928 | mov (7+1), %r10 | |
2929 | set sync_thr_counter1, %r23 | |
2930 | cas [%r23],%g0,%r10 !lock | |
2931 | brnz %r10, cwq_7_159 | |
2932 | rd %asi, %r12 | |
2933 | wr %g0, 0x40, %asi | |
2934 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2935 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2936 | cmp %l1, 1 | |
2937 | bne cwq_7_159 | |
2938 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2939 | sub %l2, 0x40, %l2 | |
2940 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2941 | wr %r12, %g0, %asi | |
2942 | st %g0, [%r23] | |
2943 | cwq_7_159: | |
2944 | ta T_CHANGE_NONHPRIV | |
2945 | .word 0x95414000 ! 278: RDPC rd %pc, %r10 | |
2946 | .word 0x81460000 ! 279: RD_STICK_REG stbar | |
2947 | debug_7_160: | |
2948 | nop | |
2949 | rd %pc, %r19 | |
2950 | add %r19, (64+32), %r19 | |
2951 | mov 0x38, %r18 | |
2952 | .word 0xe6f00b12 ! 280: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2953 | .word 0xe66fe769 ! 281: LDSTUB_I ldstub %r19, [%r31 + 0x0769] | |
2954 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_7_161)+48, 16, 16)) -> intp(7,1,3) | |
2955 | xir_7_161: | |
2956 | .word 0xa984628e ! 282: WR_SET_SOFTINT_I wr %r17, 0x028e, %set_softint | |
2957 | tagged_7_162: | |
2958 | tsubcctv %r3, 0x18d9, %r3 | |
2959 | .word 0xe607e3f9 ! 283: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
2960 | .word 0x83d02034 ! 284: Tcc_I te icc_or_xcc, %r0 + 52 | |
2961 | otherw | |
2962 | mov 0x31, %r30 | |
2963 | .word 0x91d0001e ! 285: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2964 | tagged_7_163: | |
2965 | taddcctv %r23, 0x1225, %r7 | |
2966 | .word 0xe607e3f9 ! 286: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
2967 | .word 0x8d802000 ! 287: WRFPRS_I wr %r0, 0x0000, %fprs | |
2968 | .word 0x8d902c39 ! 288: WRPR_PSTATE_I wrpr %r0, 0x0c39, %pstate | |
2969 | debug_7_164: | |
2970 | nop | |
2971 | mov 0x38, %r18 | |
2972 | .word 0xfef00b12 ! 289: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2973 | splash_lsu_7_165: | |
2974 | setx 0x1d93e3b89c477b45, %r1, %r2 | |
2975 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2976 | .word 0x3d400001 ! 290: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2977 | mondo_7_166: | |
2978 | nop | |
2979 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2980 | ||
2981 | stxa %r1, [%r0+0x3c0] %asi | |
2982 | .word 0x9d918013 ! 291: WRPR_WSTATE_R wrpr %r6, %r19, %wstate | |
2983 | debug_7_167: | |
2984 | nop | |
2985 | mov 0x38, %r18 | |
2986 | .word 0xfef00b12 ! 292: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2987 | nop | |
2988 | mov 0x80, %g3 | |
2989 | stxa %g3, [%g3] 0x5f | |
2990 | .word 0xe65fc000 ! 293: LDX_R ldx [%r31 + %r0], %r19 | |
2991 | splash_tba_7_168: | |
2992 | set 0x003d0000, %r12 | |
2993 | st %r1, [%r12+%r0] | |
2994 | ta T_CHANGE_PRIV | |
2995 | set 0x003d0000, %r12 | |
2996 | .word 0x8b90000c ! 294: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2997 | splash_cmpr_7_169: | |
2998 | setx 0x99d1ffa06e8bcec9, %g2, %g1 | |
2999 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
3000 | sub %g1, 100, %g1 | |
3001 | .word 0xb1800001 ! 295: WR_STICK_REG_R wr %r0, %r1, %- | |
3002 | tagged_7_170: | |
3003 | tsubcctv %r24, 0x1570, %r4 | |
3004 | .word 0xe607e3f9 ! 296: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
3005 | .word 0xa1902004 ! 297: WRPR_GL_I wrpr %r0, 0x0004, %- | |
3006 | .word 0xe727e3f9 ! 298: STF_I st %f19, [0x03f9, %r31] | |
3007 | .word 0xe69fc020 ! 299: LDDA_R ldda [%r31, %r0] 0x01, %r19 | |
3008 | .word 0x93690013 ! 300: SDIVX_R sdivx %r4, %r19, %r9 | |
3009 | .word 0x8790228b ! 301: WRPR_TT_I wrpr %r0, 0x028b, %tt | |
3010 | change_to_randtl_7_171: | |
3011 | ta T_CHANGE_HPRIV ! macro | |
3012 | done_change_to_randtl_7_171: | |
3013 | .word 0x8f902003 ! 302: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
3014 | .word 0xa1902004 ! 303: WRPR_GL_I wrpr %r0, 0x0004, %- | |
3015 | splash_hpstate_7_172: | |
3016 | .word 0x8198294e ! 304: WRHPR_HPSTATE_I wrhpr %r0, 0x094e, %hpstate | |
3017 | rd %pc, %r19 | |
3018 | add %r19, (ivw_7_173-.+0), %r19 | |
3019 | mov 0x38, %r18 | |
3020 | stxa %r19, [%r18]0x58 | |
3021 | ivw_7_173: | |
3022 | .word 0x91900005 ! 305: WRPR_PIL_R wrpr %r0, %r5, %pil | |
3023 | cwp_7_174: | |
3024 | set user_data_start, %o7 | |
3025 | .word 0x93902000 ! 306: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
3026 | intveclr_7_175: | |
3027 | setx 0xdc65ad75170e2309, %r1, %r28 | |
3028 | stxa %r28, [%g0] 0x72 | |
3029 | .word 0x25400001 ! 307: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3030 | intveclr_7_176: | |
3031 | setx 0xe4d4b6afd9d04944, %r1, %r28 | |
3032 | stxa %r28, [%g0] 0x72 | |
3033 | .word 0x25400001 ! 308: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3034 | mondo_7_177: | |
3035 | nop | |
3036 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3037 | ||
3038 | stxa %r18, [%r0+0x3c0] %asi | |
3039 | .word 0x9d944002 ! 309: WRPR_WSTATE_R wrpr %r17, %r2, %wstate | |
3040 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3041 | ta T_CHANGE_NONPRIV ! macro | |
3042 | .word 0x99a01968 ! 310: FqTOd dis not found | |
3043 | ||
3044 | .word 0x8d903456 ! 311: WRPR_PSTATE_I wrpr %r0, 0x1456, %pstate | |
3045 | otherw | |
3046 | mov 0xb0, %r30 | |
3047 | .word 0x91d0001e ! 312: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3048 | .word 0x87902307 ! 313: WRPR_TT_I wrpr %r0, 0x0307, %tt | |
3049 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3050 | ta T_CHANGE_NONHPRIV ! macro | |
3051 | .word 0xa5a01961 ! 314: FqTOd dis not found | |
3052 | ||
3053 | .word 0xd88fe030 ! 315: LDUBA_I lduba [%r31, + 0x0030] %asi, %r12 | |
3054 | cwp_7_180: | |
3055 | set user_data_start, %o7 | |
3056 | .word 0x93902000 ! 316: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
3057 | splash_hpstate_7_181: | |
3058 | .word 0x81982007 ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x0007, %hpstate | |
3059 | debug_7_182: | |
3060 | nop | |
3061 | mov 0x38, %r18 | |
3062 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3063 | DS_7_183: | |
3064 | .word 0xa7a0c9d3 ! 1: FDIVd fdivd %f34, %f50, %f50 | |
3065 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
3066 | .word 0xd1148002 ! 1: LDQF_R - [%r18, %r2], %f8 | |
3067 | .word 0xa5a2c829 ! 319: FADDs fadds %f11, %f9, %f18 | |
3068 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3069 | ta T_CHANGE_NONPRIV ! macro | |
3070 | .word 0xa9a01972 ! 320: FqTOd dis not found | |
3071 | ||
3072 | DS_7_185: | |
3073 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
3074 | .word 0xbfefc000 ! 321: RESTORE_R restore %r31, %r0, %r31 | |
3075 | splash_cmpr_7_186: | |
3076 | setx 0x4fb20041e4200686, %g2, %g1 | |
3077 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3078 | sub %g1, 100, %g1 | |
3079 | .word 0xb1800001 ! 322: WR_STICK_REG_R wr %r0, %r1, %- | |
3080 | .word 0xa1902003 ! 323: WRPR_GL_I wrpr %r0, 0x0003, %- | |
3081 | debug_7_187: | |
3082 | nop | |
3083 | rd %pc, %r19 | |
3084 | add %r19, (64+16), %r19 | |
3085 | mov 0x38, %r18 | |
3086 | .word 0xe6f00b12 ! 324: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3087 | .word 0x91d02033 ! 325: Tcc_I ta icc_or_xcc, %r0 + 51 | |
3088 | change_to_randtl_7_188: | |
3089 | ta T_CHANGE_PRIV ! macro | |
3090 | done_change_to_randtl_7_188: | |
3091 | .word 0x8f902002 ! 326: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3092 | intveclr_7_189: | |
3093 | setx 0xa1a90ebe907f8833, %r1, %r28 | |
3094 | stxa %r28, [%g0] 0x72 | |
3095 | .word 0x25400001 ! 327: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3096 | .word 0xa1902000 ! 328: WRPR_GL_I wrpr %r0, 0x0000, %- | |
3097 | .word 0x26700001 ! 329: BPL <illegal instruction> | |
3098 | splash_hpstate_7_190: | |
3099 | .word 0x81982756 ! 330: WRHPR_HPSTATE_I wrhpr %r0, 0x0756, %hpstate | |
3100 | .word 0xd527c000 ! 331: STF_R st %f10, [%r0, %r31] | |
3101 | debug_7_191: | |
3102 | nop | |
3103 | mov 0x38, %r18 | |
3104 | .word 0xfef00b12 ! 332: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3105 | .word 0x8d903bfc ! 333: WRPR_PSTATE_I wrpr %r0, 0x1bfc, %pstate | |
3106 | intveclr_7_192: | |
3107 | setx 0x6eaca510cd59f227, %r1, %r28 | |
3108 | stxa %r28, [%g0] 0x72 | |
3109 | .word 0x25400001 ! 334: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3110 | .word 0x87802016 ! 335: WRASI_I wr %r0, 0x0016, %asi | |
3111 | DS_7_193: | |
3112 | nop | |
3113 | not %g0, %r12 | |
3114 | jmp %r12 | |
3115 | .word 0x9d902005 ! 336: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
3116 | tagged_7_194: | |
3117 | tsubcctv %r19, 0x103b, %r19 | |
3118 | .word 0xd407e3f9 ! 337: LDUW_I lduw [%r31 + 0x03f9], %r10 | |
3119 | change_to_randtl_7_195: | |
3120 | ta T_CHANGE_HPRIV ! macro | |
3121 | done_change_to_randtl_7_195: | |
3122 | .word 0x8f902000 ! 338: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3123 | .word 0xd4800c00 ! 339: LDUWA_R lduwa [%r0, %r0] 0x60, %r10 | |
3124 | .word 0x8d802004 ! 340: WRFPRS_I wr %r0, 0x0004, %fprs | |
3125 | splash_cmpr_7_196: | |
3126 | setx 0xa39aeb6aec605748, %g2, %g1 | |
3127 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3128 | sub %g1, 100, %g1 | |
3129 | .word 0xb1800001 ! 341: WR_STICK_REG_R wr %r0, %r1, %- | |
3130 | mov (7+1), %r10 | |
3131 | ta T_CHANGE_HPRIV | |
3132 | set sync_thr_counter2, %r23 | |
3133 | cas [%r23],%g0,%r10 !lock | |
3134 | brnz %r10, sma_7_197 | |
3135 | rd %asi, %r12 | |
3136 | wr %g0, 0x40, %asi | |
3137 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3138 | set 0x21fff, %g1 | |
3139 | stxa %g1, [%g0 + 0x80] %asi | |
3140 | wr %r12, %g0, %asi | |
3141 | st %g0, [%r23] | |
3142 | sma_7_197: | |
3143 | ta T_CHANGE_NONHPRIV | |
3144 | .word 0xd5e7e004 ! 342: CASA_R casa [%r31] %asi, %r4, %r10 | |
3145 | .word 0x87902084 ! 343: WRPR_TT_I wrpr %r0, 0x0084, %tt | |
3146 | .word 0x2a700001 ! 344: BPCS <illegal instruction> | |
3147 | .word 0xad82fc3b ! 345: WR_SOFTINT_REG_I wr %r11, 0x1c3b, %softint | |
3148 | debug_7_198: | |
3149 | nop | |
3150 | mov 8, %r18 | |
3151 | .word 0xd0f00492 ! 346: STXA_R stxa %r8, [%r0 + %r18] 0x24 | |
3152 | .word 0x34800001 ! 347: BG bg,a <label_0x1> | |
3153 | nop | |
3154 | mov 0x80, %g3 | |
3155 | stxa %g3, [%g3] 0x5f | |
3156 | .word 0xd45fc000 ! 348: LDX_R ldx [%r31 + %r0], %r10 | |
3157 | tagged_7_199: | |
3158 | taddcctv %r5, 0x1d8f, %r10 | |
3159 | .word 0xd407fefd ! 349: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
3160 | tagged_7_200: | |
3161 | tsubcctv %r14, 0x1542, %r2 | |
3162 | .word 0xd407fefd ! 350: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
3163 | donret_7_201: | |
3164 | nop | |
3165 | rd %pc, %r12 | |
3166 | add %r12, (donretarg_7_201-donret_7_201-4), %r12 | |
3167 | mov 0x38, %r18 | |
3168 | stxa %r12, [%r18]0x58 | |
3169 | add %r12, 0x4, %r11 | |
3170 | wrpr %g0, 0x2, %tl | |
3171 | wrpr %g0, %r12, %tpc | |
3172 | wrpr %g0, %r11, %tnpc | |
3173 | wrpr %g0, %r13, %tstate | |
3174 | wrhpr %g0, %r14, %htstate | |
3175 | done | |
3176 | donretarg_7_201: | |
3177 | .word 0xd4fffefd ! 351: SWAPA_I swapa %r10, [%r31 + 0xfffffefd] %asi | |
3178 | mondo_7_202: | |
3179 | nop | |
3180 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3181 | ||
3182 | stxa %r3, [%r0+0x3d8] %asi | |
3183 | .word 0x9d924004 ! 352: WRPR_WSTATE_R wrpr %r9, %r4, %wstate | |
3184 | setx 0x071811e9111f158c, %r1, %r28 | |
3185 | stxa %r28, [%g0] 0x73 | |
3186 | intvec_7_203: | |
3187 | .word 0x39400001 ! 353: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3188 | splash_lsu_7_204: | |
3189 | setx 0x0462ad5eda3f3b2f, %r1, %r2 | |
3190 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3191 | .word 0x3d400001 ! 354: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3192 | memptr_7_205: | |
3193 | set 0x60340000, %r31 | |
3194 | .word 0x8581fe72 ! 355: WRCCR_I wr %r7, 0x1e72, %ccr | |
3195 | .word 0xa190200c ! 356: WRPR_GL_I wrpr %r0, 0x000c, %- | |
3196 | nop | |
3197 | mov 0x80, %g3 | |
3198 | stxa %g3, [%g3] 0x57 | |
3199 | .word 0xd45fc000 ! 357: LDX_R ldx [%r31 + %r0], %r10 | |
3200 | .word 0xa9a00172 ! 358: FABSq dis not found | |
3201 | ||
3202 | .word 0x91540000 ! 359: RDPR_GL rdpr %-, %r8 | |
3203 | change_to_randtl_7_206: | |
3204 | ta T_CHANGE_PRIV ! macro | |
3205 | done_change_to_randtl_7_206: | |
3206 | .word 0x8f902001 ! 360: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3207 | .word 0x91d02034 ! 361: Tcc_I ta icc_or_xcc, %r0 + 52 | |
3208 | .word 0xab84c002 ! 362: WR_CLEAR_SOFTINT_R wr %r19, %r2, %clear_softint | |
3209 | .word 0x8d903acd ! 363: WRPR_PSTATE_I wrpr %r0, 0x1acd, %pstate | |
3210 | .word 0x91d02032 ! 364: Tcc_I ta icc_or_xcc, %r0 + 50 | |
3211 | splash_lsu_7_207: | |
3212 | setx 0xfe01b436aeceb1ad, %r1, %r2 | |
3213 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3214 | .word 0x3d400001 ! 365: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3215 | splash_hpstate_7_208: | |
3216 | .word 0x81982784 ! 366: WRHPR_HPSTATE_I wrhpr %r0, 0x0784, %hpstate | |
3217 | debug_7_209: | |
3218 | nop | |
3219 | mov 0x38, %r18 | |
3220 | .word 0xfef00b12 ! 367: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3221 | mondo_7_210: | |
3222 | nop | |
3223 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3224 | ||
3225 | stxa %r19, [%r0+0x3d8] %asi | |
3226 | .word 0x9d90c012 ! 368: WRPR_WSTATE_R wrpr %r3, %r18, %wstate | |
3227 | setx 0x15786cbbf8bd018b, %r1, %r28 | |
3228 | stxa %r28, [%g0] 0x73 | |
3229 | intvec_7_211: | |
3230 | .word 0x39400001 ! 369: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3231 | .word 0xe60fe29d ! 370: LDUB_I ldub [%r31 + 0x029d], %r19 | |
3232 | .word 0x8d9020c5 ! 371: WRPR_PSTATE_I wrpr %r0, 0x00c5, %pstate | |
3233 | .word 0x9150c000 ! 372: RDPR_TT rdpr %tt, %r8 | |
3234 | mov (7+1), %r10 | |
3235 | ta T_CHANGE_HPRIV | |
3236 | set sync_thr_counter2, %r23 | |
3237 | cas [%r23],%g0,%r10 !lock | |
3238 | brnz %r10, sma_7_212 | |
3239 | rd %asi, %r12 | |
3240 | wr %g0, 0x40, %asi | |
3241 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3242 | set 0x21fff, %g1 | |
3243 | stxa %g1, [%g0 + 0x80] %asi | |
3244 | wr %r12, %g0, %asi | |
3245 | st %g0, [%r23] | |
3246 | sma_7_212: | |
3247 | ta T_CHANGE_NONHPRIV | |
3248 | .word 0xd1e7e00a ! 373: CASA_R casa [%r31] %asi, %r10, %r8 | |
3249 | .word 0xd08008a0 ! 374: LDUWA_R lduwa [%r0, %r0] 0x45, %r8 | |
3250 | .word 0x22800001 ! 375: BE be,a <label_0x1> | |
3251 | .word 0x87802083 ! 376: WRASI_I wr %r0, 0x0083, %asi | |
3252 | .word 0x87802014 ! 377: WRASI_I wr %r0, 0x0014, %asi | |
3253 | .word 0xa1a48dc8 ! 378: FdMULq fdmulq | |
3254 | splash_tba_7_213: | |
3255 | set 0x003d0000, %r12 | |
3256 | ld [%r12+%r0], %r1 | |
3257 | ta T_CHANGE_PRIV | |
3258 | set 0x003d0000, %r12 | |
3259 | .word 0x8b90000c ! 379: WRPR_TBA_R wrpr %r0, %r12, %tba | |
3260 | .word 0x83d020b2 ! 380: Tcc_I te icc_or_xcc, %r0 + 178 | |
3261 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3262 | ta T_CHANGE_NONPRIV ! macro | |
3263 | .word 0xa7a01962 ! 381: FqTOd dis not found | |
3264 | ||
3265 | splash_cmpr_7_215: | |
3266 | setx 0x35d255c5b1fb6646, %g2, %g1 | |
3267 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
3268 | sub %g1, 100, %g1 | |
3269 | .word 0xb1800001 ! 382: WR_STICK_REG_R wr %r0, %r1, %- | |
3270 | debug_7_216: | |
3271 | nop | |
3272 | mov 8, %r18 | |
3273 | .word 0xdaf00492 ! 383: STXA_R stxa %r13, [%r0 + %r18] 0x24 | |
3274 | setx 0x49c5a7ca081dfb63, %r1, %r28 | |
3275 | stxa %r28, [%g0] 0x73 | |
3276 | intvec_7_217: | |
3277 | .word 0x39400001 ! 384: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3278 | .word 0xa5480000 ! 385: RDHPR_HPSTATE rdhpr %hpstate, %r18 | |
3279 | .word 0x26800001 ! 386: BL bl,a <label_0x1> | |
3280 | ta T_CHANGE_HPRIV | |
3281 | mov (7+1), %r10 | |
3282 | set sync_thr_counter1, %r23 | |
3283 | cas [%r23],%g0,%r10 !lock | |
3284 | brnz %r10, cwq_7_218 | |
3285 | rd %asi, %r12 | |
3286 | wr %g0, 0x40, %asi | |
3287 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3288 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3289 | cmp %l1, 1 | |
3290 | bne cwq_7_218 | |
3291 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3292 | sub %l2, 0x40, %l2 | |
3293 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3294 | wr %r12, %g0, %asi | |
3295 | st %g0, [%r23] | |
3296 | cwq_7_218: | |
3297 | ta T_CHANGE_NONHPRIV | |
3298 | .word 0x99414000 ! 387: RDPC rd %pc, %r12 | |
3299 | splash_hpstate_7_219: | |
3300 | .word 0x8198265d ! 388: WRHPR_HPSTATE_I wrhpr %r0, 0x065d, %hpstate | |
3301 | splash_tba_7_220: | |
3302 | set 0x120000, %r12 | |
3303 | st %r1, [%r12+%r0] | |
3304 | ta T_CHANGE_PRIV | |
3305 | set 0x120000, %r12 | |
3306 | .word 0x8b90000c ! 389: WRPR_TBA_R wrpr %r0, %r12, %tba | |
3307 | splash_tba_7_221: | |
3308 | set 0x120000, %r12 | |
3309 | ld [%r12+%r0], %r1 | |
3310 | ta T_CHANGE_PRIV | |
3311 | set 0x120000, %r12 | |
3312 | .word 0x8b90000c ! 390: WRPR_TBA_R wrpr %r0, %r12, %tba | |
3313 | splash_cmpr_7_222: | |
3314 | setx 0xf44b59721c5ecdf1, %g2, %g1 | |
3315 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3316 | sub %g1, 100, %g1 | |
3317 | .word 0xb1800001 ! 391: WR_STICK_REG_R wr %r0, %r1, %- | |
3318 | setx 0xeb9f99f23e8b1064, %r1, %r28 | |
3319 | stxa %r28, [%g0] 0x73 | |
3320 | intvec_7_223: | |
3321 | .word 0x39400001 ! 392: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3322 | .word 0xa0d16f26 ! 393: UMULcc_I umulcc %r5, 0x0f26, %r16 | |
3323 | .word 0xd697e010 ! 394: LDUHA_I lduha [%r31, + 0x0010] %asi, %r11 | |
3324 | .word 0x20700001 ! 395: BPN <illegal instruction> | |
3325 | .word 0x91d020b4 ! 396: Tcc_I ta icc_or_xcc, %r0 + 180 | |
3326 | .word 0x95703da9 ! 397: POPC_I popc 0x1da9, %r10 | |
3327 | splash_lsu_7_224: | |
3328 | setx 0xfe94b5ace0fb8ffb, %r1, %r2 | |
3329 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3330 | .word 0x3d400001 ! 398: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3331 | .word 0x87902300 ! 399: WRPR_TT_I wrpr %r0, 0x0300, %tt | |
3332 | splash_cmpr_7_225: | |
3333 | setx 0xcbc0c3b0058e7821, %g2, %g1 | |
3334 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3335 | sub %g1, 100, %g1 | |
3336 | .word 0xb1800001 ! 400: WR_STICK_REG_R wr %r0, %r1, %- | |
3337 | memptr_7_226: | |
3338 | set 0x60140000, %r31 | |
3339 | .word 0x8581e26a ! 401: WRCCR_I wr %r7, 0x026a, %ccr | |
3340 | cwp_7_227: | |
3341 | set user_data_start, %o7 | |
3342 | .word 0x93902007 ! 402: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
3343 | .word 0x9f802dcc ! 403: SIR sir 0x0dcc | |
3344 | mondo_7_228: | |
3345 | nop | |
3346 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3347 | ||
3348 | stxa %r13, [%r0+0x3d8] %asi | |
3349 | .word 0x9d920014 ! 404: WRPR_WSTATE_R wrpr %r8, %r20, %wstate | |
3350 | .word 0xab806fde ! 405: WR_CLEAR_SOFTINT_I wr %r1, 0x0fde, %clear_softint | |
3351 | .word 0xa1902002 ! 406: WRPR_GL_I wrpr %r0, 0x0002, %- | |
3352 | DS_7_229: | |
3353 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
3354 | .word 0xbfefc000 ! 407: RESTORE_R restore %r31, %r0, %r31 | |
3355 | tagged_7_230: | |
3356 | tsubcctv %r7, 0x1c1c, %r18 | |
3357 | .word 0xe207f5d2 ! 408: LDUW_I lduw [%r31 + 0xfffff5d2], %r17 | |
3358 | .word 0x95540000 ! 409: RDPR_GL rdpr %-, %r10 | |
3359 | mondo_7_231: | |
3360 | nop | |
3361 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3362 | ||
3363 | stxa %r17, [%r0+0x3c0] %asi | |
3364 | .word 0x9d908008 ! 410: WRPR_WSTATE_R wrpr %r2, %r8, %wstate | |
3365 | debug_7_232: | |
3366 | nop | |
3367 | rd %pc, %r19 | |
3368 | add %r19, (64+8), %r19 | |
3369 | mov 0x38, %r18 | |
3370 | .word 0xe6f00b12 ! 411: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3371 | splash_cmpr_7_233: | |
3372 | setx 0x0f8150be5c8ffe81, %g2, %g1 | |
3373 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3374 | sub %g1, 100, %g1 | |
3375 | .word 0xb1800001 ! 412: WR_STICK_REG_R wr %r0, %r1, %- | |
3376 | mov (7+1), %r10 | |
3377 | ta T_CHANGE_HPRIV | |
3378 | set sync_thr_counter2, %r23 | |
3379 | cas [%r23],%g0,%r10 !lock | |
3380 | brnz %r10, sma_7_234 | |
3381 | rd %asi, %r12 | |
3382 | wr %g0, 0x40, %asi | |
3383 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3384 | set 0x21fff, %g1 | |
3385 | stxa %g1, [%g0 + 0x80] %asi | |
3386 | wr %r12, %g0, %asi | |
3387 | st %g0, [%r23] | |
3388 | sma_7_234: | |
3389 | ta T_CHANGE_NONHPRIV | |
3390 | .word 0xd9e7e014 ! 413: CASA_R casa [%r31] %asi, %r20, %r12 | |
3391 | .word 0xd927c000 ! 414: STF_R st %f12, [%r0, %r31] | |
3392 | debug_7_235: | |
3393 | nop | |
3394 | rd %pc, %r19 | |
3395 | add %r19, (64+56), %r19 | |
3396 | mov 0x38, %r18 | |
3397 | .word 0xe6f00b12 ! 415: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3398 | .word 0x879022a7 ! 416: WRPR_TT_I wrpr %r0, 0x02a7, %tt | |
3399 | debug_7_236: | |
3400 | nop | |
3401 | mov 0x38, %r18 | |
3402 | .word 0xfef00b12 ! 417: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3403 | mondo_7_237: | |
3404 | nop | |
3405 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3406 | ||
3407 | stxa %r19, [%r0+0x3c8] %asi | |
3408 | .word 0x9d910009 ! 418: WRPR_WSTATE_R wrpr %r4, %r9, %wstate | |
3409 | tagged_7_238: | |
3410 | tsubcctv %r20, 0x1af0, %r6 | |
3411 | .word 0xd807f5d2 ! 419: LDUW_I lduw [%r31 + 0xfffff5d2], %r12 | |
3412 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3413 | ta T_CHANGE_NONHPRIV ! macro | |
3414 | .word 0xa36ae081 ! 420: SDIVX_I sdivx %r11, 0x0081, %r17 | |
3415 | .word 0x87902198 ! 421: WRPR_TT_I wrpr %r0, 0x0198, %tt | |
3416 | .word 0x91d020b4 ! 422: Tcc_I ta icc_or_xcc, %r0 + 180 | |
3417 | .word 0xd8d804a0 ! 423: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
3418 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3419 | ta T_CHANGE_NONPRIV ! macro | |
3420 | .word 0xa1693d1f ! 424: SDIVX_I sdivx %r4, 0xfffffd1f, %r16 | |
3421 | rd %pc, %r19 | |
3422 | add %r19, (ivw_7_241-.+32), %r19 | |
3423 | mov 0x38, %r18 | |
3424 | stxa %r19, [%r18]0x58 | |
3425 | ivw_7_241: | |
3426 | .word 0x91940011 ! 425: WRPR_PIL_R wrpr %r16, %r17, %pil | |
3427 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3428 | ta T_CHANGE_NONPRIV ! macro | |
3429 | .word 0xa96d3d86 ! 426: SDIVX_I sdivx %r20, 0xfffffd86, %r20 | |
3430 | splash_cmpr_7_243: | |
3431 | setx 0x6f174f10459ad5d4, %g2, %g1 | |
3432 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
3433 | sub %g1, 100, %g1 | |
3434 | .word 0xb1800001 ! 427: WR_STICK_REG_R wr %r0, %r1, %- | |
3435 | splash_cmpr_7_244: | |
3436 | setx 0xec2fd9a110c2cd30, %g2, %g1 | |
3437 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3438 | sub %g1, 100, %g1 | |
3439 | .word 0xb1800001 ! 428: WR_STICK_REG_R wr %r0, %r1, %- | |
3440 | .word 0x9b6c0013 ! 429: SDIVX_R sdivx %r16, %r19, %r13 | |
3441 | setx 0x0a12ee4eaf0a3f4d, %r1, %r28 | |
3442 | stxa %r28, [%g0] 0x73 | |
3443 | intvec_7_245: | |
3444 | .word 0x39400001 ! 430: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3445 | DS_7_246: | |
3446 | nop | |
3447 | not %g0, %r12 | |
3448 | jmp %r12 | |
3449 | .word 0x9d902002 ! 431: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
3450 | pmu_7_247: | |
3451 | nop | |
3452 | setx 0xfffff80dfffffbb8, %g1, %g7 | |
3453 | .word 0xa3800007 ! 432: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
3454 | change_to_randtl_7_248: | |
3455 | ta T_CHANGE_PRIV ! macro | |
3456 | done_change_to_randtl_7_248: | |
3457 | .word 0x8f902001 ! 433: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3458 | .word 0xe257c000 ! 434: LDSH_R ldsh [%r31 + %r0], %r17 | |
3459 | .word 0xa1902009 ! 435: WRPR_GL_I wrpr %r0, 0x0009, %- | |
3460 | mov (7+1), %r10 | |
3461 | ta T_CHANGE_HPRIV | |
3462 | set sync_thr_counter2, %r23 | |
3463 | cas [%r23],%g0,%r10 !lock | |
3464 | brnz %r10, sma_7_249 | |
3465 | rd %asi, %r12 | |
3466 | wr %g0, 0x40, %asi | |
3467 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3468 | set 0x21fff, %g1 | |
3469 | stxa %g1, [%g0 + 0x80] %asi | |
3470 | wr %r12, %g0, %asi | |
3471 | st %g0, [%r23] | |
3472 | sma_7_249: | |
3473 | ta T_CHANGE_NONHPRIV | |
3474 | .word 0xe3e7e00b ! 436: CASA_R casa [%r31] %asi, %r11, %r17 | |
3475 | splash_lsu_7_250: | |
3476 | setx 0x11c183cb6a9fbff7, %r1, %r2 | |
3477 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3478 | .word 0x3d400001 ! 437: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3479 | .word 0xe28008a0 ! 438: LDUWA_R lduwa [%r0, %r0] 0x45, %r17 | |
3480 | splash_lsu_7_251: | |
3481 | setx 0x3da88885429cb94f, %r1, %r2 | |
3482 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3483 | .word 0x3d400001 ! 439: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3484 | splash_cmpr_7_252: | |
3485 | setx 0xdc2e093f45a46205, %g2, %g1 | |
3486 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3487 | sub %g1, 100, %g1 | |
3488 | .word 0xb1800001 ! 440: WR_STICK_REG_R wr %r0, %r1, %- | |
3489 | nop | |
3490 | mov 0x80, %g3 | |
3491 | stxa %g3, [%g3] 0x57 | |
3492 | .word 0xe25fc000 ! 441: LDX_R ldx [%r31 + %r0], %r17 | |
3493 | .word 0x99540000 ! 442: RDPR_GL <illegal instruction> | |
3494 | ta T_CHANGE_HPRIV | |
3495 | mov (7+1), %r10 | |
3496 | set sync_thr_counter1, %r23 | |
3497 | cas [%r23],%g0,%r10 !lock | |
3498 | brnz %r10, cwq_7_253 | |
3499 | rd %asi, %r12 | |
3500 | wr %g0, 0x40, %asi | |
3501 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3502 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3503 | cmp %l1, 1 | |
3504 | bne cwq_7_253 | |
3505 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3506 | sub %l2, 0x40, %l2 | |
3507 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3508 | wr %r12, %g0, %asi | |
3509 | st %g0, [%r23] | |
3510 | cwq_7_253: | |
3511 | ta T_CHANGE_NONHPRIV | |
3512 | .word 0x97414000 ! 443: RDPC rd %pc, %r11 | |
3513 | splash_htba_7_254: | |
3514 | set 0x80000, %r12 | |
3515 | st %r1, [%r12+%r0] | |
3516 | ta T_CHANGE_HPRIV | |
3517 | set 0x80000, %r12 | |
3518 | .word 0x8b98000c ! 444: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3519 | tagged_7_255: | |
3520 | taddcctv %r16, 0x1d5b, %r18 | |
3521 | .word 0xd807f183 ! 445: LDUW_I lduw [%r31 + 0xfffff183], %r12 | |
3522 | memptr_7_256: | |
3523 | set 0x60140000, %r31 | |
3524 | .word 0x85827f3e ! 446: WRCCR_I wr %r9, 0x1f3e, %ccr | |
3525 | tagged_7_257: | |
3526 | taddcctv %r23, 0x1856, %r11 | |
3527 | .word 0xd807e3fe ! 447: LDUW_I lduw [%r31 + 0x03fe], %r12 | |
3528 | .word 0xd91fe3fe ! 448: LDDF_I ldd [%r31, 0x03fe], %f12 | |
3529 | .word 0x8780201c ! 449: WRASI_I wr %r0, 0x001c, %asi | |
3530 | splash_tba_7_258: | |
3531 | set 0x003d0000, %r12 | |
3532 | st %r1, [%r12+%r0] | |
3533 | ta T_CHANGE_PRIV | |
3534 | set 0x003d0000, %r12 | |
3535 | .word 0x8b90000c ! 450: WRPR_TBA_R wrpr %r0, %r12, %tba | |
3536 | .word 0x9b6a0013 ! 451: SDIVX_R sdivx %r8, %r19, %r13 | |
3537 | rd %pc, %r19 | |
3538 | add %r19, (ivw_7_259-.+0), %r19 | |
3539 | mov 0x38, %r18 | |
3540 | stxa %r19, [%r18]0x58 | |
3541 | ivw_7_259: | |
3542 | .word 0x91934001 ! 452: WRPR_PIL_R wrpr %r13, %r1, %pil | |
3543 | rd %pc, %r19 | |
3544 | add %r19, (ivw_7_260-.+48), %r19 | |
3545 | mov 0x38, %r18 | |
3546 | stxa %r19, [%r18]0x58 | |
3547 | ivw_7_260: | |
3548 | .word 0x9192800c ! 453: WRPR_PIL_R wrpr %r10, %r12, %pil | |
3549 | ta T_CHANGE_HPRIV | |
3550 | mov (7+1), %r10 | |
3551 | set sync_thr_counter1, %r23 | |
3552 | cas [%r23],%g0,%r10 !lock | |
3553 | brnz %r10, cwq_7_261 | |
3554 | rd %asi, %r12 | |
3555 | wr %g0, 0x40, %asi | |
3556 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3557 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3558 | cmp %l1, 1 | |
3559 | bne cwq_7_261 | |
3560 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3561 | sub %l2, 0x40, %l2 | |
3562 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3563 | wr %r12, %g0, %asi | |
3564 | st %g0, [%r23] | |
3565 | cwq_7_261: | |
3566 | ta T_CHANGE_NONHPRIV | |
3567 | .word 0xa7414000 ! 454: RDPC rd %pc, %r19 | |
3568 | invalw | |
3569 | mov 0xb0, %r30 | |
3570 | .word 0x91d0001e ! 455: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3571 | splash_cmpr_7_262: | |
3572 | setx 0x1ee32efb4c768814, %g2, %g1 | |
3573 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3574 | sub %g1, 100, %g1 | |
3575 | .word 0xb1800001 ! 456: WR_STICK_REG_R wr %r0, %r1, %- | |
3576 | .word 0x93d02034 ! 457: Tcc_I tne icc_or_xcc, %r0 + 52 | |
3577 | DS_7_263: | |
3578 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
3579 | .word 0xdb32b615 ! 1: STQF_I - %f13, [0x1615, %r10] | |
3580 | normalw | |
3581 | .word 0x97458000 ! 458: RD_SOFTINT_REG rd %softint, %r11 | |
3582 | memptr_7_264: | |
3583 | set user_data_start, %r31 | |
3584 | .word 0x858424da ! 459: WRCCR_I wr %r16, 0x04da, %ccr | |
3585 | debug_7_265: | |
3586 | nop | |
3587 | rd %pc, %r19 | |
3588 | add %r19, (64+8), %r19 | |
3589 | mov 0x38, %r18 | |
3590 | .word 0xe6f00b12 ! 460: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3591 | .word 0xe527f6cd ! 461: STF_I st %f18, [0x16cd, %r31] | |
3592 | splash_cmpr_7_266: | |
3593 | setx 0xfd09cda0e2027234, %g2, %g1 | |
3594 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3595 | sub %g1, 100, %g1 | |
3596 | .word 0xb1800001 ! 462: WR_STICK_REG_R wr %r0, %r1, %- | |
3597 | .word 0x9ba1c9c0 ! 463: FDIVd fdivd %f38, %f0, %f44 | |
3598 | splash_htba_7_267: | |
3599 | set 0x00390000, %r12 | |
3600 | ld [%r12+%r0], %r1 | |
3601 | ta T_CHANGE_HPRIV | |
3602 | set 0x00390000, %r12 | |
3603 | .word 0x8b98000c ! 464: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3604 | .word 0xd6c7e020 ! 465: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r11 | |
3605 | splash_lsu_7_268: | |
3606 | setx 0x435508dd2650aef5, %r1, %r2 | |
3607 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3608 | .word 0x3d400001 ! 466: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3609 | setx 0x91ecd2eca91e8b5d, %r1, %r28 | |
3610 | stxa %r28, [%g0] 0x73 | |
3611 | intvec_7_269: | |
3612 | .word 0x39400001 ! 467: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3613 | .word 0x95480000 ! 468: RDHPR_HPSTATE rdhpr %hpstate, %r10 | |
3614 | splash_cmpr_7_270: | |
3615 | setx 0xf0e65d0960ab7756, %g2, %g1 | |
3616 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3617 | sub %g1, 100, %g1 | |
3618 | .word 0xb1800001 ! 469: WR_STICK_REG_R wr %r0, %r1, %- | |
3619 | .word 0x36700001 ! 470: BPGE <illegal instruction> | |
3620 | DS_7_271: | |
3621 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
3622 | .word 0xbfefc000 ! 471: RESTORE_R restore %r31, %r0, %r31 | |
3623 | .word 0xd4d7e000 ! 472: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r10 | |
3624 | DS_7_272: | |
3625 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
3626 | .word 0x97a0c9cd ! 1: FDIVd fdivd %f34, %f44, %f42 | |
3627 | normalw | |
3628 | .word 0xa5458000 ! 473: RD_SOFTINT_REG rd %softint, %r18 | |
3629 | .word 0x879023c0 ! 474: WRPR_TT_I wrpr %r0, 0x03c0, %tt | |
3630 | splash_cmpr_7_273: | |
3631 | setx 0x8ae6d86a07f02d81, %g2, %g1 | |
3632 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3633 | sub %g1, 100, %g1 | |
3634 | .word 0xb1800001 ! 475: WR_STICK_REG_R wr %r0, %r1, %- | |
3635 | DS_7_274: | |
3636 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
3637 | pdist %f30, %f6, %f12 | |
3638 | .word 0x99b20313 ! 476: ALIGNADDRESS alignaddr %r8, %r19, %r12 | |
3639 | .word 0x8d903781 ! 477: WRPR_PSTATE_I wrpr %r0, 0x1781, %pstate | |
3640 | mondo_7_275: | |
3641 | nop | |
3642 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3643 | ||
3644 | stxa %r10, [%r0+0x3d0] %asi | |
3645 | .word 0x9d900014 ! 478: WRPR_WSTATE_R wrpr %r0, %r20, %wstate | |
3646 | .word 0xda8008a0 ! 479: LDUWA_R lduwa [%r0, %r0] 0x45, %r13 | |
3647 | tagged_7_276: | |
3648 | tsubcctv %r24, 0x1006, %r11 | |
3649 | .word 0xda07f6cd ! 480: LDUW_I lduw [%r31 + 0xfffff6cd], %r13 | |
3650 | splash_htba_7_277: | |
3651 | set 0x80000, %r12 | |
3652 | ld [%r12+%r0], %r1 | |
3653 | ta T_CHANGE_HPRIV | |
3654 | set 0x80000, %r12 | |
3655 | .word 0x8b98000c ! 481: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3656 | .word 0x3c700001 ! 482: BPPOS <illegal instruction> | |
3657 | .word 0x99450000 ! 483: RD_SET_SOFTINT rd %set_softint, %r12 | |
3658 | .word 0xd0cfe000 ! 484: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r8 | |
3659 | nop | |
3660 | mov 0x80, %g3 | |
3661 | stxa %g3, [%g3] 0x57 | |
3662 | .word 0xd05fc000 ! 485: LDX_R ldx [%r31 + %r0], %r8 | |
3663 | splash_cmpr_7_278: | |
3664 | setx 0x6cb1c7879a5d3fe3, %g2, %g1 | |
3665 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3666 | sub %g1, 100, %g1 | |
3667 | .word 0xb1800001 ! 486: WR_STICK_REG_R wr %r0, %r1, %- | |
3668 | otherw | |
3669 | mov 0x34, %r30 | |
3670 | .word 0x91d0001e ! 487: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3671 | cwp_7_279: | |
3672 | set user_data_start, %o7 | |
3673 | .word 0x93902003 ! 488: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
3674 | .word 0x9f803a0a ! 489: SIR sir 0x1a0a | |
3675 | cwp_7_280: | |
3676 | set user_data_start, %o7 | |
3677 | .word 0x93902006 ! 490: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
3678 | change_to_randtl_7_281: | |
3679 | ta T_CHANGE_HPRIV ! macro | |
3680 | done_change_to_randtl_7_281: | |
3681 | .word 0x8f902003 ! 491: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
3682 | donret_7_282: | |
3683 | nop | |
3684 | rd %pc, %r12 | |
3685 | add %r12, (donretarg_7_282-donret_7_282), %r12 | |
3686 | mov 0x38, %r18 | |
3687 | stxa %r12, [%r18]0x58 | |
3688 | add %r12, 0x4, %r11 | |
3689 | wrpr %g0, 0x2, %tl | |
3690 | wrpr %g0, %r12, %tpc | |
3691 | wrpr %g0, %r11, %tnpc | |
3692 | wrpr %g0, %r13, %tstate | |
3693 | wrhpr %g0, %r14, %htstate | |
3694 | retry | |
3695 | donretarg_7_282: | |
3696 | .word 0xd0fff0df ! 492: SWAPA_I swapa %r8, [%r31 + 0xfffff0df] %asi | |
3697 | .word 0x91d02035 ! 493: Tcc_I ta icc_or_xcc, %r0 + 53 | |
3698 | .word 0x36800001 ! 494: BGE bge,a <label_0x1> | |
3699 | splash_cmpr_7_283: | |
3700 | setx 0x1b11b36651f229e0, %g2, %g1 | |
3701 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3702 | sub %g1, 100, %g1 | |
3703 | .word 0xb1800001 ! 495: WR_STICK_REG_R wr %r0, %r1, %- | |
3704 | splash_lsu_7_284: | |
3705 | setx 0x71b2a06d04f285d7, %r1, %r2 | |
3706 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3707 | .word 0x3d400001 ! 496: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3708 | splash_tba_7_285: | |
3709 | set 0x003d0000, %r12 | |
3710 | ld [%r12+%r0], %r1 | |
3711 | ta T_CHANGE_PRIV | |
3712 | set 0x003d0000, %r12 | |
3713 | .word 0x8b90000c ! 497: WRPR_TBA_R wrpr %r0, %r12, %tba | |
3714 | tagged_7_286: | |
3715 | tsubcctv %r21, 0x1dac, %r21 | |
3716 | .word 0xd007f0df ! 498: LDUW_I lduw [%r31 + 0xfffff0df], %r8 | |
3717 | nop | |
3718 | nop | |
3719 | setx join_lbl_0_0, %g1, %g2 | |
3720 | jmp %g2 | |
3721 | nop | |
3722 | fork_lbl_0_7: | |
3723 | .word 0x26700001 ! 1: BPL <illegal instruction> | |
3724 | memptr_6_0: | |
3725 | set user_data_start, %r31 | |
3726 | .word 0x85802b32 ! 2: WRCCR_I wr %r0, 0x0b32, %ccr | |
3727 | DS_6_1: | |
3728 | nop | |
3729 | not %g0, %r12 | |
3730 | jmp %r12 | |
3731 | .word 0x9d902002 ! 3: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
3732 | .word 0xe46ffa57 ! 4: LDSTUB_I ldstub %r18, [%r31 + 0xfffffa57] | |
3733 | .word 0xa190200f ! 5: WRPR_GL_I wrpr %r0, 0x000f, %- | |
3734 | change_to_randtl_6_2: | |
3735 | ta T_CHANGE_PRIV ! macro | |
3736 | done_change_to_randtl_6_2: | |
3737 | .word 0x8f902002 ! 6: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3738 | splash_cmpr_6_3: | |
3739 | setx 0xfbcca64deecc876e, %g2, %g1 | |
3740 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3741 | sub %g1, 100, %g1 | |
3742 | .word 0xb1800001 ! 7: WR_STICK_REG_R wr %r0, %r1, %- | |
3743 | mondo_6_4: | |
3744 | nop | |
3745 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3746 | ||
3747 | stxa %r8, [%r0+0x3d8] %asi | |
3748 | .word 0x9d914009 ! 8: WRPR_WSTATE_R wrpr %r5, %r9, %wstate | |
3749 | .word 0x87802089 ! 9: WRASI_I wr %r0, 0x0089, %asi | |
3750 | donret_6_5: | |
3751 | nop | |
3752 | rd %pc, %r12 | |
3753 | add %r12, (donretarg_6_5-donret_6_5-4), %r12 | |
3754 | mov 0x38, %r18 | |
3755 | stxa %r12, [%r18]0x58 | |
3756 | add %r12, 0x4, %r11 | |
3757 | wrpr %g0, 0x3, %tl | |
3758 | wrpr %g0, %r12, %tpc | |
3759 | wrpr %g0, %r11, %tnpc | |
3760 | wrpr %g0, %r13, %tstate | |
3761 | wrhpr %g0, %r14, %htstate | |
3762 | done | |
3763 | donretarg_6_5: | |
3764 | .word 0xe4fffa57 ! 10: SWAPA_I swapa %r18, [%r31 + 0xfffffa57] %asi | |
3765 | change_to_randtl_6_6: | |
3766 | ta T_CHANGE_PRIV ! macro | |
3767 | done_change_to_randtl_6_6: | |
3768 | .word 0x8f902001 ! 11: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3769 | cwp_6_7: | |
3770 | set user_data_start, %o7 | |
3771 | .word 0x93902000 ! 12: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
3772 | .word 0x2e700001 ! 13: BPVS <illegal instruction> | |
3773 | splash_lsu_6_8: | |
3774 | setx 0x76f67548c4ccf9eb, %r1, %r2 | |
3775 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3776 | .word 0x3d400001 ! 14: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3777 | .word 0x8d902f63 ! 15: WRPR_PSTATE_I wrpr %r0, 0x0f63, %pstate | |
3778 | .word 0x87902281 ! 16: WRPR_TT_I wrpr %r0, 0x0281, %tt | |
3779 | ta T_CHANGE_HPRIV | |
3780 | mov (6+1), %r10 | |
3781 | set sync_thr_counter1, %r23 | |
3782 | cas [%r23],%g0,%r10 !lock | |
3783 | brnz %r10, cwq_6_9 | |
3784 | rd %asi, %r12 | |
3785 | wr %g0, 0x40, %asi | |
3786 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3787 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3788 | cmp %l1, 1 | |
3789 | bne cwq_6_9 | |
3790 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3791 | sub %l2, 0x40, %l2 | |
3792 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3793 | wr %r12, %g0, %asi | |
3794 | st %g0, [%r23] | |
3795 | cwq_6_9: | |
3796 | ta T_CHANGE_NONHPRIV | |
3797 | .word 0x91414000 ! 17: RDPC rd %pc, %r8 | |
3798 | .word 0xd8c804a0 ! 18: LDSBA_R ldsba [%r0, %r0] 0x25, %r12 | |
3799 | debug_6_10: | |
3800 | nop | |
3801 | rd %pc, %r19 | |
3802 | add %r19, (64+24), %r19 | |
3803 | mov 0x38, %r18 | |
3804 | .word 0xe6f00b12 ! 19: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3805 | .word 0xd84fc000 ! 20: LDSB_R ldsb [%r31 + %r0], %r12 | |
3806 | cwp_6_11: | |
3807 | set user_data_start, %o7 | |
3808 | .word 0x93902004 ! 21: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
3809 | .word 0x9945c000 ! 22: RD_TICK_CMPR_REG rd %-, %r12 | |
3810 | .word 0x8d902a61 ! 23: WRPR_PSTATE_I wrpr %r0, 0x0a61, %pstate | |
3811 | splash_lsu_6_12: | |
3812 | setx 0xbab72d676f35c155, %r1, %r2 | |
3813 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3814 | .word 0x3d400001 ! 24: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3815 | .word 0xa190200d ! 25: WRPR_GL_I wrpr %r0, 0x000d, %- | |
3816 | .word 0x93a00162 ! 26: FABSq dis not found | |
3817 | ||
3818 | splash_lsu_6_13: | |
3819 | setx 0x5772faba03747397, %r1, %r2 | |
3820 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3821 | .word 0x3d400001 ! 27: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3822 | memptr_6_14: | |
3823 | set 0x60740000, %r31 | |
3824 | .word 0x8584f300 ! 28: WRCCR_I wr %r19, 0x1300, %ccr | |
3825 | splash_hpstate_6_15: | |
3826 | .word 0x81982f55 ! 29: WRHPR_HPSTATE_I wrhpr %r0, 0x0f55, %hpstate | |
3827 | .word 0x99464000 ! 30: RD_STICK_CMPR_REG rd %-, %r12 | |
3828 | .word 0x91d020b2 ! 31: Tcc_I ta icc_or_xcc, %r0 + 178 | |
3829 | debug_6_16: | |
3830 | nop | |
3831 | rd %pc, %r19 | |
3832 | add %r19, (64+56), %r19 | |
3833 | mov 0x38, %r18 | |
3834 | .word 0xe6f00b12 ! 32: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3835 | cwp_6_17: | |
3836 | set user_data_start, %o7 | |
3837 | .word 0x93902004 ! 33: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
3838 | .word 0xe48804a0 ! 34: LDUBA_R lduba [%r0, %r0] 0x25, %r18 | |
3839 | splash_hpstate_6_18: | |
3840 | .word 0x819823d6 ! 35: WRHPR_HPSTATE_I wrhpr %r0, 0x03d6, %hpstate | |
3841 | cwp_6_19: | |
3842 | set user_data_start, %o7 | |
3843 | .word 0x93902001 ! 36: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
3844 | ta T_CHANGE_HPRIV | |
3845 | mov (6+1), %r10 | |
3846 | set sync_thr_counter1, %r23 | |
3847 | cas [%r23],%g0,%r10 !lock | |
3848 | brnz %r10, cwq_6_20 | |
3849 | rd %asi, %r12 | |
3850 | wr %g0, 0x40, %asi | |
3851 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3852 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3853 | cmp %l1, 1 | |
3854 | bne cwq_6_20 | |
3855 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3856 | sub %l2, 0x40, %l2 | |
3857 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3858 | wr %r12, %g0, %asi | |
3859 | st %g0, [%r23] | |
3860 | cwq_6_20: | |
3861 | ta T_CHANGE_NONHPRIV | |
3862 | .word 0x95414000 ! 37: RDPC rd %pc, %r10 | |
3863 | .word 0x8780201c ! 38: WRASI_I wr %r0, 0x001c, %asi | |
3864 | DS_6_21: | |
3865 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
3866 | allclean | |
3867 | .word 0x93b08306 ! 39: ALIGNADDRESS alignaddr %r2, %r6, %r9 | |
3868 | .word 0xe80ffaea ! 40: LDUB_I ldub [%r31 + 0xfffffaea], %r20 | |
3869 | .word 0x8d903c1e ! 41: WRPR_PSTATE_I wrpr %r0, 0x1c1e, %pstate | |
3870 | .word 0xe8c804a0 ! 42: LDSBA_R ldsba [%r0, %r0] 0x25, %r20 | |
3871 | debug_6_22: | |
3872 | nop | |
3873 | rd %pc, %r19 | |
3874 | add %r19, (64+56), %r19 | |
3875 | mov 0x38, %r18 | |
3876 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3877 | mondo_6_23: | |
3878 | nop | |
3879 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3880 | ||
3881 | stxa %r12, [%r0+0x3d8] %asi | |
3882 | .word 0x9d900001 ! 44: WRPR_WSTATE_R wrpr %r0, %r1, %wstate | |
3883 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_24) + 16, 16, 16)) -> intp(4,0,21) | |
3884 | intvec_6_24: | |
3885 | .word 0x39400001 ! 45: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3886 | .word 0x8d902755 ! 46: WRPR_PSTATE_I wrpr %r0, 0x0755, %pstate | |
3887 | .word 0xab8029b8 ! 47: WR_CLEAR_SOFTINT_I wr %r0, 0x09b8, %clear_softint | |
3888 | memptr_6_25: | |
3889 | set 0x60340000, %r31 | |
3890 | .word 0x8581e2f0 ! 48: WRCCR_I wr %r7, 0x02f0, %ccr | |
3891 | .word 0xe927c000 ! 49: STF_R st %f20, [%r0, %r31] | |
3892 | splash_hpstate_6_26: | |
3893 | .word 0x8198249f ! 50: WRHPR_HPSTATE_I wrhpr %r0, 0x049f, %hpstate | |
3894 | .word 0xe89004a0 ! 51: LDUHA_R lduha [%r0, %r0] 0x25, %r20 | |
3895 | .word 0x8d9029d3 ! 52: WRPR_PSTATE_I wrpr %r0, 0x09d3, %pstate | |
3896 | .word 0x91d02034 ! 53: Tcc_I ta icc_or_xcc, %r0 + 52 | |
3897 | debug_6_27: | |
3898 | nop | |
3899 | mov 8, %r18 | |
3900 | .word 0xd0f00492 ! 54: STXA_R stxa %r8, [%r0 + %r18] 0x24 | |
3901 | .word 0xe81fc000 ! 55: LDD_R ldd [%r31 + %r0], %r20 | |
3902 | ta T_CHANGE_HPRIV | |
3903 | mov (6+1), %r10 | |
3904 | set sync_thr_counter1, %r23 | |
3905 | cas [%r23],%g0,%r10 !lock | |
3906 | brnz %r10, cwq_6_28 | |
3907 | rd %asi, %r12 | |
3908 | wr %g0, 0x40, %asi | |
3909 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3910 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3911 | cmp %l1, 1 | |
3912 | bne cwq_6_28 | |
3913 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3914 | sub %l2, 0x40, %l2 | |
3915 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3916 | wr %r12, %g0, %asi | |
3917 | st %g0, [%r23] | |
3918 | cwq_6_28: | |
3919 | ta T_CHANGE_NONHPRIV | |
3920 | .word 0x9b414000 ! 56: RDPC rd %pc, %r13 | |
3921 | .word 0x8790231a ! 57: WRPR_TT_I wrpr %r0, 0x031a, %tt | |
3922 | .word 0xa0d80009 ! 58: SMULcc_R smulcc %r0, %r9, %r16 | |
3923 | setx 0x6b023e1ffdc8bcd6, %r1, %r28 | |
3924 | stxa %r28, [%g0] 0x73 | |
3925 | intvec_6_29: | |
3926 | .word 0x39400001 ! 59: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3927 | splash_hpstate_6_30: | |
3928 | .word 0x81982cdf ! 60: WRHPR_HPSTATE_I wrhpr %r0, 0x0cdf, %hpstate | |
3929 | .word 0xa1902008 ! 61: WRPR_GL_I wrpr %r0, 0x0008, %- | |
3930 | splash_hpstate_6_31: | |
3931 | .word 0x8198278c ! 62: WRHPR_HPSTATE_I wrhpr %r0, 0x078c, %hpstate | |
3932 | donret_6_32: | |
3933 | nop | |
3934 | rd %pc, %r12 | |
3935 | add %r12, (donretarg_6_32-donret_6_32), %r12 | |
3936 | mov 0x38, %r18 | |
3937 | stxa %r12, [%r18]0x58 | |
3938 | add %r12, 0x4, %r11 | |
3939 | wrpr %g0, 0x3, %tl | |
3940 | wrpr %g0, %r12, %tpc | |
3941 | wrpr %g0, %r11, %tnpc | |
3942 | wrpr %g0, %r13, %tstate | |
3943 | wrhpr %g0, %r14, %htstate | |
3944 | retry | |
3945 | donretarg_6_32: | |
3946 | .word 0xd8ffe315 ! 63: SWAPA_I swapa %r12, [%r31 + 0x0315] %asi | |
3947 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3948 | ta T_CHANGE_NONHPRIV ! macro | |
3949 | .word 0x91a0196a ! 64: FqTOd dis not found | |
3950 | ||
3951 | .word 0x26700001 ! 65: BPL <illegal instruction> | |
3952 | .word 0xe6c7e010 ! 66: LDSWA_I ldswa [%r31, + 0x0010] %asi, %r19 | |
3953 | .word 0x87802004 ! 67: WRASI_I wr %r0, 0x0004, %asi | |
3954 | mondo_6_34: | |
3955 | nop | |
3956 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3957 | ||
3958 | stxa %r19, [%r0+0x3c0] %asi | |
3959 | .word 0x9d940011 ! 68: WRPR_WSTATE_R wrpr %r16, %r17, %wstate | |
3960 | ta T_CHANGE_HPRIV | |
3961 | mov (6+1), %r10 | |
3962 | set sync_thr_counter1, %r23 | |
3963 | cas [%r23],%g0,%r10 !lock | |
3964 | brnz %r10, cwq_6_35 | |
3965 | rd %asi, %r12 | |
3966 | wr %g0, 0x40, %asi | |
3967 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3968 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3969 | cmp %l1, 1 | |
3970 | bne cwq_6_35 | |
3971 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3972 | sub %l2, 0x40, %l2 | |
3973 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3974 | wr %r12, %g0, %asi | |
3975 | st %g0, [%r23] | |
3976 | cwq_6_35: | |
3977 | ta T_CHANGE_NONHPRIV | |
3978 | .word 0xa9414000 ! 69: RDPC rd %pc, %r20 | |
3979 | .word 0x9ba30d30 ! 70: FsMULd fsmuld %f12, %f16, %f44 | |
3980 | splash_hpstate_6_36: | |
3981 | .word 0x8198228f ! 71: WRHPR_HPSTATE_I wrhpr %r0, 0x028f, %hpstate | |
3982 | splash_cmpr_6_37: | |
3983 | setx 0xf57b8869d7cb3390, %g2, %g1 | |
3984 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
3985 | sub %g1, 100, %g1 | |
3986 | .word 0xb1800001 ! 72: WR_STICK_REG_R wr %r0, %r1, %- | |
3987 | splash_cmpr_6_38: | |
3988 | setx 0xa7dcda901002813f, %g2, %g1 | |
3989 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3990 | sub %g1, 100, %g1 | |
3991 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
3992 | .word 0x34700001 ! 74: BPG <illegal instruction> | |
3993 | .word 0x22700001 ! 75: BPE <illegal instruction> | |
3994 | memptr_6_39: | |
3995 | set user_data_start, %r31 | |
3996 | .word 0x85832b2e ! 76: WRCCR_I wr %r12, 0x0b2e, %ccr | |
3997 | intveclr_6_40: | |
3998 | setx 0x784d89559e9b41c4, %r1, %r28 | |
3999 | stxa %r28, [%g0] 0x72 | |
4000 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4001 | .word 0xd28008a0 ! 78: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
4002 | splash_htba_6_41: | |
4003 | set 0x80000, %r12 | |
4004 | ld [%r12+%r0], %r1 | |
4005 | ta T_CHANGE_HPRIV | |
4006 | set 0x80000, %r12 | |
4007 | .word 0x8b98000c ! 79: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
4008 | DS_6_42: | |
4009 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
4010 | .word 0xbfefc000 ! 80: RESTORE_R restore %r31, %r0, %r31 | |
4011 | .word 0x91d02034 ! 81: Tcc_I ta icc_or_xcc, %r0 + 52 | |
4012 | change_to_randtl_6_43: | |
4013 | ta T_CHANGE_HPRIV ! macro | |
4014 | done_change_to_randtl_6_43: | |
4015 | .word 0x8f902001 ! 82: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4016 | .word 0xa1902003 ! 83: WRPR_GL_I wrpr %r0, 0x0003, %- | |
4017 | debug_6_44: | |
4018 | nop | |
4019 | mov 0x38, %r18 | |
4020 | .word 0xfef00b12 ! 84: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4021 | nop | |
4022 | mov 0x80, %g3 | |
4023 | stxa %g3, [%g3] 0x57 | |
4024 | .word 0xd25fc000 ! 85: LDX_R ldx [%r31 + %r0], %r9 | |
4025 | .word 0x91d020b4 ! 86: Tcc_I ta icc_or_xcc, %r0 + 180 | |
4026 | memptr_6_45: | |
4027 | set user_data_start, %r31 | |
4028 | .word 0x8584b67f ! 87: WRCCR_I wr %r18, 0x167f, %ccr | |
4029 | .word 0xd2d004a0 ! 88: LDSHA_R ldsha [%r0, %r0] 0x25, %r9 | |
4030 | splash_tba_6_46: | |
4031 | set 0x120000, %r12 | |
4032 | st %r1, [%r12+%r0] | |
4033 | ta T_CHANGE_PRIV | |
4034 | set 0x120000, %r12 | |
4035 | .word 0x8b90000c ! 89: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4036 | setx 0x8e23eabfc28baaf7, %r1, %r28 | |
4037 | stxa %r28, [%g0] 0x73 | |
4038 | intvec_6_47: | |
4039 | .word 0x39400001 ! 90: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4040 | .word 0x91d02033 ! 91: Tcc_I ta icc_or_xcc, %r0 + 51 | |
4041 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4042 | ta T_CHANGE_NONPRIV ! macro | |
4043 | .word 0x9b6ce5a3 ! 92: SDIVX_I sdivx %r19, 0x05a3, %r13 | |
4044 | .word 0x38700001 ! 93: BPGU <illegal instruction> | |
4045 | mondo_6_49: | |
4046 | nop | |
4047 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4048 | ||
4049 | stxa %r8, [%r0+0x3e8] %asi | |
4050 | .word 0x9d944009 ! 94: WRPR_WSTATE_R wrpr %r17, %r9, %wstate | |
4051 | splash_tba_6_50: | |
4052 | set 0x120000, %r12 | |
4053 | st %r1, [%r12+%r0] | |
4054 | ta T_CHANGE_PRIV | |
4055 | set 0x120000, %r12 | |
4056 | .word 0x8b90000c ! 95: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4057 | .word 0x91d020b3 ! 96: Tcc_I ta icc_or_xcc, %r0 + 179 | |
4058 | .word 0xa9540000 ! 97: RDPR_GL rdpr %-, %r20 | |
4059 | .word 0x879022d4 ! 98: WRPR_TT_I wrpr %r0, 0x02d4, %tt | |
4060 | .word 0xd8d804a0 ! 99: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
4061 | splash_lsu_6_51: | |
4062 | setx 0xf14b7dd0f562570f, %r1, %r2 | |
4063 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4064 | .word 0x3d400001 ! 100: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4065 | rd %pc, %r19 | |
4066 | add %r19, (ivw_6_52-.+8), %r19 | |
4067 | mov 0x38, %r18 | |
4068 | stxa %r19, [%r18]0x58 | |
4069 | ivw_6_52: | |
4070 | .word 0x91910008 ! 101: WRPR_PIL_R wrpr %r4, %r8, %pil | |
4071 | splash_tba_6_53: | |
4072 | set 0x120000, %r12 | |
4073 | ld [%r12+%r0], %r1 | |
4074 | ta T_CHANGE_PRIV | |
4075 | set 0x120000, %r12 | |
4076 | .word 0x8b90000c ! 102: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4077 | DS_6_54: | |
4078 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
4079 | allclean | |
4080 | .word 0x97b50304 ! 103: ALIGNADDRESS alignaddr %r20, %r4, %r11 | |
4081 | cwp_6_55: | |
4082 | set user_data_start, %o7 | |
4083 | .word 0x93902001 ! 104: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
4084 | .word 0x8d903b5b ! 105: WRPR_PSTATE_I wrpr %r0, 0x1b5b, %pstate | |
4085 | .word 0x8780208a ! 106: WRASI_I wr %r0, 0x008a, %asi | |
4086 | DS_6_56: | |
4087 | .word 0x99a189c0 ! 1: FDIVd fdivd %f6, %f0, %f12 | |
4088 | .word 0xb359b197 ! Random illegal ? | |
4089 | .word 0xd7118013 ! 1: LDQF_R - [%r6, %r19], %f11 | |
4090 | .word 0x91a4c82d ! 107: FADDs fadds %f19, %f13, %f8 | |
4091 | .word 0x87802083 ! 108: WRASI_I wr %r0, 0x0083, %asi | |
4092 | .word 0xa1902004 ! 109: WRPR_GL_I wrpr %r0, 0x0004, %- | |
4093 | otherw | |
4094 | mov 0x32, %r30 | |
4095 | .word 0x91d0001e ! 110: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4096 | splash_cmpr_6_57: | |
4097 | setx 0xd22a2a1c07deacd9, %g2, %g1 | |
4098 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
4099 | sub %g1, 100, %g1 | |
4100 | .word 0xb1800001 ! 111: WR_STICK_REG_R wr %r0, %r1, %- | |
4101 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_6_58)+16, 16, 16)) -> intp(6,1,3) | |
4102 | xir_6_58: | |
4103 | .word 0xa981f28b ! 112: WR_SET_SOFTINT_I wr %r7, 0x128b, %set_softint | |
4104 | .word 0xd327ee90 ! 113: STF_I st %f9, [0x0e90, %r31] | |
4105 | DS_6_59: | |
4106 | nop | |
4107 | not %g0, %r12 | |
4108 | jmp %r12 | |
4109 | .word 0x9d902004 ! 114: WRPR_WSTATE_I wrpr %r0, 0x0004, %wstate | |
4110 | donret_6_60: | |
4111 | nop | |
4112 | rd %pc, %r12 | |
4113 | add %r12, (donretarg_6_60-donret_6_60), %r12 | |
4114 | mov 0x38, %r18 | |
4115 | stxa %r12, [%r18]0x58 | |
4116 | add %r12, 0x4, %r11 | |
4117 | wrpr %g0, 0x1, %tl | |
4118 | wrpr %g0, %r12, %tpc | |
4119 | wrpr %g0, %r11, %tnpc | |
4120 | wrpr %g0, %r13, %tstate | |
4121 | wrhpr %g0, %r14, %htstate | |
4122 | retry | |
4123 | donretarg_6_60: | |
4124 | .word 0xd2ffee90 ! 115: SWAPA_I swapa %r9, [%r31 + 0x0e90] %asi | |
4125 | .word 0xa1902008 ! 116: WRPR_GL_I wrpr %r0, 0x0008, %- | |
4126 | .word 0xd297e010 ! 117: LDUHA_I lduha [%r31, + 0x0010] %asi, %r9 | |
4127 | .word 0xd23fc000 ! 118: STD_R std %r9, [%r31 + %r0] | |
4128 | .word 0x9ba00168 ! 119: FABSq dis not found | |
4129 | ||
4130 | memptr_6_61: | |
4131 | set 0x60140000, %r31 | |
4132 | .word 0x85852077 ! 120: WRCCR_I wr %r20, 0x0077, %ccr | |
4133 | .word 0xd09ffb63 ! 121: LDDA_I ldda [%r31, + 0xfffffb63] %asi, %r8 | |
4134 | .word 0xa1902006 ! 122: WRPR_GL_I wrpr %r0, 0x0006, %- | |
4135 | splash_hpstate_6_62: | |
4136 | .word 0x81982c57 ! 123: WRHPR_HPSTATE_I wrhpr %r0, 0x0c57, %hpstate | |
4137 | mondo_6_63: | |
4138 | nop | |
4139 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4140 | ||
4141 | stxa %r1, [%r0+0x3d8] %asi | |
4142 | .word 0x9d910010 ! 124: WRPR_WSTATE_R wrpr %r4, %r16, %wstate | |
4143 | splash_hpstate_6_64: | |
4144 | .word 0x819827d5 ! 125: WRHPR_HPSTATE_I wrhpr %r0, 0x07d5, %hpstate | |
4145 | .word 0x97450000 ! 126: RD_SET_SOFTINT rd %set_softint, %r11 | |
4146 | .word 0x87902232 ! 127: WRPR_TT_I wrpr %r0, 0x0232, %tt | |
4147 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_6_65)+0, 16, 16)) -> intp(6,1,3) | |
4148 | xir_6_65: | |
4149 | .word 0xa982f84b ! 128: WR_SET_SOFTINT_I wr %r11, 0x184b, %set_softint | |
4150 | nop | |
4151 | mov 0x80, %g3 | |
4152 | stxa %g3, [%g3] 0x5f | |
4153 | .word 0xd85fc000 ! 129: LDX_R ldx [%r31 + %r0], %r12 | |
4154 | intveclr_6_66: | |
4155 | setx 0x0d34d3b774ab3161, %r1, %r28 | |
4156 | stxa %r28, [%g0] 0x72 | |
4157 | .word 0x25400001 ! 130: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4158 | debug_6_67: | |
4159 | nop | |
4160 | rd %pc, %r19 | |
4161 | add %r19, (64+8), %r19 | |
4162 | mov 0x38, %r18 | |
4163 | .word 0xe6f00b12 ! 131: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4164 | memptr_6_68: | |
4165 | set 0x60340000, %r31 | |
4166 | .word 0x8584fd95 ! 132: WRCCR_I wr %r19, 0x1d95, %ccr | |
4167 | tagged_6_69: | |
4168 | taddcctv %r10, 0x1620, %r23 | |
4169 | .word 0xd807f70a ! 133: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
4170 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4171 | ta T_CHANGE_NONPRIV ! macro | |
4172 | .word 0xa5a01970 ! 134: FqTOd dis not found | |
4173 | ||
4174 | splash_tba_6_71: | |
4175 | set 0x120000, %r12 | |
4176 | ld [%r12+%r0], %r1 | |
4177 | ta T_CHANGE_PRIV | |
4178 | set 0x120000, %r12 | |
4179 | .word 0x8b90000c ! 135: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4180 | debug_6_72: | |
4181 | nop | |
4182 | mov 8, %r18 | |
4183 | .word 0xdef00492 ! 136: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
4184 | .word 0x99a08d33 ! 137: FsMULd fsmuld %f2, %f50, %f12 | |
4185 | .word 0xd727f70a ! 138: STF_I st %f11, [0x170a, %r31] | |
4186 | splash_lsu_6_73: | |
4187 | setx 0x52b821b5d8766aed, %r1, %r2 | |
4188 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4189 | .word 0x3d400001 ! 139: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4190 | .word 0xa145c000 ! 140: RD_TICK_CMPR_REG rd %-, %r16 | |
4191 | .word 0xa9830000 ! 141: WR_SET_SOFTINT_R wr %r12, %r0, %set_softint | |
4192 | .word 0x99a449c3 ! 142: FDIVd fdivd %f48, %f34, %f12 | |
4193 | tagged_6_74: | |
4194 | tsubcctv %r6, 0x171e, %r26 | |
4195 | .word 0xd807f70a ! 143: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
4196 | DS_6_75: | |
4197 | nop | |
4198 | not %g0, %r12 | |
4199 | jmp %r12 | |
4200 | .word 0x9d902003 ! 144: WRPR_WSTATE_I wrpr %r0, 0x0003, %wstate | |
4201 | donret_6_76: | |
4202 | nop | |
4203 | rd %pc, %r12 | |
4204 | add %r12, (donretarg_6_76-donret_6_76), %r12 | |
4205 | mov 0x38, %r18 | |
4206 | stxa %r12, [%r18]0x58 | |
4207 | add %r12, 0x4, %r11 | |
4208 | wrpr %g0, 0x1, %tl | |
4209 | wrpr %g0, %r12, %tpc | |
4210 | wrpr %g0, %r11, %tnpc | |
4211 | wrpr %g0, %r13, %tstate | |
4212 | wrhpr %g0, %r14, %htstate | |
4213 | retry | |
4214 | donretarg_6_76: | |
4215 | .word 0xd8fff70a ! 145: SWAPA_I swapa %r12, [%r31 + 0xfffff70a] %asi | |
4216 | .word 0x8d9036dc ! 146: WRPR_PSTATE_I wrpr %r0, 0x16dc, %pstate | |
4217 | .word 0x2c700001 ! 147: BPNEG <illegal instruction> | |
4218 | .word 0x879020ef ! 148: WRPR_TT_I wrpr %r0, 0x00ef, %tt | |
4219 | .word 0x3a700001 ! 149: BPCC <illegal instruction> | |
4220 | change_to_randtl_6_77: | |
4221 | ta T_CHANGE_HPRIV ! macro | |
4222 | done_change_to_randtl_6_77: | |
4223 | .word 0x8f902000 ! 150: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4224 | splash_tba_6_78: | |
4225 | set 0x003e0000, %r12 | |
4226 | st %r1, [%r12+%r0] | |
4227 | ta T_CHANGE_PRIV | |
4228 | set 0x003e0000, %r12 | |
4229 | .word 0x8b90000c ! 151: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4230 | debug_6_79: | |
4231 | nop | |
4232 | rd %pc, %r19 | |
4233 | add %r19, (64+16), %r19 | |
4234 | mov 0x38, %r18 | |
4235 | .word 0xe6f00b12 ! 152: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4236 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_80) + 0, 16, 16)) -> intp(1,0,0) | |
4237 | intvec_6_80: | |
4238 | .word 0x39400001 ! 153: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4239 | splash_tba_6_81: | |
4240 | set 0x003e0000, %r12 | |
4241 | ld [%r12+%r0], %r1 | |
4242 | ta T_CHANGE_PRIV | |
4243 | set 0x003e0000, %r12 | |
4244 | .word 0x8b90000c ! 154: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4245 | .word 0xa980c00c ! 155: WR_SET_SOFTINT_R wr %r3, %r12, %set_softint | |
4246 | splash_lsu_6_82: | |
4247 | setx 0xebb20a1a05b7fcc5, %r1, %r2 | |
4248 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4249 | .word 0x3d400001 ! 156: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4250 | splash_lsu_6_83: | |
4251 | setx 0x497b064d16e0aea9, %r1, %r2 | |
4252 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4253 | .word 0x3d400001 ! 157: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4254 | mov (6+1), %r10 | |
4255 | ta T_CHANGE_HPRIV | |
4256 | set sync_thr_counter2, %r23 | |
4257 | cas [%r23],%g0,%r10 !lock | |
4258 | brnz %r10, sma_6_84 | |
4259 | rd %asi, %r12 | |
4260 | wr %g0, 0x40, %asi | |
4261 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4262 | set 0x21fff, %g1 | |
4263 | stxa %g1, [%g0 + 0x80] %asi | |
4264 | wr %r12, %g0, %asi | |
4265 | st %g0, [%r23] | |
4266 | sma_6_84: | |
4267 | ta T_CHANGE_NONHPRIV | |
4268 | .word 0xd9e7e00d ! 158: CASA_R casa [%r31] %asi, %r13, %r12 | |
4269 | splash_tba_6_85: | |
4270 | set 0x120000, %r12 | |
4271 | ld [%r12+%r0], %r1 | |
4272 | ta T_CHANGE_PRIV | |
4273 | set 0x120000, %r12 | |
4274 | .word 0x8b90000c ! 159: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4275 | .word 0x87802088 ! 160: WRASI_I wr %r0, 0x0088, %asi | |
4276 | .word 0x8d903be6 ! 161: WRPR_PSTATE_I wrpr %r0, 0x1be6, %pstate | |
4277 | .word 0xa190200d ! 162: WRPR_GL_I wrpr %r0, 0x000d, %- | |
4278 | .word 0xd93ff70a ! 163: STDF_I std %f12, [0x170a, %r31] | |
4279 | cwp_6_86: | |
4280 | set user_data_start, %o7 | |
4281 | .word 0x93902000 ! 164: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
4282 | ta T_CHANGE_HPRIV | |
4283 | mov (6+1), %r10 | |
4284 | set sync_thr_counter1, %r23 | |
4285 | cas [%r23],%g0,%r10 !lock | |
4286 | brnz %r10, cwq_6_87 | |
4287 | rd %asi, %r12 | |
4288 | wr %g0, 0x40, %asi | |
4289 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4290 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4291 | cmp %l1, 1 | |
4292 | bne cwq_6_87 | |
4293 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4294 | sub %l2, 0x40, %l2 | |
4295 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4296 | wr %r12, %g0, %asi | |
4297 | st %g0, [%r23] | |
4298 | cwq_6_87: | |
4299 | ta T_CHANGE_NONHPRIV | |
4300 | .word 0x9b414000 ! 165: RDPC rd %pc, %r13 | |
4301 | DS_6_88: | |
4302 | .word 0xa1a249d3 ! 1: FDIVd fdivd %f40, %f50, %f16 | |
4303 | .word 0xbfe7c000 ! 166: SAVE_R save %r31, %r0, %r31 | |
4304 | cwp_6_89: | |
4305 | set user_data_start, %o7 | |
4306 | .word 0x93902000 ! 167: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
4307 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4308 | ta T_CHANGE_NONPRIV ! macro | |
4309 | .word 0xa1a01971 ! 168: FqTOd dis not found | |
4310 | ||
4311 | splash_cmpr_6_91: | |
4312 | setx 0x4e9119b44ea7165d, %g2, %g1 | |
4313 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
4314 | sub %g1, 100, %g1 | |
4315 | .word 0xb1800001 ! 169: WR_STICK_REG_R wr %r0, %r1, %- | |
4316 | debug_6_92: | |
4317 | nop | |
4318 | mov 0x38, %r18 | |
4319 | .word 0xfef00b12 ! 170: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4320 | splash_tba_6_93: | |
4321 | set 0x003e0000, %r12 | |
4322 | ld [%r12+%r0], %r1 | |
4323 | ta T_CHANGE_PRIV | |
4324 | set 0x003e0000, %r12 | |
4325 | .word 0x8b90000c ! 171: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4326 | splash_cmpr_6_94: | |
4327 | setx 0x70f2bbcdf1ee959e, %g2, %g1 | |
4328 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4329 | sub %g1, 100, %g1 | |
4330 | .word 0xb1800001 ! 172: WR_STICK_REG_R wr %r0, %r1, %- | |
4331 | .word 0xa1902005 ! 173: WRPR_GL_I wrpr %r0, 0x0005, %- | |
4332 | otherw | |
4333 | mov 0x32, %r30 | |
4334 | .word 0x91d0001e ! 174: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4335 | .word 0x2c700001 ! 175: BPNEG <illegal instruction> | |
4336 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4337 | ta T_CHANGE_NONHPRIV ! macro | |
4338 | .word 0x95a01969 ! 176: FqTOd dis not found | |
4339 | ||
4340 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4341 | ta T_CHANGE_NONPRIV ! macro | |
4342 | .word 0x936a259e ! 177: SDIVX_I sdivx %r8, 0x059e, %r9 | |
4343 | tagged_6_97: | |
4344 | taddcctv %r17, 0x1164, %r15 | |
4345 | .word 0xe407e4f3 ! 178: LDUW_I lduw [%r31 + 0x04f3], %r18 | |
4346 | debug_6_98: | |
4347 | nop | |
4348 | mov 0x38, %r18 | |
4349 | .word 0xfef00b12 ! 179: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4350 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4351 | ta T_CHANGE_NONHPRIV ! macro | |
4352 | .word 0xa76ae4fa ! 180: SDIVX_I sdivx %r11, 0x04fa, %r19 | |
4353 | ta T_CHANGE_HPRIV | |
4354 | mov (6+1), %r10 | |
4355 | set sync_thr_counter1, %r23 | |
4356 | cas [%r23],%g0,%r10 !lock | |
4357 | brnz %r10, cwq_6_100 | |
4358 | rd %asi, %r12 | |
4359 | wr %g0, 0x40, %asi | |
4360 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4361 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4362 | cmp %l1, 1 | |
4363 | bne cwq_6_100 | |
4364 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4365 | sub %l2, 0x40, %l2 | |
4366 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4367 | wr %r12, %g0, %asi | |
4368 | st %g0, [%r23] | |
4369 | cwq_6_100: | |
4370 | ta T_CHANGE_NONHPRIV | |
4371 | .word 0x95414000 ! 181: RDPC rd %pc, %r10 | |
4372 | intveclr_6_101: | |
4373 | setx 0x1e15c74fea425496, %r1, %r28 | |
4374 | stxa %r28, [%g0] 0x72 | |
4375 | .word 0x25400001 ! 182: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4376 | .word 0x87802014 ! 183: WRASI_I wr %r0, 0x0014, %asi | |
4377 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4378 | ta T_CHANGE_NONPRIV ! macro | |
4379 | .word 0x976a6d7e ! 184: SDIVX_I sdivx %r9, 0x0d7e, %r11 | |
4380 | .word 0x879021b5 ! 185: WRPR_TT_I wrpr %r0, 0x01b5, %tt | |
4381 | .word 0xdac804a0 ! 186: LDSBA_R ldsba [%r0, %r0] 0x25, %r13 | |
4382 | debug_6_103: | |
4383 | nop | |
4384 | rd %pc, %r19 | |
4385 | add %r19, (64+8), %r19 | |
4386 | mov 0x38, %r18 | |
4387 | .word 0xe6f00b12 ! 187: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4388 | .word 0xdacfe020 ! 188: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r13 | |
4389 | intveclr_6_104: | |
4390 | setx 0x3139dd7c4c33a926, %r1, %r28 | |
4391 | stxa %r28, [%g0] 0x72 | |
4392 | .word 0x25400001 ! 189: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4393 | .word 0x93d02035 ! 190: Tcc_I tne icc_or_xcc, %r0 + 53 | |
4394 | otherw | |
4395 | mov 0x30, %r30 | |
4396 | .word 0x91d0001e ! 191: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4397 | splash_hpstate_6_105: | |
4398 | .word 0x8198274f ! 192: WRHPR_HPSTATE_I wrhpr %r0, 0x074f, %hpstate | |
4399 | debug_6_106: | |
4400 | nop | |
4401 | rd %pc, %r19 | |
4402 | add %r19, (64+40), %r19 | |
4403 | mov 0x38, %r18 | |
4404 | .word 0xe6f00b12 ! 193: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4405 | mov (6+1), %r10 | |
4406 | ta T_CHANGE_HPRIV | |
4407 | set sync_thr_counter2, %r23 | |
4408 | cas [%r23],%g0,%r10 !lock | |
4409 | brnz %r10, sma_6_107 | |
4410 | rd %asi, %r12 | |
4411 | wr %g0, 0x40, %asi | |
4412 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4413 | set 0x21fff, %g1 | |
4414 | stxa %g1, [%g0 + 0x80] %asi | |
4415 | wr %r12, %g0, %asi | |
4416 | st %g0, [%r23] | |
4417 | sma_6_107: | |
4418 | ta T_CHANGE_NONHPRIV | |
4419 | .word 0xdbe7e008 ! 194: CASA_R casa [%r31] %asi, %r8, %r13 | |
4420 | nop | |
4421 | mov 0x80, %g3 | |
4422 | stxa %g3, [%g3] 0x57 | |
4423 | .word 0xda5fc000 ! 195: LDX_R ldx [%r31 + %r0], %r13 | |
4424 | splash_lsu_6_108: | |
4425 | setx 0xd8a7305ccea05593, %r1, %r2 | |
4426 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4427 | .word 0x3d400001 ! 196: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4428 | splash_tba_6_109: | |
4429 | set 0x120000, %r12 | |
4430 | ld [%r12+%r0], %r1 | |
4431 | ta T_CHANGE_PRIV | |
4432 | set 0x120000, %r12 | |
4433 | .word 0x8b90000c ! 197: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4434 | .word 0x91946202 ! 198: WRPR_PIL_I wrpr %r17, 0x0202, %pil | |
4435 | ta T_CHANGE_HPRIV | |
4436 | mov (6+1), %r10 | |
4437 | set sync_thr_counter1, %r23 | |
4438 | cas [%r23],%g0,%r10 !lock | |
4439 | brnz %r10, cwq_6_110 | |
4440 | rd %asi, %r12 | |
4441 | wr %g0, 0x40, %asi | |
4442 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4443 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4444 | cmp %l1, 1 | |
4445 | bne cwq_6_110 | |
4446 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4447 | sub %l2, 0x40, %l2 | |
4448 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4449 | wr %r12, %g0, %asi | |
4450 | st %g0, [%r23] | |
4451 | cwq_6_110: | |
4452 | ta T_CHANGE_NONHPRIV | |
4453 | .word 0x95414000 ! 199: RDPC rd %pc, %r10 | |
4454 | .word 0xa5a249c5 ! 200: FDIVd fdivd %f40, %f36, %f18 | |
4455 | debug_6_111: | |
4456 | nop | |
4457 | mov 8, %r18 | |
4458 | .word 0xdef00492 ! 201: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
4459 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4460 | ta T_CHANGE_NONPRIV ! macro | |
4461 | .word 0x99a01967 ! 202: FqTOd dis not found | |
4462 | ||
4463 | DS_6_113: | |
4464 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
4465 | pdist %f26, %f22, %f12 | |
4466 | .word 0xa1b50310 ! 203: ALIGNADDRESS alignaddr %r20, %r16, %r16 | |
4467 | splash_tba_6_114: | |
4468 | set 0x003e0000, %r12 | |
4469 | st %r1, [%r12+%r0] | |
4470 | ta T_CHANGE_PRIV | |
4471 | set 0x003e0000, %r12 | |
4472 | .word 0x8b90000c ! 204: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4473 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4474 | ta T_CHANGE_NONHPRIV ! macro | |
4475 | .word 0xa3a01963 ! 205: FqTOd dis not found | |
4476 | ||
4477 | intveclr_6_116: | |
4478 | setx 0x137e9bef2fc2047f, %r1, %r28 | |
4479 | stxa %r28, [%g0] 0x72 | |
4480 | .word 0x25400001 ! 206: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4481 | nop | |
4482 | mov 0x80, %g3 | |
4483 | stxa %g3, [%g3] 0x57 | |
4484 | .word 0xe25fc000 ! 207: LDX_R ldx [%r31 + %r0], %r17 | |
4485 | splash_hpstate_6_117: | |
4486 | .word 0x819825f5 ! 208: WRHPR_HPSTATE_I wrhpr %r0, 0x05f5, %hpstate | |
4487 | .word 0x87902146 ! 209: WRPR_TT_I wrpr %r0, 0x0146, %tt | |
4488 | debug_6_118: | |
4489 | nop | |
4490 | rd %pc, %r19 | |
4491 | add %r19, (64+32), %r19 | |
4492 | mov 0x38, %r18 | |
4493 | .word 0xe6f00b12 ! 210: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4494 | .word 0xad802a9f ! 211: WR_SOFTINT_REG_I wr %r0, 0x0a9f, %softint | |
4495 | .word 0x8d90372e ! 212: WRPR_PSTATE_I wrpr %r0, 0x172e, %pstate | |
4496 | debug_6_119: | |
4497 | nop | |
4498 | mov 0x38, %r18 | |
4499 | .word 0xfef00b12 ! 213: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4500 | .word 0x91d02032 ! 214: Tcc_I ta icc_or_xcc, %r0 + 50 | |
4501 | mov (6+1), %r10 | |
4502 | ta T_CHANGE_HPRIV | |
4503 | set sync_thr_counter2, %r23 | |
4504 | cas [%r23],%g0,%r10 !lock | |
4505 | brnz %r10, sma_6_120 | |
4506 | rd %asi, %r12 | |
4507 | wr %g0, 0x40, %asi | |
4508 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4509 | set 0x21fff, %g1 | |
4510 | stxa %g1, [%g0 + 0x80] %asi | |
4511 | wr %r12, %g0, %asi | |
4512 | st %g0, [%r23] | |
4513 | sma_6_120: | |
4514 | ta T_CHANGE_NONHPRIV | |
4515 | .word 0xe3e7e003 ! 215: CASA_R casa [%r31] %asi, %r3, %r17 | |
4516 | splash_lsu_6_121: | |
4517 | setx 0x0c41d6d74905cb91, %r1, %r2 | |
4518 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4519 | .word 0x3d400001 ! 216: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4520 | .word 0xe337c000 ! 217: STQF_R - %f17, [%r0, %r31] | |
4521 | splash_cmpr_6_122: | |
4522 | setx 0x91eeb66da025a5d0, %g2, %g1 | |
4523 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4524 | sub %g1, 100, %g1 | |
4525 | .word 0xb1800001 ! 218: WR_STICK_REG_R wr %r0, %r1, %- | |
4526 | intveclr_6_123: | |
4527 | setx 0x5c0cbc744a4abdb1, %r1, %r28 | |
4528 | stxa %r28, [%g0] 0x72 | |
4529 | .word 0x25400001 ! 219: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4530 | nop | |
4531 | mov 0x80, %g3 | |
4532 | stxa %g3, [%g3] 0x57 | |
4533 | .word 0xe25fc000 ! 220: LDX_R ldx [%r31 + %r0], %r17 | |
4534 | splash_cmpr_6_124: | |
4535 | setx 0xd4dd1102e0df5d05, %g2, %g1 | |
4536 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4537 | sub %g1, 100, %g1 | |
4538 | .word 0xb1800001 ! 221: WR_STICK_REG_R wr %r0, %r1, %- | |
4539 | splash_cmpr_6_125: | |
4540 | setx 0x91834b2f63e67453, %g2, %g1 | |
4541 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
4542 | sub %g1, 100, %g1 | |
4543 | .word 0xb1800001 ! 222: WR_STICK_REG_R wr %r0, %r1, %- | |
4544 | .word 0xe31fc000 ! 223: LDDF_R ldd [%r31, %r0], %f17 | |
4545 | tagged_6_126: | |
4546 | tsubcctv %r7, 0x1c4b, %r4 | |
4547 | .word 0xe207f3f3 ! 224: LDUW_I lduw [%r31 + 0xfffff3f3], %r17 | |
4548 | splash_tba_6_127: | |
4549 | set 0x120000, %r12 | |
4550 | ld [%r12+%r0], %r1 | |
4551 | ta T_CHANGE_PRIV | |
4552 | set 0x120000, %r12 | |
4553 | .word 0x8b90000c ! 225: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4554 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4555 | ta T_CHANGE_NONPRIV ! macro | |
4556 | .word 0x91a01965 ! 226: FqTOd dis not found | |
4557 | ||
4558 | debug_6_129: | |
4559 | nop | |
4560 | mov 8, %r18 | |
4561 | .word 0xd0f00492 ! 227: STXA_R stxa %r8, [%r0 + %r18] 0x24 | |
4562 | tagged_6_130: | |
4563 | tsubcctv %r7, 0x18f0, %r14 | |
4564 | .word 0xd807f3f3 ! 228: LDUW_I lduw [%r31 + 0xfffff3f3], %r12 | |
4565 | .word 0x8d902159 ! 229: WRPR_PSTATE_I wrpr %r0, 0x0159, %pstate | |
4566 | .word 0xa5a00167 ! 230: FABSq dis not found | |
4567 | ||
4568 | debug_6_131: | |
4569 | nop | |
4570 | mov 0x38, %r18 | |
4571 | .word 0xfef00b12 ! 231: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4572 | .word 0x34700001 ! 232: BPG <illegal instruction> | |
4573 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4574 | ta T_CHANGE_NONPRIV ! macro | |
4575 | .word 0x97683137 ! 233: SDIVX_I sdivx %r0, 0xfffff137, %r11 | |
4576 | tagged_6_133: | |
4577 | taddcctv %r22, 0x10d9, %r24 | |
4578 | .word 0xd807f212 ! 234: LDUW_I lduw [%r31 + 0xfffff212], %r12 | |
4579 | ta T_CHANGE_HPRIV | |
4580 | mov (6+1), %r10 | |
4581 | set sync_thr_counter1, %r23 | |
4582 | cas [%r23],%g0,%r10 !lock | |
4583 | brnz %r10, cwq_6_134 | |
4584 | rd %asi, %r12 | |
4585 | wr %g0, 0x40, %asi | |
4586 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4587 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4588 | cmp %l1, 1 | |
4589 | bne cwq_6_134 | |
4590 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4591 | sub %l2, 0x40, %l2 | |
4592 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4593 | wr %r12, %g0, %asi | |
4594 | st %g0, [%r23] | |
4595 | cwq_6_134: | |
4596 | ta T_CHANGE_NONHPRIV | |
4597 | .word 0x99414000 ! 235: RDPC rd %pc, %r12 | |
4598 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4599 | ta T_CHANGE_NONHPRIV ! macro | |
4600 | .word 0x916abc0b ! 236: SDIVX_I sdivx %r10, 0xfffffc0b, %r8 | |
4601 | .word 0x8d90339f ! 237: WRPR_PSTATE_I wrpr %r0, 0x139f, %pstate | |
4602 | DS_6_136: | |
4603 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
4604 | .word 0xbfe7c000 ! 238: SAVE_R save %r31, %r0, %r31 | |
4605 | splash_tba_6_137: | |
4606 | set 0x120000, %r12 | |
4607 | ld [%r12+%r0], %r1 | |
4608 | ta T_CHANGE_PRIV | |
4609 | set 0x120000, %r12 | |
4610 | .word 0x8b90000c ! 239: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4611 | .word 0x97480000 ! 240: RDHPR_HPSTATE rdhpr %hpstate, %r11 | |
4612 | splash_tba_6_138: | |
4613 | set 0x003e0000, %r12 | |
4614 | st %r1, [%r12+%r0] | |
4615 | ta T_CHANGE_PRIV | |
4616 | set 0x003e0000, %r12 | |
4617 | .word 0x8b90000c ! 241: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4618 | debug_6_139: | |
4619 | nop | |
4620 | rd %pc, %r19 | |
4621 | add %r19, (64+48), %r19 | |
4622 | mov 0x38, %r18 | |
4623 | .word 0xe6f00b12 ! 242: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4624 | .word 0xd737e769 ! 243: STQF_I - %f11, [0x0769, %r31] | |
4625 | .word 0xa1902008 ! 244: WRPR_GL_I wrpr %r0, 0x0008, %- | |
4626 | debug_6_140: | |
4627 | nop | |
4628 | mov 0x38, %r18 | |
4629 | .word 0xfef00b12 ! 245: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4630 | .word 0xd66fe769 ! 246: LDSTUB_I ldstub %r11, [%r31 + 0x0769] | |
4631 | .word 0x93a00165 ! 247: FABSq dis not found | |
4632 | ||
4633 | .word 0x3a700001 ! 248: BPCC <illegal instruction> | |
4634 | cwp_6_141: | |
4635 | set user_data_start, %o7 | |
4636 | .word 0x93902004 ! 249: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
4637 | mondo_6_142: | |
4638 | nop | |
4639 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4640 | ||
4641 | stxa %r19, [%r0+0x3c8] %asi | |
4642 | .word 0x9d924012 ! 250: WRPR_WSTATE_R wrpr %r9, %r18, %wstate | |
4643 | .word 0xa1902003 ! 251: WRPR_GL_I wrpr %r0, 0x0003, %- | |
4644 | .word 0xe4800c60 ! 252: LDUWA_R lduwa [%r0, %r0] 0x63, %r18 | |
4645 | debug_6_143: | |
4646 | nop | |
4647 | mov 0x38, %r18 | |
4648 | .word 0xfef00b12 ! 253: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4649 | mov (6+1), %r10 | |
4650 | ta T_CHANGE_HPRIV | |
4651 | set sync_thr_counter2, %r23 | |
4652 | cas [%r23],%g0,%r10 !lock | |
4653 | brnz %r10, sma_6_144 | |
4654 | rd %asi, %r12 | |
4655 | wr %g0, 0x40, %asi | |
4656 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4657 | set 0x21fff, %g1 | |
4658 | stxa %g1, [%g0 + 0x80] %asi | |
4659 | wr %r12, %g0, %asi | |
4660 | st %g0, [%r23] | |
4661 | sma_6_144: | |
4662 | ta T_CHANGE_NONHPRIV | |
4663 | .word 0xe5e7e008 ! 254: CASA_R casa [%r31] %asi, %r8, %r18 | |
4664 | .word 0xa1902005 ! 255: WRPR_GL_I wrpr %r0, 0x0005, %- | |
4665 | debug_6_145: | |
4666 | nop | |
4667 | rd %pc, %r19 | |
4668 | add %r19, (64+24), %r19 | |
4669 | mov 0x38, %r18 | |
4670 | .word 0xe6f00b12 ! 256: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4671 | invalw | |
4672 | mov 0x35, %r30 | |
4673 | .word 0x91d0001e ! 257: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4674 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4675 | ta T_CHANGE_NONPRIV ! macro | |
4676 | .word 0x97a01972 ! 258: FqTOd dis not found | |
4677 | ||
4678 | .word 0xe46fe769 ! 259: LDSTUB_I ldstub %r18, [%r31 + 0x0769] | |
4679 | .word 0x8d90227c ! 260: WRPR_PSTATE_I wrpr %r0, 0x027c, %pstate | |
4680 | mondo_6_147: | |
4681 | nop | |
4682 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4683 | ||
4684 | stxa %r3, [%r0+0x3d0] %asi | |
4685 | .word 0x9d900007 ! 261: WRPR_WSTATE_R wrpr %r0, %r7, %wstate | |
4686 | rd %pc, %r19 | |
4687 | add %r19, (ivw_6_148-.+40), %r19 | |
4688 | mov 0x38, %r18 | |
4689 | stxa %r19, [%r18]0x58 | |
4690 | ivw_6_148: | |
4691 | .word 0x91914001 ! 262: WRPR_PIL_R wrpr %r5, %r1, %pil | |
4692 | nop | |
4693 | mov 0x80, %g3 | |
4694 | stxa %g3, [%g3] 0x5f | |
4695 | .word 0xe45fc000 ! 263: LDX_R ldx [%r31 + %r0], %r18 | |
4696 | setx 0xbcf84f943a9302ed, %r1, %r28 | |
4697 | stxa %r28, [%g0] 0x73 | |
4698 | intvec_6_149: | |
4699 | .word 0x39400001 ! 264: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4700 | mov (6+1), %r10 | |
4701 | ta T_CHANGE_HPRIV | |
4702 | set sync_thr_counter2, %r23 | |
4703 | cas [%r23],%g0,%r10 !lock | |
4704 | brnz %r10, sma_6_150 | |
4705 | rd %asi, %r12 | |
4706 | wr %g0, 0x40, %asi | |
4707 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4708 | set 0x21fff, %g1 | |
4709 | stxa %g1, [%g0 + 0x80] %asi | |
4710 | wr %r12, %g0, %asi | |
4711 | st %g0, [%r23] | |
4712 | sma_6_150: | |
4713 | ta T_CHANGE_NONHPRIV | |
4714 | .word 0xe5e7e013 ! 265: CASA_R casa [%r31] %asi, %r19, %r18 | |
4715 | .word 0xe497e000 ! 266: LDUHA_I lduha [%r31, + 0x0000] %asi, %r18 | |
4716 | DS_6_151: | |
4717 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
4718 | pdist %f18, %f20, %f12 | |
4719 | .word 0x9bb14304 ! 267: ALIGNADDRESS alignaddr %r5, %r4, %r13 | |
4720 | .word 0x8d902493 ! 268: WRPR_PSTATE_I wrpr %r0, 0x0493, %pstate | |
4721 | splash_lsu_6_152: | |
4722 | setx 0xb8e251d38b75298b, %r1, %r2 | |
4723 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4724 | .word 0x3d400001 ! 269: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4725 | debug_6_153: | |
4726 | nop | |
4727 | mov 8, %r18 | |
4728 | .word 0xd8f00492 ! 270: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
4729 | mov (6+1), %r10 | |
4730 | ta T_CHANGE_HPRIV | |
4731 | set sync_thr_counter2, %r23 | |
4732 | cas [%r23],%g0,%r10 !lock | |
4733 | brnz %r10, sma_6_154 | |
4734 | rd %asi, %r12 | |
4735 | wr %g0, 0x40, %asi | |
4736 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4737 | set 0x21fff, %g1 | |
4738 | stxa %g1, [%g0 + 0x80] %asi | |
4739 | wr %r12, %g0, %asi | |
4740 | st %g0, [%r23] | |
4741 | sma_6_154: | |
4742 | ta T_CHANGE_NONHPRIV | |
4743 | .word 0xe9e7e00a ! 271: CASA_R casa [%r31] %asi, %r10, %r20 | |
4744 | splash_tba_6_155: | |
4745 | set 0x120000, %r12 | |
4746 | ld [%r12+%r0], %r1 | |
4747 | ta T_CHANGE_PRIV | |
4748 | set 0x120000, %r12 | |
4749 | .word 0x8b90000c ! 272: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4750 | DS_6_156: | |
4751 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
4752 | .word 0xef657255 ! Random illegal ? | |
4753 | .word 0x9ba289cd ! 1: FDIVd fdivd %f10, %f44, %f44 | |
4754 | .word 0x93a5082c ! 273: FADDs fadds %f20, %f12, %f9 | |
4755 | rd %pc, %r19 | |
4756 | add %r19, (ivw_6_157-.+8), %r19 | |
4757 | mov 0x38, %r18 | |
4758 | stxa %r19, [%r18]0x58 | |
4759 | ivw_6_157: | |
4760 | .word 0x9194000d ! 274: WRPR_PIL_R wrpr %r16, %r13, %pil | |
4761 | .word 0x8d902702 ! 275: WRPR_PSTATE_I wrpr %r0, 0x0702, %pstate | |
4762 | .word 0xe0c004a0 ! 276: LDSWA_R ldswa [%r0, %r0] 0x25, %r16 | |
4763 | ta T_CHANGE_HPRIV | |
4764 | mov (6+1), %r10 | |
4765 | set sync_thr_counter1, %r23 | |
4766 | cas [%r23],%g0,%r10 !lock | |
4767 | brnz %r10, cwq_6_158 | |
4768 | rd %asi, %r12 | |
4769 | wr %g0, 0x40, %asi | |
4770 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4771 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4772 | cmp %l1, 1 | |
4773 | bne cwq_6_158 | |
4774 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4775 | sub %l2, 0x40, %l2 | |
4776 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4777 | wr %r12, %g0, %asi | |
4778 | st %g0, [%r23] | |
4779 | cwq_6_158: | |
4780 | ta T_CHANGE_NONHPRIV | |
4781 | .word 0x9b414000 ! 277: RDPC rd %pc, %r13 | |
4782 | ta T_CHANGE_HPRIV | |
4783 | mov (6+1), %r10 | |
4784 | set sync_thr_counter1, %r23 | |
4785 | cas [%r23],%g0,%r10 !lock | |
4786 | brnz %r10, cwq_6_159 | |
4787 | rd %asi, %r12 | |
4788 | wr %g0, 0x40, %asi | |
4789 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4790 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4791 | cmp %l1, 1 | |
4792 | bne cwq_6_159 | |
4793 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4794 | sub %l2, 0x40, %l2 | |
4795 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4796 | wr %r12, %g0, %asi | |
4797 | st %g0, [%r23] | |
4798 | cwq_6_159: | |
4799 | ta T_CHANGE_NONHPRIV | |
4800 | .word 0xa7414000 ! 278: RDPC rd %pc, %r19 | |
4801 | .word 0x81460000 ! 279: RD_STICK_REG stbar | |
4802 | debug_6_160: | |
4803 | nop | |
4804 | rd %pc, %r19 | |
4805 | add %r19, (64+40), %r19 | |
4806 | mov 0x38, %r18 | |
4807 | .word 0xe6f00b12 ! 280: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4808 | .word 0xe66fe769 ! 281: LDSTUB_I ldstub %r19, [%r31 + 0x0769] | |
4809 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_6_161)+16, 16, 16)) -> intp(6,1,3) | |
4810 | xir_6_161: | |
4811 | .word 0xa9806ab0 ! 282: WR_SET_SOFTINT_I wr %r1, 0x0ab0, %set_softint | |
4812 | tagged_6_162: | |
4813 | tsubcctv %r15, 0x1249, %r19 | |
4814 | .word 0xe607e3f9 ! 283: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
4815 | .word 0x91d02033 ! 284: Tcc_I ta icc_or_xcc, %r0 + 51 | |
4816 | otherw | |
4817 | mov 0x31, %r30 | |
4818 | .word 0x93d0001e ! 285: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
4819 | tagged_6_163: | |
4820 | taddcctv %r19, 0x1251, %r2 | |
4821 | .word 0xe607e3f9 ! 286: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
4822 | .word 0x8d802000 ! 287: WRFPRS_I wr %r0, 0x0000, %fprs | |
4823 | .word 0x8d903211 ! 288: WRPR_PSTATE_I wrpr %r0, 0x1211, %pstate | |
4824 | debug_6_164: | |
4825 | nop | |
4826 | mov 0x38, %r18 | |
4827 | .word 0xfef00b12 ! 289: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4828 | splash_lsu_6_165: | |
4829 | setx 0xd2fbb00f9a8e7435, %r1, %r2 | |
4830 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4831 | .word 0x3d400001 ! 290: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4832 | mondo_6_166: | |
4833 | nop | |
4834 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4835 | ||
4836 | stxa %r10, [%r0+0x3e0] %asi | |
4837 | .word 0x9d94c014 ! 291: WRPR_WSTATE_R wrpr %r19, %r20, %wstate | |
4838 | debug_6_167: | |
4839 | nop | |
4840 | mov 0x38, %r18 | |
4841 | .word 0xfef00b12 ! 292: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4842 | nop | |
4843 | mov 0x80, %g3 | |
4844 | stxa %g3, [%g3] 0x5f | |
4845 | .word 0xe65fc000 ! 293: LDX_R ldx [%r31 + %r0], %r19 | |
4846 | splash_tba_6_168: | |
4847 | set 0x003e0000, %r12 | |
4848 | st %r1, [%r12+%r0] | |
4849 | ta T_CHANGE_PRIV | |
4850 | set 0x003e0000, %r12 | |
4851 | .word 0x8b90000c ! 294: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4852 | splash_cmpr_6_169: | |
4853 | setx 0x547be68873e9d1d6, %g2, %g1 | |
4854 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
4855 | sub %g1, 100, %g1 | |
4856 | .word 0xb1800001 ! 295: WR_STICK_REG_R wr %r0, %r1, %- | |
4857 | tagged_6_170: | |
4858 | tsubcctv %r16, 0x1d76, %r6 | |
4859 | .word 0xe607e3f9 ! 296: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
4860 | .word 0xa1902003 ! 297: WRPR_GL_I wrpr %r0, 0x0003, %- | |
4861 | .word 0xe727e3f9 ! 298: STF_I st %f19, [0x03f9, %r31] | |
4862 | .word 0xe69fc020 ! 299: LDDA_R ldda [%r31, %r0] 0x01, %r19 | |
4863 | .word 0x99698008 ! 300: SDIVX_R sdivx %r6, %r8, %r12 | |
4864 | .word 0x879021d0 ! 301: WRPR_TT_I wrpr %r0, 0x01d0, %tt | |
4865 | change_to_randtl_6_171: | |
4866 | ta T_CHANGE_HPRIV ! macro | |
4867 | done_change_to_randtl_6_171: | |
4868 | .word 0x8f902003 ! 302: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
4869 | .word 0xa1902001 ! 303: WRPR_GL_I wrpr %r0, 0x0001, %- | |
4870 | splash_hpstate_6_172: | |
4871 | .word 0x8198200c ! 304: WRHPR_HPSTATE_I wrhpr %r0, 0x000c, %hpstate | |
4872 | rd %pc, %r19 | |
4873 | add %r19, (ivw_6_173-.+32), %r19 | |
4874 | mov 0x38, %r18 | |
4875 | stxa %r19, [%r18]0x58 | |
4876 | ivw_6_173: | |
4877 | .word 0x91910006 ! 305: WRPR_PIL_R wrpr %r4, %r6, %pil | |
4878 | cwp_6_174: | |
4879 | set user_data_start, %o7 | |
4880 | .word 0x93902005 ! 306: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
4881 | intveclr_6_175: | |
4882 | setx 0xde3d51722213d846, %r1, %r28 | |
4883 | stxa %r28, [%g0] 0x72 | |
4884 | .word 0x25400001 ! 307: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4885 | intveclr_6_176: | |
4886 | setx 0xc7764f98077915f9, %r1, %r28 | |
4887 | stxa %r28, [%g0] 0x72 | |
4888 | .word 0x25400001 ! 308: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4889 | mondo_6_177: | |
4890 | nop | |
4891 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4892 | ||
4893 | stxa %r16, [%r0+0x3c0] %asi | |
4894 | .word 0x9d950005 ! 309: WRPR_WSTATE_R wrpr %r20, %r5, %wstate | |
4895 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4896 | ta T_CHANGE_NONPRIV ! macro | |
4897 | .word 0x9ba0196b ! 310: FqTOd dis not found | |
4898 | ||
4899 | .word 0x8d9036a6 ! 311: WRPR_PSTATE_I wrpr %r0, 0x16a6, %pstate | |
4900 | otherw | |
4901 | mov 0xb2, %r30 | |
4902 | .word 0x91d0001e ! 312: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4903 | .word 0x879023e7 ! 313: WRPR_TT_I wrpr %r0, 0x03e7, %tt | |
4904 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4905 | ta T_CHANGE_NONHPRIV ! macro | |
4906 | .word 0xa1a01970 ! 314: FqTOd dis not found | |
4907 | ||
4908 | .word 0xd88fe010 ! 315: LDUBA_I lduba [%r31, + 0x0010] %asi, %r12 | |
4909 | cwp_6_180: | |
4910 | set user_data_start, %o7 | |
4911 | .word 0x93902003 ! 316: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
4912 | splash_hpstate_6_181: | |
4913 | .word 0x81982d8c ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x0d8c, %hpstate | |
4914 | debug_6_182: | |
4915 | nop | |
4916 | mov 0x38, %r18 | |
4917 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4918 | DS_6_183: | |
4919 | .word 0x99a009c6 ! 1: FDIVd fdivd %f0, %f6, %f12 | |
4920 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
4921 | .word 0xd111c003 ! 1: LDQF_R - [%r7, %r3], %f8 | |
4922 | .word 0xa7a40828 ! 319: FADDs fadds %f16, %f8, %f19 | |
4923 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4924 | ta T_CHANGE_NONPRIV ! macro | |
4925 | .word 0xa1a01974 ! 320: FqTOd dis not found | |
4926 | ||
4927 | DS_6_185: | |
4928 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
4929 | .word 0xbfefc000 ! 321: RESTORE_R restore %r31, %r0, %r31 | |
4930 | splash_cmpr_6_186: | |
4931 | setx 0x08a4ef2a012a927d, %g2, %g1 | |
4932 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4933 | sub %g1, 100, %g1 | |
4934 | .word 0xb1800001 ! 322: WR_STICK_REG_R wr %r0, %r1, %- | |
4935 | .word 0xa1902002 ! 323: WRPR_GL_I wrpr %r0, 0x0002, %- | |
4936 | debug_6_187: | |
4937 | nop | |
4938 | rd %pc, %r19 | |
4939 | add %r19, (64+8), %r19 | |
4940 | mov 0x38, %r18 | |
4941 | .word 0xe6f00b12 ! 324: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4942 | .word 0x93d02034 ! 325: Tcc_I tne icc_or_xcc, %r0 + 52 | |
4943 | change_to_randtl_6_188: | |
4944 | ta T_CHANGE_PRIV ! macro | |
4945 | done_change_to_randtl_6_188: | |
4946 | .word 0x8f902000 ! 326: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4947 | intveclr_6_189: | |
4948 | setx 0xa7a92e41f7eea5bc, %r1, %r28 | |
4949 | stxa %r28, [%g0] 0x72 | |
4950 | .word 0x25400001 ! 327: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4951 | .word 0xa1902009 ! 328: WRPR_GL_I wrpr %r0, 0x0009, %- | |
4952 | .word 0x26700001 ! 329: BPL <illegal instruction> | |
4953 | splash_hpstate_6_190: | |
4954 | .word 0x81982586 ! 330: WRHPR_HPSTATE_I wrhpr %r0, 0x0586, %hpstate | |
4955 | .word 0xd527c000 ! 331: STF_R st %f10, [%r0, %r31] | |
4956 | debug_6_191: | |
4957 | nop | |
4958 | mov 0x38, %r18 | |
4959 | .word 0xfef00b12 ! 332: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4960 | .word 0x8d903f24 ! 333: WRPR_PSTATE_I wrpr %r0, 0x1f24, %pstate | |
4961 | intveclr_6_192: | |
4962 | setx 0x2b344014ec4e7b6c, %r1, %r28 | |
4963 | stxa %r28, [%g0] 0x72 | |
4964 | .word 0x25400001 ! 334: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4965 | .word 0x87802089 ! 335: WRASI_I wr %r0, 0x0089, %asi | |
4966 | DS_6_193: | |
4967 | nop | |
4968 | not %g0, %r12 | |
4969 | jmp %r12 | |
4970 | .word 0x9d902001 ! 336: WRPR_WSTATE_I wrpr %r0, 0x0001, %wstate | |
4971 | tagged_6_194: | |
4972 | tsubcctv %r13, 0x18e4, %r13 | |
4973 | .word 0xd407e3f9 ! 337: LDUW_I lduw [%r31 + 0x03f9], %r10 | |
4974 | change_to_randtl_6_195: | |
4975 | ta T_CHANGE_HPRIV ! macro | |
4976 | done_change_to_randtl_6_195: | |
4977 | .word 0x8f902000 ! 338: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4978 | .word 0xd48008a0 ! 339: LDUWA_R lduwa [%r0, %r0] 0x45, %r10 | |
4979 | .word 0x8d802000 ! 340: WRFPRS_I wr %r0, 0x0000, %fprs | |
4980 | splash_cmpr_6_196: | |
4981 | setx 0x6c19cc57661cea4e, %g2, %g1 | |
4982 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4983 | sub %g1, 100, %g1 | |
4984 | .word 0xb1800001 ! 341: WR_STICK_REG_R wr %r0, %r1, %- | |
4985 | mov (6+1), %r10 | |
4986 | ta T_CHANGE_HPRIV | |
4987 | set sync_thr_counter2, %r23 | |
4988 | cas [%r23],%g0,%r10 !lock | |
4989 | brnz %r10, sma_6_197 | |
4990 | rd %asi, %r12 | |
4991 | wr %g0, 0x40, %asi | |
4992 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4993 | set 0x21fff, %g1 | |
4994 | stxa %g1, [%g0 + 0x80] %asi | |
4995 | wr %r12, %g0, %asi | |
4996 | st %g0, [%r23] | |
4997 | sma_6_197: | |
4998 | ta T_CHANGE_NONHPRIV | |
4999 | .word 0xd5e7e004 ! 342: CASA_R casa [%r31] %asi, %r4, %r10 | |
5000 | .word 0x87902369 ! 343: WRPR_TT_I wrpr %r0, 0x0369, %tt | |
5001 | .word 0x2a700001 ! 344: BPCS <illegal instruction> | |
5002 | .word 0xad82a7f0 ! 345: WR_SOFTINT_REG_I wr %r10, 0x07f0, %softint | |
5003 | debug_6_198: | |
5004 | nop | |
5005 | mov 8, %r18 | |
5006 | .word 0xe0f00492 ! 346: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
5007 | .word 0x34800001 ! 347: BG bg,a <label_0x1> | |
5008 | nop | |
5009 | mov 0x80, %g3 | |
5010 | stxa %g3, [%g3] 0x57 | |
5011 | .word 0xd45fc000 ! 348: LDX_R ldx [%r31 + %r0], %r10 | |
5012 | tagged_6_199: | |
5013 | taddcctv %r25, 0x1df9, %r8 | |
5014 | .word 0xd407fefd ! 349: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
5015 | tagged_6_200: | |
5016 | tsubcctv %r23, 0x16b1, %r25 | |
5017 | .word 0xd407fefd ! 350: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
5018 | donret_6_201: | |
5019 | nop | |
5020 | rd %pc, %r12 | |
5021 | add %r12, (donretarg_6_201-donret_6_201-4), %r12 | |
5022 | mov 0x38, %r18 | |
5023 | stxa %r12, [%r18]0x58 | |
5024 | add %r12, 0x4, %r11 | |
5025 | wrpr %g0, 0x2, %tl | |
5026 | wrpr %g0, %r12, %tpc | |
5027 | wrpr %g0, %r11, %tnpc | |
5028 | wrpr %g0, %r13, %tstate | |
5029 | wrhpr %g0, %r14, %htstate | |
5030 | done | |
5031 | donretarg_6_201: | |
5032 | .word 0xd4fffefd ! 351: SWAPA_I swapa %r10, [%r31 + 0xfffffefd] %asi | |
5033 | mondo_6_202: | |
5034 | nop | |
5035 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5036 | ||
5037 | stxa %r3, [%r0+0x3d8] %asi | |
5038 | .word 0x9d904003 ! 352: WRPR_WSTATE_R wrpr %r1, %r3, %wstate | |
5039 | setx 0x6c69f6dc9d94d082, %r1, %r28 | |
5040 | stxa %r28, [%g0] 0x73 | |
5041 | intvec_6_203: | |
5042 | .word 0x39400001 ! 353: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5043 | splash_lsu_6_204: | |
5044 | setx 0xda9f2dfedbdce4fd, %r1, %r2 | |
5045 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5046 | .word 0x3d400001 ! 354: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5047 | memptr_6_205: | |
5048 | set 0x60740000, %r31 | |
5049 | .word 0x8581b41f ! 355: WRCCR_I wr %r6, 0x141f, %ccr | |
5050 | .word 0xa1902008 ! 356: WRPR_GL_I wrpr %r0, 0x0008, %- | |
5051 | nop | |
5052 | mov 0x80, %g3 | |
5053 | stxa %g3, [%g3] 0x57 | |
5054 | .word 0xd45fc000 ! 357: LDX_R ldx [%r31 + %r0], %r10 | |
5055 | .word 0xa5a00172 ! 358: FABSq dis not found | |
5056 | ||
5057 | .word 0x97540000 ! 359: RDPR_GL rdpr %-, %r11 | |
5058 | change_to_randtl_6_206: | |
5059 | ta T_CHANGE_PRIV ! macro | |
5060 | done_change_to_randtl_6_206: | |
5061 | .word 0x8f902002 ! 360: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
5062 | .word 0x91d02034 ! 361: Tcc_I ta icc_or_xcc, %r0 + 52 | |
5063 | .word 0xab814005 ! 362: WR_CLEAR_SOFTINT_R wr %r5, %r5, %clear_softint | |
5064 | .word 0x8d903fc2 ! 363: WRPR_PSTATE_I wrpr %r0, 0x1fc2, %pstate | |
5065 | .word 0x91d02032 ! 364: Tcc_I ta icc_or_xcc, %r0 + 50 | |
5066 | splash_lsu_6_207: | |
5067 | setx 0x9ada5331478a8fd3, %r1, %r2 | |
5068 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5069 | .word 0x3d400001 ! 365: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5070 | splash_hpstate_6_208: | |
5071 | .word 0x81982f5e ! 366: WRHPR_HPSTATE_I wrhpr %r0, 0x0f5e, %hpstate | |
5072 | debug_6_209: | |
5073 | nop | |
5074 | mov 0x38, %r18 | |
5075 | .word 0xfef00b12 ! 367: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5076 | mondo_6_210: | |
5077 | nop | |
5078 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5079 | ||
5080 | stxa %r16, [%r0+0x3c0] %asi | |
5081 | .word 0x9d908012 ! 368: WRPR_WSTATE_R wrpr %r2, %r18, %wstate | |
5082 | setx 0x620cadc2e55d12fa, %r1, %r28 | |
5083 | stxa %r28, [%g0] 0x73 | |
5084 | intvec_6_211: | |
5085 | .word 0x39400001 ! 369: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5086 | .word 0xe60fe29d ! 370: LDUB_I ldub [%r31 + 0x029d], %r19 | |
5087 | .word 0x8d903cf9 ! 371: WRPR_PSTATE_I wrpr %r0, 0x1cf9, %pstate | |
5088 | .word 0x9150c000 ! 372: RDPR_TT rdpr %tt, %r8 | |
5089 | mov (6+1), %r10 | |
5090 | ta T_CHANGE_HPRIV | |
5091 | set sync_thr_counter2, %r23 | |
5092 | cas [%r23],%g0,%r10 !lock | |
5093 | brnz %r10, sma_6_212 | |
5094 | rd %asi, %r12 | |
5095 | wr %g0, 0x40, %asi | |
5096 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5097 | set 0x21fff, %g1 | |
5098 | stxa %g1, [%g0 + 0x80] %asi | |
5099 | wr %r12, %g0, %asi | |
5100 | st %g0, [%r23] | |
5101 | sma_6_212: | |
5102 | ta T_CHANGE_NONHPRIV | |
5103 | .word 0xd1e7e00a ! 373: CASA_R casa [%r31] %asi, %r10, %r8 | |
5104 | .word 0xd0800c80 ! 374: LDUWA_R lduwa [%r0, %r0] 0x64, %r8 | |
5105 | .word 0x22800001 ! 375: BE be,a <label_0x1> | |
5106 | .word 0x87802016 ! 376: WRASI_I wr %r0, 0x0016, %asi | |
5107 | .word 0x87802004 ! 377: WRASI_I wr %r0, 0x0004, %asi | |
5108 | .word 0x95a14dc7 ! 378: FdMULq fdmulq | |
5109 | splash_tba_6_213: | |
5110 | set 0x003e0000, %r12 | |
5111 | ld [%r12+%r0], %r1 | |
5112 | ta T_CHANGE_PRIV | |
5113 | set 0x003e0000, %r12 | |
5114 | .word 0x8b90000c ! 379: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5115 | .word 0x83d020b2 ! 380: Tcc_I te icc_or_xcc, %r0 + 178 | |
5116 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
5117 | ta T_CHANGE_NONPRIV ! macro | |
5118 | .word 0xa9a01972 ! 381: FqTOd dis not found | |
5119 | ||
5120 | splash_cmpr_6_215: | |
5121 | setx 0x98cd813d6e4fe74c, %g2, %g1 | |
5122 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
5123 | sub %g1, 100, %g1 | |
5124 | .word 0xb1800001 ! 382: WR_STICK_REG_R wr %r0, %r1, %- | |
5125 | debug_6_216: | |
5126 | nop | |
5127 | mov 8, %r18 | |
5128 | .word 0xdcf00492 ! 383: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
5129 | setx 0x2cb59b1e0217d359, %r1, %r28 | |
5130 | stxa %r28, [%g0] 0x73 | |
5131 | intvec_6_217: | |
5132 | .word 0x39400001 ! 384: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5133 | .word 0xa7480000 ! 385: RDHPR_HPSTATE rdhpr %hpstate, %r19 | |
5134 | .word 0x26800001 ! 386: BL bl,a <label_0x1> | |
5135 | ta T_CHANGE_HPRIV | |
5136 | mov (6+1), %r10 | |
5137 | set sync_thr_counter1, %r23 | |
5138 | cas [%r23],%g0,%r10 !lock | |
5139 | brnz %r10, cwq_6_218 | |
5140 | rd %asi, %r12 | |
5141 | wr %g0, 0x40, %asi | |
5142 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5143 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5144 | cmp %l1, 1 | |
5145 | bne cwq_6_218 | |
5146 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5147 | sub %l2, 0x40, %l2 | |
5148 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5149 | wr %r12, %g0, %asi | |
5150 | st %g0, [%r23] | |
5151 | cwq_6_218: | |
5152 | ta T_CHANGE_NONHPRIV | |
5153 | .word 0x97414000 ! 387: RDPC rd %pc, %r11 | |
5154 | splash_hpstate_6_219: | |
5155 | .word 0x81982aff ! 388: WRHPR_HPSTATE_I wrhpr %r0, 0x0aff, %hpstate | |
5156 | splash_tba_6_220: | |
5157 | set 0x120000, %r12 | |
5158 | st %r1, [%r12+%r0] | |
5159 | ta T_CHANGE_PRIV | |
5160 | set 0x120000, %r12 | |
5161 | .word 0x8b90000c ! 389: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5162 | splash_tba_6_221: | |
5163 | set 0x120000, %r12 | |
5164 | ld [%r12+%r0], %r1 | |
5165 | ta T_CHANGE_PRIV | |
5166 | set 0x120000, %r12 | |
5167 | .word 0x8b90000c ! 390: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5168 | splash_cmpr_6_222: | |
5169 | setx 0xdd112cf231404323, %g2, %g1 | |
5170 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5171 | sub %g1, 100, %g1 | |
5172 | .word 0xb1800001 ! 391: WR_STICK_REG_R wr %r0, %r1, %- | |
5173 | setx 0x2ba018b8321ab47e, %r1, %r28 | |
5174 | stxa %r28, [%g0] 0x73 | |
5175 | intvec_6_223: | |
5176 | .word 0x39400001 ! 392: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5177 | .word 0x90d4f3f5 ! 393: UMULcc_I umulcc %r19, 0xfffff3f5, %r8 | |
5178 | .word 0xd697e020 ! 394: LDUHA_I lduha [%r31, + 0x0020] %asi, %r11 | |
5179 | .word 0x20700001 ! 395: BPN <illegal instruction> | |
5180 | .word 0x83d02033 ! 396: Tcc_I te icc_or_xcc, %r0 + 51 | |
5181 | .word 0x91703983 ! 397: POPC_I popc 0x1983, %r8 | |
5182 | splash_lsu_6_224: | |
5183 | setx 0x2e8b232bdcc8f9c3, %r1, %r2 | |
5184 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5185 | .word 0x3d400001 ! 398: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5186 | .word 0x87902209 ! 399: WRPR_TT_I wrpr %r0, 0x0209, %tt | |
5187 | splash_cmpr_6_225: | |
5188 | setx 0x4b961df53edfed4b, %g2, %g1 | |
5189 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5190 | sub %g1, 100, %g1 | |
5191 | .word 0xb1800001 ! 400: WR_STICK_REG_R wr %r0, %r1, %- | |
5192 | memptr_6_226: | |
5193 | set 0x60740000, %r31 | |
5194 | .word 0x8580f753 ! 401: WRCCR_I wr %r3, 0x1753, %ccr | |
5195 | cwp_6_227: | |
5196 | set user_data_start, %o7 | |
5197 | .word 0x93902002 ! 402: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
5198 | .word 0x9f802e58 ! 403: SIR sir 0x0e58 | |
5199 | mondo_6_228: | |
5200 | nop | |
5201 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5202 | ||
5203 | stxa %r1, [%r0+0x3c0] %asi | |
5204 | .word 0x9d950008 ! 404: WRPR_WSTATE_R wrpr %r20, %r8, %wstate | |
5205 | .word 0xab8435a6 ! 405: WR_CLEAR_SOFTINT_I wr %r16, 0x15a6, %clear_softint | |
5206 | .word 0xa190200f ! 406: WRPR_GL_I wrpr %r0, 0x000f, %- | |
5207 | DS_6_229: | |
5208 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
5209 | .word 0xbfefc000 ! 407: RESTORE_R restore %r31, %r0, %r31 | |
5210 | tagged_6_230: | |
5211 | tsubcctv %r3, 0x181d, %r20 | |
5212 | .word 0xe207f5d2 ! 408: LDUW_I lduw [%r31 + 0xfffff5d2], %r17 | |
5213 | .word 0x9b540000 ! 409: RDPR_GL rdpr %-, %r13 | |
5214 | mondo_6_231: | |
5215 | nop | |
5216 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5217 | ||
5218 | stxa %r6, [%r0+0x3d8] %asi | |
5219 | .word 0x9d920000 ! 410: WRPR_WSTATE_R wrpr %r8, %r0, %wstate | |
5220 | debug_6_232: | |
5221 | nop | |
5222 | rd %pc, %r19 | |
5223 | add %r19, (64+40), %r19 | |
5224 | mov 0x38, %r18 | |
5225 | .word 0xe6f00b12 ! 411: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5226 | splash_cmpr_6_233: | |
5227 | setx 0x57cef40f9ebbfcb6, %g2, %g1 | |
5228 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5229 | sub %g1, 100, %g1 | |
5230 | .word 0xb1800001 ! 412: WR_STICK_REG_R wr %r0, %r1, %- | |
5231 | mov (6+1), %r10 | |
5232 | ta T_CHANGE_HPRIV | |
5233 | set sync_thr_counter2, %r23 | |
5234 | cas [%r23],%g0,%r10 !lock | |
5235 | brnz %r10, sma_6_234 | |
5236 | rd %asi, %r12 | |
5237 | wr %g0, 0x40, %asi | |
5238 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5239 | set 0x21fff, %g1 | |
5240 | stxa %g1, [%g0 + 0x80] %asi | |
5241 | wr %r12, %g0, %asi | |
5242 | st %g0, [%r23] | |
5243 | sma_6_234: | |
5244 | ta T_CHANGE_NONHPRIV | |
5245 | .word 0xd9e7e014 ! 413: CASA_R casa [%r31] %asi, %r20, %r12 | |
5246 | .word 0xd927c000 ! 414: STF_R st %f12, [%r0, %r31] | |
5247 | debug_6_235: | |
5248 | nop | |
5249 | rd %pc, %r19 | |
5250 | add %r19, (64+40), %r19 | |
5251 | mov 0x38, %r18 | |
5252 | .word 0xe6f00b12 ! 415: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5253 | .word 0x87902313 ! 416: WRPR_TT_I wrpr %r0, 0x0313, %tt | |
5254 | debug_6_236: | |
5255 | nop | |
5256 | mov 0x38, %r18 | |
5257 | .word 0xfef00b12 ! 417: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5258 | mondo_6_237: | |
5259 | nop | |
5260 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5261 | ||
5262 | stxa %r18, [%r0+0x3d0] %asi | |
5263 | .word 0x9d90c001 ! 418: WRPR_WSTATE_R wrpr %r3, %r1, %wstate | |
5264 | tagged_6_238: | |
5265 | tsubcctv %r17, 0x1ea8, %r6 | |
5266 | .word 0xd807f5d2 ! 419: LDUW_I lduw [%r31 + 0xfffff5d2], %r12 | |
5267 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5268 | ta T_CHANGE_NONHPRIV ! macro | |
5269 | .word 0x916a7268 ! 420: SDIVX_I sdivx %r9, 0xfffff268, %r8 | |
5270 | .word 0x8790218f ! 421: WRPR_TT_I wrpr %r0, 0x018f, %tt | |
5271 | .word 0x91d02032 ! 422: Tcc_I ta icc_or_xcc, %r0 + 50 | |
5272 | .word 0xd8d804a0 ! 423: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
5273 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
5274 | ta T_CHANGE_NONPRIV ! macro | |
5275 | .word 0xa16c6cda ! 424: SDIVX_I sdivx %r17, 0x0cda, %r16 | |
5276 | rd %pc, %r19 | |
5277 | add %r19, (ivw_6_241-.+48), %r19 | |
5278 | mov 0x38, %r18 | |
5279 | stxa %r19, [%r18]0x58 | |
5280 | ivw_6_241: | |
5281 | .word 0x91920012 ! 425: WRPR_PIL_R wrpr %r8, %r18, %pil | |
5282 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5283 | ta T_CHANGE_NONPRIV ! macro | |
5284 | .word 0xa969a9f2 ! 426: SDIVX_I sdivx %r6, 0x09f2, %r20 | |
5285 | splash_cmpr_6_243: | |
5286 | setx 0xa4c2649049ffb565, %g2, %g1 | |
5287 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
5288 | sub %g1, 100, %g1 | |
5289 | .word 0xb1800001 ! 427: WR_STICK_REG_R wr %r0, %r1, %- | |
5290 | splash_cmpr_6_244: | |
5291 | setx 0xb902ef0f3efe9a6a, %g2, %g1 | |
5292 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5293 | sub %g1, 100, %g1 | |
5294 | .word 0xb1800001 ! 428: WR_STICK_REG_R wr %r0, %r1, %- | |
5295 | .word 0xa16b400c ! 429: SDIVX_R sdivx %r13, %r12, %r16 | |
5296 | setx 0x24e6698dcd21f485, %r1, %r28 | |
5297 | stxa %r28, [%g0] 0x73 | |
5298 | intvec_6_245: | |
5299 | .word 0x39400001 ! 430: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5300 | DS_6_246: | |
5301 | nop | |
5302 | not %g0, %r12 | |
5303 | jmp %r12 | |
5304 | .word 0x9d902000 ! 431: WRPR_WSTATE_I wrpr %r0, 0x0000, %wstate | |
5305 | pmu_6_247: | |
5306 | nop | |
5307 | setx 0xfffffb93fffffff9, %g1, %g7 | |
5308 | .word 0xa3800007 ! 432: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
5309 | change_to_randtl_6_248: | |
5310 | ta T_CHANGE_PRIV ! macro | |
5311 | done_change_to_randtl_6_248: | |
5312 | .word 0x8f902001 ! 433: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5313 | .word 0xe257c000 ! 434: LDSH_R ldsh [%r31 + %r0], %r17 | |
5314 | .word 0xa190200e ! 435: WRPR_GL_I wrpr %r0, 0x000e, %- | |
5315 | mov (6+1), %r10 | |
5316 | ta T_CHANGE_HPRIV | |
5317 | set sync_thr_counter2, %r23 | |
5318 | cas [%r23],%g0,%r10 !lock | |
5319 | brnz %r10, sma_6_249 | |
5320 | rd %asi, %r12 | |
5321 | wr %g0, 0x40, %asi | |
5322 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5323 | set 0x21fff, %g1 | |
5324 | stxa %g1, [%g0 + 0x80] %asi | |
5325 | wr %r12, %g0, %asi | |
5326 | st %g0, [%r23] | |
5327 | sma_6_249: | |
5328 | ta T_CHANGE_NONHPRIV | |
5329 | .word 0xe3e7e00b ! 436: CASA_R casa [%r31] %asi, %r11, %r17 | |
5330 | splash_lsu_6_250: | |
5331 | setx 0xf3178384bf261ded, %r1, %r2 | |
5332 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5333 | .word 0x3d400001 ! 437: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5334 | .word 0xe2800a60 ! 438: LDUWA_R lduwa [%r0, %r0] 0x53, %r17 | |
5335 | splash_lsu_6_251: | |
5336 | setx 0x8c1f192a597e8007, %r1, %r2 | |
5337 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5338 | .word 0x3d400001 ! 439: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5339 | splash_cmpr_6_252: | |
5340 | setx 0xfacbf2c76248c0ed, %g2, %g1 | |
5341 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5342 | sub %g1, 100, %g1 | |
5343 | .word 0xb1800001 ! 440: WR_STICK_REG_R wr %r0, %r1, %- | |
5344 | nop | |
5345 | mov 0x80, %g3 | |
5346 | stxa %g3, [%g3] 0x57 | |
5347 | .word 0xe25fc000 ! 441: LDX_R ldx [%r31 + %r0], %r17 | |
5348 | .word 0x9b540000 ! 442: RDPR_GL <illegal instruction> | |
5349 | ta T_CHANGE_HPRIV | |
5350 | mov (6+1), %r10 | |
5351 | set sync_thr_counter1, %r23 | |
5352 | cas [%r23],%g0,%r10 !lock | |
5353 | brnz %r10, cwq_6_253 | |
5354 | rd %asi, %r12 | |
5355 | wr %g0, 0x40, %asi | |
5356 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5357 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5358 | cmp %l1, 1 | |
5359 | bne cwq_6_253 | |
5360 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5361 | sub %l2, 0x40, %l2 | |
5362 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5363 | wr %r12, %g0, %asi | |
5364 | st %g0, [%r23] | |
5365 | cwq_6_253: | |
5366 | ta T_CHANGE_NONHPRIV | |
5367 | .word 0xa3414000 ! 443: RDPC rd %pc, %r17 | |
5368 | splash_htba_6_254: | |
5369 | set 0x80000, %r12 | |
5370 | st %r1, [%r12+%r0] | |
5371 | ta T_CHANGE_HPRIV | |
5372 | set 0x80000, %r12 | |
5373 | .word 0x8b98000c ! 444: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
5374 | tagged_6_255: | |
5375 | taddcctv %r8, 0x1540, %r16 | |
5376 | .word 0xd807f183 ! 445: LDUW_I lduw [%r31 + 0xfffff183], %r12 | |
5377 | memptr_6_256: | |
5378 | set 0x60140000, %r31 | |
5379 | .word 0x85852e2c ! 446: WRCCR_I wr %r20, 0x0e2c, %ccr | |
5380 | tagged_6_257: | |
5381 | taddcctv %r12, 0x1afe, %r3 | |
5382 | .word 0xd807e3fe ! 447: LDUW_I lduw [%r31 + 0x03fe], %r12 | |
5383 | .word 0xd91fe3fe ! 448: LDDF_I ldd [%r31, 0x03fe], %f12 | |
5384 | .word 0x87802088 ! 449: WRASI_I wr %r0, 0x0088, %asi | |
5385 | splash_tba_6_258: | |
5386 | set 0x003e0000, %r12 | |
5387 | st %r1, [%r12+%r0] | |
5388 | ta T_CHANGE_PRIV | |
5389 | set 0x003e0000, %r12 | |
5390 | .word 0x8b90000c ! 450: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5391 | .word 0xa36b4012 ! 451: SDIVX_R sdivx %r13, %r18, %r17 | |
5392 | rd %pc, %r19 | |
5393 | add %r19, (ivw_6_259-.+16), %r19 | |
5394 | mov 0x38, %r18 | |
5395 | stxa %r19, [%r18]0x58 | |
5396 | ivw_6_259: | |
5397 | .word 0x9194c014 ! 452: WRPR_PIL_R wrpr %r19, %r20, %pil | |
5398 | rd %pc, %r19 | |
5399 | add %r19, (ivw_6_260-.+56), %r19 | |
5400 | mov 0x38, %r18 | |
5401 | stxa %r19, [%r18]0x58 | |
5402 | ivw_6_260: | |
5403 | .word 0x91928013 ! 453: WRPR_PIL_R wrpr %r10, %r19, %pil | |
5404 | ta T_CHANGE_HPRIV | |
5405 | mov (6+1), %r10 | |
5406 | set sync_thr_counter1, %r23 | |
5407 | cas [%r23],%g0,%r10 !lock | |
5408 | brnz %r10, cwq_6_261 | |
5409 | rd %asi, %r12 | |
5410 | wr %g0, 0x40, %asi | |
5411 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5412 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5413 | cmp %l1, 1 | |
5414 | bne cwq_6_261 | |
5415 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5416 | sub %l2, 0x40, %l2 | |
5417 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5418 | wr %r12, %g0, %asi | |
5419 | st %g0, [%r23] | |
5420 | cwq_6_261: | |
5421 | ta T_CHANGE_NONHPRIV | |
5422 | .word 0xa5414000 ! 454: RDPC rd %pc, %r18 | |
5423 | invalw | |
5424 | mov 0xb4, %r30 | |
5425 | .word 0x83d0001e ! 455: Tcc_R te icc_or_xcc, %r0 + %r30 | |
5426 | splash_cmpr_6_262: | |
5427 | setx 0x11471a809e0e6b6b, %g2, %g1 | |
5428 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5429 | sub %g1, 100, %g1 | |
5430 | .word 0xb1800001 ! 456: WR_STICK_REG_R wr %r0, %r1, %- | |
5431 | .word 0x91d02034 ! 457: Tcc_I ta icc_or_xcc, %r0 + 52 | |
5432 | DS_6_263: | |
5433 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
5434 | .word 0xe5343b47 ! 1: STQF_I - %f18, [0x1b47, %r16] | |
5435 | normalw | |
5436 | .word 0xa9458000 ! 458: RD_SOFTINT_REG rd %softint, %r20 | |
5437 | memptr_6_264: | |
5438 | set user_data_start, %r31 | |
5439 | .word 0x85853ac6 ! 459: WRCCR_I wr %r20, 0x1ac6, %ccr | |
5440 | debug_6_265: | |
5441 | nop | |
5442 | rd %pc, %r19 | |
5443 | add %r19, (64+16), %r19 | |
5444 | mov 0x38, %r18 | |
5445 | .word 0xe6f00b12 ! 460: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5446 | .word 0xe527f6cd ! 461: STF_I st %f18, [0x16cd, %r31] | |
5447 | splash_cmpr_6_266: | |
5448 | setx 0x47ba5d82448cf3e2, %g2, %g1 | |
5449 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5450 | sub %g1, 100, %g1 | |
5451 | .word 0xb1800001 ! 462: WR_STICK_REG_R wr %r0, %r1, %- | |
5452 | .word 0xa9a209c2 ! 463: FDIVd fdivd %f8, %f2, %f20 | |
5453 | splash_htba_6_267: | |
5454 | set 0x003a0000, %r12 | |
5455 | ld [%r12+%r0], %r1 | |
5456 | ta T_CHANGE_HPRIV | |
5457 | set 0x003a0000, %r12 | |
5458 | .word 0x8b98000c ! 464: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
5459 | .word 0xd6c7e030 ! 465: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r11 | |
5460 | splash_lsu_6_268: | |
5461 | setx 0x2baed7b958b6ef81, %r1, %r2 | |
5462 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5463 | .word 0x3d400001 ! 466: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5464 | setx 0x31acc13c15692329, %r1, %r28 | |
5465 | stxa %r28, [%g0] 0x73 | |
5466 | intvec_6_269: | |
5467 | .word 0x39400001 ! 467: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5468 | .word 0xa1480000 ! 468: RDHPR_HPSTATE rdhpr %hpstate, %r16 | |
5469 | splash_cmpr_6_270: | |
5470 | setx 0xf5e74a32b58934d1, %g2, %g1 | |
5471 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5472 | sub %g1, 100, %g1 | |
5473 | .word 0xb1800001 ! 469: WR_STICK_REG_R wr %r0, %r1, %- | |
5474 | .word 0x36700001 ! 470: BPGE <illegal instruction> | |
5475 | DS_6_271: | |
5476 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
5477 | .word 0xbfefc000 ! 471: RESTORE_R restore %r31, %r0, %r31 | |
5478 | .word 0xd4d7e010 ! 472: LDSHA_I ldsha [%r31, + 0x0010] %asi, %r10 | |
5479 | DS_6_272: | |
5480 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
5481 | .word 0x95a289d4 ! 1: FDIVd fdivd %f10, %f20, %f10 | |
5482 | normalw | |
5483 | .word 0xa5458000 ! 473: RD_SOFTINT_REG rd %softint, %r18 | |
5484 | .word 0x8790225e ! 474: WRPR_TT_I wrpr %r0, 0x025e, %tt | |
5485 | splash_cmpr_6_273: | |
5486 | setx 0x53a235793c67f37c, %g2, %g1 | |
5487 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5488 | sub %g1, 100, %g1 | |
5489 | .word 0xb1800001 ! 475: WR_STICK_REG_R wr %r0, %r1, %- | |
5490 | DS_6_274: | |
5491 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
5492 | pdist %f2, %f4, %f16 | |
5493 | .word 0x93b24301 ! 476: ALIGNADDRESS alignaddr %r9, %r1, %r9 | |
5494 | .word 0x8d902138 ! 477: WRPR_PSTATE_I wrpr %r0, 0x0138, %pstate | |
5495 | mondo_6_275: | |
5496 | nop | |
5497 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5498 | ||
5499 | stxa %r11, [%r0+0x3c0] %asi | |
5500 | .word 0x9d904000 ! 478: WRPR_WSTATE_R wrpr %r1, %r0, %wstate | |
5501 | .word 0xda800be0 ! 479: LDUWA_R lduwa [%r0, %r0] 0x5f, %r13 | |
5502 | tagged_6_276: | |
5503 | tsubcctv %r6, 0x1c04, %r23 | |
5504 | .word 0xda07f6cd ! 480: LDUW_I lduw [%r31 + 0xfffff6cd], %r13 | |
5505 | splash_htba_6_277: | |
5506 | set 0x80000, %r12 | |
5507 | ld [%r12+%r0], %r1 | |
5508 | ta T_CHANGE_HPRIV | |
5509 | set 0x80000, %r12 | |
5510 | .word 0x8b98000c ! 481: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
5511 | .word 0x3c700001 ! 482: BPPOS <illegal instruction> | |
5512 | .word 0xa9450000 ! 483: RD_SET_SOFTINT rd %set_softint, %r20 | |
5513 | .word 0xd0cfe030 ! 484: LDSBA_I ldsba [%r31, + 0x0030] %asi, %r8 | |
5514 | nop | |
5515 | mov 0x80, %g3 | |
5516 | stxa %g3, [%g3] 0x57 | |
5517 | .word 0xd05fc000 ! 485: LDX_R ldx [%r31 + %r0], %r8 | |
5518 | splash_cmpr_6_278: | |
5519 | setx 0xa8c3b3fac0ec6593, %g2, %g1 | |
5520 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5521 | sub %g1, 100, %g1 | |
5522 | .word 0xb1800001 ! 486: WR_STICK_REG_R wr %r0, %r1, %- | |
5523 | otherw | |
5524 | mov 0x35, %r30 | |
5525 | .word 0x91d0001e ! 487: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5526 | cwp_6_279: | |
5527 | set user_data_start, %o7 | |
5528 | .word 0x93902007 ! 488: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
5529 | .word 0x9f802c93 ! 489: SIR sir 0x0c93 | |
5530 | cwp_6_280: | |
5531 | set user_data_start, %o7 | |
5532 | .word 0x93902003 ! 490: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
5533 | change_to_randtl_6_281: | |
5534 | ta T_CHANGE_HPRIV ! macro | |
5535 | done_change_to_randtl_6_281: | |
5536 | .word 0x8f902001 ! 491: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5537 | donret_6_282: | |
5538 | nop | |
5539 | rd %pc, %r12 | |
5540 | add %r12, (donretarg_6_282-donret_6_282), %r12 | |
5541 | mov 0x38, %r18 | |
5542 | stxa %r12, [%r18]0x58 | |
5543 | add %r12, 0x4, %r11 | |
5544 | wrpr %g0, 0x1, %tl | |
5545 | wrpr %g0, %r12, %tpc | |
5546 | wrpr %g0, %r11, %tnpc | |
5547 | wrpr %g0, %r13, %tstate | |
5548 | wrhpr %g0, %r14, %htstate | |
5549 | retry | |
5550 | donretarg_6_282: | |
5551 | .word 0xd0fff0df ! 492: SWAPA_I swapa %r8, [%r31 + 0xfffff0df] %asi | |
5552 | .word 0x91d020b2 ! 493: Tcc_I ta icc_or_xcc, %r0 + 178 | |
5553 | .word 0x36800001 ! 494: BGE bge,a <label_0x1> | |
5554 | splash_cmpr_6_283: | |
5555 | setx 0x644306b32dbc3a25, %g2, %g1 | |
5556 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5557 | sub %g1, 100, %g1 | |
5558 | .word 0xb1800001 ! 495: WR_STICK_REG_R wr %r0, %r1, %- | |
5559 | splash_lsu_6_284: | |
5560 | setx 0xee41238b82fba48d, %r1, %r2 | |
5561 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5562 | .word 0x3d400001 ! 496: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5563 | splash_tba_6_285: | |
5564 | set 0x003e0000, %r12 | |
5565 | ld [%r12+%r0], %r1 | |
5566 | ta T_CHANGE_PRIV | |
5567 | set 0x003e0000, %r12 | |
5568 | .word 0x8b90000c ! 497: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5569 | tagged_6_286: | |
5570 | tsubcctv %r13, 0x1424, %r9 | |
5571 | .word 0xd007f0df ! 498: LDUW_I lduw [%r31 + 0xfffff0df], %r8 | |
5572 | nop | |
5573 | nop | |
5574 | setx join_lbl_0_0, %g1, %g2 | |
5575 | jmp %g2 | |
5576 | nop | |
5577 | fork_lbl_0_6: | |
5578 | .word 0x26700001 ! 1: BPL <illegal instruction> | |
5579 | memptr_5_0: | |
5580 | set user_data_start, %r31 | |
5581 | .word 0x8581f4fd ! 2: WRCCR_I wr %r7, 0x14fd, %ccr | |
5582 | DS_5_1: | |
5583 | nop | |
5584 | not %g0, %r12 | |
5585 | jmp %r12 | |
5586 | .word 0x9d902001 ! 3: WRPR_WSTATE_I wrpr %r0, 0x0001, %wstate | |
5587 | .word 0xe46ffa57 ! 4: LDSTUB_I ldstub %r18, [%r31 + 0xfffffa57] | |
5588 | .word 0xa190200f ! 5: WRPR_GL_I wrpr %r0, 0x000f, %- | |
5589 | change_to_randtl_5_2: | |
5590 | ta T_CHANGE_PRIV ! macro | |
5591 | done_change_to_randtl_5_2: | |
5592 | .word 0x8f902002 ! 6: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
5593 | splash_cmpr_5_3: | |
5594 | setx 0xb07685251dd7ee8c, %g2, %g1 | |
5595 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5596 | sub %g1, 100, %g1 | |
5597 | .word 0xb1800001 ! 7: WR_STICK_REG_R wr %r0, %r1, %- | |
5598 | mondo_5_4: | |
5599 | nop | |
5600 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5601 | ||
5602 | stxa %r6, [%r0+0x3d0] %asi | |
5603 | .word 0x9d94c009 ! 8: WRPR_WSTATE_R wrpr %r19, %r9, %wstate | |
5604 | .word 0x87802088 ! 9: WRASI_I wr %r0, 0x0088, %asi | |
5605 | donret_5_5: | |
5606 | nop | |
5607 | rd %pc, %r12 | |
5608 | add %r12, (donretarg_5_5-donret_5_5-4), %r12 | |
5609 | mov 0x38, %r18 | |
5610 | stxa %r12, [%r18]0x58 | |
5611 | add %r12, 0x4, %r11 | |
5612 | wrpr %g0, 0x3, %tl | |
5613 | wrpr %g0, %r12, %tpc | |
5614 | wrpr %g0, %r11, %tnpc | |
5615 | wrpr %g0, %r13, %tstate | |
5616 | wrhpr %g0, %r14, %htstate | |
5617 | done | |
5618 | donretarg_5_5: | |
5619 | .word 0xe4fffa57 ! 10: SWAPA_I swapa %r18, [%r31 + 0xfffffa57] %asi | |
5620 | change_to_randtl_5_6: | |
5621 | ta T_CHANGE_PRIV ! macro | |
5622 | done_change_to_randtl_5_6: | |
5623 | .word 0x8f902001 ! 11: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5624 | cwp_5_7: | |
5625 | set user_data_start, %o7 | |
5626 | .word 0x93902001 ! 12: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
5627 | .word 0x2e700001 ! 13: BPVS <illegal instruction> | |
5628 | splash_lsu_5_8: | |
5629 | setx 0x71d4073e802da25d, %r1, %r2 | |
5630 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5631 | .word 0x3d400001 ! 14: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5632 | .word 0x8d902c32 ! 15: WRPR_PSTATE_I wrpr %r0, 0x0c32, %pstate | |
5633 | .word 0x87902360 ! 16: WRPR_TT_I wrpr %r0, 0x0360, %tt | |
5634 | ta T_CHANGE_HPRIV | |
5635 | mov (5+1), %r10 | |
5636 | set sync_thr_counter1, %r23 | |
5637 | cas [%r23],%g0,%r10 !lock | |
5638 | brnz %r10, cwq_5_9 | |
5639 | rd %asi, %r12 | |
5640 | wr %g0, 0x40, %asi | |
5641 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5642 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5643 | cmp %l1, 1 | |
5644 | bne cwq_5_9 | |
5645 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5646 | sub %l2, 0x40, %l2 | |
5647 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5648 | wr %r12, %g0, %asi | |
5649 | st %g0, [%r23] | |
5650 | cwq_5_9: | |
5651 | ta T_CHANGE_NONHPRIV | |
5652 | .word 0x97414000 ! 17: RDPC rd %pc, %r11 | |
5653 | .word 0xd8c80e60 ! 18: LDSBA_R ldsba [%r0, %r0] 0x73, %r12 | |
5654 | debug_5_10: | |
5655 | nop | |
5656 | rd %pc, %r19 | |
5657 | add %r19, (64+32), %r19 | |
5658 | mov 0x38, %r18 | |
5659 | .word 0xe6f00b12 ! 19: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5660 | .word 0xd84fc000 ! 20: LDSB_R ldsb [%r31 + %r0], %r12 | |
5661 | cwp_5_11: | |
5662 | set user_data_start, %o7 | |
5663 | .word 0x93902006 ! 21: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
5664 | .word 0x9145c000 ! 22: RD_TICK_CMPR_REG rd %-, %r8 | |
5665 | .word 0x8d9020f4 ! 23: WRPR_PSTATE_I wrpr %r0, 0x00f4, %pstate | |
5666 | splash_lsu_5_12: | |
5667 | setx 0x149687628fe380df, %r1, %r2 | |
5668 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5669 | .word 0x3d400001 ! 24: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5670 | .word 0xa1902000 ! 25: WRPR_GL_I wrpr %r0, 0x0000, %- | |
5671 | .word 0x97a0016d ! 26: FABSq dis not found | |
5672 | ||
5673 | splash_lsu_5_13: | |
5674 | setx 0x912b4d57d6a4926f, %r1, %r2 | |
5675 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5676 | .word 0x3d400001 ! 27: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5677 | memptr_5_14: | |
5678 | set 0x60540000, %r31 | |
5679 | .word 0x8580fb6c ! 28: WRCCR_I wr %r3, 0x1b6c, %ccr | |
5680 | splash_hpstate_5_15: | |
5681 | .word 0x819825b5 ! 29: WRHPR_HPSTATE_I wrhpr %r0, 0x05b5, %hpstate | |
5682 | .word 0x95464000 ! 30: RD_STICK_CMPR_REG rd %-, %r10 | |
5683 | .word 0x83d02033 ! 31: Tcc_I te icc_or_xcc, %r0 + 51 | |
5684 | debug_5_16: | |
5685 | nop | |
5686 | rd %pc, %r19 | |
5687 | add %r19, (64+48), %r19 | |
5688 | mov 0x38, %r18 | |
5689 | .word 0xe6f00b12 ! 32: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5690 | cwp_5_17: | |
5691 | set user_data_start, %o7 | |
5692 | .word 0x93902005 ! 33: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
5693 | .word 0xe48804a0 ! 34: LDUBA_R lduba [%r0, %r0] 0x25, %r18 | |
5694 | splash_hpstate_5_18: | |
5695 | .word 0x81982b1e ! 35: WRHPR_HPSTATE_I wrhpr %r0, 0x0b1e, %hpstate | |
5696 | cwp_5_19: | |
5697 | set user_data_start, %o7 | |
5698 | .word 0x93902002 ! 36: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
5699 | ta T_CHANGE_HPRIV | |
5700 | mov (5+1), %r10 | |
5701 | set sync_thr_counter1, %r23 | |
5702 | cas [%r23],%g0,%r10 !lock | |
5703 | brnz %r10, cwq_5_20 | |
5704 | rd %asi, %r12 | |
5705 | wr %g0, 0x40, %asi | |
5706 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5707 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5708 | cmp %l1, 1 | |
5709 | bne cwq_5_20 | |
5710 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5711 | sub %l2, 0x40, %l2 | |
5712 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5713 | wr %r12, %g0, %asi | |
5714 | st %g0, [%r23] | |
5715 | cwq_5_20: | |
5716 | ta T_CHANGE_NONHPRIV | |
5717 | .word 0x91414000 ! 37: RDPC rd %pc, %r8 | |
5718 | .word 0x8780204f ! 38: WRASI_I wr %r0, 0x004f, %asi | |
5719 | DS_5_21: | |
5720 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
5721 | allclean | |
5722 | .word 0x91b44306 ! 39: ALIGNADDRESS alignaddr %r17, %r6, %r8 | |
5723 | .word 0xe80ffaea ! 40: LDUB_I ldub [%r31 + 0xfffffaea], %r20 | |
5724 | .word 0x8d903350 ! 41: WRPR_PSTATE_I wrpr %r0, 0x1350, %pstate | |
5725 | .word 0xe8c804a0 ! 42: LDSBA_R ldsba [%r0, %r0] 0x25, %r20 | |
5726 | debug_5_22: | |
5727 | nop | |
5728 | rd %pc, %r19 | |
5729 | add %r19, (64+32), %r19 | |
5730 | mov 0x38, %r18 | |
5731 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5732 | mondo_5_23: | |
5733 | nop | |
5734 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5735 | ||
5736 | stxa %r1, [%r0+0x3c8] %asi | |
5737 | .word 0x9d910013 ! 44: WRPR_WSTATE_R wrpr %r4, %r19, %wstate | |
5738 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_24) + 56, 16, 16)) -> intp(7,0,22) | |
5739 | intvec_5_24: | |
5740 | .word 0x39400001 ! 45: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5741 | .word 0x8d903cf8 ! 46: WRPR_PSTATE_I wrpr %r0, 0x1cf8, %pstate | |
5742 | .word 0xab8027e1 ! 47: WR_CLEAR_SOFTINT_I wr %r0, 0x07e1, %clear_softint | |
5743 | memptr_5_25: | |
5744 | set 0x60740000, %r31 | |
5745 | .word 0x85803fe7 ! 48: WRCCR_I wr %r0, 0x1fe7, %ccr | |
5746 | .word 0xe927c000 ! 49: STF_R st %f20, [%r0, %r31] | |
5747 | splash_hpstate_5_26: | |
5748 | .word 0x81982e8f ! 50: WRHPR_HPSTATE_I wrhpr %r0, 0x0e8f, %hpstate | |
5749 | .word 0xe8900e40 ! 51: LDUHA_R lduha [%r0, %r0] 0x72, %r20 | |
5750 | .word 0x8d90385c ! 52: WRPR_PSTATE_I wrpr %r0, 0x185c, %pstate | |
5751 | .word 0x91d02033 ! 53: Tcc_I ta icc_or_xcc, %r0 + 51 | |
5752 | debug_5_27: | |
5753 | nop | |
5754 | mov 8, %r18 | |
5755 | .word 0xdef00492 ! 54: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
5756 | .word 0xe81fc000 ! 55: LDD_R ldd [%r31 + %r0], %r20 | |
5757 | ta T_CHANGE_HPRIV | |
5758 | mov (5+1), %r10 | |
5759 | set sync_thr_counter1, %r23 | |
5760 | cas [%r23],%g0,%r10 !lock | |
5761 | brnz %r10, cwq_5_28 | |
5762 | rd %asi, %r12 | |
5763 | wr %g0, 0x40, %asi | |
5764 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5765 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5766 | cmp %l1, 1 | |
5767 | bne cwq_5_28 | |
5768 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5769 | sub %l2, 0x40, %l2 | |
5770 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5771 | wr %r12, %g0, %asi | |
5772 | st %g0, [%r23] | |
5773 | cwq_5_28: | |
5774 | ta T_CHANGE_NONHPRIV | |
5775 | .word 0xa3414000 ! 56: RDPC rd %pc, %r17 | |
5776 | .word 0x879023df ! 57: WRPR_TT_I wrpr %r0, 0x03df, %tt | |
5777 | .word 0xa2dac013 ! 58: SMULcc_R smulcc %r11, %r19, %r17 | |
5778 | setx 0xf673886ea663a40d, %r1, %r28 | |
5779 | stxa %r28, [%g0] 0x73 | |
5780 | intvec_5_29: | |
5781 | .word 0x39400001 ! 59: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5782 | splash_hpstate_5_30: | |
5783 | .word 0x81982554 ! 60: WRHPR_HPSTATE_I wrhpr %r0, 0x0554, %hpstate | |
5784 | .word 0xa1902003 ! 61: WRPR_GL_I wrpr %r0, 0x0003, %- | |
5785 | splash_hpstate_5_31: | |
5786 | .word 0x81982e95 ! 62: WRHPR_HPSTATE_I wrhpr %r0, 0x0e95, %hpstate | |
5787 | donret_5_32: | |
5788 | nop | |
5789 | rd %pc, %r12 | |
5790 | add %r12, (donretarg_5_32-donret_5_32), %r12 | |
5791 | mov 0x38, %r18 | |
5792 | stxa %r12, [%r18]0x58 | |
5793 | add %r12, 0x4, %r11 | |
5794 | wrpr %g0, 0x1, %tl | |
5795 | wrpr %g0, %r12, %tpc | |
5796 | wrpr %g0, %r11, %tnpc | |
5797 | wrpr %g0, %r13, %tstate | |
5798 | wrhpr %g0, %r14, %htstate | |
5799 | retry | |
5800 | donretarg_5_32: | |
5801 | .word 0xd8ffe315 ! 63: SWAPA_I swapa %r12, [%r31 + 0x0315] %asi | |
5802 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5803 | ta T_CHANGE_NONHPRIV ! macro | |
5804 | .word 0x9ba01962 ! 64: FqTOd dis not found | |
5805 | ||
5806 | .word 0x26700001 ! 65: BPL <illegal instruction> | |
5807 | .word 0xe6c7e000 ! 66: LDSWA_I ldswa [%r31, + 0x0000] %asi, %r19 | |
5808 | .word 0x87802088 ! 67: WRASI_I wr %r0, 0x0088, %asi | |
5809 | mondo_5_34: | |
5810 | nop | |
5811 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5812 | ||
5813 | stxa %r13, [%r0+0x3c0] %asi | |
5814 | .word 0x9d94c000 ! 68: WRPR_WSTATE_R wrpr %r19, %r0, %wstate | |
5815 | ta T_CHANGE_HPRIV | |
5816 | mov (5+1), %r10 | |
5817 | set sync_thr_counter1, %r23 | |
5818 | cas [%r23],%g0,%r10 !lock | |
5819 | brnz %r10, cwq_5_35 | |
5820 | rd %asi, %r12 | |
5821 | wr %g0, 0x40, %asi | |
5822 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5823 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5824 | cmp %l1, 1 | |
5825 | bne cwq_5_35 | |
5826 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5827 | sub %l2, 0x40, %l2 | |
5828 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5829 | wr %r12, %g0, %asi | |
5830 | st %g0, [%r23] | |
5831 | cwq_5_35: | |
5832 | ta T_CHANGE_NONHPRIV | |
5833 | .word 0x9b414000 ! 69: RDPC rd %pc, %r13 | |
5834 | .word 0x95a2cd33 ! 70: FsMULd fsmuld %f11, %f50, %f10 | |
5835 | splash_hpstate_5_36: | |
5836 | .word 0x81982aa5 ! 71: WRHPR_HPSTATE_I wrhpr %r0, 0x0aa5, %hpstate | |
5837 | splash_cmpr_5_37: | |
5838 | setx 0x303223742dc2cfff, %g2, %g1 | |
5839 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
5840 | sub %g1, 100, %g1 | |
5841 | .word 0xb1800001 ! 72: WR_STICK_REG_R wr %r0, %r1, %- | |
5842 | splash_cmpr_5_38: | |
5843 | setx 0x2b2474fe8c0249db, %g2, %g1 | |
5844 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5845 | sub %g1, 100, %g1 | |
5846 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
5847 | .word 0x34700001 ! 74: BPG <illegal instruction> | |
5848 | .word 0x22700001 ! 75: BPE <illegal instruction> | |
5849 | memptr_5_39: | |
5850 | set user_data_start, %r31 | |
5851 | .word 0x8584a83e ! 76: WRCCR_I wr %r18, 0x083e, %ccr | |
5852 | intveclr_5_40: | |
5853 | setx 0xa60091f451e4dad0, %r1, %r28 | |
5854 | stxa %r28, [%g0] 0x72 | |
5855 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5856 | .word 0xd2800b00 ! 78: LDUWA_R lduwa [%r0, %r0] 0x58, %r9 | |
5857 | splash_htba_5_41: | |
5858 | set 0x80000, %r12 | |
5859 | ld [%r12+%r0], %r1 | |
5860 | ta T_CHANGE_HPRIV | |
5861 | set 0x80000, %r12 | |
5862 | .word 0x8b98000c ! 79: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
5863 | DS_5_42: | |
5864 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
5865 | .word 0xbfefc000 ! 80: RESTORE_R restore %r31, %r0, %r31 | |
5866 | .word 0x91d02035 ! 81: Tcc_I ta icc_or_xcc, %r0 + 53 | |
5867 | change_to_randtl_5_43: | |
5868 | ta T_CHANGE_HPRIV ! macro | |
5869 | done_change_to_randtl_5_43: | |
5870 | .word 0x8f902000 ! 82: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5871 | .word 0xa1902004 ! 83: WRPR_GL_I wrpr %r0, 0x0004, %- | |
5872 | debug_5_44: | |
5873 | nop | |
5874 | mov 0x38, %r18 | |
5875 | .word 0xfef00b12 ! 84: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5876 | nop | |
5877 | mov 0x80, %g3 | |
5878 | stxa %g3, [%g3] 0x5f | |
5879 | .word 0xd25fc000 ! 85: LDX_R ldx [%r31 + %r0], %r9 | |
5880 | .word 0x93d02034 ! 86: Tcc_I tne icc_or_xcc, %r0 + 52 | |
5881 | memptr_5_45: | |
5882 | set user_data_start, %r31 | |
5883 | .word 0x85853343 ! 87: WRCCR_I wr %r20, 0x1343, %ccr | |
5884 | .word 0xd2d004a0 ! 88: LDSHA_R ldsha [%r0, %r0] 0x25, %r9 | |
5885 | splash_tba_5_46: | |
5886 | set 0x120000, %r12 | |
5887 | st %r1, [%r12+%r0] | |
5888 | ta T_CHANGE_PRIV | |
5889 | set 0x120000, %r12 | |
5890 | .word 0x8b90000c ! 89: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5891 | setx 0x5e9e1593bc8063c3, %r1, %r28 | |
5892 | stxa %r28, [%g0] 0x73 | |
5893 | intvec_5_47: | |
5894 | .word 0x39400001 ! 90: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5895 | .word 0x91d02034 ! 91: Tcc_I ta icc_or_xcc, %r0 + 52 | |
5896 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5897 | ta T_CHANGE_NONPRIV ! macro | |
5898 | .word 0x936cb3bb ! 92: SDIVX_I sdivx %r18, 0xfffff3bb, %r9 | |
5899 | .word 0x38700001 ! 93: BPGU <illegal instruction> | |
5900 | mondo_5_49: | |
5901 | nop | |
5902 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5903 | ||
5904 | stxa %r4, [%r0+0x3e8] %asi | |
5905 | .word 0x9d904007 ! 94: WRPR_WSTATE_R wrpr %r1, %r7, %wstate | |
5906 | splash_tba_5_50: | |
5907 | set 0x120000, %r12 | |
5908 | st %r1, [%r12+%r0] | |
5909 | ta T_CHANGE_PRIV | |
5910 | set 0x120000, %r12 | |
5911 | .word 0x8b90000c ! 95: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5912 | .word 0x91d020b2 ! 96: Tcc_I ta icc_or_xcc, %r0 + 178 | |
5913 | .word 0x9b540000 ! 97: RDPR_GL <illegal instruction> | |
5914 | .word 0x879020b0 ! 98: WRPR_TT_I wrpr %r0, 0x00b0, %tt | |
5915 | .word 0xd8d804a0 ! 99: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
5916 | splash_lsu_5_51: | |
5917 | setx 0x0926ee1c5f575ffb, %r1, %r2 | |
5918 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5919 | .word 0x3d400001 ! 100: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5920 | rd %pc, %r19 | |
5921 | add %r19, (ivw_5_52-.+0), %r19 | |
5922 | mov 0x38, %r18 | |
5923 | stxa %r19, [%r18]0x58 | |
5924 | ivw_5_52: | |
5925 | .word 0x91940001 ! 101: WRPR_PIL_R wrpr %r16, %r1, %pil | |
5926 | splash_tba_5_53: | |
5927 | set 0x120000, %r12 | |
5928 | ld [%r12+%r0], %r1 | |
5929 | ta T_CHANGE_PRIV | |
5930 | set 0x120000, %r12 | |
5931 | .word 0x8b90000c ! 102: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5932 | DS_5_54: | |
5933 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
5934 | allclean | |
5935 | .word 0x95b28305 ! 103: ALIGNADDRESS alignaddr %r10, %r5, %r10 | |
5936 | cwp_5_55: | |
5937 | set user_data_start, %o7 | |
5938 | .word 0x93902006 ! 104: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
5939 | .word 0x8d903ad2 ! 105: WRPR_PSTATE_I wrpr %r0, 0x1ad2, %pstate | |
5940 | .word 0x87802016 ! 106: WRASI_I wr %r0, 0x0016, %asi | |
5941 | DS_5_56: | |
5942 | .word 0xa9a489c6 ! 1: FDIVd fdivd %f18, %f6, %f20 | |
5943 | .word 0xad676dcc ! Random illegal ? | |
5944 | .word 0xe9140011 ! 1: LDQF_R - [%r16, %r17], %f20 | |
5945 | .word 0x95a2882c ! 107: FADDs fadds %f10, %f12, %f10 | |
5946 | .word 0x87802016 ! 108: WRASI_I wr %r0, 0x0016, %asi | |
5947 | .word 0xa190200f ! 109: WRPR_GL_I wrpr %r0, 0x000f, %- | |
5948 | otherw | |
5949 | mov 0xb0, %r30 | |
5950 | .word 0x91d0001e ! 110: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5951 | splash_cmpr_5_57: | |
5952 | setx 0x37a5ed96b59c8f92, %g2, %g1 | |
5953 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5954 | sub %g1, 100, %g1 | |
5955 | .word 0xb1800001 ! 111: WR_STICK_REG_R wr %r0, %r1, %- | |
5956 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_5_58)+40, 16, 16)) -> intp(5,1,3) | |
5957 | xir_5_58: | |
5958 | .word 0xa9852622 ! 112: WR_SET_SOFTINT_I wr %r20, 0x0622, %set_softint | |
5959 | .word 0xd327ee90 ! 113: STF_I st %f9, [0x0e90, %r31] | |
5960 | DS_5_59: | |
5961 | nop | |
5962 | not %g0, %r12 | |
5963 | jmp %r12 | |
5964 | .word 0x9d902002 ! 114: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
5965 | donret_5_60: | |
5966 | nop | |
5967 | rd %pc, %r12 | |
5968 | add %r12, (donretarg_5_60-donret_5_60), %r12 | |
5969 | mov 0x38, %r18 | |
5970 | stxa %r12, [%r18]0x58 | |
5971 | add %r12, 0x4, %r11 | |
5972 | wrpr %g0, 0x1, %tl | |
5973 | wrpr %g0, %r12, %tpc | |
5974 | wrpr %g0, %r11, %tnpc | |
5975 | wrpr %g0, %r13, %tstate | |
5976 | wrhpr %g0, %r14, %htstate | |
5977 | retry | |
5978 | donretarg_5_60: | |
5979 | .word 0xd2ffee90 ! 115: SWAPA_I swapa %r9, [%r31 + 0x0e90] %asi | |
5980 | .word 0xa1902005 ! 116: WRPR_GL_I wrpr %r0, 0x0005, %- | |
5981 | .word 0xd297e010 ! 117: LDUHA_I lduha [%r31, + 0x0010] %asi, %r9 | |
5982 | .word 0xd23fc000 ! 118: STD_R std %r9, [%r31 + %r0] | |
5983 | .word 0x91a00169 ! 119: FABSq dis not found | |
5984 | ||
5985 | memptr_5_61: | |
5986 | set 0x60740000, %r31 | |
5987 | .word 0x85822bdd ! 120: WRCCR_I wr %r8, 0x0bdd, %ccr | |
5988 | .word 0xd09ffb63 ! 121: LDDA_I ldda [%r31, + 0xfffffb63] %asi, %r8 | |
5989 | .word 0xa1902008 ! 122: WRPR_GL_I wrpr %r0, 0x0008, %- | |
5990 | splash_hpstate_5_62: | |
5991 | .word 0x81982cdf ! 123: WRHPR_HPSTATE_I wrhpr %r0, 0x0cdf, %hpstate | |
5992 | mondo_5_63: | |
5993 | nop | |
5994 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5995 | ||
5996 | stxa %r1, [%r0+0x3d0] %asi | |
5997 | .word 0x9d90000d ! 124: WRPR_WSTATE_R wrpr %r0, %r13, %wstate | |
5998 | splash_hpstate_5_64: | |
5999 | .word 0x81982b9c ! 125: WRHPR_HPSTATE_I wrhpr %r0, 0x0b9c, %hpstate | |
6000 | .word 0xa3450000 ! 126: RD_SET_SOFTINT rd %set_softint, %r17 | |
6001 | .word 0x87902195 ! 127: WRPR_TT_I wrpr %r0, 0x0195, %tt | |
6002 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_5_65)+8, 16, 16)) -> intp(5,1,3) | |
6003 | xir_5_65: | |
6004 | .word 0xa984f02b ! 128: WR_SET_SOFTINT_I wr %r19, 0x102b, %set_softint | |
6005 | nop | |
6006 | mov 0x80, %g3 | |
6007 | stxa %g3, [%g3] 0x57 | |
6008 | .word 0xd85fc000 ! 129: LDX_R ldx [%r31 + %r0], %r12 | |
6009 | intveclr_5_66: | |
6010 | setx 0x84bc357932c0da45, %r1, %r28 | |
6011 | stxa %r28, [%g0] 0x72 | |
6012 | .word 0x25400001 ! 130: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6013 | debug_5_67: | |
6014 | nop | |
6015 | rd %pc, %r19 | |
6016 | add %r19, (64+16), %r19 | |
6017 | mov 0x38, %r18 | |
6018 | .word 0xe6f00b12 ! 131: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6019 | memptr_5_68: | |
6020 | set 0x60740000, %r31 | |
6021 | .word 0x85833647 ! 132: WRCCR_I wr %r12, 0x1647, %ccr | |
6022 | tagged_5_69: | |
6023 | taddcctv %r8, 0x149f, %r4 | |
6024 | .word 0xd807f70a ! 133: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
6025 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6026 | ta T_CHANGE_NONPRIV ! macro | |
6027 | .word 0x9ba01965 ! 134: FqTOd dis not found | |
6028 | ||
6029 | splash_tba_5_71: | |
6030 | set 0x120000, %r12 | |
6031 | ld [%r12+%r0], %r1 | |
6032 | ta T_CHANGE_PRIV | |
6033 | set 0x120000, %r12 | |
6034 | .word 0x8b90000c ! 135: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6035 | debug_5_72: | |
6036 | nop | |
6037 | mov 8, %r18 | |
6038 | .word 0xd4f00492 ! 136: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
6039 | .word 0x9ba48d29 ! 137: FsMULd fsmuld %f18, %f40, %f44 | |
6040 | .word 0xd727f70a ! 138: STF_I st %f11, [0x170a, %r31] | |
6041 | splash_lsu_5_73: | |
6042 | setx 0x4100d9de78be5c85, %r1, %r2 | |
6043 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6044 | .word 0x3d400001 ! 139: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6045 | .word 0xa145c000 ! 140: RD_TICK_CMPR_REG rd %-, %r16 | |
6046 | .word 0xa9840001 ! 141: WR_SET_SOFTINT_R wr %r16, %r1, %set_softint | |
6047 | .word 0x99a409d0 ! 142: FDIVd fdivd %f16, %f16, %f12 | |
6048 | tagged_5_74: | |
6049 | tsubcctv %r18, 0x1a56, %r5 | |
6050 | .word 0xd807f70a ! 143: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
6051 | DS_5_75: | |
6052 | nop | |
6053 | not %g0, %r12 | |
6054 | jmp %r12 | |
6055 | .word 0x9d902004 ! 144: WRPR_WSTATE_I wrpr %r0, 0x0004, %wstate | |
6056 | donret_5_76: | |
6057 | nop | |
6058 | rd %pc, %r12 | |
6059 | add %r12, (donretarg_5_76-donret_5_76), %r12 | |
6060 | mov 0x38, %r18 | |
6061 | stxa %r12, [%r18]0x58 | |
6062 | add %r12, 0x4, %r11 | |
6063 | wrpr %g0, 0x1, %tl | |
6064 | wrpr %g0, %r12, %tpc | |
6065 | wrpr %g0, %r11, %tnpc | |
6066 | wrpr %g0, %r13, %tstate | |
6067 | wrhpr %g0, %r14, %htstate | |
6068 | retry | |
6069 | donretarg_5_76: | |
6070 | .word 0xd8fff70a ! 145: SWAPA_I swapa %r12, [%r31 + 0xfffff70a] %asi | |
6071 | .word 0x8d90229f ! 146: WRPR_PSTATE_I wrpr %r0, 0x029f, %pstate | |
6072 | .word 0x2c700001 ! 147: BPNEG <illegal instruction> | |
6073 | .word 0x879022bb ! 148: WRPR_TT_I wrpr %r0, 0x02bb, %tt | |
6074 | .word 0x3a700001 ! 149: BPCC <illegal instruction> | |
6075 | change_to_randtl_5_77: | |
6076 | ta T_CHANGE_HPRIV ! macro | |
6077 | done_change_to_randtl_5_77: | |
6078 | .word 0x8f902001 ! 150: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6079 | splash_tba_5_78: | |
6080 | set 0x003f0000, %r12 | |
6081 | st %r1, [%r12+%r0] | |
6082 | ta T_CHANGE_PRIV | |
6083 | set 0x003f0000, %r12 | |
6084 | .word 0x8b90000c ! 151: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6085 | debug_5_79: | |
6086 | nop | |
6087 | rd %pc, %r19 | |
6088 | add %r19, (64+0), %r19 | |
6089 | mov 0x38, %r18 | |
6090 | .word 0xe6f00b12 ! 152: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6091 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_80) + 32, 16, 16)) -> intp(3,0,15) | |
6092 | intvec_5_80: | |
6093 | .word 0x39400001 ! 153: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6094 | splash_tba_5_81: | |
6095 | set 0x003f0000, %r12 | |
6096 | ld [%r12+%r0], %r1 | |
6097 | ta T_CHANGE_PRIV | |
6098 | set 0x003f0000, %r12 | |
6099 | .word 0x8b90000c ! 154: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6100 | .word 0xa9844010 ! 155: WR_SET_SOFTINT_R wr %r17, %r16, %set_softint | |
6101 | splash_lsu_5_82: | |
6102 | setx 0xf24749c83a3883a1, %r1, %r2 | |
6103 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6104 | .word 0x3d400001 ! 156: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6105 | splash_lsu_5_83: | |
6106 | setx 0x150de76913ee4a41, %r1, %r2 | |
6107 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6108 | .word 0x3d400001 ! 157: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6109 | mov (5+1), %r10 | |
6110 | ta T_CHANGE_HPRIV | |
6111 | set sync_thr_counter2, %r23 | |
6112 | cas [%r23],%g0,%r10 !lock | |
6113 | brnz %r10, sma_5_84 | |
6114 | rd %asi, %r12 | |
6115 | wr %g0, 0x40, %asi | |
6116 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6117 | set 0x21fff, %g1 | |
6118 | stxa %g1, [%g0 + 0x80] %asi | |
6119 | wr %r12, %g0, %asi | |
6120 | st %g0, [%r23] | |
6121 | sma_5_84: | |
6122 | ta T_CHANGE_NONHPRIV | |
6123 | .word 0xd9e7e00d ! 158: CASA_R casa [%r31] %asi, %r13, %r12 | |
6124 | splash_tba_5_85: | |
6125 | set 0x120000, %r12 | |
6126 | ld [%r12+%r0], %r1 | |
6127 | ta T_CHANGE_PRIV | |
6128 | set 0x120000, %r12 | |
6129 | .word 0x8b90000c ! 159: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6130 | .word 0x87802014 ! 160: WRASI_I wr %r0, 0x0014, %asi | |
6131 | .word 0x8d903d8e ! 161: WRPR_PSTATE_I wrpr %r0, 0x1d8e, %pstate | |
6132 | .word 0xa1902008 ! 162: WRPR_GL_I wrpr %r0, 0x0008, %- | |
6133 | .word 0xd93ff70a ! 163: STDF_I std %f12, [0x170a, %r31] | |
6134 | cwp_5_86: | |
6135 | set user_data_start, %o7 | |
6136 | .word 0x93902006 ! 164: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
6137 | ta T_CHANGE_HPRIV | |
6138 | mov (5+1), %r10 | |
6139 | set sync_thr_counter1, %r23 | |
6140 | cas [%r23],%g0,%r10 !lock | |
6141 | brnz %r10, cwq_5_87 | |
6142 | rd %asi, %r12 | |
6143 | wr %g0, 0x40, %asi | |
6144 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6145 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6146 | cmp %l1, 1 | |
6147 | bne cwq_5_87 | |
6148 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6149 | sub %l2, 0x40, %l2 | |
6150 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6151 | wr %r12, %g0, %asi | |
6152 | st %g0, [%r23] | |
6153 | cwq_5_87: | |
6154 | ta T_CHANGE_NONHPRIV | |
6155 | .word 0xa5414000 ! 165: RDPC rd %pc, %r18 | |
6156 | DS_5_88: | |
6157 | .word 0xa3a209c3 ! 1: FDIVd fdivd %f8, %f34, %f48 | |
6158 | .word 0xbfe7c000 ! 166: SAVE_R save %r31, %r0, %r31 | |
6159 | cwp_5_89: | |
6160 | set user_data_start, %o7 | |
6161 | .word 0x93902005 ! 167: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
6162 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6163 | ta T_CHANGE_NONPRIV ! macro | |
6164 | .word 0x97a01966 ! 168: FqTOd dis not found | |
6165 | ||
6166 | splash_cmpr_5_91: | |
6167 | setx 0xfcd3da6f8639d82f, %g2, %g1 | |
6168 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
6169 | sub %g1, 100, %g1 | |
6170 | .word 0xb1800001 ! 169: WR_STICK_REG_R wr %r0, %r1, %- | |
6171 | debug_5_92: | |
6172 | nop | |
6173 | mov 0x38, %r18 | |
6174 | .word 0xfef00b12 ! 170: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6175 | splash_tba_5_93: | |
6176 | set 0x003f0000, %r12 | |
6177 | ld [%r12+%r0], %r1 | |
6178 | ta T_CHANGE_PRIV | |
6179 | set 0x003f0000, %r12 | |
6180 | .word 0x8b90000c ! 171: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6181 | splash_cmpr_5_94: | |
6182 | setx 0xc93f7a49c835b9e8, %g2, %g1 | |
6183 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
6184 | sub %g1, 100, %g1 | |
6185 | .word 0xb1800001 ! 172: WR_STICK_REG_R wr %r0, %r1, %- | |
6186 | .word 0xa1902000 ! 173: WRPR_GL_I wrpr %r0, 0x0000, %- | |
6187 | otherw | |
6188 | mov 0xb1, %r30 | |
6189 | .word 0x93d0001e ! 174: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
6190 | .word 0x2c700001 ! 175: BPNEG <illegal instruction> | |
6191 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6192 | ta T_CHANGE_NONHPRIV ! macro | |
6193 | .word 0x91a0196c ! 176: FqTOd dis not found | |
6194 | ||
6195 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6196 | ta T_CHANGE_NONPRIV ! macro | |
6197 | .word 0xa96a257e ! 177: SDIVX_I sdivx %r8, 0x057e, %r20 | |
6198 | tagged_5_97: | |
6199 | taddcctv %r8, 0x137c, %r14 | |
6200 | .word 0xe407e4f3 ! 178: LDUW_I lduw [%r31 + 0x04f3], %r18 | |
6201 | debug_5_98: | |
6202 | nop | |
6203 | mov 0x38, %r18 | |
6204 | .word 0xfef00b12 ! 179: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6205 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6206 | ta T_CHANGE_NONHPRIV ! macro | |
6207 | .word 0xa76aadd4 ! 180: SDIVX_I sdivx %r10, 0x0dd4, %r19 | |
6208 | ta T_CHANGE_HPRIV | |
6209 | mov (5+1), %r10 | |
6210 | set sync_thr_counter1, %r23 | |
6211 | cas [%r23],%g0,%r10 !lock | |
6212 | brnz %r10, cwq_5_100 | |
6213 | rd %asi, %r12 | |
6214 | wr %g0, 0x40, %asi | |
6215 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6216 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6217 | cmp %l1, 1 | |
6218 | bne cwq_5_100 | |
6219 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6220 | sub %l2, 0x40, %l2 | |
6221 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6222 | wr %r12, %g0, %asi | |
6223 | st %g0, [%r23] | |
6224 | cwq_5_100: | |
6225 | ta T_CHANGE_NONHPRIV | |
6226 | .word 0x9b414000 ! 181: RDPC rd %pc, %r13 | |
6227 | intveclr_5_101: | |
6228 | setx 0xb82ee394dca8b386, %r1, %r28 | |
6229 | stxa %r28, [%g0] 0x72 | |
6230 | .word 0x25400001 ! 182: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6231 | .word 0x8780208b ! 183: WRASI_I wr %r0, 0x008b, %asi | |
6232 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6233 | ta T_CHANGE_NONPRIV ! macro | |
6234 | .word 0x9b69acd1 ! 184: SDIVX_I sdivx %r6, 0x0cd1, %r13 | |
6235 | .word 0x879023b2 ! 185: WRPR_TT_I wrpr %r0, 0x03b2, %tt | |
6236 | .word 0xdac804a0 ! 186: LDSBA_R ldsba [%r0, %r0] 0x25, %r13 | |
6237 | debug_5_103: | |
6238 | nop | |
6239 | rd %pc, %r19 | |
6240 | add %r19, (64+8), %r19 | |
6241 | mov 0x38, %r18 | |
6242 | .word 0xe6f00b12 ! 187: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6243 | .word 0xdacfe000 ! 188: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r13 | |
6244 | intveclr_5_104: | |
6245 | setx 0x8a0623611ad19473, %r1, %r28 | |
6246 | stxa %r28, [%g0] 0x72 | |
6247 | .word 0x25400001 ! 189: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6248 | .word 0x93d02034 ! 190: Tcc_I tne icc_or_xcc, %r0 + 52 | |
6249 | otherw | |
6250 | mov 0xb4, %r30 | |
6251 | .word 0x91d0001e ! 191: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6252 | splash_hpstate_5_105: | |
6253 | .word 0x8198253c ! 192: WRHPR_HPSTATE_I wrhpr %r0, 0x053c, %hpstate | |
6254 | debug_5_106: | |
6255 | nop | |
6256 | rd %pc, %r19 | |
6257 | add %r19, (64+24), %r19 | |
6258 | mov 0x38, %r18 | |
6259 | .word 0xe6f00b12 ! 193: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6260 | mov (5+1), %r10 | |
6261 | ta T_CHANGE_HPRIV | |
6262 | set sync_thr_counter2, %r23 | |
6263 | cas [%r23],%g0,%r10 !lock | |
6264 | brnz %r10, sma_5_107 | |
6265 | rd %asi, %r12 | |
6266 | wr %g0, 0x40, %asi | |
6267 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6268 | set 0x21fff, %g1 | |
6269 | stxa %g1, [%g0 + 0x80] %asi | |
6270 | wr %r12, %g0, %asi | |
6271 | st %g0, [%r23] | |
6272 | sma_5_107: | |
6273 | ta T_CHANGE_NONHPRIV | |
6274 | .word 0xdbe7e008 ! 194: CASA_R casa [%r31] %asi, %r8, %r13 | |
6275 | nop | |
6276 | mov 0x80, %g3 | |
6277 | stxa %g3, [%g3] 0x57 | |
6278 | .word 0xda5fc000 ! 195: LDX_R ldx [%r31 + %r0], %r13 | |
6279 | splash_lsu_5_108: | |
6280 | setx 0x3e2d86777fa3c811, %r1, %r2 | |
6281 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6282 | .word 0x3d400001 ! 196: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6283 | splash_tba_5_109: | |
6284 | set 0x120000, %r12 | |
6285 | ld [%r12+%r0], %r1 | |
6286 | ta T_CHANGE_PRIV | |
6287 | set 0x120000, %r12 | |
6288 | .word 0x8b90000c ! 197: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6289 | .word 0x919274c6 ! 198: WRPR_PIL_I wrpr %r9, 0x14c6, %pil | |
6290 | ta T_CHANGE_HPRIV | |
6291 | mov (5+1), %r10 | |
6292 | set sync_thr_counter1, %r23 | |
6293 | cas [%r23],%g0,%r10 !lock | |
6294 | brnz %r10, cwq_5_110 | |
6295 | rd %asi, %r12 | |
6296 | wr %g0, 0x40, %asi | |
6297 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6298 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6299 | cmp %l1, 1 | |
6300 | bne cwq_5_110 | |
6301 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6302 | sub %l2, 0x40, %l2 | |
6303 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6304 | wr %r12, %g0, %asi | |
6305 | st %g0, [%r23] | |
6306 | cwq_5_110: | |
6307 | ta T_CHANGE_NONHPRIV | |
6308 | .word 0xa3414000 ! 199: RDPC rd %pc, %r17 | |
6309 | .word 0x95a009c0 ! 200: FDIVd fdivd %f0, %f0, %f10 | |
6310 | debug_5_111: | |
6311 | nop | |
6312 | mov 8, %r18 | |
6313 | .word 0xdcf00492 ! 201: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
6314 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6315 | ta T_CHANGE_NONPRIV ! macro | |
6316 | .word 0x91a01964 ! 202: FqTOd dis not found | |
6317 | ||
6318 | DS_5_113: | |
6319 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
6320 | pdist %f16, %f2, %f12 | |
6321 | .word 0x99b00312 ! 203: ALIGNADDRESS alignaddr %r0, %r18, %r12 | |
6322 | splash_tba_5_114: | |
6323 | set 0x003f0000, %r12 | |
6324 | st %r1, [%r12+%r0] | |
6325 | ta T_CHANGE_PRIV | |
6326 | set 0x003f0000, %r12 | |
6327 | .word 0x8b90000c ! 204: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6328 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6329 | ta T_CHANGE_NONHPRIV ! macro | |
6330 | .word 0xa1a01971 ! 205: FqTOd dis not found | |
6331 | ||
6332 | intveclr_5_116: | |
6333 | setx 0x24fb5b9b8fa237c8, %r1, %r28 | |
6334 | stxa %r28, [%g0] 0x72 | |
6335 | .word 0x25400001 ! 206: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6336 | nop | |
6337 | mov 0x80, %g3 | |
6338 | stxa %g3, [%g3] 0x5f | |
6339 | .word 0xe25fc000 ! 207: LDX_R ldx [%r31 + %r0], %r17 | |
6340 | splash_hpstate_5_117: | |
6341 | .word 0x81982516 ! 208: WRHPR_HPSTATE_I wrhpr %r0, 0x0516, %hpstate | |
6342 | .word 0x8790212e ! 209: WRPR_TT_I wrpr %r0, 0x012e, %tt | |
6343 | debug_5_118: | |
6344 | nop | |
6345 | rd %pc, %r19 | |
6346 | add %r19, (64+0), %r19 | |
6347 | mov 0x38, %r18 | |
6348 | .word 0xe6f00b12 ! 210: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6349 | .word 0xad8037de ! 211: WR_SOFTINT_REG_I wr %r0, 0x17de, %softint | |
6350 | .word 0x8d9030c4 ! 212: WRPR_PSTATE_I wrpr %r0, 0x10c4, %pstate | |
6351 | debug_5_119: | |
6352 | nop | |
6353 | mov 0x38, %r18 | |
6354 | .word 0xfef00b12 ! 213: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6355 | .word 0x91d02032 ! 214: Tcc_I ta icc_or_xcc, %r0 + 50 | |
6356 | mov (5+1), %r10 | |
6357 | ta T_CHANGE_HPRIV | |
6358 | set sync_thr_counter2, %r23 | |
6359 | cas [%r23],%g0,%r10 !lock | |
6360 | brnz %r10, sma_5_120 | |
6361 | rd %asi, %r12 | |
6362 | wr %g0, 0x40, %asi | |
6363 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6364 | set 0x21fff, %g1 | |
6365 | stxa %g1, [%g0 + 0x80] %asi | |
6366 | wr %r12, %g0, %asi | |
6367 | st %g0, [%r23] | |
6368 | sma_5_120: | |
6369 | ta T_CHANGE_NONHPRIV | |
6370 | .word 0xe3e7e003 ! 215: CASA_R casa [%r31] %asi, %r3, %r17 | |
6371 | splash_lsu_5_121: | |
6372 | setx 0xcbb474a56b5327f1, %r1, %r2 | |
6373 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6374 | .word 0x3d400001 ! 216: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6375 | .word 0xe337c000 ! 217: STQF_R - %f17, [%r0, %r31] | |
6376 | splash_cmpr_5_122: | |
6377 | setx 0x9c98a8e5ddae6358, %g2, %g1 | |
6378 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
6379 | sub %g1, 100, %g1 | |
6380 | .word 0xb1800001 ! 218: WR_STICK_REG_R wr %r0, %r1, %- | |
6381 | intveclr_5_123: | |
6382 | setx 0x02f358e4e2cecd99, %r1, %r28 | |
6383 | stxa %r28, [%g0] 0x72 | |
6384 | .word 0x25400001 ! 219: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6385 | nop | |
6386 | mov 0x80, %g3 | |
6387 | stxa %g3, [%g3] 0x57 | |
6388 | .word 0xe25fc000 ! 220: LDX_R ldx [%r31 + %r0], %r17 | |
6389 | splash_cmpr_5_124: | |
6390 | setx 0x6cc59e282d715274, %g2, %g1 | |
6391 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
6392 | sub %g1, 100, %g1 | |
6393 | .word 0xb1800001 ! 221: WR_STICK_REG_R wr %r0, %r1, %- | |
6394 | splash_cmpr_5_125: | |
6395 | setx 0x70fa3d697acccbf8, %g2, %g1 | |
6396 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
6397 | sub %g1, 100, %g1 | |
6398 | .word 0xb1800001 ! 222: WR_STICK_REG_R wr %r0, %r1, %- | |
6399 | .word 0xe31fc000 ! 223: LDDF_R ldd [%r31, %r0], %f17 | |
6400 | tagged_5_126: | |
6401 | tsubcctv %r10, 0x15d2, %r22 | |
6402 | .word 0xe207f3f3 ! 224: LDUW_I lduw [%r31 + 0xfffff3f3], %r17 | |
6403 | splash_tba_5_127: | |
6404 | set 0x120000, %r12 | |
6405 | ld [%r12+%r0], %r1 | |
6406 | ta T_CHANGE_PRIV | |
6407 | set 0x120000, %r12 | |
6408 | .word 0x8b90000c ! 225: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6409 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6410 | ta T_CHANGE_NONPRIV ! macro | |
6411 | .word 0x91a0196c ! 226: FqTOd dis not found | |
6412 | ||
6413 | debug_5_129: | |
6414 | nop | |
6415 | mov 8, %r18 | |
6416 | .word 0xe6f00492 ! 227: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
6417 | tagged_5_130: | |
6418 | tsubcctv %r7, 0x1643, %r25 | |
6419 | .word 0xd807f3f3 ! 228: LDUW_I lduw [%r31 + 0xfffff3f3], %r12 | |
6420 | .word 0x8d903416 ! 229: WRPR_PSTATE_I wrpr %r0, 0x1416, %pstate | |
6421 | .word 0x95a00169 ! 230: FABSq dis not found | |
6422 | ||
6423 | debug_5_131: | |
6424 | nop | |
6425 | mov 0x38, %r18 | |
6426 | .word 0xfef00b12 ! 231: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6427 | .word 0x34700001 ! 232: BPG <illegal instruction> | |
6428 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6429 | ta T_CHANGE_NONPRIV ! macro | |
6430 | .word 0x9168f609 ! 233: SDIVX_I sdivx %r3, 0xfffff609, %r8 | |
6431 | tagged_5_133: | |
6432 | taddcctv %r8, 0x16ff, %r3 | |
6433 | .word 0xd807f212 ! 234: LDUW_I lduw [%r31 + 0xfffff212], %r12 | |
6434 | ta T_CHANGE_HPRIV | |
6435 | mov (5+1), %r10 | |
6436 | set sync_thr_counter1, %r23 | |
6437 | cas [%r23],%g0,%r10 !lock | |
6438 | brnz %r10, cwq_5_134 | |
6439 | rd %asi, %r12 | |
6440 | wr %g0, 0x40, %asi | |
6441 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6442 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6443 | cmp %l1, 1 | |
6444 | bne cwq_5_134 | |
6445 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6446 | sub %l2, 0x40, %l2 | |
6447 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6448 | wr %r12, %g0, %asi | |
6449 | st %g0, [%r23] | |
6450 | cwq_5_134: | |
6451 | ta T_CHANGE_NONHPRIV | |
6452 | .word 0x95414000 ! 235: RDPC rd %pc, %r10 | |
6453 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6454 | ta T_CHANGE_NONHPRIV ! macro | |
6455 | .word 0x99682135 ! 236: SDIVX_I sdivx %r0, 0x0135, %r12 | |
6456 | .word 0x8d902b9c ! 237: WRPR_PSTATE_I wrpr %r0, 0x0b9c, %pstate | |
6457 | DS_5_136: | |
6458 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
6459 | .word 0xbfe7c000 ! 238: SAVE_R save %r31, %r0, %r31 | |
6460 | splash_tba_5_137: | |
6461 | set 0x120000, %r12 | |
6462 | ld [%r12+%r0], %r1 | |
6463 | ta T_CHANGE_PRIV | |
6464 | set 0x120000, %r12 | |
6465 | .word 0x8b90000c ! 239: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6466 | .word 0x99480000 ! 240: RDHPR_HPSTATE rdhpr %hpstate, %r12 | |
6467 | splash_tba_5_138: | |
6468 | set 0x003f0000, %r12 | |
6469 | st %r1, [%r12+%r0] | |
6470 | ta T_CHANGE_PRIV | |
6471 | set 0x003f0000, %r12 | |
6472 | .word 0x8b90000c ! 241: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6473 | debug_5_139: | |
6474 | nop | |
6475 | rd %pc, %r19 | |
6476 | add %r19, (64+32), %r19 | |
6477 | mov 0x38, %r18 | |
6478 | .word 0xe6f00b12 ! 242: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6479 | .word 0xd737e769 ! 243: STQF_I - %f11, [0x0769, %r31] | |
6480 | .word 0xa1902004 ! 244: WRPR_GL_I wrpr %r0, 0x0004, %- | |
6481 | debug_5_140: | |
6482 | nop | |
6483 | mov 0x38, %r18 | |
6484 | .word 0xfef00b12 ! 245: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6485 | .word 0xd66fe769 ! 246: LDSTUB_I ldstub %r11, [%r31 + 0x0769] | |
6486 | .word 0xa7a00167 ! 247: FABSq dis not found | |
6487 | ||
6488 | .word 0x3a700001 ! 248: BPCC <illegal instruction> | |
6489 | cwp_5_141: | |
6490 | set user_data_start, %o7 | |
6491 | .word 0x93902004 ! 249: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
6492 | mondo_5_142: | |
6493 | nop | |
6494 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6495 | ||
6496 | stxa %r5, [%r0+0x3d0] %asi | |
6497 | .word 0x9d92c013 ! 250: WRPR_WSTATE_R wrpr %r11, %r19, %wstate | |
6498 | .word 0xa190200c ! 251: WRPR_GL_I wrpr %r0, 0x000c, %- | |
6499 | .word 0xe48008a0 ! 252: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
6500 | debug_5_143: | |
6501 | nop | |
6502 | mov 0x38, %r18 | |
6503 | .word 0xfef00b12 ! 253: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6504 | mov (5+1), %r10 | |
6505 | ta T_CHANGE_HPRIV | |
6506 | set sync_thr_counter2, %r23 | |
6507 | cas [%r23],%g0,%r10 !lock | |
6508 | brnz %r10, sma_5_144 | |
6509 | rd %asi, %r12 | |
6510 | wr %g0, 0x40, %asi | |
6511 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6512 | set 0x21fff, %g1 | |
6513 | stxa %g1, [%g0 + 0x80] %asi | |
6514 | wr %r12, %g0, %asi | |
6515 | st %g0, [%r23] | |
6516 | sma_5_144: | |
6517 | ta T_CHANGE_NONHPRIV | |
6518 | .word 0xe5e7e008 ! 254: CASA_R casa [%r31] %asi, %r8, %r18 | |
6519 | .word 0xa190200b ! 255: WRPR_GL_I wrpr %r0, 0x000b, %- | |
6520 | debug_5_145: | |
6521 | nop | |
6522 | rd %pc, %r19 | |
6523 | add %r19, (64+16), %r19 | |
6524 | mov 0x38, %r18 | |
6525 | .word 0xe6f00b12 ! 256: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6526 | invalw | |
6527 | mov 0x30, %r30 | |
6528 | .word 0x91d0001e ! 257: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6529 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6530 | ta T_CHANGE_NONPRIV ! macro | |
6531 | .word 0x95a01965 ! 258: FqTOd dis not found | |
6532 | ||
6533 | .word 0xe46fe769 ! 259: LDSTUB_I ldstub %r18, [%r31 + 0x0769] | |
6534 | .word 0x8d902696 ! 260: WRPR_PSTATE_I wrpr %r0, 0x0696, %pstate | |
6535 | mondo_5_147: | |
6536 | nop | |
6537 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6538 | ||
6539 | stxa %r0, [%r0+0x3c0] %asi | |
6540 | .word 0x9d91c012 ! 261: WRPR_WSTATE_R wrpr %r7, %r18, %wstate | |
6541 | rd %pc, %r19 | |
6542 | add %r19, (ivw_5_148-.+40), %r19 | |
6543 | mov 0x38, %r18 | |
6544 | stxa %r19, [%r18]0x58 | |
6545 | ivw_5_148: | |
6546 | .word 0x91910013 ! 262: WRPR_PIL_R wrpr %r4, %r19, %pil | |
6547 | nop | |
6548 | mov 0x80, %g3 | |
6549 | stxa %g3, [%g3] 0x57 | |
6550 | .word 0xe45fc000 ! 263: LDX_R ldx [%r31 + %r0], %r18 | |
6551 | setx 0x31bc092c6dcf5097, %r1, %r28 | |
6552 | stxa %r28, [%g0] 0x73 | |
6553 | intvec_5_149: | |
6554 | .word 0x39400001 ! 264: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6555 | mov (5+1), %r10 | |
6556 | ta T_CHANGE_HPRIV | |
6557 | set sync_thr_counter2, %r23 | |
6558 | cas [%r23],%g0,%r10 !lock | |
6559 | brnz %r10, sma_5_150 | |
6560 | rd %asi, %r12 | |
6561 | wr %g0, 0x40, %asi | |
6562 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6563 | set 0x21fff, %g1 | |
6564 | stxa %g1, [%g0 + 0x80] %asi | |
6565 | wr %r12, %g0, %asi | |
6566 | st %g0, [%r23] | |
6567 | sma_5_150: | |
6568 | ta T_CHANGE_NONHPRIV | |
6569 | .word 0xe5e7e013 ! 265: CASA_R casa [%r31] %asi, %r19, %r18 | |
6570 | .word 0xe497e020 ! 266: LDUHA_I lduha [%r31, + 0x0020] %asi, %r18 | |
6571 | DS_5_151: | |
6572 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
6573 | pdist %f4, %f20, %f12 | |
6574 | .word 0x93b4830d ! 267: ALIGNADDRESS alignaddr %r18, %r13, %r9 | |
6575 | .word 0x8d902f16 ! 268: WRPR_PSTATE_I wrpr %r0, 0x0f16, %pstate | |
6576 | splash_lsu_5_152: | |
6577 | setx 0x8aa511034f9e21ff, %r1, %r2 | |
6578 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6579 | .word 0x3d400001 ! 269: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6580 | debug_5_153: | |
6581 | nop | |
6582 | mov 8, %r18 | |
6583 | .word 0xd4f00492 ! 270: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
6584 | mov (5+1), %r10 | |
6585 | ta T_CHANGE_HPRIV | |
6586 | set sync_thr_counter2, %r23 | |
6587 | cas [%r23],%g0,%r10 !lock | |
6588 | brnz %r10, sma_5_154 | |
6589 | rd %asi, %r12 | |
6590 | wr %g0, 0x40, %asi | |
6591 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6592 | set 0x21fff, %g1 | |
6593 | stxa %g1, [%g0 + 0x80] %asi | |
6594 | wr %r12, %g0, %asi | |
6595 | st %g0, [%r23] | |
6596 | sma_5_154: | |
6597 | ta T_CHANGE_NONHPRIV | |
6598 | .word 0xe9e7e00a ! 271: CASA_R casa [%r31] %asi, %r10, %r20 | |
6599 | splash_tba_5_155: | |
6600 | set 0x120000, %r12 | |
6601 | ld [%r12+%r0], %r1 | |
6602 | ta T_CHANGE_PRIV | |
6603 | set 0x120000, %r12 | |
6604 | .word 0x8b90000c ! 272: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6605 | DS_5_156: | |
6606 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
6607 | .word 0xfd48cff6 ! Random illegal ? | |
6608 | .word 0x95a089cc ! 1: FDIVd fdivd %f2, %f12, %f10 | |
6609 | .word 0x9ba00833 ! 273: FADDs fadds %f0, %f19, %f13 | |
6610 | rd %pc, %r19 | |
6611 | add %r19, (ivw_5_157-.+48), %r19 | |
6612 | mov 0x38, %r18 | |
6613 | stxa %r19, [%r18]0x58 | |
6614 | ivw_5_157: | |
6615 | .word 0x9193000c ! 274: WRPR_PIL_R wrpr %r12, %r12, %pil | |
6616 | .word 0x8d90218a ! 275: WRPR_PSTATE_I wrpr %r0, 0x018a, %pstate | |
6617 | .word 0xe0c004a0 ! 276: LDSWA_R ldswa [%r0, %r0] 0x25, %r16 | |
6618 | ta T_CHANGE_HPRIV | |
6619 | mov (5+1), %r10 | |
6620 | set sync_thr_counter1, %r23 | |
6621 | cas [%r23],%g0,%r10 !lock | |
6622 | brnz %r10, cwq_5_158 | |
6623 | rd %asi, %r12 | |
6624 | wr %g0, 0x40, %asi | |
6625 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6626 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6627 | cmp %l1, 1 | |
6628 | bne cwq_5_158 | |
6629 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6630 | sub %l2, 0x40, %l2 | |
6631 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6632 | wr %r12, %g0, %asi | |
6633 | st %g0, [%r23] | |
6634 | cwq_5_158: | |
6635 | ta T_CHANGE_NONHPRIV | |
6636 | .word 0x91414000 ! 277: RDPC rd %pc, %r8 | |
6637 | ta T_CHANGE_HPRIV | |
6638 | mov (5+1), %r10 | |
6639 | set sync_thr_counter1, %r23 | |
6640 | cas [%r23],%g0,%r10 !lock | |
6641 | brnz %r10, cwq_5_159 | |
6642 | rd %asi, %r12 | |
6643 | wr %g0, 0x40, %asi | |
6644 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6645 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6646 | cmp %l1, 1 | |
6647 | bne cwq_5_159 | |
6648 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6649 | sub %l2, 0x40, %l2 | |
6650 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6651 | wr %r12, %g0, %asi | |
6652 | st %g0, [%r23] | |
6653 | cwq_5_159: | |
6654 | ta T_CHANGE_NONHPRIV | |
6655 | .word 0x95414000 ! 278: RDPC rd %pc, %r10 | |
6656 | .word 0x81460000 ! 279: RD_STICK_REG stbar | |
6657 | debug_5_160: | |
6658 | nop | |
6659 | rd %pc, %r19 | |
6660 | add %r19, (64+48), %r19 | |
6661 | mov 0x38, %r18 | |
6662 | .word 0xe6f00b12 ! 280: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6663 | .word 0xe66fe769 ! 281: LDSTUB_I ldstub %r19, [%r31 + 0x0769] | |
6664 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_5_161)+16, 16, 16)) -> intp(5,1,3) | |
6665 | xir_5_161: | |
6666 | .word 0xa98078d8 ! 282: WR_SET_SOFTINT_I wr %r1, 0x18d8, %set_softint | |
6667 | tagged_5_162: | |
6668 | tsubcctv %r15, 0x1f5a, %r10 | |
6669 | .word 0xe607e3f9 ! 283: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
6670 | .word 0x91d02034 ! 284: Tcc_I ta icc_or_xcc, %r0 + 52 | |
6671 | otherw | |
6672 | mov 0x34, %r30 | |
6673 | .word 0x93d0001e ! 285: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
6674 | tagged_5_163: | |
6675 | taddcctv %r23, 0x1fef, %r12 | |
6676 | .word 0xe607e3f9 ! 286: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
6677 | .word 0x8d802004 ! 287: WRFPRS_I wr %r0, 0x0004, %fprs | |
6678 | .word 0x8d9029e4 ! 288: WRPR_PSTATE_I wrpr %r0, 0x09e4, %pstate | |
6679 | debug_5_164: | |
6680 | nop | |
6681 | mov 0x38, %r18 | |
6682 | .word 0xfef00b12 ! 289: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6683 | splash_lsu_5_165: | |
6684 | setx 0x7b755ef1cee897e7, %r1, %r2 | |
6685 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6686 | .word 0x3d400001 ! 290: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6687 | mondo_5_166: | |
6688 | nop | |
6689 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6690 | ||
6691 | stxa %r0, [%r0+0x3d0] %asi | |
6692 | .word 0x9d928010 ! 291: WRPR_WSTATE_R wrpr %r10, %r16, %wstate | |
6693 | debug_5_167: | |
6694 | nop | |
6695 | mov 0x38, %r18 | |
6696 | .word 0xfef00b12 ! 292: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6697 | nop | |
6698 | mov 0x80, %g3 | |
6699 | stxa %g3, [%g3] 0x57 | |
6700 | .word 0xe65fc000 ! 293: LDX_R ldx [%r31 + %r0], %r19 | |
6701 | splash_tba_5_168: | |
6702 | set 0x003f0000, %r12 | |
6703 | st %r1, [%r12+%r0] | |
6704 | ta T_CHANGE_PRIV | |
6705 | set 0x003f0000, %r12 | |
6706 | .word 0x8b90000c ! 294: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6707 | splash_cmpr_5_169: | |
6708 | setx 0xc381758bbabef41b, %g2, %g1 | |
6709 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
6710 | sub %g1, 100, %g1 | |
6711 | .word 0xb1800001 ! 295: WR_STICK_REG_R wr %r0, %r1, %- | |
6712 | tagged_5_170: | |
6713 | tsubcctv %r2, 0x1fe5, %r8 | |
6714 | .word 0xe607e3f9 ! 296: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
6715 | .word 0xa1902007 ! 297: WRPR_GL_I wrpr %r0, 0x0007, %- | |
6716 | .word 0xe727e3f9 ! 298: STF_I st %f19, [0x03f9, %r31] | |
6717 | .word 0xe69fc020 ! 299: LDDA_R ldda [%r31, %r0] 0x01, %r19 | |
6718 | .word 0x9b6ac00b ! 300: SDIVX_R sdivx %r11, %r11, %r13 | |
6719 | .word 0x8790227e ! 301: WRPR_TT_I wrpr %r0, 0x027e, %tt | |
6720 | change_to_randtl_5_171: | |
6721 | ta T_CHANGE_HPRIV ! macro | |
6722 | done_change_to_randtl_5_171: | |
6723 | .word 0x8f902000 ! 302: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6724 | .word 0xa1902006 ! 303: WRPR_GL_I wrpr %r0, 0x0006, %- | |
6725 | splash_hpstate_5_172: | |
6726 | .word 0x819823cc ! 304: WRHPR_HPSTATE_I wrhpr %r0, 0x03cc, %hpstate | |
6727 | rd %pc, %r19 | |
6728 | add %r19, (ivw_5_173-.+0), %r19 | |
6729 | mov 0x38, %r18 | |
6730 | stxa %r19, [%r18]0x58 | |
6731 | ivw_5_173: | |
6732 | .word 0x9192c00d ! 305: WRPR_PIL_R wrpr %r11, %r13, %pil | |
6733 | cwp_5_174: | |
6734 | set user_data_start, %o7 | |
6735 | .word 0x93902006 ! 306: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
6736 | intveclr_5_175: | |
6737 | setx 0x4efbffd4952af02b, %r1, %r28 | |
6738 | stxa %r28, [%g0] 0x72 | |
6739 | .word 0x25400001 ! 307: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6740 | intveclr_5_176: | |
6741 | setx 0xf9d24aaca8bbb865, %r1, %r28 | |
6742 | stxa %r28, [%g0] 0x72 | |
6743 | .word 0x25400001 ! 308: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6744 | mondo_5_177: | |
6745 | nop | |
6746 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6747 | ||
6748 | stxa %r16, [%r0+0x3e0] %asi | |
6749 | .word 0x9d94c00d ! 309: WRPR_WSTATE_R wrpr %r19, %r13, %wstate | |
6750 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6751 | ta T_CHANGE_NONPRIV ! macro | |
6752 | .word 0xa3a01970 ! 310: FqTOd dis not found | |
6753 | ||
6754 | .word 0x8d903055 ! 311: WRPR_PSTATE_I wrpr %r0, 0x1055, %pstate | |
6755 | otherw | |
6756 | mov 0x34, %r30 | |
6757 | .word 0x91d0001e ! 312: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6758 | .word 0x8790200f ! 313: WRPR_TT_I wrpr %r0, 0x000f, %tt | |
6759 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6760 | ta T_CHANGE_NONHPRIV ! macro | |
6761 | .word 0x93a01973 ! 314: FqTOd dis not found | |
6762 | ||
6763 | .word 0xd88fe020 ! 315: LDUBA_I lduba [%r31, + 0x0020] %asi, %r12 | |
6764 | cwp_5_180: | |
6765 | set user_data_start, %o7 | |
6766 | .word 0x93902007 ! 316: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
6767 | splash_hpstate_5_181: | |
6768 | .word 0x819820d6 ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x00d6, %hpstate | |
6769 | debug_5_182: | |
6770 | nop | |
6771 | mov 0x38, %r18 | |
6772 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6773 | DS_5_183: | |
6774 | .word 0x9ba0c9c9 ! 1: FDIVd fdivd %f34, %f40, %f44 | |
6775 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
6776 | .word 0xd1108003 ! 1: LDQF_R - [%r2, %r3], %f8 | |
6777 | .word 0x99a34826 ! 319: FADDs fadds %f13, %f6, %f12 | |
6778 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6779 | ta T_CHANGE_NONPRIV ! macro | |
6780 | .word 0x99a01970 ! 320: FqTOd dis not found | |
6781 | ||
6782 | DS_5_185: | |
6783 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
6784 | .word 0xbfefc000 ! 321: RESTORE_R restore %r31, %r0, %r31 | |
6785 | splash_cmpr_5_186: | |
6786 | setx 0xe0281f95464169cd, %g2, %g1 | |
6787 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
6788 | sub %g1, 100, %g1 | |
6789 | .word 0xb1800001 ! 322: WR_STICK_REG_R wr %r0, %r1, %- | |
6790 | .word 0xa190200f ! 323: WRPR_GL_I wrpr %r0, 0x000f, %- | |
6791 | debug_5_187: | |
6792 | nop | |
6793 | rd %pc, %r19 | |
6794 | add %r19, (64+16), %r19 | |
6795 | mov 0x38, %r18 | |
6796 | .word 0xe6f00b12 ! 324: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6797 | .word 0x91d020b2 ! 325: Tcc_I ta icc_or_xcc, %r0 + 178 | |
6798 | change_to_randtl_5_188: | |
6799 | ta T_CHANGE_PRIV ! macro | |
6800 | done_change_to_randtl_5_188: | |
6801 | .word 0x8f902000 ! 326: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6802 | intveclr_5_189: | |
6803 | setx 0x522937dcc7d68bb3, %r1, %r28 | |
6804 | stxa %r28, [%g0] 0x72 | |
6805 | .word 0x25400001 ! 327: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6806 | .word 0xa190200d ! 328: WRPR_GL_I wrpr %r0, 0x000d, %- | |
6807 | .word 0x26700001 ! 329: BPL <illegal instruction> | |
6808 | splash_hpstate_5_190: | |
6809 | .word 0x8198294e ! 330: WRHPR_HPSTATE_I wrhpr %r0, 0x094e, %hpstate | |
6810 | .word 0xd527c000 ! 331: STF_R st %f10, [%r0, %r31] | |
6811 | debug_5_191: | |
6812 | nop | |
6813 | mov 0x38, %r18 | |
6814 | .word 0xfef00b12 ! 332: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6815 | .word 0x8d903abf ! 333: WRPR_PSTATE_I wrpr %r0, 0x1abf, %pstate | |
6816 | intveclr_5_192: | |
6817 | setx 0xfa00ec0b77b2113d, %r1, %r28 | |
6818 | stxa %r28, [%g0] 0x72 | |
6819 | .word 0x25400001 ! 334: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6820 | .word 0x87802020 ! 335: WRASI_I wr %r0, 0x0020, %asi | |
6821 | DS_5_193: | |
6822 | nop | |
6823 | not %g0, %r12 | |
6824 | jmp %r12 | |
6825 | .word 0x9d902003 ! 336: WRPR_WSTATE_I wrpr %r0, 0x0003, %wstate | |
6826 | tagged_5_194: | |
6827 | tsubcctv %r12, 0x1f13, %r25 | |
6828 | .word 0xd407e3f9 ! 337: LDUW_I lduw [%r31 + 0x03f9], %r10 | |
6829 | change_to_randtl_5_195: | |
6830 | ta T_CHANGE_HPRIV ! macro | |
6831 | done_change_to_randtl_5_195: | |
6832 | .word 0x8f902003 ! 338: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
6833 | .word 0xd4800c80 ! 339: LDUWA_R lduwa [%r0, %r0] 0x64, %r10 | |
6834 | .word 0x8d802000 ! 340: WRFPRS_I wr %r0, 0x0000, %fprs | |
6835 | splash_cmpr_5_196: | |
6836 | setx 0xf9d580eaf0e0059c, %g2, %g1 | |
6837 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
6838 | sub %g1, 100, %g1 | |
6839 | .word 0xb1800001 ! 341: WR_STICK_REG_R wr %r0, %r1, %- | |
6840 | mov (5+1), %r10 | |
6841 | ta T_CHANGE_HPRIV | |
6842 | set sync_thr_counter2, %r23 | |
6843 | cas [%r23],%g0,%r10 !lock | |
6844 | brnz %r10, sma_5_197 | |
6845 | rd %asi, %r12 | |
6846 | wr %g0, 0x40, %asi | |
6847 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6848 | set 0x21fff, %g1 | |
6849 | stxa %g1, [%g0 + 0x80] %asi | |
6850 | wr %r12, %g0, %asi | |
6851 | st %g0, [%r23] | |
6852 | sma_5_197: | |
6853 | ta T_CHANGE_NONHPRIV | |
6854 | .word 0xd5e7e004 ! 342: CASA_R casa [%r31] %asi, %r4, %r10 | |
6855 | .word 0x87902011 ! 343: WRPR_TT_I wrpr %r0, 0x0011, %tt | |
6856 | .word 0x2a700001 ! 344: BPCS <illegal instruction> | |
6857 | .word 0xad80e2dd ! 345: WR_SOFTINT_REG_I wr %r3, 0x02dd, %softint | |
6858 | debug_5_198: | |
6859 | nop | |
6860 | mov 8, %r18 | |
6861 | .word 0xe8f00492 ! 346: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
6862 | .word 0x34800001 ! 347: BG bg,a <label_0x1> | |
6863 | nop | |
6864 | mov 0x80, %g3 | |
6865 | stxa %g3, [%g3] 0x5f | |
6866 | .word 0xd45fc000 ! 348: LDX_R ldx [%r31 + %r0], %r10 | |
6867 | tagged_5_199: | |
6868 | taddcctv %r17, 0x1663, %r17 | |
6869 | .word 0xd407fefd ! 349: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
6870 | tagged_5_200: | |
6871 | tsubcctv %r19, 0x17b2, %r15 | |
6872 | .word 0xd407fefd ! 350: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
6873 | donret_5_201: | |
6874 | nop | |
6875 | rd %pc, %r12 | |
6876 | add %r12, (donretarg_5_201-donret_5_201-4), %r12 | |
6877 | mov 0x38, %r18 | |
6878 | stxa %r12, [%r18]0x58 | |
6879 | add %r12, 0x4, %r11 | |
6880 | wrpr %g0, 0x3, %tl | |
6881 | wrpr %g0, %r12, %tpc | |
6882 | wrpr %g0, %r11, %tnpc | |
6883 | wrpr %g0, %r13, %tstate | |
6884 | wrhpr %g0, %r14, %htstate | |
6885 | done | |
6886 | donretarg_5_201: | |
6887 | .word 0xd4fffefd ! 351: SWAPA_I swapa %r10, [%r31 + 0xfffffefd] %asi | |
6888 | mondo_5_202: | |
6889 | nop | |
6890 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6891 | ||
6892 | stxa %r7, [%r0+0x3c0] %asi | |
6893 | .word 0x9d90c014 ! 352: WRPR_WSTATE_R wrpr %r3, %r20, %wstate | |
6894 | setx 0x1006d4bad11a19fd, %r1, %r28 | |
6895 | stxa %r28, [%g0] 0x73 | |
6896 | intvec_5_203: | |
6897 | .word 0x39400001 ! 353: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6898 | splash_lsu_5_204: | |
6899 | setx 0x1239a0f3cf6d5d29, %r1, %r2 | |
6900 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6901 | .word 0x3d400001 ! 354: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6902 | memptr_5_205: | |
6903 | set 0x60140000, %r31 | |
6904 | .word 0x85837d1a ! 355: WRCCR_I wr %r13, 0x1d1a, %ccr | |
6905 | .word 0xa190200e ! 356: WRPR_GL_I wrpr %r0, 0x000e, %- | |
6906 | nop | |
6907 | mov 0x80, %g3 | |
6908 | stxa %g3, [%g3] 0x57 | |
6909 | .word 0xd45fc000 ! 357: LDX_R ldx [%r31 + %r0], %r10 | |
6910 | .word 0xa9a0016d ! 358: FABSq dis not found | |
6911 | ||
6912 | .word 0xa3540000 ! 359: RDPR_GL rdpr %-, %r17 | |
6913 | change_to_randtl_5_206: | |
6914 | ta T_CHANGE_PRIV ! macro | |
6915 | done_change_to_randtl_5_206: | |
6916 | .word 0x8f902000 ! 360: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6917 | .word 0x91d020b3 ! 361: Tcc_I ta icc_or_xcc, %r0 + 179 | |
6918 | .word 0xab828002 ! 362: WR_CLEAR_SOFTINT_R wr %r10, %r2, %clear_softint | |
6919 | .word 0x8d903aef ! 363: WRPR_PSTATE_I wrpr %r0, 0x1aef, %pstate | |
6920 | .word 0x91d02035 ! 364: Tcc_I ta icc_or_xcc, %r0 + 53 | |
6921 | splash_lsu_5_207: | |
6922 | setx 0x365cee13bf38f9d5, %r1, %r2 | |
6923 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6924 | .word 0x3d400001 ! 365: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6925 | splash_hpstate_5_208: | |
6926 | .word 0x819827dd ! 366: WRHPR_HPSTATE_I wrhpr %r0, 0x07dd, %hpstate | |
6927 | debug_5_209: | |
6928 | nop | |
6929 | mov 0x38, %r18 | |
6930 | .word 0xfef00b12 ! 367: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6931 | mondo_5_210: | |
6932 | nop | |
6933 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6934 | ||
6935 | stxa %r20, [%r0+0x3d8] %asi | |
6936 | .word 0x9d900012 ! 368: WRPR_WSTATE_R wrpr %r0, %r18, %wstate | |
6937 | setx 0x5c369cd4b7ea7475, %r1, %r28 | |
6938 | stxa %r28, [%g0] 0x73 | |
6939 | intvec_5_211: | |
6940 | .word 0x39400001 ! 369: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6941 | .word 0xe60fe29d ! 370: LDUB_I ldub [%r31 + 0x029d], %r19 | |
6942 | .word 0x8d9034e6 ! 371: WRPR_PSTATE_I wrpr %r0, 0x14e6, %pstate | |
6943 | .word 0xa350c000 ! 372: RDPR_TT rdpr %tt, %r17 | |
6944 | mov (5+1), %r10 | |
6945 | ta T_CHANGE_HPRIV | |
6946 | set sync_thr_counter2, %r23 | |
6947 | cas [%r23],%g0,%r10 !lock | |
6948 | brnz %r10, sma_5_212 | |
6949 | rd %asi, %r12 | |
6950 | wr %g0, 0x40, %asi | |
6951 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6952 | set 0x21fff, %g1 | |
6953 | stxa %g1, [%g0 + 0x80] %asi | |
6954 | wr %r12, %g0, %asi | |
6955 | st %g0, [%r23] | |
6956 | sma_5_212: | |
6957 | ta T_CHANGE_NONHPRIV | |
6958 | .word 0xd1e7e00a ! 373: CASA_R casa [%r31] %asi, %r10, %r8 | |
6959 | .word 0xd0800b60 ! 374: LDUWA_R lduwa [%r0, %r0] 0x5b, %r8 | |
6960 | .word 0x22800001 ! 375: BE be,a <label_0x1> | |
6961 | .word 0x87802058 ! 376: WRASI_I wr %r0, 0x0058, %asi | |
6962 | .word 0x8780201c ! 377: WRASI_I wr %r0, 0x001c, %asi | |
6963 | .word 0x9ba4cdd1 ! 378: FdMULq fdmulq | |
6964 | splash_tba_5_213: | |
6965 | set 0x003f0000, %r12 | |
6966 | ld [%r12+%r0], %r1 | |
6967 | ta T_CHANGE_PRIV | |
6968 | set 0x003f0000, %r12 | |
6969 | .word 0x8b90000c ! 379: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6970 | .word 0x91d020b2 ! 380: Tcc_I ta icc_or_xcc, %r0 + 178 | |
6971 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6972 | ta T_CHANGE_NONPRIV ! macro | |
6973 | .word 0x93a01973 ! 381: FqTOd dis not found | |
6974 | ||
6975 | splash_cmpr_5_215: | |
6976 | setx 0x2541c23f4a0d55de, %g2, %g1 | |
6977 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
6978 | sub %g1, 100, %g1 | |
6979 | .word 0xb1800001 ! 382: WR_STICK_REG_R wr %r0, %r1, %- | |
6980 | debug_5_216: | |
6981 | nop | |
6982 | mov 8, %r18 | |
6983 | .word 0xdef00492 ! 383: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
6984 | setx 0xb282f886433244f9, %r1, %r28 | |
6985 | stxa %r28, [%g0] 0x73 | |
6986 | intvec_5_217: | |
6987 | .word 0x39400001 ! 384: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6988 | .word 0x99480000 ! 385: RDHPR_HPSTATE rdhpr %hpstate, %r12 | |
6989 | .word 0x26800001 ! 386: BL bl,a <label_0x1> | |
6990 | ta T_CHANGE_HPRIV | |
6991 | mov (5+1), %r10 | |
6992 | set sync_thr_counter1, %r23 | |
6993 | cas [%r23],%g0,%r10 !lock | |
6994 | brnz %r10, cwq_5_218 | |
6995 | rd %asi, %r12 | |
6996 | wr %g0, 0x40, %asi | |
6997 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6998 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6999 | cmp %l1, 1 | |
7000 | bne cwq_5_218 | |
7001 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7002 | sub %l2, 0x40, %l2 | |
7003 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7004 | wr %r12, %g0, %asi | |
7005 | st %g0, [%r23] | |
7006 | cwq_5_218: | |
7007 | ta T_CHANGE_NONHPRIV | |
7008 | .word 0x99414000 ! 387: RDPC rd %pc, %r12 | |
7009 | splash_hpstate_5_219: | |
7010 | .word 0x81982abe ! 388: WRHPR_HPSTATE_I wrhpr %r0, 0x0abe, %hpstate | |
7011 | splash_tba_5_220: | |
7012 | set 0x120000, %r12 | |
7013 | st %r1, [%r12+%r0] | |
7014 | ta T_CHANGE_PRIV | |
7015 | set 0x120000, %r12 | |
7016 | .word 0x8b90000c ! 389: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7017 | splash_tba_5_221: | |
7018 | set 0x120000, %r12 | |
7019 | ld [%r12+%r0], %r1 | |
7020 | ta T_CHANGE_PRIV | |
7021 | set 0x120000, %r12 | |
7022 | .word 0x8b90000c ! 390: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7023 | splash_cmpr_5_222: | |
7024 | setx 0xa1cf5753eb83d44c, %g2, %g1 | |
7025 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7026 | sub %g1, 100, %g1 | |
7027 | .word 0xb1800001 ! 391: WR_STICK_REG_R wr %r0, %r1, %- | |
7028 | setx 0x1d42d7339e5b8950, %r1, %r28 | |
7029 | stxa %r28, [%g0] 0x73 | |
7030 | intvec_5_223: | |
7031 | .word 0x39400001 ! 392: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7032 | .word 0x9ad03aad ! 393: UMULcc_I umulcc %r0, 0xfffffaad, %r13 | |
7033 | .word 0xd697e030 ! 394: LDUHA_I lduha [%r31, + 0x0030] %asi, %r11 | |
7034 | .word 0x20700001 ! 395: BPN <illegal instruction> | |
7035 | .word 0x83d020b5 ! 396: Tcc_I te icc_or_xcc, %r0 + 181 | |
7036 | .word 0xa3703ad5 ! 397: POPC_I popc 0x1ad5, %r17 | |
7037 | splash_lsu_5_224: | |
7038 | setx 0xb8a29e2108d629bf, %r1, %r2 | |
7039 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7040 | .word 0x3d400001 ! 398: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7041 | .word 0x87902372 ! 399: WRPR_TT_I wrpr %r0, 0x0372, %tt | |
7042 | splash_cmpr_5_225: | |
7043 | setx 0x49393c7d7e5bca8c, %g2, %g1 | |
7044 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
7045 | sub %g1, 100, %g1 | |
7046 | .word 0xb1800001 ! 400: WR_STICK_REG_R wr %r0, %r1, %- | |
7047 | memptr_5_226: | |
7048 | set 0x60540000, %r31 | |
7049 | .word 0x8581a9c5 ! 401: WRCCR_I wr %r6, 0x09c5, %ccr | |
7050 | cwp_5_227: | |
7051 | set user_data_start, %o7 | |
7052 | .word 0x93902000 ! 402: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
7053 | .word 0x9f802eb6 ! 403: SIR sir 0x0eb6 | |
7054 | mondo_5_228: | |
7055 | nop | |
7056 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7057 | ||
7058 | stxa %r7, [%r0+0x3e0] %asi | |
7059 | .word 0x9d90c013 ! 404: WRPR_WSTATE_R wrpr %r3, %r19, %wstate | |
7060 | .word 0xab837e0c ! 405: WR_CLEAR_SOFTINT_I wr %r13, 0x1e0c, %clear_softint | |
7061 | .word 0xa1902001 ! 406: WRPR_GL_I wrpr %r0, 0x0001, %- | |
7062 | DS_5_229: | |
7063 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
7064 | .word 0xbfefc000 ! 407: RESTORE_R restore %r31, %r0, %r31 | |
7065 | tagged_5_230: | |
7066 | tsubcctv %r3, 0x15b3, %r26 | |
7067 | .word 0xe207f5d2 ! 408: LDUW_I lduw [%r31 + 0xfffff5d2], %r17 | |
7068 | .word 0x91540000 ! 409: RDPR_GL rdpr %-, %r8 | |
7069 | mondo_5_231: | |
7070 | nop | |
7071 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7072 | ||
7073 | stxa %r10, [%r0+0x3e8] %asi | |
7074 | .word 0x9d90c001 ! 410: WRPR_WSTATE_R wrpr %r3, %r1, %wstate | |
7075 | debug_5_232: | |
7076 | nop | |
7077 | rd %pc, %r19 | |
7078 | add %r19, (64+8), %r19 | |
7079 | mov 0x38, %r18 | |
7080 | .word 0xe6f00b12 ! 411: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7081 | splash_cmpr_5_233: | |
7082 | setx 0x452cb66fa3cdacad, %g2, %g1 | |
7083 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
7084 | sub %g1, 100, %g1 | |
7085 | .word 0xb1800001 ! 412: WR_STICK_REG_R wr %r0, %r1, %- | |
7086 | mov (5+1), %r10 | |
7087 | ta T_CHANGE_HPRIV | |
7088 | set sync_thr_counter2, %r23 | |
7089 | cas [%r23],%g0,%r10 !lock | |
7090 | brnz %r10, sma_5_234 | |
7091 | rd %asi, %r12 | |
7092 | wr %g0, 0x40, %asi | |
7093 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
7094 | set 0x21fff, %g1 | |
7095 | stxa %g1, [%g0 + 0x80] %asi | |
7096 | wr %r12, %g0, %asi | |
7097 | st %g0, [%r23] | |
7098 | sma_5_234: | |
7099 | ta T_CHANGE_NONHPRIV | |
7100 | .word 0xd9e7e014 ! 413: CASA_R casa [%r31] %asi, %r20, %r12 | |
7101 | .word 0xd927c000 ! 414: STF_R st %f12, [%r0, %r31] | |
7102 | debug_5_235: | |
7103 | nop | |
7104 | rd %pc, %r19 | |
7105 | add %r19, (64+24), %r19 | |
7106 | mov 0x38, %r18 | |
7107 | .word 0xe6f00b12 ! 415: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7108 | .word 0x879021de ! 416: WRPR_TT_I wrpr %r0, 0x01de, %tt | |
7109 | debug_5_236: | |
7110 | nop | |
7111 | mov 0x38, %r18 | |
7112 | .word 0xfef00b12 ! 417: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7113 | mondo_5_237: | |
7114 | nop | |
7115 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7116 | ||
7117 | stxa %r12, [%r0+0x3c8] %asi | |
7118 | .word 0x9d90c006 ! 418: WRPR_WSTATE_R wrpr %r3, %r6, %wstate | |
7119 | tagged_5_238: | |
7120 | tsubcctv %r12, 0x16dc, %r24 | |
7121 | .word 0xd807f5d2 ! 419: LDUW_I lduw [%r31 + 0xfffff5d2], %r12 | |
7122 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
7123 | ta T_CHANGE_NONHPRIV ! macro | |
7124 | .word 0x996b79e1 ! 420: SDIVX_I sdivx %r13, 0xfffff9e1, %r12 | |
7125 | .word 0x87902312 ! 421: WRPR_TT_I wrpr %r0, 0x0312, %tt | |
7126 | .word 0x91d02035 ! 422: Tcc_I ta icc_or_xcc, %r0 + 53 | |
7127 | .word 0xd8d80e40 ! 423: LDXA_R ldxa [%r0, %r0] 0x72, %r12 | |
7128 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
7129 | ta T_CHANGE_NONPRIV ! macro | |
7130 | .word 0x996b7305 ! 424: SDIVX_I sdivx %r13, 0xfffff305, %r12 | |
7131 | rd %pc, %r19 | |
7132 | add %r19, (ivw_5_241-.+48), %r19 | |
7133 | mov 0x38, %r18 | |
7134 | stxa %r19, [%r18]0x58 | |
7135 | ivw_5_241: | |
7136 | .word 0x9193400a ! 425: WRPR_PIL_R wrpr %r13, %r10, %pil | |
7137 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
7138 | ta T_CHANGE_NONPRIV ! macro | |
7139 | .word 0xa96c3404 ! 426: SDIVX_I sdivx %r16, 0xfffff404, %r20 | |
7140 | splash_cmpr_5_243: | |
7141 | setx 0x3235e2458eb08aaf, %g2, %g1 | |
7142 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
7143 | sub %g1, 100, %g1 | |
7144 | .word 0xb1800001 ! 427: WR_STICK_REG_R wr %r0, %r1, %- | |
7145 | splash_cmpr_5_244: | |
7146 | setx 0x065b2cc0f769aa62, %g2, %g1 | |
7147 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7148 | sub %g1, 100, %g1 | |
7149 | .word 0xb1800001 ! 428: WR_STICK_REG_R wr %r0, %r1, %- | |
7150 | .word 0x9b690009 ! 429: SDIVX_R sdivx %r4, %r9, %r13 | |
7151 | setx 0x4fa006a2e38bcda6, %r1, %r28 | |
7152 | stxa %r28, [%g0] 0x73 | |
7153 | intvec_5_245: | |
7154 | .word 0x39400001 ! 430: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7155 | DS_5_246: | |
7156 | nop | |
7157 | not %g0, %r12 | |
7158 | jmp %r12 | |
7159 | .word 0x9d902000 ! 431: WRPR_WSTATE_I wrpr %r0, 0x0000, %wstate | |
7160 | pmu_5_247: | |
7161 | nop | |
7162 | setx 0xfffff323fffff77e, %g1, %g7 | |
7163 | .word 0xa3800007 ! 432: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
7164 | change_to_randtl_5_248: | |
7165 | ta T_CHANGE_PRIV ! macro | |
7166 | done_change_to_randtl_5_248: | |
7167 | .word 0x8f902002 ! 433: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7168 | .word 0xe257c000 ! 434: LDSH_R ldsh [%r31 + %r0], %r17 | |
7169 | .word 0xa1902006 ! 435: WRPR_GL_I wrpr %r0, 0x0006, %- | |
7170 | mov (5+1), %r10 | |
7171 | ta T_CHANGE_HPRIV | |
7172 | set sync_thr_counter2, %r23 | |
7173 | cas [%r23],%g0,%r10 !lock | |
7174 | brnz %r10, sma_5_249 | |
7175 | rd %asi, %r12 | |
7176 | wr %g0, 0x40, %asi | |
7177 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
7178 | set 0x21fff, %g1 | |
7179 | stxa %g1, [%g0 + 0x80] %asi | |
7180 | wr %r12, %g0, %asi | |
7181 | st %g0, [%r23] | |
7182 | sma_5_249: | |
7183 | ta T_CHANGE_NONHPRIV | |
7184 | .word 0xe3e7e00b ! 436: CASA_R casa [%r31] %asi, %r11, %r17 | |
7185 | splash_lsu_5_250: | |
7186 | setx 0xc26f4fdbc29480a3, %r1, %r2 | |
7187 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7188 | .word 0x3d400001 ! 437: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7189 | .word 0xe28008a0 ! 438: LDUWA_R lduwa [%r0, %r0] 0x45, %r17 | |
7190 | splash_lsu_5_251: | |
7191 | setx 0x0c46881db4665025, %r1, %r2 | |
7192 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7193 | .word 0x3d400001 ! 439: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7194 | splash_cmpr_5_252: | |
7195 | setx 0x0bffe8e06e564f23, %g2, %g1 | |
7196 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7197 | sub %g1, 100, %g1 | |
7198 | .word 0xb1800001 ! 440: WR_STICK_REG_R wr %r0, %r1, %- | |
7199 | nop | |
7200 | mov 0x80, %g3 | |
7201 | stxa %g3, [%g3] 0x5f | |
7202 | .word 0xe25fc000 ! 441: LDX_R ldx [%r31 + %r0], %r17 | |
7203 | .word 0x91540000 ! 442: RDPR_GL <illegal instruction> | |
7204 | ta T_CHANGE_HPRIV | |
7205 | mov (5+1), %r10 | |
7206 | set sync_thr_counter1, %r23 | |
7207 | cas [%r23],%g0,%r10 !lock | |
7208 | brnz %r10, cwq_5_253 | |
7209 | rd %asi, %r12 | |
7210 | wr %g0, 0x40, %asi | |
7211 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7212 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7213 | cmp %l1, 1 | |
7214 | bne cwq_5_253 | |
7215 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7216 | sub %l2, 0x40, %l2 | |
7217 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7218 | wr %r12, %g0, %asi | |
7219 | st %g0, [%r23] | |
7220 | cwq_5_253: | |
7221 | ta T_CHANGE_NONHPRIV | |
7222 | .word 0x91414000 ! 443: RDPC rd %pc, %r8 | |
7223 | splash_htba_5_254: | |
7224 | set 0x80000, %r12 | |
7225 | st %r1, [%r12+%r0] | |
7226 | ta T_CHANGE_HPRIV | |
7227 | set 0x80000, %r12 | |
7228 | .word 0x8b98000c ! 444: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
7229 | tagged_5_255: | |
7230 | taddcctv %r12, 0x1e89, %r16 | |
7231 | .word 0xd807f183 ! 445: LDUW_I lduw [%r31 + 0xfffff183], %r12 | |
7232 | memptr_5_256: | |
7233 | set 0x60340000, %r31 | |
7234 | .word 0x8584668e ! 446: WRCCR_I wr %r17, 0x068e, %ccr | |
7235 | tagged_5_257: | |
7236 | taddcctv %r9, 0x111c, %r15 | |
7237 | .word 0xd807e3fe ! 447: LDUW_I lduw [%r31 + 0x03fe], %r12 | |
7238 | .word 0xd91fe3fe ! 448: LDDF_I ldd [%r31, 0x03fe], %f12 | |
7239 | .word 0x8780208a ! 449: WRASI_I wr %r0, 0x008a, %asi | |
7240 | splash_tba_5_258: | |
7241 | set 0x003f0000, %r12 | |
7242 | st %r1, [%r12+%r0] | |
7243 | ta T_CHANGE_PRIV | |
7244 | set 0x003f0000, %r12 | |
7245 | .word 0x8b90000c ! 450: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7246 | .word 0x9b6c8005 ! 451: SDIVX_R sdivx %r18, %r5, %r13 | |
7247 | rd %pc, %r19 | |
7248 | add %r19, (ivw_5_259-.+16), %r19 | |
7249 | mov 0x38, %r18 | |
7250 | stxa %r19, [%r18]0x58 | |
7251 | ivw_5_259: | |
7252 | .word 0x91918012 ! 452: WRPR_PIL_R wrpr %r6, %r18, %pil | |
7253 | rd %pc, %r19 | |
7254 | add %r19, (ivw_5_260-.+40), %r19 | |
7255 | mov 0x38, %r18 | |
7256 | stxa %r19, [%r18]0x58 | |
7257 | ivw_5_260: | |
7258 | .word 0x91924002 ! 453: WRPR_PIL_R wrpr %r9, %r2, %pil | |
7259 | ta T_CHANGE_HPRIV | |
7260 | mov (5+1), %r10 | |
7261 | set sync_thr_counter1, %r23 | |
7262 | cas [%r23],%g0,%r10 !lock | |
7263 | brnz %r10, cwq_5_261 | |
7264 | rd %asi, %r12 | |
7265 | wr %g0, 0x40, %asi | |
7266 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7267 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7268 | cmp %l1, 1 | |
7269 | bne cwq_5_261 | |
7270 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7271 | sub %l2, 0x40, %l2 | |
7272 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7273 | wr %r12, %g0, %asi | |
7274 | st %g0, [%r23] | |
7275 | cwq_5_261: | |
7276 | ta T_CHANGE_NONHPRIV | |
7277 | .word 0x95414000 ! 454: RDPC rd %pc, %r10 | |
7278 | invalw | |
7279 | mov 0x30, %r30 | |
7280 | .word 0x93d0001e ! 455: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
7281 | splash_cmpr_5_262: | |
7282 | setx 0x9f5c5fc9bf4540b9, %g2, %g1 | |
7283 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7284 | sub %g1, 100, %g1 | |
7285 | .word 0xb1800001 ! 456: WR_STICK_REG_R wr %r0, %r1, %- | |
7286 | .word 0x93d02033 ! 457: Tcc_I tne icc_or_xcc, %r0 + 51 | |
7287 | DS_5_263: | |
7288 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
7289 | .word 0xdb30ae26 ! 1: STQF_I - %f13, [0x0e26, %r2] | |
7290 | normalw | |
7291 | .word 0x91458000 ! 458: RD_SOFTINT_REG rd %softint, %r8 | |
7292 | memptr_5_264: | |
7293 | set user_data_start, %r31 | |
7294 | .word 0x85812756 ! 459: WRCCR_I wr %r4, 0x0756, %ccr | |
7295 | debug_5_265: | |
7296 | nop | |
7297 | rd %pc, %r19 | |
7298 | add %r19, (64+40), %r19 | |
7299 | mov 0x38, %r18 | |
7300 | .word 0xe6f00b12 ! 460: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7301 | .word 0xe527f6cd ! 461: STF_I st %f18, [0x16cd, %r31] | |
7302 | splash_cmpr_5_266: | |
7303 | setx 0x6c75b9e91516bbf8, %g2, %g1 | |
7304 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7305 | sub %g1, 100, %g1 | |
7306 | .word 0xb1800001 ! 462: WR_STICK_REG_R wr %r0, %r1, %- | |
7307 | .word 0xa7a509c0 ! 463: FDIVd fdivd %f20, %f0, %f50 | |
7308 | splash_htba_5_267: | |
7309 | set 0x003b0000, %r12 | |
7310 | ld [%r12+%r0], %r1 | |
7311 | ta T_CHANGE_HPRIV | |
7312 | set 0x003b0000, %r12 | |
7313 | .word 0x8b98000c ! 464: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
7314 | .word 0xd6c7e000 ! 465: LDSWA_I ldswa [%r31, + 0x0000] %asi, %r11 | |
7315 | splash_lsu_5_268: | |
7316 | setx 0x2be68a86de8c7089, %r1, %r2 | |
7317 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7318 | .word 0x3d400001 ! 466: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7319 | setx 0x9522fe2970bc09f9, %r1, %r28 | |
7320 | stxa %r28, [%g0] 0x73 | |
7321 | intvec_5_269: | |
7322 | .word 0x39400001 ! 467: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7323 | .word 0x99480000 ! 468: RDHPR_HPSTATE rdhpr %hpstate, %r12 | |
7324 | splash_cmpr_5_270: | |
7325 | setx 0xf2e650094e6f311c, %g2, %g1 | |
7326 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7327 | sub %g1, 100, %g1 | |
7328 | .word 0xb1800001 ! 469: WR_STICK_REG_R wr %r0, %r1, %- | |
7329 | .word 0x36700001 ! 470: BPGE <illegal instruction> | |
7330 | DS_5_271: | |
7331 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
7332 | .word 0xbfefc000 ! 471: RESTORE_R restore %r31, %r0, %r31 | |
7333 | .word 0xd4d7e000 ! 472: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r10 | |
7334 | DS_5_272: | |
7335 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
7336 | .word 0x99a4c9d2 ! 1: FDIVd fdivd %f50, %f18, %f12 | |
7337 | normalw | |
7338 | .word 0xa3458000 ! 473: RD_SOFTINT_REG rd %softint, %r17 | |
7339 | .word 0x8790229a ! 474: WRPR_TT_I wrpr %r0, 0x029a, %tt | |
7340 | splash_cmpr_5_273: | |
7341 | setx 0x3e1467a60deb88fa, %g2, %g1 | |
7342 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
7343 | sub %g1, 100, %g1 | |
7344 | .word 0xb1800001 ! 475: WR_STICK_REG_R wr %r0, %r1, %- | |
7345 | DS_5_274: | |
7346 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
7347 | pdist %f6, %f14, %f6 | |
7348 | .word 0xa1b30308 ! 476: ALIGNADDRESS alignaddr %r12, %r8, %r16 | |
7349 | .word 0x8d902779 ! 477: WRPR_PSTATE_I wrpr %r0, 0x0779, %pstate | |
7350 | mondo_5_275: | |
7351 | nop | |
7352 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7353 | ||
7354 | stxa %r16, [%r0+0x3d0] %asi | |
7355 | .word 0x9d904010 ! 478: WRPR_WSTATE_R wrpr %r1, %r16, %wstate | |
7356 | .word 0xda8008a0 ! 479: LDUWA_R lduwa [%r0, %r0] 0x45, %r13 | |
7357 | tagged_5_276: | |
7358 | tsubcctv %r2, 0x198b, %r25 | |
7359 | .word 0xda07f6cd ! 480: LDUW_I lduw [%r31 + 0xfffff6cd], %r13 | |
7360 | splash_htba_5_277: | |
7361 | set 0x80000, %r12 | |
7362 | ld [%r12+%r0], %r1 | |
7363 | ta T_CHANGE_HPRIV | |
7364 | set 0x80000, %r12 | |
7365 | .word 0x8b98000c ! 481: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
7366 | .word 0x3c700001 ! 482: BPPOS <illegal instruction> | |
7367 | .word 0x95450000 ! 483: RD_SET_SOFTINT rd %set_softint, %r10 | |
7368 | .word 0xd0cfe010 ! 484: LDSBA_I ldsba [%r31, + 0x0010] %asi, %r8 | |
7369 | nop | |
7370 | mov 0x80, %g3 | |
7371 | stxa %g3, [%g3] 0x57 | |
7372 | .word 0xd05fc000 ! 485: LDX_R ldx [%r31 + %r0], %r8 | |
7373 | splash_cmpr_5_278: | |
7374 | setx 0xfeeece227644139c, %g2, %g1 | |
7375 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7376 | sub %g1, 100, %g1 | |
7377 | .word 0xb1800001 ! 486: WR_STICK_REG_R wr %r0, %r1, %- | |
7378 | otherw | |
7379 | mov 0x34, %r30 | |
7380 | .word 0x91d0001e ! 487: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
7381 | cwp_5_279: | |
7382 | set user_data_start, %o7 | |
7383 | .word 0x93902001 ! 488: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
7384 | .word 0x9f802867 ! 489: SIR sir 0x0867 | |
7385 | cwp_5_280: | |
7386 | set user_data_start, %o7 | |
7387 | .word 0x93902007 ! 490: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
7388 | change_to_randtl_5_281: | |
7389 | ta T_CHANGE_HPRIV ! macro | |
7390 | done_change_to_randtl_5_281: | |
7391 | .word 0x8f902002 ! 491: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7392 | donret_5_282: | |
7393 | nop | |
7394 | rd %pc, %r12 | |
7395 | add %r12, (donretarg_5_282-donret_5_282), %r12 | |
7396 | mov 0x38, %r18 | |
7397 | stxa %r12, [%r18]0x58 | |
7398 | add %r12, 0x4, %r11 | |
7399 | wrpr %g0, 0x2, %tl | |
7400 | wrpr %g0, %r12, %tpc | |
7401 | wrpr %g0, %r11, %tnpc | |
7402 | wrpr %g0, %r13, %tstate | |
7403 | wrhpr %g0, %r14, %htstate | |
7404 | retry | |
7405 | donretarg_5_282: | |
7406 | .word 0xd0fff0df ! 492: SWAPA_I swapa %r8, [%r31 + 0xfffff0df] %asi | |
7407 | .word 0x91d02034 ! 493: Tcc_I ta icc_or_xcc, %r0 + 52 | |
7408 | .word 0x36800001 ! 494: BGE bge,a <label_0x1> | |
7409 | splash_cmpr_5_283: | |
7410 | setx 0x72b52de7ece8b868, %g2, %g1 | |
7411 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
7412 | sub %g1, 100, %g1 | |
7413 | .word 0xb1800001 ! 495: WR_STICK_REG_R wr %r0, %r1, %- | |
7414 | splash_lsu_5_284: | |
7415 | setx 0x588de74376930fe3, %r1, %r2 | |
7416 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7417 | .word 0x3d400001 ! 496: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7418 | splash_tba_5_285: | |
7419 | set 0x003f0000, %r12 | |
7420 | ld [%r12+%r0], %r1 | |
7421 | ta T_CHANGE_PRIV | |
7422 | set 0x003f0000, %r12 | |
7423 | .word 0x8b90000c ! 497: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7424 | tagged_5_286: | |
7425 | tsubcctv %r18, 0x1d42, %r4 | |
7426 | .word 0xd007f0df ! 498: LDUW_I lduw [%r31 + 0xfffff0df], %r8 | |
7427 | nop | |
7428 | nop | |
7429 | setx join_lbl_0_0, %g1, %g2 | |
7430 | jmp %g2 | |
7431 | nop | |
7432 | fork_lbl_0_5: | |
7433 | .word 0x26700001 ! 1: BPL <illegal instruction> | |
7434 | memptr_4_0: | |
7435 | set user_data_start, %r31 | |
7436 | .word 0x85836593 ! 2: WRCCR_I wr %r13, 0x0593, %ccr | |
7437 | DS_4_1: | |
7438 | nop | |
7439 | not %g0, %r12 | |
7440 | jmp %r12 | |
7441 | .word 0x9d902002 ! 3: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
7442 | .word 0xe46ffa57 ! 4: LDSTUB_I ldstub %r18, [%r31 + 0xfffffa57] | |
7443 | .word 0xa190200b ! 5: WRPR_GL_I wrpr %r0, 0x000b, %- | |
7444 | change_to_randtl_4_2: | |
7445 | ta T_CHANGE_PRIV ! macro | |
7446 | done_change_to_randtl_4_2: | |
7447 | .word 0x8f902002 ! 6: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7448 | splash_cmpr_4_3: | |
7449 | setx 0xfc9128da29745422, %g2, %g1 | |
7450 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
7451 | sub %g1, 100, %g1 | |
7452 | .word 0xb1800001 ! 7: WR_STICK_REG_R wr %r0, %r1, %- | |
7453 | mondo_4_4: | |
7454 | nop | |
7455 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7456 | ||
7457 | stxa %r18, [%r0+0x3c0] %asi | |
7458 | .word 0x9d904012 ! 8: WRPR_WSTATE_R wrpr %r1, %r18, %wstate | |
7459 | .word 0x8780201c ! 9: WRASI_I wr %r0, 0x001c, %asi | |
7460 | donret_4_5: | |
7461 | nop | |
7462 | rd %pc, %r12 | |
7463 | add %r12, (donretarg_4_5-donret_4_5-4), %r12 | |
7464 | mov 0x38, %r18 | |
7465 | stxa %r12, [%r18]0x58 | |
7466 | add %r12, 0x4, %r11 | |
7467 | wrpr %g0, 0x3, %tl | |
7468 | wrpr %g0, %r12, %tpc | |
7469 | wrpr %g0, %r11, %tnpc | |
7470 | wrpr %g0, %r13, %tstate | |
7471 | wrhpr %g0, %r14, %htstate | |
7472 | done | |
7473 | donretarg_4_5: | |
7474 | .word 0xe4fffa57 ! 10: SWAPA_I swapa %r18, [%r31 + 0xfffffa57] %asi | |
7475 | change_to_randtl_4_6: | |
7476 | ta T_CHANGE_PRIV ! macro | |
7477 | done_change_to_randtl_4_6: | |
7478 | .word 0x8f902000 ! 11: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
7479 | cwp_4_7: | |
7480 | set user_data_start, %o7 | |
7481 | .word 0x93902000 ! 12: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
7482 | .word 0x2e700001 ! 13: BPVS <illegal instruction> | |
7483 | splash_lsu_4_8: | |
7484 | setx 0xab76c19ed7042dcf, %r1, %r2 | |
7485 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7486 | .word 0x3d400001 ! 14: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7487 | .word 0x8d9028c3 ! 15: WRPR_PSTATE_I wrpr %r0, 0x08c3, %pstate | |
7488 | .word 0x8790212d ! 16: WRPR_TT_I wrpr %r0, 0x012d, %tt | |
7489 | ta T_CHANGE_HPRIV | |
7490 | mov (4+1), %r10 | |
7491 | set sync_thr_counter1, %r23 | |
7492 | cas [%r23],%g0,%r10 !lock | |
7493 | brnz %r10, cwq_4_9 | |
7494 | rd %asi, %r12 | |
7495 | wr %g0, 0x40, %asi | |
7496 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7497 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7498 | cmp %l1, 1 | |
7499 | bne cwq_4_9 | |
7500 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7501 | sub %l2, 0x40, %l2 | |
7502 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7503 | wr %r12, %g0, %asi | |
7504 | st %g0, [%r23] | |
7505 | cwq_4_9: | |
7506 | ta T_CHANGE_NONHPRIV | |
7507 | .word 0x91414000 ! 17: RDPC rd %pc, %r8 | |
7508 | .word 0xd8c804a0 ! 18: LDSBA_R ldsba [%r0, %r0] 0x25, %r12 | |
7509 | debug_4_10: | |
7510 | nop | |
7511 | rd %pc, %r19 | |
7512 | add %r19, (64+16), %r19 | |
7513 | mov 0x38, %r18 | |
7514 | .word 0xe6f00b12 ! 19: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7515 | .word 0xd84fc000 ! 20: LDSB_R ldsb [%r31 + %r0], %r12 | |
7516 | cwp_4_11: | |
7517 | set user_data_start, %o7 | |
7518 | .word 0x93902007 ! 21: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
7519 | .word 0x9b45c000 ! 22: RD_TICK_CMPR_REG rd %-, %r13 | |
7520 | .word 0x8d903ba6 ! 23: WRPR_PSTATE_I wrpr %r0, 0x1ba6, %pstate | |
7521 | splash_lsu_4_12: | |
7522 | setx 0x729a39a511a3555b, %r1, %r2 | |
7523 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7524 | .word 0x3d400001 ! 24: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7525 | .word 0xa1902000 ! 25: WRPR_GL_I wrpr %r0, 0x0000, %- | |
7526 | .word 0x95a00172 ! 26: FABSq dis not found | |
7527 | ||
7528 | splash_lsu_4_13: | |
7529 | setx 0x480340c6d5773d5f, %r1, %r2 | |
7530 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7531 | .word 0x3d400001 ! 27: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7532 | memptr_4_14: | |
7533 | set 0x60740000, %r31 | |
7534 | .word 0x85847844 ! 28: WRCCR_I wr %r17, 0x1844, %ccr | |
7535 | splash_hpstate_4_15: | |
7536 | .word 0x81982215 ! 29: WRHPR_HPSTATE_I wrhpr %r0, 0x0215, %hpstate | |
7537 | .word 0x9b464000 ! 30: RD_STICK_CMPR_REG rd %-, %r13 | |
7538 | .word 0x91d020b5 ! 31: Tcc_I ta icc_or_xcc, %r0 + 181 | |
7539 | debug_4_16: | |
7540 | nop | |
7541 | rd %pc, %r19 | |
7542 | add %r19, (64+8), %r19 | |
7543 | mov 0x38, %r18 | |
7544 | .word 0xe6f00b12 ! 32: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7545 | cwp_4_17: | |
7546 | set user_data_start, %o7 | |
7547 | .word 0x93902005 ! 33: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
7548 | .word 0xe4880e60 ! 34: LDUBA_R lduba [%r0, %r0] 0x73, %r18 | |
7549 | splash_hpstate_4_18: | |
7550 | .word 0x81982965 ! 35: WRHPR_HPSTATE_I wrhpr %r0, 0x0965, %hpstate | |
7551 | cwp_4_19: | |
7552 | set user_data_start, %o7 | |
7553 | .word 0x93902000 ! 36: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
7554 | ta T_CHANGE_HPRIV | |
7555 | mov (4+1), %r10 | |
7556 | set sync_thr_counter1, %r23 | |
7557 | cas [%r23],%g0,%r10 !lock | |
7558 | brnz %r10, cwq_4_20 | |
7559 | rd %asi, %r12 | |
7560 | wr %g0, 0x40, %asi | |
7561 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7562 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7563 | cmp %l1, 1 | |
7564 | bne cwq_4_20 | |
7565 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7566 | sub %l2, 0x40, %l2 | |
7567 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7568 | wr %r12, %g0, %asi | |
7569 | st %g0, [%r23] | |
7570 | cwq_4_20: | |
7571 | ta T_CHANGE_NONHPRIV | |
7572 | .word 0x97414000 ! 37: RDPC rd %pc, %r11 | |
7573 | .word 0x87802004 ! 38: WRASI_I wr %r0, 0x0004, %asi | |
7574 | DS_4_21: | |
7575 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
7576 | allclean | |
7577 | .word 0xa9b44311 ! 39: ALIGNADDRESS alignaddr %r17, %r17, %r20 | |
7578 | .word 0xe80ffaea ! 40: LDUB_I ldub [%r31 + 0xfffffaea], %r20 | |
7579 | .word 0x8d9026e6 ! 41: WRPR_PSTATE_I wrpr %r0, 0x06e6, %pstate | |
7580 | .word 0xe8c80e60 ! 42: LDSBA_R ldsba [%r0, %r0] 0x73, %r20 | |
7581 | debug_4_22: | |
7582 | nop | |
7583 | rd %pc, %r19 | |
7584 | add %r19, (64+40), %r19 | |
7585 | mov 0x38, %r18 | |
7586 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7587 | mondo_4_23: | |
7588 | nop | |
7589 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7590 | ||
7591 | stxa %r9, [%r0+0x3e8] %asi | |
7592 | .word 0x9d918006 ! 44: WRPR_WSTATE_R wrpr %r6, %r6, %wstate | |
7593 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_24) + 48, 16, 16)) -> intp(4,0,21) | |
7594 | intvec_4_24: | |
7595 | .word 0x39400001 ! 45: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7596 | .word 0x8d902189 ! 46: WRPR_PSTATE_I wrpr %r0, 0x0189, %pstate | |
7597 | .word 0xab82e9e1 ! 47: WR_CLEAR_SOFTINT_I wr %r11, 0x09e1, %clear_softint | |
7598 | memptr_4_25: | |
7599 | set 0x60340000, %r31 | |
7600 | .word 0x8584ae3c ! 48: WRCCR_I wr %r18, 0x0e3c, %ccr | |
7601 | .word 0xe927c000 ! 49: STF_R st %f20, [%r0, %r31] | |
7602 | splash_hpstate_4_26: | |
7603 | .word 0x8198298f ! 50: WRHPR_HPSTATE_I wrhpr %r0, 0x098f, %hpstate | |
7604 | .word 0xe89004a0 ! 51: LDUHA_R lduha [%r0, %r0] 0x25, %r20 | |
7605 | .word 0x8d902220 ! 52: WRPR_PSTATE_I wrpr %r0, 0x0220, %pstate | |
7606 | .word 0x91d02033 ! 53: Tcc_I ta icc_or_xcc, %r0 + 51 | |
7607 | debug_4_27: | |
7608 | nop | |
7609 | mov 8, %r18 | |
7610 | ta T_CHANGE_HPRIV | |
7611 | rd %asi, %r12 | |
7612 | wr %r0, 0x41, %asi | |
7613 | set sync_thr_counter, %r23 | |
7614 | debug_startwait4_27: | |
7615 | mov 0x4, %r2 | |
7616 | cas [%r23],%g0,%r2 !lock | |
7617 | brz,a %r2, continue_debug_4_27 | |
7618 | nop | |
7619 | debug_wait4_27: | |
7620 | ld [%r23], %r2 | |
7621 | brnz %r2, debug_wait4_27 | |
7622 | nop | |
7623 | ba,a debug_startwait4_27 | |
7624 | continue_debug_4_27: | |
7625 | mov 0xe0, %r2 | |
7626 | ldxa [0x50]%asi, %r13 !Running_rw | |
7627 | ldxa [0x58]%asi, %r15 !Running_status | |
7628 | wait_for_stat_4_27: | |
7629 | cmp %r13, %r15 | |
7630 | bne,a wait_for_stat_4_27 | |
7631 | ldxa [0x58]%asi, %r15 !Running_status | |
7632 | stxa %r2, [0x68]%asi | |
7633 | ldxa [0x50]%asi, %r14 !Running_rw | |
7634 | wait_for_debug_4_27: | |
7635 | ldxa [0x58]%asi, %r15 !Running_status | |
7636 | cmp %r14, %r15 | |
7637 | bne,a wait_for_debug_4_27 | |
7638 | ldxa [0x50]%asi, %r14 !Running_rw | |
7639 | stxa %9, [%r18]0x42 | |
7640 | stxa %r13, [0x50] %asi ! Running_rw | |
7641 | st %g0, [%r23] !clear lock | |
7642 | wr %r0, %r12, %asi ! restore %asi | |
7643 | .word 0xe6f00492 ! 54: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
7644 | .word 0xe81fc000 ! 55: LDD_R ldd [%r31 + %r0], %r20 | |
7645 | ta T_CHANGE_HPRIV | |
7646 | mov (4+1), %r10 | |
7647 | set sync_thr_counter1, %r23 | |
7648 | cas [%r23],%g0,%r10 !lock | |
7649 | brnz %r10, cwq_4_28 | |
7650 | rd %asi, %r12 | |
7651 | wr %g0, 0x40, %asi | |
7652 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7653 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7654 | cmp %l1, 1 | |
7655 | bne cwq_4_28 | |
7656 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7657 | sub %l2, 0x40, %l2 | |
7658 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7659 | wr %r12, %g0, %asi | |
7660 | st %g0, [%r23] | |
7661 | cwq_4_28: | |
7662 | ta T_CHANGE_NONHPRIV | |
7663 | .word 0xa9414000 ! 56: RDPC rd %pc, %r20 | |
7664 | .word 0x87902068 ! 57: WRPR_TT_I wrpr %r0, 0x0068, %tt | |
7665 | .word 0xa6d9c00c ! 58: SMULcc_R smulcc %r7, %r12, %r19 | |
7666 | setx 0x562ef9f3b7dcdf5b, %r1, %r28 | |
7667 | stxa %r28, [%g0] 0x73 | |
7668 | intvec_4_29: | |
7669 | .word 0x39400001 ! 59: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7670 | splash_hpstate_4_30: | |
7671 | .word 0x81982d5d ! 60: WRHPR_HPSTATE_I wrhpr %r0, 0x0d5d, %hpstate | |
7672 | .word 0xa190200c ! 61: WRPR_GL_I wrpr %r0, 0x000c, %- | |
7673 | splash_hpstate_4_31: | |
7674 | .word 0x81982304 ! 62: WRHPR_HPSTATE_I wrhpr %r0, 0x0304, %hpstate | |
7675 | donret_4_32: | |
7676 | nop | |
7677 | rd %pc, %r12 | |
7678 | add %r12, (donretarg_4_32-donret_4_32), %r12 | |
7679 | mov 0x38, %r18 | |
7680 | stxa %r12, [%r18]0x58 | |
7681 | add %r12, 0x4, %r11 | |
7682 | wrpr %g0, 0x2, %tl | |
7683 | wrpr %g0, %r12, %tpc | |
7684 | wrpr %g0, %r11, %tnpc | |
7685 | wrpr %g0, %r13, %tstate | |
7686 | wrhpr %g0, %r14, %htstate | |
7687 | retry | |
7688 | donretarg_4_32: | |
7689 | .word 0xd8ffe315 ! 63: SWAPA_I swapa %r12, [%r31 + 0x0315] %asi | |
7690 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7691 | ta T_CHANGE_NONHPRIV ! macro | |
7692 | .word 0xa3a01963 ! 64: FqTOd dis not found | |
7693 | ||
7694 | .word 0x26700001 ! 65: BPL <illegal instruction> | |
7695 | .word 0xe6c7e030 ! 66: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r19 | |
7696 | .word 0x87802083 ! 67: WRASI_I wr %r0, 0x0083, %asi | |
7697 | mondo_4_34: | |
7698 | nop | |
7699 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7700 | ||
7701 | stxa %r7, [%r0+0x3c8] %asi | |
7702 | .word 0x9d950014 ! 68: WRPR_WSTATE_R wrpr %r20, %r20, %wstate | |
7703 | ta T_CHANGE_HPRIV | |
7704 | mov (4+1), %r10 | |
7705 | set sync_thr_counter1, %r23 | |
7706 | cas [%r23],%g0,%r10 !lock | |
7707 | brnz %r10, cwq_4_35 | |
7708 | rd %asi, %r12 | |
7709 | wr %g0, 0x40, %asi | |
7710 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7711 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7712 | cmp %l1, 1 | |
7713 | bne cwq_4_35 | |
7714 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7715 | sub %l2, 0x40, %l2 | |
7716 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7717 | wr %r12, %g0, %asi | |
7718 | st %g0, [%r23] | |
7719 | cwq_4_35: | |
7720 | ta T_CHANGE_NONHPRIV | |
7721 | .word 0x93414000 ! 69: RDPC rd %pc, %r9 | |
7722 | .word 0x95a18d28 ! 70: FsMULd fsmuld %f6, %f8, %f10 | |
7723 | splash_hpstate_4_36: | |
7724 | .word 0x819827fc ! 71: WRHPR_HPSTATE_I wrhpr %r0, 0x07fc, %hpstate | |
7725 | splash_cmpr_4_37: | |
7726 | setx 0xcf00937035c12255, %g2, %g1 | |
7727 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
7728 | sub %g1, 100, %g1 | |
7729 | .word 0xb1800001 ! 72: WR_STICK_REG_R wr %r0, %r1, %- | |
7730 | splash_cmpr_4_38: | |
7731 | setx 0x003cc7c88cc24ba0, %g2, %g1 | |
7732 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7733 | sub %g1, 100, %g1 | |
7734 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
7735 | .word 0x34700001 ! 74: BPG <illegal instruction> | |
7736 | .word 0x22700001 ! 75: BPE <illegal instruction> | |
7737 | memptr_4_39: | |
7738 | set user_data_start, %r31 | |
7739 | .word 0x8581f3a9 ! 76: WRCCR_I wr %r7, 0x13a9, %ccr | |
7740 | intveclr_4_40: | |
7741 | setx 0x08a6b2bb4ef6d8b8, %r1, %r28 | |
7742 | stxa %r28, [%g0] 0x72 | |
7743 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7744 | .word 0xd2800b00 ! 78: LDUWA_R lduwa [%r0, %r0] 0x58, %r9 | |
7745 | splash_htba_4_41: | |
7746 | set 0x80000, %r12 | |
7747 | ld [%r12+%r0], %r1 | |
7748 | ta T_CHANGE_HPRIV | |
7749 | set 0x80000, %r12 | |
7750 | .word 0x8b98000c ! 79: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
7751 | DS_4_42: | |
7752 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
7753 | .word 0xbfefc000 ! 80: RESTORE_R restore %r31, %r0, %r31 | |
7754 | .word 0x91d02032 ! 81: Tcc_I ta icc_or_xcc, %r0 + 50 | |
7755 | change_to_randtl_4_43: | |
7756 | ta T_CHANGE_HPRIV ! macro | |
7757 | done_change_to_randtl_4_43: | |
7758 | .word 0x8f902002 ! 82: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7759 | .word 0xa1902009 ! 83: WRPR_GL_I wrpr %r0, 0x0009, %- | |
7760 | debug_4_44: | |
7761 | nop | |
7762 | mov 0x38, %r18 | |
7763 | .word 0xfef00b12 ! 84: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7764 | nop | |
7765 | mov 0x80, %g3 | |
7766 | stxa %g3, [%g3] 0x5f | |
7767 | .word 0xd25fc000 ! 85: LDX_R ldx [%r31 + %r0], %r9 | |
7768 | .word 0x91d02033 ! 86: Tcc_I ta icc_or_xcc, %r0 + 51 | |
7769 | memptr_4_45: | |
7770 | set user_data_start, %r31 | |
7771 | .word 0x8580e636 ! 87: WRCCR_I wr %r3, 0x0636, %ccr | |
7772 | .word 0xd2d00e40 ! 88: LDSHA_R ldsha [%r0, %r0] 0x72, %r9 | |
7773 | splash_tba_4_46: | |
7774 | set 0x120000, %r12 | |
7775 | st %r1, [%r12+%r0] | |
7776 | ta T_CHANGE_PRIV | |
7777 | set 0x120000, %r12 | |
7778 | .word 0x8b90000c ! 89: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7779 | setx 0x1a27fef2a764c22e, %r1, %r28 | |
7780 | stxa %r28, [%g0] 0x73 | |
7781 | intvec_4_47: | |
7782 | .word 0x39400001 ! 90: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7783 | .word 0x91d02035 ! 91: Tcc_I ta icc_or_xcc, %r0 + 53 | |
7784 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7785 | ta T_CHANGE_NONPRIV ! macro | |
7786 | .word 0xa36a7ea4 ! 92: SDIVX_I sdivx %r9, 0xfffffea4, %r17 | |
7787 | .word 0x38700001 ! 93: BPGU <illegal instruction> | |
7788 | mondo_4_49: | |
7789 | nop | |
7790 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7791 | ||
7792 | stxa %r18, [%r0+0x3e0] %asi | |
7793 | .word 0x9d92400b ! 94: WRPR_WSTATE_R wrpr %r9, %r11, %wstate | |
7794 | splash_tba_4_50: | |
7795 | set 0x120000, %r12 | |
7796 | st %r1, [%r12+%r0] | |
7797 | ta T_CHANGE_PRIV | |
7798 | set 0x120000, %r12 | |
7799 | .word 0x8b90000c ! 95: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7800 | .word 0x91d020b5 ! 96: Tcc_I ta icc_or_xcc, %r0 + 181 | |
7801 | .word 0x91540000 ! 97: RDPR_GL <illegal instruction> | |
7802 | .word 0x879021f4 ! 98: WRPR_TT_I wrpr %r0, 0x01f4, %tt | |
7803 | .word 0xd8d804a0 ! 99: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
7804 | splash_lsu_4_51: | |
7805 | setx 0xb0e3eef16ed47dc5, %r1, %r2 | |
7806 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7807 | .word 0x3d400001 ! 100: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7808 | rd %pc, %r19 | |
7809 | add %r19, (ivw_4_52-.+0), %r19 | |
7810 | mov 0x38, %r18 | |
7811 | stxa %r19, [%r18]0x58 | |
7812 | ivw_4_52: | |
7813 | .word 0x9193000d ! 101: WRPR_PIL_R wrpr %r12, %r13, %pil | |
7814 | splash_tba_4_53: | |
7815 | set 0x120000, %r12 | |
7816 | ld [%r12+%r0], %r1 | |
7817 | ta T_CHANGE_PRIV | |
7818 | set 0x120000, %r12 | |
7819 | .word 0x8b90000c ! 102: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7820 | DS_4_54: | |
7821 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
7822 | allclean | |
7823 | .word 0x97b18314 ! 103: ALIGNADDRESS alignaddr %r6, %r20, %r11 | |
7824 | cwp_4_55: | |
7825 | set user_data_start, %o7 | |
7826 | .word 0x93902005 ! 104: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
7827 | .word 0x8d90207d ! 105: WRPR_PSTATE_I wrpr %r0, 0x007d, %pstate | |
7828 | .word 0x87802088 ! 106: WRASI_I wr %r0, 0x0088, %asi | |
7829 | DS_4_56: | |
7830 | .word 0xa1a089c7 ! 1: FDIVd fdivd %f2, %f38, %f16 | |
7831 | .word 0xdb46ec5e ! Random illegal ? | |
7832 | .word 0xd514800c ! 1: LDQF_R - [%r18, %r12], %f10 | |
7833 | .word 0x93a20827 ! 107: FADDs fadds %f8, %f7, %f9 | |
7834 | .word 0x87802020 ! 108: WRASI_I wr %r0, 0x0020, %asi | |
7835 | .word 0xa190200c ! 109: WRPR_GL_I wrpr %r0, 0x000c, %- | |
7836 | otherw | |
7837 | mov 0x32, %r30 | |
7838 | .word 0x93d0001e ! 110: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
7839 | splash_cmpr_4_57: | |
7840 | setx 0x144997f6dfa18f45, %g2, %g1 | |
7841 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
7842 | sub %g1, 100, %g1 | |
7843 | .word 0xb1800001 ! 111: WR_STICK_REG_R wr %r0, %r1, %- | |
7844 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_4_58)+0, 16, 16)) -> intp(4,1,3) | |
7845 | xir_4_58: | |
7846 | .word 0xa9812c6f ! 112: WR_SET_SOFTINT_I wr %r4, 0x0c6f, %set_softint | |
7847 | .word 0xd327ee90 ! 113: STF_I st %f9, [0x0e90, %r31] | |
7848 | DS_4_59: | |
7849 | nop | |
7850 | not %g0, %r12 | |
7851 | jmp %r12 | |
7852 | .word 0x9d902005 ! 114: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
7853 | donret_4_60: | |
7854 | nop | |
7855 | rd %pc, %r12 | |
7856 | add %r12, (donretarg_4_60-donret_4_60), %r12 | |
7857 | mov 0x38, %r18 | |
7858 | stxa %r12, [%r18]0x58 | |
7859 | add %r12, 0x4, %r11 | |
7860 | wrpr %g0, 0x2, %tl | |
7861 | wrpr %g0, %r12, %tpc | |
7862 | wrpr %g0, %r11, %tnpc | |
7863 | wrpr %g0, %r13, %tstate | |
7864 | wrhpr %g0, %r14, %htstate | |
7865 | retry | |
7866 | donretarg_4_60: | |
7867 | .word 0xd2ffee90 ! 115: SWAPA_I swapa %r9, [%r31 + 0x0e90] %asi | |
7868 | .word 0xa190200c ! 116: WRPR_GL_I wrpr %r0, 0x000c, %- | |
7869 | .word 0xd297e010 ! 117: LDUHA_I lduha [%r31, + 0x0010] %asi, %r9 | |
7870 | .word 0xd23fc000 ! 118: STD_R std %r9, [%r31 + %r0] | |
7871 | .word 0xa3a0016a ! 119: FABSq dis not found | |
7872 | ||
7873 | memptr_4_61: | |
7874 | set 0x60140000, %r31 | |
7875 | .word 0x85813d22 ! 120: WRCCR_I wr %r4, 0x1d22, %ccr | |
7876 | .word 0xd09ffb63 ! 121: LDDA_I ldda [%r31, + 0xfffffb63] %asi, %r8 | |
7877 | .word 0xa1902007 ! 122: WRPR_GL_I wrpr %r0, 0x0007, %- | |
7878 | splash_hpstate_4_62: | |
7879 | .word 0x819820dd ! 123: WRHPR_HPSTATE_I wrhpr %r0, 0x00dd, %hpstate | |
7880 | mondo_4_63: | |
7881 | nop | |
7882 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7883 | ||
7884 | stxa %r8, [%r0+0x3e8] %asi | |
7885 | .word 0x9d90c003 ! 124: WRPR_WSTATE_R wrpr %r3, %r3, %wstate | |
7886 | splash_hpstate_4_64: | |
7887 | .word 0x819825d4 ! 125: WRHPR_HPSTATE_I wrhpr %r0, 0x05d4, %hpstate | |
7888 | .word 0xa7450000 ! 126: RD_SET_SOFTINT rd %set_softint, %r19 | |
7889 | .word 0x879021fe ! 127: WRPR_TT_I wrpr %r0, 0x01fe, %tt | |
7890 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_4_65)+8, 16, 16)) -> intp(4,1,3) | |
7891 | xir_4_65: | |
7892 | .word 0xa98338b1 ! 128: WR_SET_SOFTINT_I wr %r12, 0x18b1, %set_softint | |
7893 | nop | |
7894 | mov 0x80, %g3 | |
7895 | stxa %g3, [%g3] 0x57 | |
7896 | .word 0xd85fc000 ! 129: LDX_R ldx [%r31 + %r0], %r12 | |
7897 | intveclr_4_66: | |
7898 | setx 0xdb09113b00e02e11, %r1, %r28 | |
7899 | stxa %r28, [%g0] 0x72 | |
7900 | .word 0x25400001 ! 130: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7901 | debug_4_67: | |
7902 | nop | |
7903 | rd %pc, %r19 | |
7904 | add %r19, (64+16), %r19 | |
7905 | mov 0x38, %r18 | |
7906 | .word 0xe6f00b12 ! 131: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7907 | memptr_4_68: | |
7908 | set 0x60140000, %r31 | |
7909 | .word 0x85826dba ! 132: WRCCR_I wr %r9, 0x0dba, %ccr | |
7910 | tagged_4_69: | |
7911 | taddcctv %r16, 0x1686, %r9 | |
7912 | .word 0xd807f70a ! 133: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
7913 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
7914 | ta T_CHANGE_NONPRIV ! macro | |
7915 | .word 0xa3a0196d ! 134: FqTOd dis not found | |
7916 | ||
7917 | splash_tba_4_71: | |
7918 | set 0x120000, %r12 | |
7919 | ld [%r12+%r0], %r1 | |
7920 | ta T_CHANGE_PRIV | |
7921 | set 0x120000, %r12 | |
7922 | .word 0x8b90000c ! 135: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7923 | debug_4_72: | |
7924 | nop | |
7925 | mov 8, %r18 | |
7926 | ta T_CHANGE_HPRIV | |
7927 | rd %asi, %r12 | |
7928 | wr %r0, 0x41, %asi | |
7929 | set sync_thr_counter, %r23 | |
7930 | debug_startwait4_72: | |
7931 | mov 0x4, %r2 | |
7932 | cas [%r23],%g0,%r2 !lock | |
7933 | brz,a %r2, continue_debug_4_72 | |
7934 | nop | |
7935 | debug_wait4_72: | |
7936 | ld [%r23], %r2 | |
7937 | brnz %r2, debug_wait4_72 | |
7938 | nop | |
7939 | ba,a debug_startwait4_72 | |
7940 | continue_debug_4_72: | |
7941 | mov 0xe0, %r2 | |
7942 | ldxa [0x50]%asi, %r13 !Running_rw | |
7943 | ldxa [0x58]%asi, %r15 !Running_status | |
7944 | wait_for_stat_4_72: | |
7945 | cmp %r13, %r15 | |
7946 | bne,a wait_for_stat_4_72 | |
7947 | ldxa [0x58]%asi, %r15 !Running_status | |
7948 | stxa %r2, [0x68]%asi | |
7949 | ldxa [0x50]%asi, %r14 !Running_rw | |
7950 | wait_for_debug_4_72: | |
7951 | ldxa [0x58]%asi, %r15 !Running_status | |
7952 | cmp %r14, %r15 | |
7953 | bne,a wait_for_debug_4_72 | |
7954 | ldxa [0x50]%asi, %r14 !Running_rw | |
7955 | stxa %19, [%r18]0x42 | |
7956 | stxa %r13, [0x50] %asi ! Running_rw | |
7957 | st %g0, [%r23] !clear lock | |
7958 | wr %r0, %r12, %asi ! restore %asi | |
7959 | .word 0xdcf00492 ! 136: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
7960 | .word 0x9ba34d22 ! 137: FsMULd fsmuld %f13, %f2, %f44 | |
7961 | .word 0xd727f70a ! 138: STF_I st %f11, [0x170a, %r31] | |
7962 | splash_lsu_4_73: | |
7963 | setx 0xde47e686628efa13, %r1, %r2 | |
7964 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7965 | .word 0x3d400001 ! 139: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7966 | .word 0x9b45c000 ! 140: RD_TICK_CMPR_REG rd %-, %r13 | |
7967 | .word 0xa9840005 ! 141: WR_SET_SOFTINT_R wr %r16, %r5, %set_softint | |
7968 | .word 0x9ba009d3 ! 142: FDIVd fdivd %f0, %f50, %f44 | |
7969 | tagged_4_74: | |
7970 | tsubcctv %r17, 0x14f7, %r15 | |
7971 | .word 0xd807f70a ! 143: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
7972 | DS_4_75: | |
7973 | nop | |
7974 | not %g0, %r12 | |
7975 | jmp %r12 | |
7976 | .word 0x9d902004 ! 144: WRPR_WSTATE_I wrpr %r0, 0x0004, %wstate | |
7977 | donret_4_76: | |
7978 | nop | |
7979 | rd %pc, %r12 | |
7980 | add %r12, (donretarg_4_76-donret_4_76), %r12 | |
7981 | mov 0x38, %r18 | |
7982 | stxa %r12, [%r18]0x58 | |
7983 | add %r12, 0x4, %r11 | |
7984 | wrpr %g0, 0x2, %tl | |
7985 | wrpr %g0, %r12, %tpc | |
7986 | wrpr %g0, %r11, %tnpc | |
7987 | wrpr %g0, %r13, %tstate | |
7988 | wrhpr %g0, %r14, %htstate | |
7989 | retry | |
7990 | donretarg_4_76: | |
7991 | .word 0xd8fff70a ! 145: SWAPA_I swapa %r12, [%r31 + 0xfffff70a] %asi | |
7992 | .word 0x8d90237c ! 146: WRPR_PSTATE_I wrpr %r0, 0x037c, %pstate | |
7993 | .word 0x2c700001 ! 147: BPNEG <illegal instruction> | |
7994 | .word 0x879022f4 ! 148: WRPR_TT_I wrpr %r0, 0x02f4, %tt | |
7995 | .word 0x3a700001 ! 149: BPCC <illegal instruction> | |
7996 | change_to_randtl_4_77: | |
7997 | ta T_CHANGE_HPRIV ! macro | |
7998 | done_change_to_randtl_4_77: | |
7999 | .word 0x8f902001 ! 150: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8000 | splash_tba_4_78: | |
8001 | set 0x003c0000, %r12 | |
8002 | st %r1, [%r12+%r0] | |
8003 | ta T_CHANGE_PRIV | |
8004 | set 0x003c0000, %r12 | |
8005 | .word 0x8b90000c ! 151: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8006 | debug_4_79: | |
8007 | nop | |
8008 | rd %pc, %r19 | |
8009 | add %r19, (64+56), %r19 | |
8010 | mov 0x38, %r18 | |
8011 | .word 0xe6f00b12 ! 152: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8012 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_80) + 24, 16, 16)) -> intp(3,0,15) | |
8013 | intvec_4_80: | |
8014 | .word 0x39400001 ! 153: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8015 | splash_tba_4_81: | |
8016 | set 0x003c0000, %r12 | |
8017 | ld [%r12+%r0], %r1 | |
8018 | ta T_CHANGE_PRIV | |
8019 | set 0x003c0000, %r12 | |
8020 | .word 0x8b90000c ! 154: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8021 | .word 0xa981c008 ! 155: WR_SET_SOFTINT_R wr %r7, %r8, %set_softint | |
8022 | splash_lsu_4_82: | |
8023 | setx 0x9e31fbdc53d8add1, %r1, %r2 | |
8024 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8025 | .word 0x3d400001 ! 156: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8026 | splash_lsu_4_83: | |
8027 | setx 0x2ec82088b56c190d, %r1, %r2 | |
8028 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8029 | .word 0x3d400001 ! 157: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8030 | mov (4+1), %r10 | |
8031 | ta T_CHANGE_HPRIV | |
8032 | set sync_thr_counter2, %r23 | |
8033 | cas [%r23],%g0,%r10 !lock | |
8034 | brnz %r10, sma_4_84 | |
8035 | rd %asi, %r12 | |
8036 | wr %g0, 0x40, %asi | |
8037 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8038 | set 0x21fff, %g1 | |
8039 | stxa %g1, [%g0 + 0x80] %asi | |
8040 | wr %r12, %g0, %asi | |
8041 | st %g0, [%r23] | |
8042 | sma_4_84: | |
8043 | ta T_CHANGE_NONHPRIV | |
8044 | .word 0xd9e7e00d ! 158: CASA_R casa [%r31] %asi, %r13, %r12 | |
8045 | splash_tba_4_85: | |
8046 | set 0x120000, %r12 | |
8047 | ld [%r12+%r0], %r1 | |
8048 | ta T_CHANGE_PRIV | |
8049 | set 0x120000, %r12 | |
8050 | .word 0x8b90000c ! 159: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8051 | .word 0x87802080 ! 160: WRASI_I wr %r0, 0x0080, %asi | |
8052 | .word 0x8d9037d1 ! 161: WRPR_PSTATE_I wrpr %r0, 0x17d1, %pstate | |
8053 | .word 0xa1902002 ! 162: WRPR_GL_I wrpr %r0, 0x0002, %- | |
8054 | .word 0xd93ff70a ! 163: STDF_I std %f12, [0x170a, %r31] | |
8055 | cwp_4_86: | |
8056 | set user_data_start, %o7 | |
8057 | .word 0x93902001 ! 164: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
8058 | ta T_CHANGE_HPRIV | |
8059 | mov (4+1), %r10 | |
8060 | set sync_thr_counter1, %r23 | |
8061 | cas [%r23],%g0,%r10 !lock | |
8062 | brnz %r10, cwq_4_87 | |
8063 | rd %asi, %r12 | |
8064 | wr %g0, 0x40, %asi | |
8065 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8066 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8067 | cmp %l1, 1 | |
8068 | bne cwq_4_87 | |
8069 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8070 | sub %l2, 0x40, %l2 | |
8071 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8072 | wr %r12, %g0, %asi | |
8073 | st %g0, [%r23] | |
8074 | cwq_4_87: | |
8075 | ta T_CHANGE_NONHPRIV | |
8076 | .word 0x91414000 ! 165: RDPC rd %pc, %r8 | |
8077 | DS_4_88: | |
8078 | .word 0x93a089d3 ! 1: FDIVd fdivd %f2, %f50, %f40 | |
8079 | .word 0xbfe7c000 ! 166: SAVE_R save %r31, %r0, %r31 | |
8080 | cwp_4_89: | |
8081 | set user_data_start, %o7 | |
8082 | .word 0x93902001 ! 167: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
8083 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8084 | ta T_CHANGE_NONPRIV ! macro | |
8085 | .word 0x9ba0196c ! 168: FqTOd dis not found | |
8086 | ||
8087 | splash_cmpr_4_91: | |
8088 | setx 0x1e78a20449242a09, %g2, %g1 | |
8089 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
8090 | sub %g1, 100, %g1 | |
8091 | .word 0xb1800001 ! 169: WR_STICK_REG_R wr %r0, %r1, %- | |
8092 | debug_4_92: | |
8093 | nop | |
8094 | mov 0x38, %r18 | |
8095 | .word 0xfef00b12 ! 170: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8096 | splash_tba_4_93: | |
8097 | set 0x003c0000, %r12 | |
8098 | ld [%r12+%r0], %r1 | |
8099 | ta T_CHANGE_PRIV | |
8100 | set 0x003c0000, %r12 | |
8101 | .word 0x8b90000c ! 171: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8102 | splash_cmpr_4_94: | |
8103 | setx 0x7ca98f3773ad7936, %g2, %g1 | |
8104 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8105 | sub %g1, 100, %g1 | |
8106 | .word 0xb1800001 ! 172: WR_STICK_REG_R wr %r0, %r1, %- | |
8107 | .word 0xa190200a ! 173: WRPR_GL_I wrpr %r0, 0x000a, %- | |
8108 | otherw | |
8109 | mov 0xb2, %r30 | |
8110 | .word 0x91d0001e ! 174: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8111 | .word 0x2c700001 ! 175: BPNEG <illegal instruction> | |
8112 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8113 | ta T_CHANGE_NONHPRIV ! macro | |
8114 | .word 0x9ba0196d ! 176: FqTOd dis not found | |
8115 | ||
8116 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8117 | ta T_CHANGE_NONPRIV ! macro | |
8118 | .word 0x9368764e ! 177: SDIVX_I sdivx %r1, 0xfffff64e, %r9 | |
8119 | tagged_4_97: | |
8120 | taddcctv %r2, 0x10d0, %r17 | |
8121 | .word 0xe407e4f3 ! 178: LDUW_I lduw [%r31 + 0x04f3], %r18 | |
8122 | debug_4_98: | |
8123 | nop | |
8124 | mov 0x38, %r18 | |
8125 | .word 0xfef00b12 ! 179: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8126 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8127 | ta T_CHANGE_NONHPRIV ! macro | |
8128 | .word 0x956a36c9 ! 180: SDIVX_I sdivx %r8, 0xfffff6c9, %r10 | |
8129 | ta T_CHANGE_HPRIV | |
8130 | mov (4+1), %r10 | |
8131 | set sync_thr_counter1, %r23 | |
8132 | cas [%r23],%g0,%r10 !lock | |
8133 | brnz %r10, cwq_4_100 | |
8134 | rd %asi, %r12 | |
8135 | wr %g0, 0x40, %asi | |
8136 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8137 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8138 | cmp %l1, 1 | |
8139 | bne cwq_4_100 | |
8140 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8141 | sub %l2, 0x40, %l2 | |
8142 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8143 | wr %r12, %g0, %asi | |
8144 | st %g0, [%r23] | |
8145 | cwq_4_100: | |
8146 | ta T_CHANGE_NONHPRIV | |
8147 | .word 0xa9414000 ! 181: RDPC rd %pc, %r20 | |
8148 | intveclr_4_101: | |
8149 | setx 0xb36cd35b47aa5e5e, %r1, %r28 | |
8150 | stxa %r28, [%g0] 0x72 | |
8151 | .word 0x25400001 ! 182: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8152 | .word 0x8780201c ! 183: WRASI_I wr %r0, 0x001c, %asi | |
8153 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8154 | ta T_CHANGE_NONPRIV ! macro | |
8155 | .word 0x956cb3f0 ! 184: SDIVX_I sdivx %r18, 0xfffff3f0, %r10 | |
8156 | .word 0x879023ad ! 185: WRPR_TT_I wrpr %r0, 0x03ad, %tt | |
8157 | .word 0xdac804a0 ! 186: LDSBA_R ldsba [%r0, %r0] 0x25, %r13 | |
8158 | debug_4_103: | |
8159 | nop | |
8160 | rd %pc, %r19 | |
8161 | add %r19, (64+48), %r19 | |
8162 | mov 0x38, %r18 | |
8163 | .word 0xe6f00b12 ! 187: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8164 | .word 0xdacfe030 ! 188: LDSBA_I ldsba [%r31, + 0x0030] %asi, %r13 | |
8165 | intveclr_4_104: | |
8166 | setx 0xa7d2bace983a3f25, %r1, %r28 | |
8167 | stxa %r28, [%g0] 0x72 | |
8168 | .word 0x25400001 ! 189: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8169 | .word 0x91d02032 ! 190: Tcc_I ta icc_or_xcc, %r0 + 50 | |
8170 | otherw | |
8171 | mov 0x32, %r30 | |
8172 | .word 0x93d0001e ! 191: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
8173 | splash_hpstate_4_105: | |
8174 | .word 0x81982897 ! 192: WRHPR_HPSTATE_I wrhpr %r0, 0x0897, %hpstate | |
8175 | debug_4_106: | |
8176 | nop | |
8177 | rd %pc, %r19 | |
8178 | add %r19, (64+8), %r19 | |
8179 | mov 0x38, %r18 | |
8180 | .word 0xe6f00b12 ! 193: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8181 | mov (4+1), %r10 | |
8182 | ta T_CHANGE_HPRIV | |
8183 | set sync_thr_counter2, %r23 | |
8184 | cas [%r23],%g0,%r10 !lock | |
8185 | brnz %r10, sma_4_107 | |
8186 | rd %asi, %r12 | |
8187 | wr %g0, 0x40, %asi | |
8188 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8189 | set 0x21fff, %g1 | |
8190 | stxa %g1, [%g0 + 0x80] %asi | |
8191 | wr %r12, %g0, %asi | |
8192 | st %g0, [%r23] | |
8193 | sma_4_107: | |
8194 | ta T_CHANGE_NONHPRIV | |
8195 | .word 0xdbe7e008 ! 194: CASA_R casa [%r31] %asi, %r8, %r13 | |
8196 | nop | |
8197 | mov 0x80, %g3 | |
8198 | stxa %g3, [%g3] 0x57 | |
8199 | .word 0xda5fc000 ! 195: LDX_R ldx [%r31 + %r0], %r13 | |
8200 | splash_lsu_4_108: | |
8201 | setx 0xeecfff0e5800aef5, %r1, %r2 | |
8202 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8203 | .word 0x3d400001 ! 196: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8204 | splash_tba_4_109: | |
8205 | set 0x120000, %r12 | |
8206 | ld [%r12+%r0], %r1 | |
8207 | ta T_CHANGE_PRIV | |
8208 | set 0x120000, %r12 | |
8209 | .word 0x8b90000c ! 197: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8210 | .word 0x9192ea03 ! 198: WRPR_PIL_I wrpr %r11, 0x0a03, %pil | |
8211 | ta T_CHANGE_HPRIV | |
8212 | mov (4+1), %r10 | |
8213 | set sync_thr_counter1, %r23 | |
8214 | cas [%r23],%g0,%r10 !lock | |
8215 | brnz %r10, cwq_4_110 | |
8216 | rd %asi, %r12 | |
8217 | wr %g0, 0x40, %asi | |
8218 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8219 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8220 | cmp %l1, 1 | |
8221 | bne cwq_4_110 | |
8222 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8223 | sub %l2, 0x40, %l2 | |
8224 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8225 | wr %r12, %g0, %asi | |
8226 | st %g0, [%r23] | |
8227 | cwq_4_110: | |
8228 | ta T_CHANGE_NONHPRIV | |
8229 | .word 0xa7414000 ! 199: RDPC rd %pc, %r19 | |
8230 | .word 0xa1a409c4 ! 200: FDIVd fdivd %f16, %f4, %f16 | |
8231 | debug_4_111: | |
8232 | nop | |
8233 | mov 8, %r18 | |
8234 | ta T_CHANGE_HPRIV | |
8235 | rd %asi, %r12 | |
8236 | wr %r0, 0x41, %asi | |
8237 | set sync_thr_counter, %r23 | |
8238 | debug_startwait4_111: | |
8239 | mov 0x4, %r2 | |
8240 | cas [%r23],%g0,%r2 !lock | |
8241 | brz,a %r2, continue_debug_4_111 | |
8242 | nop | |
8243 | debug_wait4_111: | |
8244 | ld [%r23], %r2 | |
8245 | brnz %r2, debug_wait4_111 | |
8246 | nop | |
8247 | ba,a debug_startwait4_111 | |
8248 | continue_debug_4_111: | |
8249 | mov 0xe0, %r2 | |
8250 | ldxa [0x50]%asi, %r13 !Running_rw | |
8251 | ldxa [0x58]%asi, %r15 !Running_status | |
8252 | wait_for_stat_4_111: | |
8253 | cmp %r13, %r15 | |
8254 | bne,a wait_for_stat_4_111 | |
8255 | ldxa [0x58]%asi, %r15 !Running_status | |
8256 | stxa %r2, [0x68]%asi | |
8257 | ldxa [0x50]%asi, %r14 !Running_rw | |
8258 | wait_for_debug_4_111: | |
8259 | ldxa [0x58]%asi, %r15 !Running_status | |
8260 | cmp %r14, %r15 | |
8261 | bne,a wait_for_debug_4_111 | |
8262 | ldxa [0x50]%asi, %r14 !Running_rw | |
8263 | stxa %19, [%r18]0x42 | |
8264 | stxa %r13, [0x50] %asi ! Running_rw | |
8265 | st %g0, [%r23] !clear lock | |
8266 | wr %r0, %r12, %asi ! restore %asi | |
8267 | .word 0xdaf00492 ! 201: STXA_R stxa %r13, [%r0 + %r18] 0x24 | |
8268 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8269 | ta T_CHANGE_NONPRIV ! macro | |
8270 | .word 0x97a01971 ! 202: FqTOd dis not found | |
8271 | ||
8272 | DS_4_113: | |
8273 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
8274 | pdist %f4, %f16, %f22 | |
8275 | .word 0x99b14308 ! 203: ALIGNADDRESS alignaddr %r5, %r8, %r12 | |
8276 | splash_tba_4_114: | |
8277 | set 0x003c0000, %r12 | |
8278 | st %r1, [%r12+%r0] | |
8279 | ta T_CHANGE_PRIV | |
8280 | set 0x003c0000, %r12 | |
8281 | .word 0x8b90000c ! 204: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8282 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8283 | ta T_CHANGE_NONHPRIV ! macro | |
8284 | .word 0x91a01960 ! 205: FqTOd dis not found | |
8285 | ||
8286 | intveclr_4_116: | |
8287 | setx 0x317fc352854a988b, %r1, %r28 | |
8288 | stxa %r28, [%g0] 0x72 | |
8289 | .word 0x25400001 ! 206: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8290 | nop | |
8291 | mov 0x80, %g3 | |
8292 | stxa %g3, [%g3] 0x57 | |
8293 | .word 0xe25fc000 ! 207: LDX_R ldx [%r31 + %r0], %r17 | |
8294 | splash_hpstate_4_117: | |
8295 | .word 0x819824bd ! 208: WRHPR_HPSTATE_I wrhpr %r0, 0x04bd, %hpstate | |
8296 | .word 0x87902000 ! 209: WRPR_TT_I wrpr %r0, 0x0000, %tt | |
8297 | debug_4_118: | |
8298 | nop | |
8299 | rd %pc, %r19 | |
8300 | add %r19, (64+56), %r19 | |
8301 | mov 0x38, %r18 | |
8302 | .word 0xe6f00b12 ! 210: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8303 | .word 0xad82b8cd ! 211: WR_SOFTINT_REG_I wr %r10, 0x18cd, %softint | |
8304 | .word 0x8d9027d9 ! 212: WRPR_PSTATE_I wrpr %r0, 0x07d9, %pstate | |
8305 | debug_4_119: | |
8306 | nop | |
8307 | mov 0x38, %r18 | |
8308 | .word 0xfef00b12 ! 213: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8309 | .word 0x91d02035 ! 214: Tcc_I ta icc_or_xcc, %r0 + 53 | |
8310 | mov (4+1), %r10 | |
8311 | ta T_CHANGE_HPRIV | |
8312 | set sync_thr_counter2, %r23 | |
8313 | cas [%r23],%g0,%r10 !lock | |
8314 | brnz %r10, sma_4_120 | |
8315 | rd %asi, %r12 | |
8316 | wr %g0, 0x40, %asi | |
8317 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8318 | set 0x21fff, %g1 | |
8319 | stxa %g1, [%g0 + 0x80] %asi | |
8320 | wr %r12, %g0, %asi | |
8321 | st %g0, [%r23] | |
8322 | sma_4_120: | |
8323 | ta T_CHANGE_NONHPRIV | |
8324 | .word 0xe3e7e003 ! 215: CASA_R casa [%r31] %asi, %r3, %r17 | |
8325 | splash_lsu_4_121: | |
8326 | setx 0xfaf972512e50567f, %r1, %r2 | |
8327 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8328 | .word 0x3d400001 ! 216: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8329 | .word 0xe337c000 ! 217: STQF_R - %f17, [%r0, %r31] | |
8330 | splash_cmpr_4_122: | |
8331 | setx 0x8d9f1d003bc8fa7c, %g2, %g1 | |
8332 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8333 | sub %g1, 100, %g1 | |
8334 | .word 0xb1800001 ! 218: WR_STICK_REG_R wr %r0, %r1, %- | |
8335 | intveclr_4_123: | |
8336 | setx 0xd84039c8f6c9660f, %r1, %r28 | |
8337 | stxa %r28, [%g0] 0x72 | |
8338 | .word 0x25400001 ! 219: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8339 | nop | |
8340 | mov 0x80, %g3 | |
8341 | stxa %g3, [%g3] 0x5f | |
8342 | .word 0xe25fc000 ! 220: LDX_R ldx [%r31 + %r0], %r17 | |
8343 | splash_cmpr_4_124: | |
8344 | setx 0xd169dd46d9a58155, %g2, %g1 | |
8345 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8346 | sub %g1, 100, %g1 | |
8347 | .word 0xb1800001 ! 221: WR_STICK_REG_R wr %r0, %r1, %- | |
8348 | splash_cmpr_4_125: | |
8349 | setx 0x07529c3a159d17ed, %g2, %g1 | |
8350 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
8351 | sub %g1, 100, %g1 | |
8352 | .word 0xb1800001 ! 222: WR_STICK_REG_R wr %r0, %r1, %- | |
8353 | .word 0xe31fc000 ! 223: LDDF_R ldd [%r31, %r0], %f17 | |
8354 | tagged_4_126: | |
8355 | tsubcctv %r9, 0x1a04, %r20 | |
8356 | .word 0xe207f3f3 ! 224: LDUW_I lduw [%r31 + 0xfffff3f3], %r17 | |
8357 | splash_tba_4_127: | |
8358 | set 0x120000, %r12 | |
8359 | ld [%r12+%r0], %r1 | |
8360 | ta T_CHANGE_PRIV | |
8361 | set 0x120000, %r12 | |
8362 | .word 0x8b90000c ! 225: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8363 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8364 | ta T_CHANGE_NONPRIV ! macro | |
8365 | .word 0xa3a01963 ! 226: FqTOd dis not found | |
8366 | ||
8367 | debug_4_129: | |
8368 | nop | |
8369 | mov 8, %r18 | |
8370 | ta T_CHANGE_HPRIV | |
8371 | rd %asi, %r12 | |
8372 | wr %r0, 0x41, %asi | |
8373 | set sync_thr_counter, %r23 | |
8374 | debug_startwait4_129: | |
8375 | mov 0x4, %r2 | |
8376 | cas [%r23],%g0,%r2 !lock | |
8377 | brz,a %r2, continue_debug_4_129 | |
8378 | nop | |
8379 | debug_wait4_129: | |
8380 | ld [%r23], %r2 | |
8381 | brnz %r2, debug_wait4_129 | |
8382 | nop | |
8383 | ba,a debug_startwait4_129 | |
8384 | continue_debug_4_129: | |
8385 | mov 0xe0, %r2 | |
8386 | ldxa [0x50]%asi, %r13 !Running_rw | |
8387 | ldxa [0x58]%asi, %r15 !Running_status | |
8388 | wait_for_stat_4_129: | |
8389 | cmp %r13, %r15 | |
8390 | bne,a wait_for_stat_4_129 | |
8391 | ldxa [0x58]%asi, %r15 !Running_status | |
8392 | stxa %r2, [0x68]%asi | |
8393 | ldxa [0x50]%asi, %r14 !Running_rw | |
8394 | wait_for_debug_4_129: | |
8395 | ldxa [0x58]%asi, %r15 !Running_status | |
8396 | cmp %r14, %r15 | |
8397 | bne,a wait_for_debug_4_129 | |
8398 | ldxa [0x50]%asi, %r14 !Running_rw | |
8399 | stxa %16, [%r18]0x42 | |
8400 | stxa %r13, [0x50] %asi ! Running_rw | |
8401 | st %g0, [%r23] !clear lock | |
8402 | wr %r0, %r12, %asi ! restore %asi | |
8403 | .word 0xd6f00492 ! 227: STXA_R stxa %r11, [%r0 + %r18] 0x24 | |
8404 | tagged_4_130: | |
8405 | tsubcctv %r12, 0x1a2e, %r20 | |
8406 | .word 0xd807f3f3 ! 228: LDUW_I lduw [%r31 + 0xfffff3f3], %r12 | |
8407 | .word 0x8d90262c ! 229: WRPR_PSTATE_I wrpr %r0, 0x062c, %pstate | |
8408 | .word 0x91a00164 ! 230: FABSq dis not found | |
8409 | ||
8410 | debug_4_131: | |
8411 | nop | |
8412 | mov 0x38, %r18 | |
8413 | .word 0xfef00b12 ! 231: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8414 | .word 0x34700001 ! 232: BPG <illegal instruction> | |
8415 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8416 | ta T_CHANGE_NONPRIV ! macro | |
8417 | .word 0x9b6a7cac ! 233: SDIVX_I sdivx %r9, 0xfffffcac, %r13 | |
8418 | tagged_4_133: | |
8419 | taddcctv %r22, 0x1f33, %r25 | |
8420 | .word 0xd807f212 ! 234: LDUW_I lduw [%r31 + 0xfffff212], %r12 | |
8421 | ta T_CHANGE_HPRIV | |
8422 | mov (4+1), %r10 | |
8423 | set sync_thr_counter1, %r23 | |
8424 | cas [%r23],%g0,%r10 !lock | |
8425 | brnz %r10, cwq_4_134 | |
8426 | rd %asi, %r12 | |
8427 | wr %g0, 0x40, %asi | |
8428 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8429 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8430 | cmp %l1, 1 | |
8431 | bne cwq_4_134 | |
8432 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8433 | sub %l2, 0x40, %l2 | |
8434 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8435 | wr %r12, %g0, %asi | |
8436 | st %g0, [%r23] | |
8437 | cwq_4_134: | |
8438 | ta T_CHANGE_NONHPRIV | |
8439 | .word 0x99414000 ! 235: RDPC rd %pc, %r12 | |
8440 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8441 | ta T_CHANGE_NONHPRIV ! macro | |
8442 | .word 0x996862b2 ! 236: SDIVX_I sdivx %r1, 0x02b2, %r12 | |
8443 | .word 0x8d9030da ! 237: WRPR_PSTATE_I wrpr %r0, 0x10da, %pstate | |
8444 | DS_4_136: | |
8445 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
8446 | .word 0xbfe7c000 ! 238: SAVE_R save %r31, %r0, %r31 | |
8447 | splash_tba_4_137: | |
8448 | set 0x120000, %r12 | |
8449 | ld [%r12+%r0], %r1 | |
8450 | ta T_CHANGE_PRIV | |
8451 | set 0x120000, %r12 | |
8452 | .word 0x8b90000c ! 239: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8453 | .word 0x99480000 ! 240: RDHPR_HPSTATE rdhpr %hpstate, %r12 | |
8454 | splash_tba_4_138: | |
8455 | set 0x003c0000, %r12 | |
8456 | st %r1, [%r12+%r0] | |
8457 | ta T_CHANGE_PRIV | |
8458 | set 0x003c0000, %r12 | |
8459 | .word 0x8b90000c ! 241: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8460 | debug_4_139: | |
8461 | nop | |
8462 | rd %pc, %r19 | |
8463 | add %r19, (64+48), %r19 | |
8464 | mov 0x38, %r18 | |
8465 | .word 0xe6f00b12 ! 242: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8466 | .word 0xd737e769 ! 243: STQF_I - %f11, [0x0769, %r31] | |
8467 | .word 0xa190200b ! 244: WRPR_GL_I wrpr %r0, 0x000b, %- | |
8468 | debug_4_140: | |
8469 | nop | |
8470 | mov 0x38, %r18 | |
8471 | .word 0xfef00b12 ! 245: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8472 | .word 0xd66fe769 ! 246: LDSTUB_I ldstub %r11, [%r31 + 0x0769] | |
8473 | .word 0x9ba00170 ! 247: FABSq dis not found | |
8474 | ||
8475 | .word 0x3a700001 ! 248: BPCC <illegal instruction> | |
8476 | cwp_4_141: | |
8477 | set user_data_start, %o7 | |
8478 | .word 0x93902006 ! 249: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
8479 | mondo_4_142: | |
8480 | nop | |
8481 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8482 | ||
8483 | stxa %r16, [%r0+0x3e8] %asi | |
8484 | .word 0x9d91c011 ! 250: WRPR_WSTATE_R wrpr %r7, %r17, %wstate | |
8485 | .word 0xa1902000 ! 251: WRPR_GL_I wrpr %r0, 0x0000, %- | |
8486 | .word 0xe48008a0 ! 252: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
8487 | debug_4_143: | |
8488 | nop | |
8489 | mov 0x38, %r18 | |
8490 | .word 0xfef00b12 ! 253: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8491 | mov (4+1), %r10 | |
8492 | ta T_CHANGE_HPRIV | |
8493 | set sync_thr_counter2, %r23 | |
8494 | cas [%r23],%g0,%r10 !lock | |
8495 | brnz %r10, sma_4_144 | |
8496 | rd %asi, %r12 | |
8497 | wr %g0, 0x40, %asi | |
8498 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8499 | set 0x21fff, %g1 | |
8500 | stxa %g1, [%g0 + 0x80] %asi | |
8501 | wr %r12, %g0, %asi | |
8502 | st %g0, [%r23] | |
8503 | sma_4_144: | |
8504 | ta T_CHANGE_NONHPRIV | |
8505 | .word 0xe5e7e008 ! 254: CASA_R casa [%r31] %asi, %r8, %r18 | |
8506 | .word 0xa1902004 ! 255: WRPR_GL_I wrpr %r0, 0x0004, %- | |
8507 | debug_4_145: | |
8508 | nop | |
8509 | rd %pc, %r19 | |
8510 | add %r19, (64+32), %r19 | |
8511 | mov 0x38, %r18 | |
8512 | .word 0xe6f00b12 ! 256: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8513 | invalw | |
8514 | mov 0x35, %r30 | |
8515 | .word 0x91d0001e ! 257: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8516 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8517 | ta T_CHANGE_NONPRIV ! macro | |
8518 | .word 0xa7a0196b ! 258: FqTOd dis not found | |
8519 | ||
8520 | .word 0xe46fe769 ! 259: LDSTUB_I ldstub %r18, [%r31 + 0x0769] | |
8521 | .word 0x8d903a48 ! 260: WRPR_PSTATE_I wrpr %r0, 0x1a48, %pstate | |
8522 | mondo_4_147: | |
8523 | nop | |
8524 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8525 | ||
8526 | stxa %r16, [%r0+0x3c0] %asi | |
8527 | .word 0x9d950014 ! 261: WRPR_WSTATE_R wrpr %r20, %r20, %wstate | |
8528 | rd %pc, %r19 | |
8529 | add %r19, (ivw_4_148-.+32), %r19 | |
8530 | mov 0x38, %r18 | |
8531 | stxa %r19, [%r18]0x58 | |
8532 | ivw_4_148: | |
8533 | .word 0x91904011 ! 262: WRPR_PIL_R wrpr %r1, %r17, %pil | |
8534 | nop | |
8535 | mov 0x80, %g3 | |
8536 | stxa %g3, [%g3] 0x57 | |
8537 | .word 0xe45fc000 ! 263: LDX_R ldx [%r31 + %r0], %r18 | |
8538 | setx 0x632d02259ed7b1e6, %r1, %r28 | |
8539 | stxa %r28, [%g0] 0x73 | |
8540 | intvec_4_149: | |
8541 | .word 0x39400001 ! 264: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8542 | mov (4+1), %r10 | |
8543 | ta T_CHANGE_HPRIV | |
8544 | set sync_thr_counter2, %r23 | |
8545 | cas [%r23],%g0,%r10 !lock | |
8546 | brnz %r10, sma_4_150 | |
8547 | rd %asi, %r12 | |
8548 | wr %g0, 0x40, %asi | |
8549 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8550 | set 0x21fff, %g1 | |
8551 | stxa %g1, [%g0 + 0x80] %asi | |
8552 | wr %r12, %g0, %asi | |
8553 | st %g0, [%r23] | |
8554 | sma_4_150: | |
8555 | ta T_CHANGE_NONHPRIV | |
8556 | .word 0xe5e7e013 ! 265: CASA_R casa [%r31] %asi, %r19, %r18 | |
8557 | .word 0xe497e010 ! 266: LDUHA_I lduha [%r31, + 0x0010] %asi, %r18 | |
8558 | DS_4_151: | |
8559 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
8560 | pdist %f2, %f12, %f30 | |
8561 | .word 0x95b30310 ! 267: ALIGNADDRESS alignaddr %r12, %r16, %r10 | |
8562 | .word 0x8d902fb4 ! 268: WRPR_PSTATE_I wrpr %r0, 0x0fb4, %pstate | |
8563 | splash_lsu_4_152: | |
8564 | setx 0x52aeeaabefc86b41, %r1, %r2 | |
8565 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8566 | .word 0x3d400001 ! 269: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8567 | debug_4_153: | |
8568 | nop | |
8569 | mov 8, %r18 | |
8570 | ta T_CHANGE_HPRIV | |
8571 | rd %asi, %r12 | |
8572 | wr %r0, 0x41, %asi | |
8573 | set sync_thr_counter, %r23 | |
8574 | debug_startwait4_153: | |
8575 | mov 0x4, %r2 | |
8576 | cas [%r23],%g0,%r2 !lock | |
8577 | brz,a %r2, continue_debug_4_153 | |
8578 | nop | |
8579 | debug_wait4_153: | |
8580 | ld [%r23], %r2 | |
8581 | brnz %r2, debug_wait4_153 | |
8582 | nop | |
8583 | ba,a debug_startwait4_153 | |
8584 | continue_debug_4_153: | |
8585 | mov 0xe0, %r2 | |
8586 | ldxa [0x50]%asi, %r13 !Running_rw | |
8587 | ldxa [0x58]%asi, %r15 !Running_status | |
8588 | wait_for_stat_4_153: | |
8589 | cmp %r13, %r15 | |
8590 | bne,a wait_for_stat_4_153 | |
8591 | ldxa [0x58]%asi, %r15 !Running_status | |
8592 | stxa %r2, [0x68]%asi | |
8593 | ldxa [0x50]%asi, %r14 !Running_rw | |
8594 | wait_for_debug_4_153: | |
8595 | ldxa [0x58]%asi, %r15 !Running_status | |
8596 | cmp %r14, %r15 | |
8597 | bne,a wait_for_debug_4_153 | |
8598 | ldxa [0x50]%asi, %r14 !Running_rw | |
8599 | stxa %20, [%r18]0x42 | |
8600 | stxa %r13, [0x50] %asi ! Running_rw | |
8601 | st %g0, [%r23] !clear lock | |
8602 | wr %r0, %r12, %asi ! restore %asi | |
8603 | .word 0xe8f00492 ! 270: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
8604 | mov (4+1), %r10 | |
8605 | ta T_CHANGE_HPRIV | |
8606 | set sync_thr_counter2, %r23 | |
8607 | cas [%r23],%g0,%r10 !lock | |
8608 | brnz %r10, sma_4_154 | |
8609 | rd %asi, %r12 | |
8610 | wr %g0, 0x40, %asi | |
8611 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8612 | set 0x21fff, %g1 | |
8613 | stxa %g1, [%g0 + 0x80] %asi | |
8614 | wr %r12, %g0, %asi | |
8615 | st %g0, [%r23] | |
8616 | sma_4_154: | |
8617 | ta T_CHANGE_NONHPRIV | |
8618 | .word 0xe9e7e00a ! 271: CASA_R casa [%r31] %asi, %r10, %r20 | |
8619 | splash_tba_4_155: | |
8620 | set 0x120000, %r12 | |
8621 | ld [%r12+%r0], %r1 | |
8622 | ta T_CHANGE_PRIV | |
8623 | set 0x120000, %r12 | |
8624 | .word 0x8b90000c ! 272: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8625 | DS_4_156: | |
8626 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
8627 | .word 0xdd42954f ! Random illegal ? | |
8628 | .word 0x93a009c9 ! 1: FDIVd fdivd %f0, %f40, %f40 | |
8629 | .word 0x9ba24833 ! 273: FADDs fadds %f9, %f19, %f13 | |
8630 | rd %pc, %r19 | |
8631 | add %r19, (ivw_4_157-.+24), %r19 | |
8632 | mov 0x38, %r18 | |
8633 | stxa %r19, [%r18]0x58 | |
8634 | ivw_4_157: | |
8635 | .word 0x9193000b ! 274: WRPR_PIL_R wrpr %r12, %r11, %pil | |
8636 | .word 0x8d902cf9 ! 275: WRPR_PSTATE_I wrpr %r0, 0x0cf9, %pstate | |
8637 | .word 0xe0c004a0 ! 276: LDSWA_R ldswa [%r0, %r0] 0x25, %r16 | |
8638 | ta T_CHANGE_HPRIV | |
8639 | mov (4+1), %r10 | |
8640 | set sync_thr_counter1, %r23 | |
8641 | cas [%r23],%g0,%r10 !lock | |
8642 | brnz %r10, cwq_4_158 | |
8643 | rd %asi, %r12 | |
8644 | wr %g0, 0x40, %asi | |
8645 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8646 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8647 | cmp %l1, 1 | |
8648 | bne cwq_4_158 | |
8649 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8650 | sub %l2, 0x40, %l2 | |
8651 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8652 | wr %r12, %g0, %asi | |
8653 | st %g0, [%r23] | |
8654 | cwq_4_158: | |
8655 | ta T_CHANGE_NONHPRIV | |
8656 | .word 0x9b414000 ! 277: RDPC rd %pc, %r13 | |
8657 | ta T_CHANGE_HPRIV | |
8658 | mov (4+1), %r10 | |
8659 | set sync_thr_counter1, %r23 | |
8660 | cas [%r23],%g0,%r10 !lock | |
8661 | brnz %r10, cwq_4_159 | |
8662 | rd %asi, %r12 | |
8663 | wr %g0, 0x40, %asi | |
8664 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8665 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8666 | cmp %l1, 1 | |
8667 | bne cwq_4_159 | |
8668 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8669 | sub %l2, 0x40, %l2 | |
8670 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8671 | wr %r12, %g0, %asi | |
8672 | st %g0, [%r23] | |
8673 | cwq_4_159: | |
8674 | ta T_CHANGE_NONHPRIV | |
8675 | .word 0x9b414000 ! 278: RDPC rd %pc, %r13 | |
8676 | .word 0x81460000 ! 279: RD_STICK_REG stbar | |
8677 | debug_4_160: | |
8678 | nop | |
8679 | rd %pc, %r19 | |
8680 | add %r19, (64+56), %r19 | |
8681 | mov 0x38, %r18 | |
8682 | .word 0xe6f00b12 ! 280: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8683 | .word 0xe66fe769 ! 281: LDSTUB_I ldstub %r19, [%r31 + 0x0769] | |
8684 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_4_161)+32, 16, 16)) -> intp(4,1,3) | |
8685 | xir_4_161: | |
8686 | .word 0xa980e30a ! 282: WR_SET_SOFTINT_I wr %r3, 0x030a, %set_softint | |
8687 | tagged_4_162: | |
8688 | tsubcctv %r21, 0x1795, %r15 | |
8689 | .word 0xe607e3f9 ! 283: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
8690 | .word 0x91d02032 ! 284: Tcc_I ta icc_or_xcc, %r0 + 50 | |
8691 | otherw | |
8692 | mov 0xb4, %r30 | |
8693 | .word 0x91d0001e ! 285: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8694 | tagged_4_163: | |
8695 | taddcctv %r19, 0x1dee, %r15 | |
8696 | .word 0xe607e3f9 ! 286: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
8697 | .word 0x8d802004 ! 287: WRFPRS_I wr %r0, 0x0004, %fprs | |
8698 | .word 0x8d902449 ! 288: WRPR_PSTATE_I wrpr %r0, 0x0449, %pstate | |
8699 | debug_4_164: | |
8700 | nop | |
8701 | mov 0x38, %r18 | |
8702 | .word 0xfef00b12 ! 289: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8703 | splash_lsu_4_165: | |
8704 | setx 0x46ca7d8a614f5a61, %r1, %r2 | |
8705 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8706 | .word 0x3d400001 ! 290: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8707 | mondo_4_166: | |
8708 | nop | |
8709 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8710 | ||
8711 | stxa %r1, [%r0+0x3d8] %asi | |
8712 | .word 0x9d948009 ! 291: WRPR_WSTATE_R wrpr %r18, %r9, %wstate | |
8713 | debug_4_167: | |
8714 | nop | |
8715 | mov 0x38, %r18 | |
8716 | .word 0xfef00b12 ! 292: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8717 | nop | |
8718 | mov 0x80, %g3 | |
8719 | stxa %g3, [%g3] 0x5f | |
8720 | .word 0xe65fc000 ! 293: LDX_R ldx [%r31 + %r0], %r19 | |
8721 | splash_tba_4_168: | |
8722 | set 0x003c0000, %r12 | |
8723 | st %r1, [%r12+%r0] | |
8724 | ta T_CHANGE_PRIV | |
8725 | set 0x003c0000, %r12 | |
8726 | .word 0x8b90000c ! 294: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8727 | splash_cmpr_4_169: | |
8728 | setx 0xdc0b104da66649d8, %g2, %g1 | |
8729 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
8730 | sub %g1, 100, %g1 | |
8731 | .word 0xb1800001 ! 295: WR_STICK_REG_R wr %r0, %r1, %- | |
8732 | tagged_4_170: | |
8733 | tsubcctv %r25, 0x1667, %r11 | |
8734 | .word 0xe607e3f9 ! 296: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
8735 | .word 0xa1902008 ! 297: WRPR_GL_I wrpr %r0, 0x0008, %- | |
8736 | .word 0xe727e3f9 ! 298: STF_I st %f19, [0x03f9, %r31] | |
8737 | .word 0xe69fc020 ! 299: LDDA_R ldda [%r31, %r0] 0x01, %r19 | |
8738 | .word 0x9b6cc011 ! 300: SDIVX_R sdivx %r19, %r17, %r13 | |
8739 | .word 0x879022f8 ! 301: WRPR_TT_I wrpr %r0, 0x02f8, %tt | |
8740 | change_to_randtl_4_171: | |
8741 | ta T_CHANGE_HPRIV ! macro | |
8742 | done_change_to_randtl_4_171: | |
8743 | .word 0x8f902002 ! 302: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8744 | .word 0xa190200d ! 303: WRPR_GL_I wrpr %r0, 0x000d, %- | |
8745 | splash_hpstate_4_172: | |
8746 | .word 0x81982d4f ! 304: WRHPR_HPSTATE_I wrhpr %r0, 0x0d4f, %hpstate | |
8747 | rd %pc, %r19 | |
8748 | add %r19, (ivw_4_173-.+40), %r19 | |
8749 | mov 0x38, %r18 | |
8750 | stxa %r19, [%r18]0x58 | |
8751 | ivw_4_173: | |
8752 | .word 0x91948002 ! 305: WRPR_PIL_R wrpr %r18, %r2, %pil | |
8753 | cwp_4_174: | |
8754 | set user_data_start, %o7 | |
8755 | .word 0x93902005 ! 306: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
8756 | intveclr_4_175: | |
8757 | setx 0xb599265373c9e2da, %r1, %r28 | |
8758 | stxa %r28, [%g0] 0x72 | |
8759 | .word 0x25400001 ! 307: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8760 | intveclr_4_176: | |
8761 | setx 0x09cbcfcb1e88f756, %r1, %r28 | |
8762 | stxa %r28, [%g0] 0x72 | |
8763 | .word 0x25400001 ! 308: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8764 | mondo_4_177: | |
8765 | nop | |
8766 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8767 | ||
8768 | stxa %r8, [%r0+0x3d0] %asi | |
8769 | .word 0x9d92400c ! 309: WRPR_WSTATE_R wrpr %r9, %r12, %wstate | |
8770 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8771 | ta T_CHANGE_NONPRIV ! macro | |
8772 | .word 0xa3a01972 ! 310: FqTOd dis not found | |
8773 | ||
8774 | .word 0x8d9034c9 ! 311: WRPR_PSTATE_I wrpr %r0, 0x14c9, %pstate | |
8775 | otherw | |
8776 | mov 0x35, %r30 | |
8777 | .word 0x91d0001e ! 312: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8778 | .word 0x8790208d ! 313: WRPR_TT_I wrpr %r0, 0x008d, %tt | |
8779 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8780 | ta T_CHANGE_NONHPRIV ! macro | |
8781 | .word 0xa7a01968 ! 314: FqTOd dis not found | |
8782 | ||
8783 | .word 0xd88fe020 ! 315: LDUBA_I lduba [%r31, + 0x0020] %asi, %r12 | |
8784 | cwp_4_180: | |
8785 | set user_data_start, %o7 | |
8786 | .word 0x93902007 ! 316: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
8787 | splash_hpstate_4_181: | |
8788 | .word 0x81982b9d ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x0b9d, %hpstate | |
8789 | debug_4_182: | |
8790 | nop | |
8791 | mov 0x38, %r18 | |
8792 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8793 | DS_4_183: | |
8794 | .word 0x99a009ca ! 1: FDIVd fdivd %f0, %f10, %f12 | |
8795 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
8796 | .word 0xdb144014 ! 1: LDQF_R - [%r17, %r20], %f13 | |
8797 | .word 0x93a1082d ! 319: FADDs fadds %f4, %f13, %f9 | |
8798 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8799 | ta T_CHANGE_NONPRIV ! macro | |
8800 | .word 0x97a01964 ! 320: FqTOd dis not found | |
8801 | ||
8802 | DS_4_185: | |
8803 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
8804 | .word 0xbfefc000 ! 321: RESTORE_R restore %r31, %r0, %r31 | |
8805 | splash_cmpr_4_186: | |
8806 | setx 0xebb40bc78a9e3582, %g2, %g1 | |
8807 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8808 | sub %g1, 100, %g1 | |
8809 | .word 0xb1800001 ! 322: WR_STICK_REG_R wr %r0, %r1, %- | |
8810 | .word 0xa1902007 ! 323: WRPR_GL_I wrpr %r0, 0x0007, %- | |
8811 | debug_4_187: | |
8812 | nop | |
8813 | rd %pc, %r19 | |
8814 | add %r19, (64+48), %r19 | |
8815 | mov 0x38, %r18 | |
8816 | .word 0xe6f00b12 ! 324: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8817 | .word 0x93d020b4 ! 325: Tcc_I tne icc_or_xcc, %r0 + 180 | |
8818 | change_to_randtl_4_188: | |
8819 | ta T_CHANGE_PRIV ! macro | |
8820 | done_change_to_randtl_4_188: | |
8821 | .word 0x8f902001 ! 326: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8822 | intveclr_4_189: | |
8823 | setx 0x3c7c49c8cc1130bc, %r1, %r28 | |
8824 | stxa %r28, [%g0] 0x72 | |
8825 | .word 0x25400001 ! 327: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8826 | .word 0xa1902004 ! 328: WRPR_GL_I wrpr %r0, 0x0004, %- | |
8827 | .word 0x26700001 ! 329: BPL <illegal instruction> | |
8828 | splash_hpstate_4_190: | |
8829 | .word 0x8198220f ! 330: WRHPR_HPSTATE_I wrhpr %r0, 0x020f, %hpstate | |
8830 | .word 0xd527c000 ! 331: STF_R st %f10, [%r0, %r31] | |
8831 | debug_4_191: | |
8832 | nop | |
8833 | mov 0x38, %r18 | |
8834 | .word 0xfef00b12 ! 332: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8835 | .word 0x8d902fc0 ! 333: WRPR_PSTATE_I wrpr %r0, 0x0fc0, %pstate | |
8836 | intveclr_4_192: | |
8837 | setx 0xb855d7dbaa2ebf31, %r1, %r28 | |
8838 | stxa %r28, [%g0] 0x72 | |
8839 | .word 0x25400001 ! 334: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8840 | .word 0x87802089 ! 335: WRASI_I wr %r0, 0x0089, %asi | |
8841 | DS_4_193: | |
8842 | nop | |
8843 | not %g0, %r12 | |
8844 | jmp %r12 | |
8845 | .word 0x9d902005 ! 336: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
8846 | tagged_4_194: | |
8847 | tsubcctv %r16, 0x1b53, %r17 | |
8848 | .word 0xd407e3f9 ! 337: LDUW_I lduw [%r31 + 0x03f9], %r10 | |
8849 | change_to_randtl_4_195: | |
8850 | ta T_CHANGE_HPRIV ! macro | |
8851 | done_change_to_randtl_4_195: | |
8852 | .word 0x8f902002 ! 338: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8853 | .word 0xd4800c00 ! 339: LDUWA_R lduwa [%r0, %r0] 0x60, %r10 | |
8854 | .word 0x8d802000 ! 340: WRFPRS_I wr %r0, 0x0000, %fprs | |
8855 | splash_cmpr_4_196: | |
8856 | setx 0x3698259374c3cc82, %g2, %g1 | |
8857 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8858 | sub %g1, 100, %g1 | |
8859 | .word 0xb1800001 ! 341: WR_STICK_REG_R wr %r0, %r1, %- | |
8860 | mov (4+1), %r10 | |
8861 | ta T_CHANGE_HPRIV | |
8862 | set sync_thr_counter2, %r23 | |
8863 | cas [%r23],%g0,%r10 !lock | |
8864 | brnz %r10, sma_4_197 | |
8865 | rd %asi, %r12 | |
8866 | wr %g0, 0x40, %asi | |
8867 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8868 | set 0x21fff, %g1 | |
8869 | stxa %g1, [%g0 + 0x80] %asi | |
8870 | wr %r12, %g0, %asi | |
8871 | st %g0, [%r23] | |
8872 | sma_4_197: | |
8873 | ta T_CHANGE_NONHPRIV | |
8874 | .word 0xd5e7e004 ! 342: CASA_R casa [%r31] %asi, %r4, %r10 | |
8875 | .word 0x879023e7 ! 343: WRPR_TT_I wrpr %r0, 0x03e7, %tt | |
8876 | .word 0x2a700001 ! 344: BPCS <illegal instruction> | |
8877 | .word 0xad837bc5 ! 345: WR_SOFTINT_REG_I wr %r13, 0x1bc5, %softint | |
8878 | debug_4_198: | |
8879 | nop | |
8880 | mov 8, %r18 | |
8881 | ta T_CHANGE_HPRIV | |
8882 | rd %asi, %r12 | |
8883 | wr %r0, 0x41, %asi | |
8884 | set sync_thr_counter, %r23 | |
8885 | debug_startwait4_198: | |
8886 | mov 0x4, %r2 | |
8887 | cas [%r23],%g0,%r2 !lock | |
8888 | brz,a %r2, continue_debug_4_198 | |
8889 | nop | |
8890 | debug_wait4_198: | |
8891 | ld [%r23], %r2 | |
8892 | brnz %r2, debug_wait4_198 | |
8893 | nop | |
8894 | ba,a debug_startwait4_198 | |
8895 | continue_debug_4_198: | |
8896 | mov 0xe0, %r2 | |
8897 | ldxa [0x50]%asi, %r13 !Running_rw | |
8898 | ldxa [0x58]%asi, %r15 !Running_status | |
8899 | wait_for_stat_4_198: | |
8900 | cmp %r13, %r15 | |
8901 | bne,a wait_for_stat_4_198 | |
8902 | ldxa [0x58]%asi, %r15 !Running_status | |
8903 | stxa %r2, [0x68]%asi | |
8904 | ldxa [0x50]%asi, %r14 !Running_rw | |
8905 | wait_for_debug_4_198: | |
8906 | ldxa [0x58]%asi, %r15 !Running_status | |
8907 | cmp %r14, %r15 | |
8908 | bne,a wait_for_debug_4_198 | |
8909 | ldxa [0x50]%asi, %r14 !Running_rw | |
8910 | stxa %15, [%r18]0x42 | |
8911 | stxa %r13, [0x50] %asi ! Running_rw | |
8912 | st %g0, [%r23] !clear lock | |
8913 | wr %r0, %r12, %asi ! restore %asi | |
8914 | .word 0xd8f00492 ! 346: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
8915 | .word 0x34800001 ! 347: BG bg,a <label_0x1> | |
8916 | nop | |
8917 | mov 0x80, %g3 | |
8918 | stxa %g3, [%g3] 0x57 | |
8919 | .word 0xd45fc000 ! 348: LDX_R ldx [%r31 + %r0], %r10 | |
8920 | tagged_4_199: | |
8921 | taddcctv %r23, 0x1940, %r19 | |
8922 | .word 0xd407fefd ! 349: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
8923 | tagged_4_200: | |
8924 | tsubcctv %r17, 0x110b, %r10 | |
8925 | .word 0xd407fefd ! 350: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
8926 | donret_4_201: | |
8927 | nop | |
8928 | rd %pc, %r12 | |
8929 | add %r12, (donretarg_4_201-donret_4_201-4), %r12 | |
8930 | mov 0x38, %r18 | |
8931 | stxa %r12, [%r18]0x58 | |
8932 | add %r12, 0x4, %r11 | |
8933 | wrpr %g0, 0x2, %tl | |
8934 | wrpr %g0, %r12, %tpc | |
8935 | wrpr %g0, %r11, %tnpc | |
8936 | wrpr %g0, %r13, %tstate | |
8937 | wrhpr %g0, %r14, %htstate | |
8938 | done | |
8939 | donretarg_4_201: | |
8940 | .word 0xd4fffefd ! 351: SWAPA_I swapa %r10, [%r31 + 0xfffffefd] %asi | |
8941 | mondo_4_202: | |
8942 | nop | |
8943 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8944 | ||
8945 | stxa %r16, [%r0+0x3e8] %asi | |
8946 | .word 0x9d934011 ! 352: WRPR_WSTATE_R wrpr %r13, %r17, %wstate | |
8947 | setx 0x7b0a244cd2547a66, %r1, %r28 | |
8948 | stxa %r28, [%g0] 0x73 | |
8949 | intvec_4_203: | |
8950 | .word 0x39400001 ! 353: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8951 | splash_lsu_4_204: | |
8952 | setx 0xf50a58fbf3d49219, %r1, %r2 | |
8953 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8954 | .word 0x3d400001 ! 354: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8955 | memptr_4_205: | |
8956 | set 0x60740000, %r31 | |
8957 | .word 0x85833fe5 ! 355: WRCCR_I wr %r12, 0x1fe5, %ccr | |
8958 | .word 0xa1902008 ! 356: WRPR_GL_I wrpr %r0, 0x0008, %- | |
8959 | nop | |
8960 | mov 0x80, %g3 | |
8961 | stxa %g3, [%g3] 0x5f | |
8962 | .word 0xd45fc000 ! 357: LDX_R ldx [%r31 + %r0], %r10 | |
8963 | .word 0x97a00174 ! 358: FABSq dis not found | |
8964 | ||
8965 | .word 0x97540000 ! 359: RDPR_GL <illegal instruction> | |
8966 | change_to_randtl_4_206: | |
8967 | ta T_CHANGE_PRIV ! macro | |
8968 | done_change_to_randtl_4_206: | |
8969 | .word 0x8f902000 ! 360: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8970 | .word 0x83d02035 ! 361: Tcc_I te icc_or_xcc, %r0 + 53 | |
8971 | .word 0xab81800a ! 362: WR_CLEAR_SOFTINT_R wr %r6, %r10, %clear_softint | |
8972 | .word 0x8d902d34 ! 363: WRPR_PSTATE_I wrpr %r0, 0x0d34, %pstate | |
8973 | .word 0x91d02033 ! 364: Tcc_I ta icc_or_xcc, %r0 + 51 | |
8974 | splash_lsu_4_207: | |
8975 | setx 0x7ad8b852553cea7d, %r1, %r2 | |
8976 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8977 | .word 0x3d400001 ! 365: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8978 | splash_hpstate_4_208: | |
8979 | .word 0x819821df ! 366: WRHPR_HPSTATE_I wrhpr %r0, 0x01df, %hpstate | |
8980 | debug_4_209: | |
8981 | nop | |
8982 | mov 0x38, %r18 | |
8983 | .word 0xfef00b12 ! 367: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8984 | mondo_4_210: | |
8985 | nop | |
8986 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8987 | ||
8988 | stxa %r18, [%r0+0x3e8] %asi | |
8989 | .word 0x9d940013 ! 368: WRPR_WSTATE_R wrpr %r16, %r19, %wstate | |
8990 | setx 0xbd6907e137cd9775, %r1, %r28 | |
8991 | stxa %r28, [%g0] 0x73 | |
8992 | intvec_4_211: | |
8993 | .word 0x39400001 ! 369: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8994 | .word 0xe60fe29d ! 370: LDUB_I ldub [%r31 + 0x029d], %r19 | |
8995 | .word 0x8d9038c0 ! 371: WRPR_PSTATE_I wrpr %r0, 0x18c0, %pstate | |
8996 | .word 0x9350c000 ! 372: RDPR_TT <illegal instruction> | |
8997 | mov (4+1), %r10 | |
8998 | ta T_CHANGE_HPRIV | |
8999 | set sync_thr_counter2, %r23 | |
9000 | cas [%r23],%g0,%r10 !lock | |
9001 | brnz %r10, sma_4_212 | |
9002 | rd %asi, %r12 | |
9003 | wr %g0, 0x40, %asi | |
9004 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9005 | set 0x21fff, %g1 | |
9006 | stxa %g1, [%g0 + 0x80] %asi | |
9007 | wr %r12, %g0, %asi | |
9008 | st %g0, [%r23] | |
9009 | sma_4_212: | |
9010 | ta T_CHANGE_NONHPRIV | |
9011 | .word 0xd1e7e00a ! 373: CASA_R casa [%r31] %asi, %r10, %r8 | |
9012 | .word 0xd08008a0 ! 374: LDUWA_R lduwa [%r0, %r0] 0x45, %r8 | |
9013 | .word 0x22800001 ! 375: BE be,a <label_0x1> | |
9014 | .word 0x87802055 ! 376: WRASI_I wr %r0, 0x0055, %asi | |
9015 | .word 0x87802004 ! 377: WRASI_I wr %r0, 0x0004, %asi | |
9016 | .word 0xa3a14dca ! 378: FdMULq fdmulq | |
9017 | splash_tba_4_213: | |
9018 | set 0x003c0000, %r12 | |
9019 | ld [%r12+%r0], %r1 | |
9020 | ta T_CHANGE_PRIV | |
9021 | set 0x003c0000, %r12 | |
9022 | .word 0x8b90000c ! 379: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9023 | .word 0x91d02035 ! 380: Tcc_I ta icc_or_xcc, %r0 + 53 | |
9024 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9025 | ta T_CHANGE_NONPRIV ! macro | |
9026 | .word 0x91a01960 ! 381: FqTOd dis not found | |
9027 | ||
9028 | splash_cmpr_4_215: | |
9029 | setx 0xa46fe04215334e48, %g2, %g1 | |
9030 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
9031 | sub %g1, 100, %g1 | |
9032 | .word 0xb1800001 ! 382: WR_STICK_REG_R wr %r0, %r1, %- | |
9033 | debug_4_216: | |
9034 | nop | |
9035 | mov 8, %r18 | |
9036 | ta T_CHANGE_HPRIV | |
9037 | rd %asi, %r12 | |
9038 | wr %r0, 0x41, %asi | |
9039 | set sync_thr_counter, %r23 | |
9040 | debug_startwait4_216: | |
9041 | mov 0x4, %r2 | |
9042 | cas [%r23],%g0,%r2 !lock | |
9043 | brz,a %r2, continue_debug_4_216 | |
9044 | nop | |
9045 | debug_wait4_216: | |
9046 | ld [%r23], %r2 | |
9047 | brnz %r2, debug_wait4_216 | |
9048 | nop | |
9049 | ba,a debug_startwait4_216 | |
9050 | continue_debug_4_216: | |
9051 | mov 0xe0, %r2 | |
9052 | ldxa [0x50]%asi, %r13 !Running_rw | |
9053 | ldxa [0x58]%asi, %r15 !Running_status | |
9054 | wait_for_stat_4_216: | |
9055 | cmp %r13, %r15 | |
9056 | bne,a wait_for_stat_4_216 | |
9057 | ldxa [0x58]%asi, %r15 !Running_status | |
9058 | stxa %r2, [0x68]%asi | |
9059 | ldxa [0x50]%asi, %r14 !Running_rw | |
9060 | wait_for_debug_4_216: | |
9061 | ldxa [0x58]%asi, %r15 !Running_status | |
9062 | cmp %r14, %r15 | |
9063 | bne,a wait_for_debug_4_216 | |
9064 | ldxa [0x50]%asi, %r14 !Running_rw | |
9065 | stxa %10, [%r18]0x42 | |
9066 | stxa %r13, [0x50] %asi ! Running_rw | |
9067 | st %g0, [%r23] !clear lock | |
9068 | wr %r0, %r12, %asi ! restore %asi | |
9069 | .word 0xd6f00492 ! 383: STXA_R stxa %r11, [%r0 + %r18] 0x24 | |
9070 | setx 0x2c4b8b31b6c83982, %r1, %r28 | |
9071 | stxa %r28, [%g0] 0x73 | |
9072 | intvec_4_217: | |
9073 | .word 0x39400001 ! 384: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9074 | .word 0x97480000 ! 385: RDHPR_HPSTATE rdhpr %hpstate, %r11 | |
9075 | .word 0x26800001 ! 386: BL bl,a <label_0x1> | |
9076 | ta T_CHANGE_HPRIV | |
9077 | mov (4+1), %r10 | |
9078 | set sync_thr_counter1, %r23 | |
9079 | cas [%r23],%g0,%r10 !lock | |
9080 | brnz %r10, cwq_4_218 | |
9081 | rd %asi, %r12 | |
9082 | wr %g0, 0x40, %asi | |
9083 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9084 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9085 | cmp %l1, 1 | |
9086 | bne cwq_4_218 | |
9087 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9088 | sub %l2, 0x40, %l2 | |
9089 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9090 | wr %r12, %g0, %asi | |
9091 | st %g0, [%r23] | |
9092 | cwq_4_218: | |
9093 | ta T_CHANGE_NONHPRIV | |
9094 | .word 0x9b414000 ! 387: RDPC rd %pc, %r13 | |
9095 | splash_hpstate_4_219: | |
9096 | .word 0x81982dde ! 388: WRHPR_HPSTATE_I wrhpr %r0, 0x0dde, %hpstate | |
9097 | splash_tba_4_220: | |
9098 | set 0x120000, %r12 | |
9099 | st %r1, [%r12+%r0] | |
9100 | ta T_CHANGE_PRIV | |
9101 | set 0x120000, %r12 | |
9102 | .word 0x8b90000c ! 389: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9103 | splash_tba_4_221: | |
9104 | set 0x120000, %r12 | |
9105 | ld [%r12+%r0], %r1 | |
9106 | ta T_CHANGE_PRIV | |
9107 | set 0x120000, %r12 | |
9108 | .word 0x8b90000c ! 390: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9109 | splash_cmpr_4_222: | |
9110 | setx 0x1b4632bb3cf14df6, %g2, %g1 | |
9111 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9112 | sub %g1, 100, %g1 | |
9113 | .word 0xb1800001 ! 391: WR_STICK_REG_R wr %r0, %r1, %- | |
9114 | setx 0xcb67f00ce9b68049, %r1, %r28 | |
9115 | stxa %r28, [%g0] 0x73 | |
9116 | intvec_4_223: | |
9117 | .word 0x39400001 ! 392: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9118 | .word 0xa8d4fd26 ! 393: UMULcc_I umulcc %r19, 0xfffffd26, %r20 | |
9119 | .word 0xd697e010 ! 394: LDUHA_I lduha [%r31, + 0x0010] %asi, %r11 | |
9120 | .word 0x20700001 ! 395: BPN <illegal instruction> | |
9121 | .word 0x93d020b2 ! 396: Tcc_I tne icc_or_xcc, %r0 + 178 | |
9122 | .word 0x95703cab ! 397: POPC_I popc 0x1cab, %r10 | |
9123 | splash_lsu_4_224: | |
9124 | setx 0x4f1a9e55a8710ebb, %r1, %r2 | |
9125 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9126 | .word 0x3d400001 ! 398: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9127 | .word 0x879022a1 ! 399: WRPR_TT_I wrpr %r0, 0x02a1, %tt | |
9128 | splash_cmpr_4_225: | |
9129 | setx 0x95a8b5d1fc4a7d7f, %g2, %g1 | |
9130 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9131 | sub %g1, 100, %g1 | |
9132 | .word 0xb1800001 ! 400: WR_STICK_REG_R wr %r0, %r1, %- | |
9133 | memptr_4_226: | |
9134 | set 0x60740000, %r31 | |
9135 | .word 0x8584270a ! 401: WRCCR_I wr %r16, 0x070a, %ccr | |
9136 | cwp_4_227: | |
9137 | set user_data_start, %o7 | |
9138 | .word 0x93902001 ! 402: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
9139 | .word 0x9f8021a6 ! 403: SIR sir 0x01a6 | |
9140 | mondo_4_228: | |
9141 | nop | |
9142 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9143 | ||
9144 | stxa %r2, [%r0+0x3c0] %asi | |
9145 | .word 0x9d948005 ! 404: WRPR_WSTATE_R wrpr %r18, %r5, %wstate | |
9146 | .word 0xab80e809 ! 405: WR_CLEAR_SOFTINT_I wr %r3, 0x0809, %clear_softint | |
9147 | .word 0xa190200a ! 406: WRPR_GL_I wrpr %r0, 0x000a, %- | |
9148 | DS_4_229: | |
9149 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
9150 | .word 0xbfefc000 ! 407: RESTORE_R restore %r31, %r0, %r31 | |
9151 | tagged_4_230: | |
9152 | tsubcctv %r19, 0x1d88, %r20 | |
9153 | .word 0xe207f5d2 ! 408: LDUW_I lduw [%r31 + 0xfffff5d2], %r17 | |
9154 | .word 0xa9540000 ! 409: RDPR_GL rdpr %-, %r20 | |
9155 | mondo_4_231: | |
9156 | nop | |
9157 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9158 | ||
9159 | stxa %r8, [%r0+0x3c8] %asi | |
9160 | .word 0x9d94c011 ! 410: WRPR_WSTATE_R wrpr %r19, %r17, %wstate | |
9161 | debug_4_232: | |
9162 | nop | |
9163 | rd %pc, %r19 | |
9164 | add %r19, (64+24), %r19 | |
9165 | mov 0x38, %r18 | |
9166 | .word 0xe6f00b12 ! 411: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9167 | splash_cmpr_4_233: | |
9168 | setx 0xbaf995fcbeb3f703, %g2, %g1 | |
9169 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9170 | sub %g1, 100, %g1 | |
9171 | .word 0xb1800001 ! 412: WR_STICK_REG_R wr %r0, %r1, %- | |
9172 | mov (4+1), %r10 | |
9173 | ta T_CHANGE_HPRIV | |
9174 | set sync_thr_counter2, %r23 | |
9175 | cas [%r23],%g0,%r10 !lock | |
9176 | brnz %r10, sma_4_234 | |
9177 | rd %asi, %r12 | |
9178 | wr %g0, 0x40, %asi | |
9179 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9180 | set 0x21fff, %g1 | |
9181 | stxa %g1, [%g0 + 0x80] %asi | |
9182 | wr %r12, %g0, %asi | |
9183 | st %g0, [%r23] | |
9184 | sma_4_234: | |
9185 | ta T_CHANGE_NONHPRIV | |
9186 | .word 0xd9e7e014 ! 413: CASA_R casa [%r31] %asi, %r20, %r12 | |
9187 | .word 0xd927c000 ! 414: STF_R st %f12, [%r0, %r31] | |
9188 | debug_4_235: | |
9189 | nop | |
9190 | rd %pc, %r19 | |
9191 | add %r19, (64+40), %r19 | |
9192 | mov 0x38, %r18 | |
9193 | .word 0xe6f00b12 ! 415: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9194 | .word 0x8790237d ! 416: WRPR_TT_I wrpr %r0, 0x037d, %tt | |
9195 | debug_4_236: | |
9196 | nop | |
9197 | mov 0x38, %r18 | |
9198 | .word 0xfef00b12 ! 417: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9199 | mondo_4_237: | |
9200 | nop | |
9201 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9202 | ||
9203 | stxa %r17, [%r0+0x3e0] %asi | |
9204 | .word 0x9d944006 ! 418: WRPR_WSTATE_R wrpr %r17, %r6, %wstate | |
9205 | tagged_4_238: | |
9206 | tsubcctv %r8, 0x16ea, %r6 | |
9207 | .word 0xd807f5d2 ! 419: LDUW_I lduw [%r31 + 0xfffff5d2], %r12 | |
9208 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
9209 | ta T_CHANGE_NONHPRIV ! macro | |
9210 | .word 0x996d3f0e ! 420: SDIVX_I sdivx %r20, 0xffffff0e, %r12 | |
9211 | .word 0x8790204d ! 421: WRPR_TT_I wrpr %r0, 0x004d, %tt | |
9212 | .word 0x91d020b5 ! 422: Tcc_I ta icc_or_xcc, %r0 + 181 | |
9213 | .word 0xd8d804a0 ! 423: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
9214 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
9215 | ta T_CHANGE_NONPRIV ! macro | |
9216 | .word 0xa36c6364 ! 424: SDIVX_I sdivx %r17, 0x0364, %r17 | |
9217 | rd %pc, %r19 | |
9218 | add %r19, (ivw_4_241-.+56), %r19 | |
9219 | mov 0x38, %r18 | |
9220 | stxa %r19, [%r18]0x58 | |
9221 | ivw_4_241: | |
9222 | .word 0x91904004 ! 425: WRPR_PIL_R wrpr %r1, %r4, %pil | |
9223 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9224 | ta T_CHANGE_NONPRIV ! macro | |
9225 | .word 0xa96c233a ! 426: SDIVX_I sdivx %r16, 0x033a, %r20 | |
9226 | splash_cmpr_4_243: | |
9227 | setx 0x631392bc4ed468bd, %g2, %g1 | |
9228 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
9229 | sub %g1, 100, %g1 | |
9230 | .word 0xb1800001 ! 427: WR_STICK_REG_R wr %r0, %r1, %- | |
9231 | splash_cmpr_4_244: | |
9232 | setx 0x9272317b00dfa301, %g2, %g1 | |
9233 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9234 | sub %g1, 100, %g1 | |
9235 | .word 0xb1800001 ! 428: WR_STICK_REG_R wr %r0, %r1, %- | |
9236 | .word 0x996c8009 ! 429: SDIVX_R sdivx %r18, %r9, %r12 | |
9237 | setx 0x069f2488adea380a, %r1, %r28 | |
9238 | stxa %r28, [%g0] 0x73 | |
9239 | intvec_4_245: | |
9240 | .word 0x39400001 ! 430: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9241 | DS_4_246: | |
9242 | nop | |
9243 | not %g0, %r12 | |
9244 | jmp %r12 | |
9245 | .word 0x9d902004 ! 431: WRPR_WSTATE_I wrpr %r0, 0x0004, %wstate | |
9246 | pmu_4_247: | |
9247 | nop | |
9248 | setx 0xfffff82ffffffab3, %g1, %g7 | |
9249 | .word 0xa3800007 ! 432: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
9250 | change_to_randtl_4_248: | |
9251 | ta T_CHANGE_PRIV ! macro | |
9252 | done_change_to_randtl_4_248: | |
9253 | .word 0x8f902002 ! 433: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9254 | .word 0xe257c000 ! 434: LDSH_R ldsh [%r31 + %r0], %r17 | |
9255 | .word 0xa190200f ! 435: WRPR_GL_I wrpr %r0, 0x000f, %- | |
9256 | mov (4+1), %r10 | |
9257 | ta T_CHANGE_HPRIV | |
9258 | set sync_thr_counter2, %r23 | |
9259 | cas [%r23],%g0,%r10 !lock | |
9260 | brnz %r10, sma_4_249 | |
9261 | rd %asi, %r12 | |
9262 | wr %g0, 0x40, %asi | |
9263 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9264 | set 0x21fff, %g1 | |
9265 | stxa %g1, [%g0 + 0x80] %asi | |
9266 | wr %r12, %g0, %asi | |
9267 | st %g0, [%r23] | |
9268 | sma_4_249: | |
9269 | ta T_CHANGE_NONHPRIV | |
9270 | .word 0xe3e7e00b ! 436: CASA_R casa [%r31] %asi, %r11, %r17 | |
9271 | splash_lsu_4_250: | |
9272 | setx 0x98767964c2052eb1, %r1, %r2 | |
9273 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9274 | .word 0x3d400001 ! 437: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9275 | .word 0xe2800b00 ! 438: LDUWA_R lduwa [%r0, %r0] 0x58, %r17 | |
9276 | splash_lsu_4_251: | |
9277 | setx 0xba9acbae63c24709, %r1, %r2 | |
9278 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9279 | .word 0x3d400001 ! 439: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9280 | splash_cmpr_4_252: | |
9281 | setx 0xd380cccd6aead2de, %g2, %g1 | |
9282 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9283 | sub %g1, 100, %g1 | |
9284 | .word 0xb1800001 ! 440: WR_STICK_REG_R wr %r0, %r1, %- | |
9285 | nop | |
9286 | mov 0x80, %g3 | |
9287 | stxa %g3, [%g3] 0x57 | |
9288 | .word 0xe25fc000 ! 441: LDX_R ldx [%r31 + %r0], %r17 | |
9289 | .word 0x95540000 ! 442: RDPR_GL <illegal instruction> | |
9290 | ta T_CHANGE_HPRIV | |
9291 | mov (4+1), %r10 | |
9292 | set sync_thr_counter1, %r23 | |
9293 | cas [%r23],%g0,%r10 !lock | |
9294 | brnz %r10, cwq_4_253 | |
9295 | rd %asi, %r12 | |
9296 | wr %g0, 0x40, %asi | |
9297 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9298 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9299 | cmp %l1, 1 | |
9300 | bne cwq_4_253 | |
9301 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9302 | sub %l2, 0x40, %l2 | |
9303 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9304 | wr %r12, %g0, %asi | |
9305 | st %g0, [%r23] | |
9306 | cwq_4_253: | |
9307 | ta T_CHANGE_NONHPRIV | |
9308 | .word 0x95414000 ! 443: RDPC rd %pc, %r10 | |
9309 | splash_htba_4_254: | |
9310 | set 0x80000, %r12 | |
9311 | st %r1, [%r12+%r0] | |
9312 | ta T_CHANGE_HPRIV | |
9313 | set 0x80000, %r12 | |
9314 | .word 0x8b98000c ! 444: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9315 | tagged_4_255: | |
9316 | taddcctv %r3, 0x1458, %r2 | |
9317 | .word 0xd807f183 ! 445: LDUW_I lduw [%r31 + 0xfffff183], %r12 | |
9318 | memptr_4_256: | |
9319 | set 0x60540000, %r31 | |
9320 | .word 0x8584f5e9 ! 446: WRCCR_I wr %r19, 0x15e9, %ccr | |
9321 | tagged_4_257: | |
9322 | taddcctv %r16, 0x1083, %r7 | |
9323 | .word 0xd807e3fe ! 447: LDUW_I lduw [%r31 + 0x03fe], %r12 | |
9324 | .word 0xd91fe3fe ! 448: LDDF_I ldd [%r31, 0x03fe], %f12 | |
9325 | .word 0x87802004 ! 449: WRASI_I wr %r0, 0x0004, %asi | |
9326 | splash_tba_4_258: | |
9327 | set 0x003c0000, %r12 | |
9328 | st %r1, [%r12+%r0] | |
9329 | ta T_CHANGE_PRIV | |
9330 | set 0x003c0000, %r12 | |
9331 | .word 0x8b90000c ! 450: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9332 | .word 0x956a8009 ! 451: SDIVX_R sdivx %r10, %r9, %r10 | |
9333 | rd %pc, %r19 | |
9334 | add %r19, (ivw_4_259-.+48), %r19 | |
9335 | mov 0x38, %r18 | |
9336 | stxa %r19, [%r18]0x58 | |
9337 | ivw_4_259: | |
9338 | .word 0x9191c005 ! 452: WRPR_PIL_R wrpr %r7, %r5, %pil | |
9339 | rd %pc, %r19 | |
9340 | add %r19, (ivw_4_260-.+0), %r19 | |
9341 | mov 0x38, %r18 | |
9342 | stxa %r19, [%r18]0x58 | |
9343 | ivw_4_260: | |
9344 | .word 0x91918005 ! 453: WRPR_PIL_R wrpr %r6, %r5, %pil | |
9345 | ta T_CHANGE_HPRIV | |
9346 | mov (4+1), %r10 | |
9347 | set sync_thr_counter1, %r23 | |
9348 | cas [%r23],%g0,%r10 !lock | |
9349 | brnz %r10, cwq_4_261 | |
9350 | rd %asi, %r12 | |
9351 | wr %g0, 0x40, %asi | |
9352 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9353 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9354 | cmp %l1, 1 | |
9355 | bne cwq_4_261 | |
9356 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9357 | sub %l2, 0x40, %l2 | |
9358 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9359 | wr %r12, %g0, %asi | |
9360 | st %g0, [%r23] | |
9361 | cwq_4_261: | |
9362 | ta T_CHANGE_NONHPRIV | |
9363 | .word 0x9b414000 ! 454: RDPC rd %pc, %r13 | |
9364 | invalw | |
9365 | mov 0xb0, %r30 | |
9366 | .word 0x91d0001e ! 455: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9367 | splash_cmpr_4_262: | |
9368 | setx 0xeee1030cf10f6caa, %g2, %g1 | |
9369 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9370 | sub %g1, 100, %g1 | |
9371 | .word 0xb1800001 ! 456: WR_STICK_REG_R wr %r0, %r1, %- | |
9372 | .word 0x91d02033 ! 457: Tcc_I ta icc_or_xcc, %r0 + 51 | |
9373 | DS_4_263: | |
9374 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
9375 | .word 0xdb34eb4a ! 1: STQF_I - %f13, [0x0b4a, %r19] | |
9376 | normalw | |
9377 | .word 0x99458000 ! 458: RD_SOFTINT_REG rd %softint, %r12 | |
9378 | memptr_4_264: | |
9379 | set user_data_start, %r31 | |
9380 | .word 0x8582bbca ! 459: WRCCR_I wr %r10, 0x1bca, %ccr | |
9381 | debug_4_265: | |
9382 | nop | |
9383 | rd %pc, %r19 | |
9384 | add %r19, (64+0), %r19 | |
9385 | mov 0x38, %r18 | |
9386 | .word 0xe6f00b12 ! 460: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9387 | .word 0xe527f6cd ! 461: STF_I st %f18, [0x16cd, %r31] | |
9388 | splash_cmpr_4_266: | |
9389 | setx 0x758cf8bc5fbde967, %g2, %g1 | |
9390 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9391 | sub %g1, 100, %g1 | |
9392 | .word 0xb1800001 ! 462: WR_STICK_REG_R wr %r0, %r1, %- | |
9393 | .word 0xa1a209c4 ! 463: FDIVd fdivd %f8, %f4, %f16 | |
9394 | splash_htba_4_267: | |
9395 | set 0x00380000, %r12 | |
9396 | ld [%r12+%r0], %r1 | |
9397 | ta T_CHANGE_HPRIV | |
9398 | set 0x00380000, %r12 | |
9399 | .word 0x8b98000c ! 464: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9400 | .word 0xd6c7e030 ! 465: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r11 | |
9401 | splash_lsu_4_268: | |
9402 | setx 0xbe0f0c3206685f41, %r1, %r2 | |
9403 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9404 | .word 0x3d400001 ! 466: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9405 | setx 0xe8d326bdabd69844, %r1, %r28 | |
9406 | stxa %r28, [%g0] 0x73 | |
9407 | intvec_4_269: | |
9408 | .word 0x39400001 ! 467: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9409 | .word 0x97480000 ! 468: RDHPR_HPSTATE rdhpr %hpstate, %r11 | |
9410 | splash_cmpr_4_270: | |
9411 | setx 0x6384a269c940172a, %g2, %g1 | |
9412 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9413 | sub %g1, 100, %g1 | |
9414 | .word 0xb1800001 ! 469: WR_STICK_REG_R wr %r0, %r1, %- | |
9415 | .word 0x36700001 ! 470: BPGE <illegal instruction> | |
9416 | DS_4_271: | |
9417 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
9418 | .word 0xbfefc000 ! 471: RESTORE_R restore %r31, %r0, %r31 | |
9419 | .word 0xd4d7e000 ! 472: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r10 | |
9420 | DS_4_272: | |
9421 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
9422 | .word 0x95a089d3 ! 1: FDIVd fdivd %f2, %f50, %f10 | |
9423 | normalw | |
9424 | .word 0x95458000 ! 473: RD_SOFTINT_REG rd %softint, %r10 | |
9425 | .word 0x87902339 ! 474: WRPR_TT_I wrpr %r0, 0x0339, %tt | |
9426 | splash_cmpr_4_273: | |
9427 | setx 0x3ddc93368e370e10, %g2, %g1 | |
9428 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9429 | sub %g1, 100, %g1 | |
9430 | .word 0xb1800001 ! 475: WR_STICK_REG_R wr %r0, %r1, %- | |
9431 | DS_4_274: | |
9432 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
9433 | pdist %f6, %f6, %f30 | |
9434 | .word 0xa5b0c312 ! 476: ALIGNADDRESS alignaddr %r3, %r18, %r18 | |
9435 | .word 0x8d9020e0 ! 477: WRPR_PSTATE_I wrpr %r0, 0x00e0, %pstate | |
9436 | mondo_4_275: | |
9437 | nop | |
9438 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9439 | ||
9440 | stxa %r13, [%r0+0x3c0] %asi | |
9441 | .word 0x9d944002 ! 478: WRPR_WSTATE_R wrpr %r17, %r2, %wstate | |
9442 | .word 0xda8008a0 ! 479: LDUWA_R lduwa [%r0, %r0] 0x45, %r13 | |
9443 | tagged_4_276: | |
9444 | tsubcctv %r15, 0x1274, %r10 | |
9445 | .word 0xda07f6cd ! 480: LDUW_I lduw [%r31 + 0xfffff6cd], %r13 | |
9446 | splash_htba_4_277: | |
9447 | set 0x80000, %r12 | |
9448 | ld [%r12+%r0], %r1 | |
9449 | ta T_CHANGE_HPRIV | |
9450 | set 0x80000, %r12 | |
9451 | .word 0x8b98000c ! 481: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9452 | .word 0x3c700001 ! 482: BPPOS <illegal instruction> | |
9453 | .word 0x93450000 ! 483: RD_SET_SOFTINT rd %set_softint, %r9 | |
9454 | .word 0xd0cfe020 ! 484: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r8 | |
9455 | nop | |
9456 | mov 0x80, %g3 | |
9457 | stxa %g3, [%g3] 0x57 | |
9458 | .word 0xd05fc000 ! 485: LDX_R ldx [%r31 + %r0], %r8 | |
9459 | splash_cmpr_4_278: | |
9460 | setx 0x8350adfcf94f61d3, %g2, %g1 | |
9461 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9462 | sub %g1, 100, %g1 | |
9463 | .word 0xb1800001 ! 486: WR_STICK_REG_R wr %r0, %r1, %- | |
9464 | otherw | |
9465 | mov 0x31, %r30 | |
9466 | .word 0x91d0001e ! 487: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9467 | cwp_4_279: | |
9468 | set user_data_start, %o7 | |
9469 | .word 0x93902005 ! 488: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
9470 | .word 0x9f8025f1 ! 489: SIR sir 0x05f1 | |
9471 | cwp_4_280: | |
9472 | set user_data_start, %o7 | |
9473 | .word 0x93902001 ! 490: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
9474 | change_to_randtl_4_281: | |
9475 | ta T_CHANGE_HPRIV ! macro | |
9476 | done_change_to_randtl_4_281: | |
9477 | .word 0x8f902001 ! 491: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9478 | donret_4_282: | |
9479 | nop | |
9480 | rd %pc, %r12 | |
9481 | add %r12, (donretarg_4_282-donret_4_282), %r12 | |
9482 | mov 0x38, %r18 | |
9483 | stxa %r12, [%r18]0x58 | |
9484 | add %r12, 0x4, %r11 | |
9485 | wrpr %g0, 0x2, %tl | |
9486 | wrpr %g0, %r12, %tpc | |
9487 | wrpr %g0, %r11, %tnpc | |
9488 | wrpr %g0, %r13, %tstate | |
9489 | wrhpr %g0, %r14, %htstate | |
9490 | retry | |
9491 | donretarg_4_282: | |
9492 | .word 0xd0fff0df ! 492: SWAPA_I swapa %r8, [%r31 + 0xfffff0df] %asi | |
9493 | .word 0x91d02033 ! 493: Tcc_I ta icc_or_xcc, %r0 + 51 | |
9494 | .word 0x36800001 ! 494: BGE bge,a <label_0x1> | |
9495 | splash_cmpr_4_283: | |
9496 | setx 0xebd83c4d489351f0, %g2, %g1 | |
9497 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9498 | sub %g1, 100, %g1 | |
9499 | .word 0xb1800001 ! 495: WR_STICK_REG_R wr %r0, %r1, %- | |
9500 | splash_lsu_4_284: | |
9501 | setx 0x87cecbd2ba6447a3, %r1, %r2 | |
9502 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9503 | .word 0x3d400001 ! 496: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9504 | splash_tba_4_285: | |
9505 | set 0x003c0000, %r12 | |
9506 | ld [%r12+%r0], %r1 | |
9507 | ta T_CHANGE_PRIV | |
9508 | set 0x003c0000, %r12 | |
9509 | .word 0x8b90000c ! 497: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9510 | tagged_4_286: | |
9511 | tsubcctv %r2, 0x1cd1, %r24 | |
9512 | .word 0xd007f0df ! 498: LDUW_I lduw [%r31 + 0xfffff0df], %r8 | |
9513 | nop | |
9514 | nop | |
9515 | setx join_lbl_0_0, %g1, %g2 | |
9516 | jmp %g2 | |
9517 | nop | |
9518 | fork_lbl_0_4: | |
9519 | .word 0x26700001 ! 1: BPL <illegal instruction> | |
9520 | memptr_3_0: | |
9521 | set user_data_start, %r31 | |
9522 | .word 0x8580f106 ! 2: WRCCR_I wr %r3, 0x1106, %ccr | |
9523 | DS_3_1: | |
9524 | nop | |
9525 | not %g0, %r12 | |
9526 | jmp %r12 | |
9527 | .word 0x9d902000 ! 3: WRPR_WSTATE_I wrpr %r0, 0x0000, %wstate | |
9528 | .word 0xe46ffa57 ! 4: LDSTUB_I ldstub %r18, [%r31 + 0xfffffa57] | |
9529 | .word 0xa1902004 ! 5: WRPR_GL_I wrpr %r0, 0x0004, %- | |
9530 | change_to_randtl_3_2: | |
9531 | ta T_CHANGE_PRIV ! macro | |
9532 | done_change_to_randtl_3_2: | |
9533 | .word 0x8f902000 ! 6: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
9534 | splash_cmpr_3_3: | |
9535 | setx 0x2926439ca28e567b, %g2, %g1 | |
9536 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9537 | sub %g1, 100, %g1 | |
9538 | .word 0xb1800001 ! 7: WR_STICK_REG_R wr %r0, %r1, %- | |
9539 | mondo_3_4: | |
9540 | nop | |
9541 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9542 | ||
9543 | stxa %r2, [%r0+0x3c0] %asi | |
9544 | .word 0x9d928010 ! 8: WRPR_WSTATE_R wrpr %r10, %r16, %wstate | |
9545 | .word 0x87802014 ! 9: WRASI_I wr %r0, 0x0014, %asi | |
9546 | donret_3_5: | |
9547 | nop | |
9548 | rd %pc, %r12 | |
9549 | add %r12, (donretarg_3_5-donret_3_5-4), %r12 | |
9550 | mov 0x38, %r18 | |
9551 | stxa %r12, [%r18]0x58 | |
9552 | add %r12, 0x4, %r11 | |
9553 | wrpr %g0, 0x3, %tl | |
9554 | wrpr %g0, %r12, %tpc | |
9555 | wrpr %g0, %r11, %tnpc | |
9556 | wrpr %g0, %r13, %tstate | |
9557 | wrhpr %g0, %r14, %htstate | |
9558 | done | |
9559 | donretarg_3_5: | |
9560 | .word 0xe4fffa57 ! 10: SWAPA_I swapa %r18, [%r31 + 0xfffffa57] %asi | |
9561 | change_to_randtl_3_6: | |
9562 | ta T_CHANGE_PRIV ! macro | |
9563 | done_change_to_randtl_3_6: | |
9564 | .word 0x8f902002 ! 11: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9565 | cwp_3_7: | |
9566 | set user_data_start, %o7 | |
9567 | .word 0x93902007 ! 12: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
9568 | .word 0x2e700001 ! 13: BPVS <illegal instruction> | |
9569 | splash_lsu_3_8: | |
9570 | setx 0x037626ba4dbc9ec7, %r1, %r2 | |
9571 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9572 | .word 0x3d400001 ! 14: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9573 | .word 0x8d9024c6 ! 15: WRPR_PSTATE_I wrpr %r0, 0x04c6, %pstate | |
9574 | .word 0x87902154 ! 16: WRPR_TT_I wrpr %r0, 0x0154, %tt | |
9575 | ta T_CHANGE_HPRIV | |
9576 | mov (3+1), %r10 | |
9577 | set sync_thr_counter1, %r23 | |
9578 | cas [%r23],%g0,%r10 !lock | |
9579 | brnz %r10, cwq_3_9 | |
9580 | rd %asi, %r12 | |
9581 | wr %g0, 0x40, %asi | |
9582 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9583 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9584 | cmp %l1, 1 | |
9585 | bne cwq_3_9 | |
9586 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9587 | sub %l2, 0x40, %l2 | |
9588 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9589 | wr %r12, %g0, %asi | |
9590 | st %g0, [%r23] | |
9591 | cwq_3_9: | |
9592 | ta T_CHANGE_NONHPRIV | |
9593 | .word 0x95414000 ! 17: RDPC rd %pc, %r10 | |
9594 | .word 0xd8c80e80 ! 18: LDSBA_R ldsba [%r0, %r0] 0x74, %r12 | |
9595 | debug_3_10: | |
9596 | nop | |
9597 | rd %pc, %r19 | |
9598 | add %r19, (64+32), %r19 | |
9599 | mov 0x38, %r18 | |
9600 | .word 0xe6f00b12 ! 19: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9601 | .word 0xd84fc000 ! 20: LDSB_R ldsb [%r31 + %r0], %r12 | |
9602 | cwp_3_11: | |
9603 | set user_data_start, %o7 | |
9604 | .word 0x93902000 ! 21: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
9605 | .word 0x9b45c000 ! 22: RD_TICK_CMPR_REG rd %-, %r13 | |
9606 | .word 0x8d902f5f ! 23: WRPR_PSTATE_I wrpr %r0, 0x0f5f, %pstate | |
9607 | splash_lsu_3_12: | |
9608 | setx 0x14933c4fa204ab33, %r1, %r2 | |
9609 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9610 | .word 0x3d400001 ! 24: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9611 | .word 0xa190200c ! 25: WRPR_GL_I wrpr %r0, 0x000c, %- | |
9612 | .word 0xa3a0016d ! 26: FABSq dis not found | |
9613 | ||
9614 | splash_lsu_3_13: | |
9615 | setx 0x294d579b062aa6ed, %r1, %r2 | |
9616 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9617 | .word 0x3d400001 ! 27: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9618 | memptr_3_14: | |
9619 | set 0x60140000, %r31 | |
9620 | .word 0x8580e8f4 ! 28: WRCCR_I wr %r3, 0x08f4, %ccr | |
9621 | splash_hpstate_3_15: | |
9622 | .word 0x81982b74 ! 29: WRHPR_HPSTATE_I wrhpr %r0, 0x0b74, %hpstate | |
9623 | .word 0x93464000 ! 30: RD_STICK_CMPR_REG rd %-, %r9 | |
9624 | .word 0x93d020b4 ! 31: Tcc_I tne icc_or_xcc, %r0 + 180 | |
9625 | debug_3_16: | |
9626 | nop | |
9627 | rd %pc, %r19 | |
9628 | add %r19, (64+32), %r19 | |
9629 | mov 0x38, %r18 | |
9630 | .word 0xe6f00b12 ! 32: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9631 | cwp_3_17: | |
9632 | set user_data_start, %o7 | |
9633 | .word 0x93902005 ! 33: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
9634 | .word 0xe4880e80 ! 34: LDUBA_R lduba [%r0, %r0] 0x74, %r18 | |
9635 | splash_hpstate_3_18: | |
9636 | .word 0x81982e14 ! 35: WRHPR_HPSTATE_I wrhpr %r0, 0x0e14, %hpstate | |
9637 | cwp_3_19: | |
9638 | set user_data_start, %o7 | |
9639 | .word 0x93902006 ! 36: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
9640 | ta T_CHANGE_HPRIV | |
9641 | mov (3+1), %r10 | |
9642 | set sync_thr_counter1, %r23 | |
9643 | cas [%r23],%g0,%r10 !lock | |
9644 | brnz %r10, cwq_3_20 | |
9645 | rd %asi, %r12 | |
9646 | wr %g0, 0x40, %asi | |
9647 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9648 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9649 | cmp %l1, 1 | |
9650 | bne cwq_3_20 | |
9651 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9652 | sub %l2, 0x40, %l2 | |
9653 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9654 | wr %r12, %g0, %asi | |
9655 | st %g0, [%r23] | |
9656 | cwq_3_20: | |
9657 | ta T_CHANGE_NONHPRIV | |
9658 | .word 0xa1414000 ! 37: RDPC rd %pc, %r16 | |
9659 | .word 0x87802058 ! 38: WRASI_I wr %r0, 0x0058, %asi | |
9660 | DS_3_21: | |
9661 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
9662 | allclean | |
9663 | .word 0xa7b04304 ! 39: ALIGNADDRESS alignaddr %r1, %r4, %r19 | |
9664 | .word 0xe80ffaea ! 40: LDUB_I ldub [%r31 + 0xfffffaea], %r20 | |
9665 | .word 0x8d90359f ! 41: WRPR_PSTATE_I wrpr %r0, 0x159f, %pstate | |
9666 | .word 0xe8c804a0 ! 42: LDSBA_R ldsba [%r0, %r0] 0x25, %r20 | |
9667 | debug_3_22: | |
9668 | nop | |
9669 | rd %pc, %r19 | |
9670 | add %r19, (64+0), %r19 | |
9671 | mov 0x38, %r18 | |
9672 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9673 | mondo_3_23: | |
9674 | nop | |
9675 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9676 | ||
9677 | stxa %r11, [%r0+0x3e0] %asi | |
9678 | .word 0x9d910010 ! 44: WRPR_WSTATE_R wrpr %r4, %r16, %wstate | |
9679 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_24) + 0, 16, 16)) -> intp(5,0,8) | |
9680 | intvec_3_24: | |
9681 | .word 0x39400001 ! 45: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9682 | .word 0x8d9032a9 ! 46: WRPR_PSTATE_I wrpr %r0, 0x12a9, %pstate | |
9683 | .word 0xab823fd6 ! 47: WR_CLEAR_SOFTINT_I wr %r8, 0x1fd6, %clear_softint | |
9684 | memptr_3_25: | |
9685 | set 0x60540000, %r31 | |
9686 | .word 0x8583335f ! 48: WRCCR_I wr %r12, 0x135f, %ccr | |
9687 | .word 0xe927c000 ! 49: STF_R st %f20, [%r0, %r31] | |
9688 | splash_hpstate_3_26: | |
9689 | .word 0x819821c7 ! 50: WRHPR_HPSTATE_I wrhpr %r0, 0x01c7, %hpstate | |
9690 | .word 0xe89004a0 ! 51: LDUHA_R lduha [%r0, %r0] 0x25, %r20 | |
9691 | .word 0x8d902a6a ! 52: WRPR_PSTATE_I wrpr %r0, 0x0a6a, %pstate | |
9692 | .word 0x91d02032 ! 53: Tcc_I ta icc_or_xcc, %r0 + 50 | |
9693 | debug_3_27: | |
9694 | nop | |
9695 | mov 8, %r18 | |
9696 | .word 0xdcf00492 ! 54: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
9697 | .word 0xe81fc000 ! 55: LDD_R ldd [%r31 + %r0], %r20 | |
9698 | ta T_CHANGE_HPRIV | |
9699 | mov (3+1), %r10 | |
9700 | set sync_thr_counter1, %r23 | |
9701 | cas [%r23],%g0,%r10 !lock | |
9702 | brnz %r10, cwq_3_28 | |
9703 | rd %asi, %r12 | |
9704 | wr %g0, 0x40, %asi | |
9705 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9706 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9707 | cmp %l1, 1 | |
9708 | bne cwq_3_28 | |
9709 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9710 | sub %l2, 0x40, %l2 | |
9711 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9712 | wr %r12, %g0, %asi | |
9713 | st %g0, [%r23] | |
9714 | cwq_3_28: | |
9715 | ta T_CHANGE_NONHPRIV | |
9716 | .word 0x93414000 ! 56: RDPC rd %pc, %r9 | |
9717 | .word 0x87902248 ! 57: WRPR_TT_I wrpr %r0, 0x0248, %tt | |
9718 | .word 0x92dc0012 ! 58: SMULcc_R smulcc %r16, %r18, %r9 | |
9719 | setx 0x220b55a5f6cab886, %r1, %r28 | |
9720 | stxa %r28, [%g0] 0x73 | |
9721 | intvec_3_29: | |
9722 | .word 0x39400001 ! 59: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9723 | splash_hpstate_3_30: | |
9724 | .word 0x819828ec ! 60: WRHPR_HPSTATE_I wrhpr %r0, 0x08ec, %hpstate | |
9725 | .word 0xa1902006 ! 61: WRPR_GL_I wrpr %r0, 0x0006, %- | |
9726 | splash_hpstate_3_31: | |
9727 | .word 0x8198221c ! 62: WRHPR_HPSTATE_I wrhpr %r0, 0x021c, %hpstate | |
9728 | donret_3_32: | |
9729 | nop | |
9730 | rd %pc, %r12 | |
9731 | add %r12, (donretarg_3_32-donret_3_32), %r12 | |
9732 | mov 0x38, %r18 | |
9733 | stxa %r12, [%r18]0x58 | |
9734 | add %r12, 0x4, %r11 | |
9735 | wrpr %g0, 0x2, %tl | |
9736 | wrpr %g0, %r12, %tpc | |
9737 | wrpr %g0, %r11, %tnpc | |
9738 | wrpr %g0, %r13, %tstate | |
9739 | wrhpr %g0, %r14, %htstate | |
9740 | retry | |
9741 | donretarg_3_32: | |
9742 | .word 0xd8ffe315 ! 63: SWAPA_I swapa %r12, [%r31 + 0x0315] %asi | |
9743 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9744 | ta T_CHANGE_NONHPRIV ! macro | |
9745 | .word 0xa5a01961 ! 64: FqTOd dis not found | |
9746 | ||
9747 | .word 0x26700001 ! 65: BPL <illegal instruction> | |
9748 | .word 0xe6c7e030 ! 66: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r19 | |
9749 | .word 0x87802004 ! 67: WRASI_I wr %r0, 0x0004, %asi | |
9750 | mondo_3_34: | |
9751 | nop | |
9752 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9753 | ||
9754 | stxa %r6, [%r0+0x3d0] %asi | |
9755 | .word 0x9d94c011 ! 68: WRPR_WSTATE_R wrpr %r19, %r17, %wstate | |
9756 | ta T_CHANGE_HPRIV | |
9757 | mov (3+1), %r10 | |
9758 | set sync_thr_counter1, %r23 | |
9759 | cas [%r23],%g0,%r10 !lock | |
9760 | brnz %r10, cwq_3_35 | |
9761 | rd %asi, %r12 | |
9762 | wr %g0, 0x40, %asi | |
9763 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9764 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9765 | cmp %l1, 1 | |
9766 | bne cwq_3_35 | |
9767 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9768 | sub %l2, 0x40, %l2 | |
9769 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9770 | wr %r12, %g0, %asi | |
9771 | st %g0, [%r23] | |
9772 | cwq_3_35: | |
9773 | ta T_CHANGE_NONHPRIV | |
9774 | .word 0x97414000 ! 69: RDPC rd %pc, %r11 | |
9775 | .word 0xa3a14d24 ! 70: FsMULd fsmuld %f5, %f4, %f48 | |
9776 | splash_hpstate_3_36: | |
9777 | .word 0x81982317 ! 71: WRHPR_HPSTATE_I wrhpr %r0, 0x0317, %hpstate | |
9778 | splash_cmpr_3_37: | |
9779 | setx 0x299818976dc9df69, %g2, %g1 | |
9780 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
9781 | sub %g1, 100, %g1 | |
9782 | .word 0xb1800001 ! 72: WR_STICK_REG_R wr %r0, %r1, %- | |
9783 | splash_cmpr_3_38: | |
9784 | setx 0x1894e32ef7ca894f, %g2, %g1 | |
9785 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9786 | sub %g1, 100, %g1 | |
9787 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
9788 | .word 0x34700001 ! 74: BPG <illegal instruction> | |
9789 | .word 0x22700001 ! 75: BPE <illegal instruction> | |
9790 | memptr_3_39: | |
9791 | set user_data_start, %r31 | |
9792 | .word 0x85836c10 ! 76: WRCCR_I wr %r13, 0x0c10, %ccr | |
9793 | intveclr_3_40: | |
9794 | setx 0xa20eeb76c84fd677, %r1, %r28 | |
9795 | stxa %r28, [%g0] 0x72 | |
9796 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9797 | .word 0xd2800b40 ! 78: LDUWA_R lduwa [%r0, %r0] 0x5a, %r9 | |
9798 | splash_htba_3_41: | |
9799 | set 0x80000, %r12 | |
9800 | ld [%r12+%r0], %r1 | |
9801 | ta T_CHANGE_HPRIV | |
9802 | set 0x80000, %r12 | |
9803 | .word 0x8b98000c ! 79: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9804 | DS_3_42: | |
9805 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
9806 | .word 0xbfefc000 ! 80: RESTORE_R restore %r31, %r0, %r31 | |
9807 | .word 0x93d02033 ! 81: Tcc_I tne icc_or_xcc, %r0 + 51 | |
9808 | change_to_randtl_3_43: | |
9809 | ta T_CHANGE_HPRIV ! macro | |
9810 | done_change_to_randtl_3_43: | |
9811 | .word 0x8f902002 ! 82: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9812 | .word 0xa190200b ! 83: WRPR_GL_I wrpr %r0, 0x000b, %- | |
9813 | debug_3_44: | |
9814 | nop | |
9815 | mov 0x38, %r18 | |
9816 | .word 0xfef00b12 ! 84: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9817 | nop | |
9818 | mov 0x80, %g3 | |
9819 | stxa %g3, [%g3] 0x57 | |
9820 | .word 0xd25fc000 ! 85: LDX_R ldx [%r31 + %r0], %r9 | |
9821 | .word 0x91d02035 ! 86: Tcc_I ta icc_or_xcc, %r0 + 53 | |
9822 | memptr_3_45: | |
9823 | set user_data_start, %r31 | |
9824 | .word 0x8582fd7e ! 87: WRCCR_I wr %r11, 0x1d7e, %ccr | |
9825 | .word 0xd2d004a0 ! 88: LDSHA_R ldsha [%r0, %r0] 0x25, %r9 | |
9826 | splash_tba_3_46: | |
9827 | set 0x120000, %r12 | |
9828 | st %r1, [%r12+%r0] | |
9829 | ta T_CHANGE_PRIV | |
9830 | set 0x120000, %r12 | |
9831 | .word 0x8b90000c ! 89: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9832 | setx 0xa7f247462ae2895c, %r1, %r28 | |
9833 | stxa %r28, [%g0] 0x73 | |
9834 | intvec_3_47: | |
9835 | .word 0x39400001 ! 90: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9836 | .word 0x91d02033 ! 91: Tcc_I ta icc_or_xcc, %r0 + 51 | |
9837 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9838 | ta T_CHANGE_NONPRIV ! macro | |
9839 | .word 0xa16af2af ! 92: SDIVX_I sdivx %r11, 0xfffff2af, %r16 | |
9840 | .word 0x38700001 ! 93: BPGU <illegal instruction> | |
9841 | mondo_3_49: | |
9842 | nop | |
9843 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9844 | ||
9845 | stxa %r2, [%r0+0x3c0] %asi | |
9846 | .word 0x9d94c00d ! 94: WRPR_WSTATE_R wrpr %r19, %r13, %wstate | |
9847 | splash_tba_3_50: | |
9848 | set 0x120000, %r12 | |
9849 | st %r1, [%r12+%r0] | |
9850 | ta T_CHANGE_PRIV | |
9851 | set 0x120000, %r12 | |
9852 | .word 0x8b90000c ! 95: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9853 | .word 0x91d02035 ! 96: Tcc_I ta icc_or_xcc, %r0 + 53 | |
9854 | .word 0x9b540000 ! 97: RDPR_GL <illegal instruction> | |
9855 | .word 0x87902001 ! 98: WRPR_TT_I wrpr %r0, 0x0001, %tt | |
9856 | .word 0xd8d804a0 ! 99: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
9857 | splash_lsu_3_51: | |
9858 | setx 0x56b43f7e9180a851, %r1, %r2 | |
9859 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9860 | .word 0x3d400001 ! 100: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9861 | rd %pc, %r19 | |
9862 | add %r19, (ivw_3_52-.+16), %r19 | |
9863 | mov 0x38, %r18 | |
9864 | stxa %r19, [%r18]0x58 | |
9865 | ivw_3_52: | |
9866 | .word 0x91944006 ! 101: WRPR_PIL_R wrpr %r17, %r6, %pil | |
9867 | splash_tba_3_53: | |
9868 | set 0x120000, %r12 | |
9869 | ld [%r12+%r0], %r1 | |
9870 | ta T_CHANGE_PRIV | |
9871 | set 0x120000, %r12 | |
9872 | .word 0x8b90000c ! 102: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9873 | DS_3_54: | |
9874 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
9875 | allclean | |
9876 | .word 0xa5b1830a ! 103: ALIGNADDRESS alignaddr %r6, %r10, %r18 | |
9877 | cwp_3_55: | |
9878 | set user_data_start, %o7 | |
9879 | .word 0x93902002 ! 104: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
9880 | .word 0x8d903d38 ! 105: WRPR_PSTATE_I wrpr %r0, 0x1d38, %pstate | |
9881 | .word 0x87802020 ! 106: WRASI_I wr %r0, 0x0020, %asi | |
9882 | DS_3_56: | |
9883 | .word 0x9ba449cc ! 1: FDIVd fdivd %f48, %f12, %f44 | |
9884 | .word 0xed589064 ! Random illegal ? | |
9885 | .word 0xe7144007 ! 1: LDQF_R - [%r17, %r7], %f19 | |
9886 | .word 0x99a1882a ! 107: FADDs fadds %f6, %f10, %f12 | |
9887 | .word 0x8780204f ! 108: WRASI_I wr %r0, 0x004f, %asi | |
9888 | .word 0xa1902001 ! 109: WRPR_GL_I wrpr %r0, 0x0001, %- | |
9889 | otherw | |
9890 | mov 0x33, %r30 | |
9891 | .word 0x93d0001e ! 110: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
9892 | splash_cmpr_3_57: | |
9893 | setx 0xbc2ddd3e39513e22, %g2, %g1 | |
9894 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9895 | sub %g1, 100, %g1 | |
9896 | .word 0xb1800001 ! 111: WR_STICK_REG_R wr %r0, %r1, %- | |
9897 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_3_58)+0, 16, 16)) -> intp(3,1,3) | |
9898 | xir_3_58: | |
9899 | .word 0xa982a95a ! 112: WR_SET_SOFTINT_I wr %r10, 0x095a, %set_softint | |
9900 | .word 0xd327ee90 ! 113: STF_I st %f9, [0x0e90, %r31] | |
9901 | DS_3_59: | |
9902 | nop | |
9903 | not %g0, %r12 | |
9904 | jmp %r12 | |
9905 | .word 0x9d902004 ! 114: WRPR_WSTATE_I wrpr %r0, 0x0004, %wstate | |
9906 | donret_3_60: | |
9907 | nop | |
9908 | rd %pc, %r12 | |
9909 | add %r12, (donretarg_3_60-donret_3_60), %r12 | |
9910 | mov 0x38, %r18 | |
9911 | stxa %r12, [%r18]0x58 | |
9912 | add %r12, 0x4, %r11 | |
9913 | wrpr %g0, 0x1, %tl | |
9914 | wrpr %g0, %r12, %tpc | |
9915 | wrpr %g0, %r11, %tnpc | |
9916 | wrpr %g0, %r13, %tstate | |
9917 | wrhpr %g0, %r14, %htstate | |
9918 | retry | |
9919 | donretarg_3_60: | |
9920 | .word 0xd2ffee90 ! 115: SWAPA_I swapa %r9, [%r31 + 0x0e90] %asi | |
9921 | .word 0xa190200a ! 116: WRPR_GL_I wrpr %r0, 0x000a, %- | |
9922 | .word 0xd297e020 ! 117: LDUHA_I lduha [%r31, + 0x0020] %asi, %r9 | |
9923 | .word 0xd23fc000 ! 118: STD_R std %r9, [%r31 + %r0] | |
9924 | .word 0x97a00171 ! 119: FABSq dis not found | |
9925 | ||
9926 | memptr_3_61: | |
9927 | set 0x60740000, %r31 | |
9928 | .word 0x85836bec ! 120: WRCCR_I wr %r13, 0x0bec, %ccr | |
9929 | .word 0xd09ffb63 ! 121: LDDA_I ldda [%r31, + 0xfffffb63] %asi, %r8 | |
9930 | .word 0xa190200e ! 122: WRPR_GL_I wrpr %r0, 0x000e, %- | |
9931 | splash_hpstate_3_62: | |
9932 | .word 0x819829c6 ! 123: WRHPR_HPSTATE_I wrhpr %r0, 0x09c6, %hpstate | |
9933 | mondo_3_63: | |
9934 | nop | |
9935 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9936 | ||
9937 | stxa %r19, [%r0+0x3e8] %asi | |
9938 | .word 0x9d930008 ! 124: WRPR_WSTATE_R wrpr %r12, %r8, %wstate | |
9939 | splash_hpstate_3_64: | |
9940 | .word 0x81982b1d ! 125: WRHPR_HPSTATE_I wrhpr %r0, 0x0b1d, %hpstate | |
9941 | .word 0xa5450000 ! 126: RD_SET_SOFTINT rd %set_softint, %r18 | |
9942 | .word 0x87902278 ! 127: WRPR_TT_I wrpr %r0, 0x0278, %tt | |
9943 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_3_65)+24, 16, 16)) -> intp(3,1,3) | |
9944 | xir_3_65: | |
9945 | .word 0xa9847020 ! 128: WR_SET_SOFTINT_I wr %r17, 0x1020, %set_softint | |
9946 | nop | |
9947 | mov 0x80, %g3 | |
9948 | stxa %g3, [%g3] 0x57 | |
9949 | .word 0xd85fc000 ! 129: LDX_R ldx [%r31 + %r0], %r12 | |
9950 | intveclr_3_66: | |
9951 | setx 0xefb97bc80fe14a51, %r1, %r28 | |
9952 | stxa %r28, [%g0] 0x72 | |
9953 | .word 0x25400001 ! 130: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9954 | debug_3_67: | |
9955 | nop | |
9956 | rd %pc, %r19 | |
9957 | add %r19, (64+32), %r19 | |
9958 | mov 0x38, %r18 | |
9959 | .word 0xe6f00b12 ! 131: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9960 | memptr_3_68: | |
9961 | set 0x60540000, %r31 | |
9962 | .word 0x858435a8 ! 132: WRCCR_I wr %r16, 0x15a8, %ccr | |
9963 | tagged_3_69: | |
9964 | taddcctv %r14, 0x1fa1, %r15 | |
9965 | .word 0xd807f70a ! 133: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
9966 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
9967 | ta T_CHANGE_NONPRIV ! macro | |
9968 | .word 0x9ba01972 ! 134: FqTOd dis not found | |
9969 | ||
9970 | splash_tba_3_71: | |
9971 | set 0x120000, %r12 | |
9972 | ld [%r12+%r0], %r1 | |
9973 | ta T_CHANGE_PRIV | |
9974 | set 0x120000, %r12 | |
9975 | .word 0x8b90000c ! 135: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9976 | debug_3_72: | |
9977 | nop | |
9978 | mov 8, %r18 | |
9979 | .word 0xe2f00492 ! 136: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
9980 | .word 0x93a4cd2c ! 137: FsMULd fsmuld %f19, %f12, %f40 | |
9981 | .word 0xd727f70a ! 138: STF_I st %f11, [0x170a, %r31] | |
9982 | splash_lsu_3_73: | |
9983 | setx 0x9a2a64eea9565477, %r1, %r2 | |
9984 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9985 | .word 0x3d400001 ! 139: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9986 | .word 0x9545c000 ! 140: RD_TICK_CMPR_REG rd %-, %r10 | |
9987 | .word 0xa982c003 ! 141: WR_SET_SOFTINT_R wr %r11, %r3, %set_softint | |
9988 | .word 0x93a1c9d2 ! 142: FDIVd fdivd %f38, %f18, %f40 | |
9989 | tagged_3_74: | |
9990 | tsubcctv %r23, 0x105b, %r26 | |
9991 | .word 0xd807f70a ! 143: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
9992 | DS_3_75: | |
9993 | nop | |
9994 | not %g0, %r12 | |
9995 | jmp %r12 | |
9996 | .word 0x9d902004 ! 144: WRPR_WSTATE_I wrpr %r0, 0x0004, %wstate | |
9997 | donret_3_76: | |
9998 | nop | |
9999 | rd %pc, %r12 | |
10000 | add %r12, (donretarg_3_76-donret_3_76), %r12 | |
10001 | mov 0x38, %r18 | |
10002 | stxa %r12, [%r18]0x58 | |
10003 | add %r12, 0x4, %r11 | |
10004 | wrpr %g0, 0x2, %tl | |
10005 | wrpr %g0, %r12, %tpc | |
10006 | wrpr %g0, %r11, %tnpc | |
10007 | wrpr %g0, %r13, %tstate | |
10008 | wrhpr %g0, %r14, %htstate | |
10009 | retry | |
10010 | donretarg_3_76: | |
10011 | .word 0xd8fff70a ! 145: SWAPA_I swapa %r12, [%r31 + 0xfffff70a] %asi | |
10012 | .word 0x8d90251c ! 146: WRPR_PSTATE_I wrpr %r0, 0x051c, %pstate | |
10013 | .word 0x2c700001 ! 147: BPNEG <illegal instruction> | |
10014 | .word 0x87902056 ! 148: WRPR_TT_I wrpr %r0, 0x0056, %tt | |
10015 | .word 0x3a700001 ! 149: BPCC <illegal instruction> | |
10016 | change_to_randtl_3_77: | |
10017 | ta T_CHANGE_HPRIV ! macro | |
10018 | done_change_to_randtl_3_77: | |
10019 | .word 0x8f902001 ! 150: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10020 | splash_tba_3_78: | |
10021 | set 0x003d0000, %r12 | |
10022 | st %r1, [%r12+%r0] | |
10023 | ta T_CHANGE_PRIV | |
10024 | set 0x003d0000, %r12 | |
10025 | .word 0x8b90000c ! 151: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10026 | debug_3_79: | |
10027 | nop | |
10028 | rd %pc, %r19 | |
10029 | add %r19, (64+0), %r19 | |
10030 | mov 0x38, %r18 | |
10031 | .word 0xe6f00b12 ! 152: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10032 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_80) + 56, 16, 16)) -> intp(4,0,22) | |
10033 | intvec_3_80: | |
10034 | .word 0x39400001 ! 153: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10035 | splash_tba_3_81: | |
10036 | set 0x003d0000, %r12 | |
10037 | ld [%r12+%r0], %r1 | |
10038 | ta T_CHANGE_PRIV | |
10039 | set 0x003d0000, %r12 | |
10040 | .word 0x8b90000c ! 154: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10041 | .word 0xa9848002 ! 155: WR_SET_SOFTINT_R wr %r18, %r2, %set_softint | |
10042 | splash_lsu_3_82: | |
10043 | setx 0x07eae1fe3d5e95af, %r1, %r2 | |
10044 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10045 | .word 0x3d400001 ! 156: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10046 | splash_lsu_3_83: | |
10047 | setx 0x057b2bae927acc01, %r1, %r2 | |
10048 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10049 | .word 0x3d400001 ! 157: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10050 | mov (3+1), %r10 | |
10051 | ta T_CHANGE_HPRIV | |
10052 | set sync_thr_counter2, %r23 | |
10053 | cas [%r23],%g0,%r10 !lock | |
10054 | brnz %r10, sma_3_84 | |
10055 | rd %asi, %r12 | |
10056 | wr %g0, 0x40, %asi | |
10057 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10058 | set 0x21fff, %g1 | |
10059 | stxa %g1, [%g0 + 0x80] %asi | |
10060 | wr %r12, %g0, %asi | |
10061 | st %g0, [%r23] | |
10062 | sma_3_84: | |
10063 | ta T_CHANGE_NONHPRIV | |
10064 | .word 0xd9e7e00d ! 158: CASA_R casa [%r31] %asi, %r13, %r12 | |
10065 | splash_tba_3_85: | |
10066 | set 0x120000, %r12 | |
10067 | ld [%r12+%r0], %r1 | |
10068 | ta T_CHANGE_PRIV | |
10069 | set 0x120000, %r12 | |
10070 | .word 0x8b90000c ! 159: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10071 | .word 0x87802010 ! 160: WRASI_I wr %r0, 0x0010, %asi | |
10072 | .word 0x8d90231f ! 161: WRPR_PSTATE_I wrpr %r0, 0x031f, %pstate | |
10073 | .word 0xa1902008 ! 162: WRPR_GL_I wrpr %r0, 0x0008, %- | |
10074 | .word 0xd93ff70a ! 163: STDF_I std %f12, [0x170a, %r31] | |
10075 | cwp_3_86: | |
10076 | set user_data_start, %o7 | |
10077 | .word 0x93902007 ! 164: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
10078 | ta T_CHANGE_HPRIV | |
10079 | mov (3+1), %r10 | |
10080 | set sync_thr_counter1, %r23 | |
10081 | cas [%r23],%g0,%r10 !lock | |
10082 | brnz %r10, cwq_3_87 | |
10083 | rd %asi, %r12 | |
10084 | wr %g0, 0x40, %asi | |
10085 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10086 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10087 | cmp %l1, 1 | |
10088 | bne cwq_3_87 | |
10089 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10090 | sub %l2, 0x40, %l2 | |
10091 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10092 | wr %r12, %g0, %asi | |
10093 | st %g0, [%r23] | |
10094 | cwq_3_87: | |
10095 | ta T_CHANGE_NONHPRIV | |
10096 | .word 0xa3414000 ! 165: RDPC rd %pc, %r17 | |
10097 | DS_3_88: | |
10098 | .word 0x95a089ca ! 1: FDIVd fdivd %f2, %f10, %f10 | |
10099 | .word 0xbfe7c000 ! 166: SAVE_R save %r31, %r0, %r31 | |
10100 | cwp_3_89: | |
10101 | set user_data_start, %o7 | |
10102 | .word 0x93902000 ! 167: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
10103 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10104 | ta T_CHANGE_NONPRIV ! macro | |
10105 | .word 0x91a0196c ! 168: FqTOd dis not found | |
10106 | ||
10107 | splash_cmpr_3_91: | |
10108 | setx 0x8333d8550abf1353, %g2, %g1 | |
10109 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
10110 | sub %g1, 100, %g1 | |
10111 | .word 0xb1800001 ! 169: WR_STICK_REG_R wr %r0, %r1, %- | |
10112 | debug_3_92: | |
10113 | nop | |
10114 | mov 0x38, %r18 | |
10115 | .word 0xfef00b12 ! 170: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10116 | splash_tba_3_93: | |
10117 | set 0x003d0000, %r12 | |
10118 | ld [%r12+%r0], %r1 | |
10119 | ta T_CHANGE_PRIV | |
10120 | set 0x003d0000, %r12 | |
10121 | .word 0x8b90000c ! 171: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10122 | splash_cmpr_3_94: | |
10123 | setx 0xac104eb2852ddc87, %g2, %g1 | |
10124 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10125 | sub %g1, 100, %g1 | |
10126 | .word 0xb1800001 ! 172: WR_STICK_REG_R wr %r0, %r1, %- | |
10127 | .word 0xa190200c ! 173: WRPR_GL_I wrpr %r0, 0x000c, %- | |
10128 | otherw | |
10129 | mov 0x30, %r30 | |
10130 | .word 0x91d0001e ! 174: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
10131 | .word 0x2c700001 ! 175: BPNEG <illegal instruction> | |
10132 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10133 | ta T_CHANGE_NONHPRIV ! macro | |
10134 | .word 0x99a0196a ! 176: FqTOd dis not found | |
10135 | ||
10136 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10137 | ta T_CHANGE_NONPRIV ! macro | |
10138 | .word 0x976b27c3 ! 177: SDIVX_I sdivx %r12, 0x07c3, %r11 | |
10139 | tagged_3_97: | |
10140 | taddcctv %r17, 0x1a52, %r1 | |
10141 | .word 0xe407e4f3 ! 178: LDUW_I lduw [%r31 + 0x04f3], %r18 | |
10142 | debug_3_98: | |
10143 | nop | |
10144 | mov 0x38, %r18 | |
10145 | .word 0xfef00b12 ! 179: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10146 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10147 | ta T_CHANGE_NONHPRIV ! macro | |
10148 | .word 0x956ce237 ! 180: SDIVX_I sdivx %r19, 0x0237, %r10 | |
10149 | ta T_CHANGE_HPRIV | |
10150 | mov (3+1), %r10 | |
10151 | set sync_thr_counter1, %r23 | |
10152 | cas [%r23],%g0,%r10 !lock | |
10153 | brnz %r10, cwq_3_100 | |
10154 | rd %asi, %r12 | |
10155 | wr %g0, 0x40, %asi | |
10156 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10157 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10158 | cmp %l1, 1 | |
10159 | bne cwq_3_100 | |
10160 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10161 | sub %l2, 0x40, %l2 | |
10162 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10163 | wr %r12, %g0, %asi | |
10164 | st %g0, [%r23] | |
10165 | cwq_3_100: | |
10166 | ta T_CHANGE_NONHPRIV | |
10167 | .word 0xa1414000 ! 181: RDPC rd %pc, %r16 | |
10168 | intveclr_3_101: | |
10169 | setx 0x67f07d3479903e9c, %r1, %r28 | |
10170 | stxa %r28, [%g0] 0x72 | |
10171 | .word 0x25400001 ! 182: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10172 | .word 0x87802058 ! 183: WRASI_I wr %r0, 0x0058, %asi | |
10173 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10174 | ta T_CHANGE_NONPRIV ! macro | |
10175 | .word 0x996b35e2 ! 184: SDIVX_I sdivx %r12, 0xfffff5e2, %r12 | |
10176 | .word 0x87902242 ! 185: WRPR_TT_I wrpr %r0, 0x0242, %tt | |
10177 | .word 0xdac80e40 ! 186: LDSBA_R ldsba [%r0, %r0] 0x72, %r13 | |
10178 | debug_3_103: | |
10179 | nop | |
10180 | rd %pc, %r19 | |
10181 | add %r19, (64+16), %r19 | |
10182 | mov 0x38, %r18 | |
10183 | .word 0xe6f00b12 ! 187: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10184 | .word 0xdacfe020 ! 188: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r13 | |
10185 | intveclr_3_104: | |
10186 | setx 0x17c5751e50d3f751, %r1, %r28 | |
10187 | stxa %r28, [%g0] 0x72 | |
10188 | .word 0x25400001 ! 189: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10189 | .word 0x93d020b3 ! 190: Tcc_I tne icc_or_xcc, %r0 + 179 | |
10190 | otherw | |
10191 | mov 0xb3, %r30 | |
10192 | .word 0x83d0001e ! 191: Tcc_R te icc_or_xcc, %r0 + %r30 | |
10193 | splash_hpstate_3_105: | |
10194 | .word 0x81982b2f ! 192: WRHPR_HPSTATE_I wrhpr %r0, 0x0b2f, %hpstate | |
10195 | debug_3_106: | |
10196 | nop | |
10197 | rd %pc, %r19 | |
10198 | add %r19, (64+24), %r19 | |
10199 | mov 0x38, %r18 | |
10200 | .word 0xe6f00b12 ! 193: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10201 | mov (3+1), %r10 | |
10202 | ta T_CHANGE_HPRIV | |
10203 | set sync_thr_counter2, %r23 | |
10204 | cas [%r23],%g0,%r10 !lock | |
10205 | brnz %r10, sma_3_107 | |
10206 | rd %asi, %r12 | |
10207 | wr %g0, 0x40, %asi | |
10208 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10209 | set 0x21fff, %g1 | |
10210 | stxa %g1, [%g0 + 0x80] %asi | |
10211 | wr %r12, %g0, %asi | |
10212 | st %g0, [%r23] | |
10213 | sma_3_107: | |
10214 | ta T_CHANGE_NONHPRIV | |
10215 | .word 0xdbe7e008 ! 194: CASA_R casa [%r31] %asi, %r8, %r13 | |
10216 | nop | |
10217 | mov 0x80, %g3 | |
10218 | stxa %g3, [%g3] 0x57 | |
10219 | .word 0xda5fc000 ! 195: LDX_R ldx [%r31 + %r0], %r13 | |
10220 | splash_lsu_3_108: | |
10221 | setx 0x9084672a50f21bdd, %r1, %r2 | |
10222 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10223 | .word 0x3d400001 ! 196: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10224 | splash_tba_3_109: | |
10225 | set 0x120000, %r12 | |
10226 | ld [%r12+%r0], %r1 | |
10227 | ta T_CHANGE_PRIV | |
10228 | set 0x120000, %r12 | |
10229 | .word 0x8b90000c ! 197: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10230 | .word 0x919167ba ! 198: WRPR_PIL_I wrpr %r5, 0x07ba, %pil | |
10231 | ta T_CHANGE_HPRIV | |
10232 | mov (3+1), %r10 | |
10233 | set sync_thr_counter1, %r23 | |
10234 | cas [%r23],%g0,%r10 !lock | |
10235 | brnz %r10, cwq_3_110 | |
10236 | rd %asi, %r12 | |
10237 | wr %g0, 0x40, %asi | |
10238 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10239 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10240 | cmp %l1, 1 | |
10241 | bne cwq_3_110 | |
10242 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10243 | sub %l2, 0x40, %l2 | |
10244 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10245 | wr %r12, %g0, %asi | |
10246 | st %g0, [%r23] | |
10247 | cwq_3_110: | |
10248 | ta T_CHANGE_NONHPRIV | |
10249 | .word 0x95414000 ! 199: RDPC rd %pc, %r10 | |
10250 | .word 0xa7a149d3 ! 200: FDIVd fdivd %f36, %f50, %f50 | |
10251 | debug_3_111: | |
10252 | nop | |
10253 | mov 8, %r18 | |
10254 | .word 0xd6f00492 ! 201: STXA_R stxa %r11, [%r0 + %r18] 0x24 | |
10255 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10256 | ta T_CHANGE_NONPRIV ! macro | |
10257 | .word 0x95a0196c ! 202: FqTOd dis not found | |
10258 | ||
10259 | DS_3_113: | |
10260 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
10261 | pdist %f24, %f6, %f28 | |
10262 | .word 0x93b40306 ! 203: ALIGNADDRESS alignaddr %r16, %r6, %r9 | |
10263 | splash_tba_3_114: | |
10264 | set 0x003d0000, %r12 | |
10265 | st %r1, [%r12+%r0] | |
10266 | ta T_CHANGE_PRIV | |
10267 | set 0x003d0000, %r12 | |
10268 | .word 0x8b90000c ! 204: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10269 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10270 | ta T_CHANGE_NONHPRIV ! macro | |
10271 | .word 0xa1a01964 ! 205: FqTOd dis not found | |
10272 | ||
10273 | intveclr_3_116: | |
10274 | setx 0x78ed9017bf2e6c85, %r1, %r28 | |
10275 | stxa %r28, [%g0] 0x72 | |
10276 | .word 0x25400001 ! 206: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10277 | nop | |
10278 | mov 0x80, %g3 | |
10279 | stxa %g3, [%g3] 0x5f | |
10280 | .word 0xe25fc000 ! 207: LDX_R ldx [%r31 + %r0], %r17 | |
10281 | splash_hpstate_3_117: | |
10282 | .word 0x81982485 ! 208: WRHPR_HPSTATE_I wrhpr %r0, 0x0485, %hpstate | |
10283 | .word 0x879021c7 ! 209: WRPR_TT_I wrpr %r0, 0x01c7, %tt | |
10284 | debug_3_118: | |
10285 | nop | |
10286 | rd %pc, %r19 | |
10287 | add %r19, (64+8), %r19 | |
10288 | mov 0x38, %r18 | |
10289 | .word 0xe6f00b12 ! 210: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10290 | .word 0xad84ee3f ! 211: WR_SOFTINT_REG_I wr %r19, 0x0e3f, %softint | |
10291 | .word 0x8d902268 ! 212: WRPR_PSTATE_I wrpr %r0, 0x0268, %pstate | |
10292 | debug_3_119: | |
10293 | nop | |
10294 | mov 0x38, %r18 | |
10295 | .word 0xfef00b12 ! 213: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10296 | .word 0x93d02034 ! 214: Tcc_I tne icc_or_xcc, %r0 + 52 | |
10297 | mov (3+1), %r10 | |
10298 | ta T_CHANGE_HPRIV | |
10299 | set sync_thr_counter2, %r23 | |
10300 | cas [%r23],%g0,%r10 !lock | |
10301 | brnz %r10, sma_3_120 | |
10302 | rd %asi, %r12 | |
10303 | wr %g0, 0x40, %asi | |
10304 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10305 | set 0x21fff, %g1 | |
10306 | stxa %g1, [%g0 + 0x80] %asi | |
10307 | wr %r12, %g0, %asi | |
10308 | st %g0, [%r23] | |
10309 | sma_3_120: | |
10310 | ta T_CHANGE_NONHPRIV | |
10311 | .word 0xe3e7e003 ! 215: CASA_R casa [%r31] %asi, %r3, %r17 | |
10312 | splash_lsu_3_121: | |
10313 | setx 0x63d57ba9bb89d1a7, %r1, %r2 | |
10314 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10315 | .word 0x3d400001 ! 216: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10316 | .word 0xe337c000 ! 217: STQF_R - %f17, [%r0, %r31] | |
10317 | splash_cmpr_3_122: | |
10318 | setx 0xb9fad25d50b04c5f, %g2, %g1 | |
10319 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10320 | sub %g1, 100, %g1 | |
10321 | .word 0xb1800001 ! 218: WR_STICK_REG_R wr %r0, %r1, %- | |
10322 | intveclr_3_123: | |
10323 | setx 0x51f1decc841388a8, %r1, %r28 | |
10324 | stxa %r28, [%g0] 0x72 | |
10325 | .word 0x25400001 ! 219: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10326 | nop | |
10327 | mov 0x80, %g3 | |
10328 | stxa %g3, [%g3] 0x57 | |
10329 | .word 0xe25fc000 ! 220: LDX_R ldx [%r31 + %r0], %r17 | |
10330 | splash_cmpr_3_124: | |
10331 | setx 0xd2ea9fa516754f57, %g2, %g1 | |
10332 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10333 | sub %g1, 100, %g1 | |
10334 | .word 0xb1800001 ! 221: WR_STICK_REG_R wr %r0, %r1, %- | |
10335 | splash_cmpr_3_125: | |
10336 | setx 0x388f26b5fe8c1e23, %g2, %g1 | |
10337 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
10338 | sub %g1, 100, %g1 | |
10339 | .word 0xb1800001 ! 222: WR_STICK_REG_R wr %r0, %r1, %- | |
10340 | .word 0xe31fc000 ! 223: LDDF_R ldd [%r31, %r0], %f17 | |
10341 | tagged_3_126: | |
10342 | tsubcctv %r1, 0x15b1, %r20 | |
10343 | .word 0xe207f3f3 ! 224: LDUW_I lduw [%r31 + 0xfffff3f3], %r17 | |
10344 | splash_tba_3_127: | |
10345 | set 0x120000, %r12 | |
10346 | ld [%r12+%r0], %r1 | |
10347 | ta T_CHANGE_PRIV | |
10348 | set 0x120000, %r12 | |
10349 | .word 0x8b90000c ! 225: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10350 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10351 | ta T_CHANGE_NONPRIV ! macro | |
10352 | .word 0x95a0196d ! 226: FqTOd dis not found | |
10353 | ||
10354 | debug_3_129: | |
10355 | nop | |
10356 | mov 8, %r18 | |
10357 | .word 0xd0f00492 ! 227: STXA_R stxa %r8, [%r0 + %r18] 0x24 | |
10358 | tagged_3_130: | |
10359 | tsubcctv %r2, 0x1458, %r16 | |
10360 | .word 0xd807f3f3 ! 228: LDUW_I lduw [%r31 + 0xfffff3f3], %r12 | |
10361 | .word 0x8d9036b2 ! 229: WRPR_PSTATE_I wrpr %r0, 0x16b2, %pstate | |
10362 | .word 0x93a00160 ! 230: FABSq dis not found | |
10363 | ||
10364 | debug_3_131: | |
10365 | nop | |
10366 | mov 0x38, %r18 | |
10367 | .word 0xfef00b12 ! 231: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10368 | .word 0x34700001 ! 232: BPG <illegal instruction> | |
10369 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10370 | ta T_CHANGE_NONPRIV ! macro | |
10371 | .word 0xa16cecab ! 233: SDIVX_I sdivx %r19, 0x0cab, %r16 | |
10372 | tagged_3_133: | |
10373 | taddcctv %r7, 0x14e8, %r1 | |
10374 | .word 0xd807f212 ! 234: LDUW_I lduw [%r31 + 0xfffff212], %r12 | |
10375 | ta T_CHANGE_HPRIV | |
10376 | mov (3+1), %r10 | |
10377 | set sync_thr_counter1, %r23 | |
10378 | cas [%r23],%g0,%r10 !lock | |
10379 | brnz %r10, cwq_3_134 | |
10380 | rd %asi, %r12 | |
10381 | wr %g0, 0x40, %asi | |
10382 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10383 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10384 | cmp %l1, 1 | |
10385 | bne cwq_3_134 | |
10386 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10387 | sub %l2, 0x40, %l2 | |
10388 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10389 | wr %r12, %g0, %asi | |
10390 | st %g0, [%r23] | |
10391 | cwq_3_134: | |
10392 | ta T_CHANGE_NONHPRIV | |
10393 | .word 0xa1414000 ! 235: RDPC rd %pc, %r16 | |
10394 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10395 | ta T_CHANGE_NONHPRIV ! macro | |
10396 | .word 0x916cf975 ! 236: SDIVX_I sdivx %r19, 0xfffff975, %r8 | |
10397 | .word 0x8d90373e ! 237: WRPR_PSTATE_I wrpr %r0, 0x173e, %pstate | |
10398 | DS_3_136: | |
10399 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
10400 | .word 0xbfe7c000 ! 238: SAVE_R save %r31, %r0, %r31 | |
10401 | splash_tba_3_137: | |
10402 | set 0x120000, %r12 | |
10403 | ld [%r12+%r0], %r1 | |
10404 | ta T_CHANGE_PRIV | |
10405 | set 0x120000, %r12 | |
10406 | .word 0x8b90000c ! 239: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10407 | .word 0x97480000 ! 240: RDHPR_HPSTATE rdhpr %hpstate, %r11 | |
10408 | splash_tba_3_138: | |
10409 | set 0x003d0000, %r12 | |
10410 | st %r1, [%r12+%r0] | |
10411 | ta T_CHANGE_PRIV | |
10412 | set 0x003d0000, %r12 | |
10413 | .word 0x8b90000c ! 241: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10414 | debug_3_139: | |
10415 | nop | |
10416 | rd %pc, %r19 | |
10417 | add %r19, (64+48), %r19 | |
10418 | mov 0x38, %r18 | |
10419 | .word 0xe6f00b12 ! 242: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10420 | .word 0xd737e769 ! 243: STQF_I - %f11, [0x0769, %r31] | |
10421 | .word 0xa190200b ! 244: WRPR_GL_I wrpr %r0, 0x000b, %- | |
10422 | debug_3_140: | |
10423 | nop | |
10424 | mov 0x38, %r18 | |
10425 | .word 0xfef00b12 ! 245: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10426 | .word 0xd66fe769 ! 246: LDSTUB_I ldstub %r11, [%r31 + 0x0769] | |
10427 | .word 0x97a00171 ! 247: FABSq dis not found | |
10428 | ||
10429 | .word 0x3a700001 ! 248: BPCC <illegal instruction> | |
10430 | cwp_3_141: | |
10431 | set user_data_start, %o7 | |
10432 | .word 0x93902001 ! 249: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
10433 | mondo_3_142: | |
10434 | nop | |
10435 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10436 | ||
10437 | stxa %r2, [%r0+0x3d0] %asi | |
10438 | .word 0x9d948006 ! 250: WRPR_WSTATE_R wrpr %r18, %r6, %wstate | |
10439 | .word 0xa1902000 ! 251: WRPR_GL_I wrpr %r0, 0x0000, %- | |
10440 | .word 0xe4800b00 ! 252: LDUWA_R lduwa [%r0, %r0] 0x58, %r18 | |
10441 | debug_3_143: | |
10442 | nop | |
10443 | mov 0x38, %r18 | |
10444 | .word 0xfef00b12 ! 253: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10445 | mov (3+1), %r10 | |
10446 | ta T_CHANGE_HPRIV | |
10447 | set sync_thr_counter2, %r23 | |
10448 | cas [%r23],%g0,%r10 !lock | |
10449 | brnz %r10, sma_3_144 | |
10450 | rd %asi, %r12 | |
10451 | wr %g0, 0x40, %asi | |
10452 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10453 | set 0x21fff, %g1 | |
10454 | stxa %g1, [%g0 + 0x80] %asi | |
10455 | wr %r12, %g0, %asi | |
10456 | st %g0, [%r23] | |
10457 | sma_3_144: | |
10458 | ta T_CHANGE_NONHPRIV | |
10459 | .word 0xe5e7e008 ! 254: CASA_R casa [%r31] %asi, %r8, %r18 | |
10460 | .word 0xa190200c ! 255: WRPR_GL_I wrpr %r0, 0x000c, %- | |
10461 | debug_3_145: | |
10462 | nop | |
10463 | rd %pc, %r19 | |
10464 | add %r19, (64+48), %r19 | |
10465 | mov 0x38, %r18 | |
10466 | .word 0xe6f00b12 ! 256: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10467 | invalw | |
10468 | mov 0x30, %r30 | |
10469 | .word 0x91d0001e ! 257: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
10470 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10471 | ta T_CHANGE_NONPRIV ! macro | |
10472 | .word 0xa1a0196b ! 258: FqTOd dis not found | |
10473 | ||
10474 | .word 0xe46fe769 ! 259: LDSTUB_I ldstub %r18, [%r31 + 0x0769] | |
10475 | .word 0x8d903360 ! 260: WRPR_PSTATE_I wrpr %r0, 0x1360, %pstate | |
10476 | mondo_3_147: | |
10477 | nop | |
10478 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10479 | ||
10480 | stxa %r9, [%r0+0x3c8] %asi | |
10481 | .word 0x9d94000c ! 261: WRPR_WSTATE_R wrpr %r16, %r12, %wstate | |
10482 | rd %pc, %r19 | |
10483 | add %r19, (ivw_3_148-.+32), %r19 | |
10484 | mov 0x38, %r18 | |
10485 | stxa %r19, [%r18]0x58 | |
10486 | ivw_3_148: | |
10487 | .word 0x9192400d ! 262: WRPR_PIL_R wrpr %r9, %r13, %pil | |
10488 | nop | |
10489 | mov 0x80, %g3 | |
10490 | stxa %g3, [%g3] 0x5f | |
10491 | .word 0xe45fc000 ! 263: LDX_R ldx [%r31 + %r0], %r18 | |
10492 | setx 0xa34138939c5fd56b, %r1, %r28 | |
10493 | stxa %r28, [%g0] 0x73 | |
10494 | intvec_3_149: | |
10495 | .word 0x39400001 ! 264: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10496 | mov (3+1), %r10 | |
10497 | ta T_CHANGE_HPRIV | |
10498 | set sync_thr_counter2, %r23 | |
10499 | cas [%r23],%g0,%r10 !lock | |
10500 | brnz %r10, sma_3_150 | |
10501 | rd %asi, %r12 | |
10502 | wr %g0, 0x40, %asi | |
10503 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10504 | set 0x21fff, %g1 | |
10505 | stxa %g1, [%g0 + 0x80] %asi | |
10506 | wr %r12, %g0, %asi | |
10507 | st %g0, [%r23] | |
10508 | sma_3_150: | |
10509 | ta T_CHANGE_NONHPRIV | |
10510 | .word 0xe5e7e013 ! 265: CASA_R casa [%r31] %asi, %r19, %r18 | |
10511 | .word 0xe497e000 ! 266: LDUHA_I lduha [%r31, + 0x0000] %asi, %r18 | |
10512 | DS_3_151: | |
10513 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
10514 | pdist %f26, %f16, %f16 | |
10515 | .word 0x95b30301 ! 267: ALIGNADDRESS alignaddr %r12, %r1, %r10 | |
10516 | .word 0x8d9031cd ! 268: WRPR_PSTATE_I wrpr %r0, 0x11cd, %pstate | |
10517 | splash_lsu_3_152: | |
10518 | setx 0xbbdedb135b49cbb5, %r1, %r2 | |
10519 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10520 | .word 0x3d400001 ! 269: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10521 | debug_3_153: | |
10522 | nop | |
10523 | mov 8, %r18 | |
10524 | .word 0xe8f00492 ! 270: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
10525 | mov (3+1), %r10 | |
10526 | ta T_CHANGE_HPRIV | |
10527 | set sync_thr_counter2, %r23 | |
10528 | cas [%r23],%g0,%r10 !lock | |
10529 | brnz %r10, sma_3_154 | |
10530 | rd %asi, %r12 | |
10531 | wr %g0, 0x40, %asi | |
10532 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10533 | set 0x21fff, %g1 | |
10534 | stxa %g1, [%g0 + 0x80] %asi | |
10535 | wr %r12, %g0, %asi | |
10536 | st %g0, [%r23] | |
10537 | sma_3_154: | |
10538 | ta T_CHANGE_NONHPRIV | |
10539 | .word 0xe9e7e00a ! 271: CASA_R casa [%r31] %asi, %r10, %r20 | |
10540 | splash_tba_3_155: | |
10541 | set 0x120000, %r12 | |
10542 | ld [%r12+%r0], %r1 | |
10543 | ta T_CHANGE_PRIV | |
10544 | set 0x120000, %r12 | |
10545 | .word 0x8b90000c ! 272: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10546 | DS_3_156: | |
10547 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
10548 | .word 0xc35dabc9 ! Random illegal ? | |
10549 | .word 0xa5a409c2 ! 1: FDIVd fdivd %f16, %f2, %f18 | |
10550 | .word 0x97a0882c ! 273: FADDs fadds %f2, %f12, %f11 | |
10551 | rd %pc, %r19 | |
10552 | add %r19, (ivw_3_157-.+8), %r19 | |
10553 | mov 0x38, %r18 | |
10554 | stxa %r19, [%r18]0x58 | |
10555 | ivw_3_157: | |
10556 | .word 0x9191c004 ! 274: WRPR_PIL_R wrpr %r7, %r4, %pil | |
10557 | .word 0x8d903c9a ! 275: WRPR_PSTATE_I wrpr %r0, 0x1c9a, %pstate | |
10558 | .word 0xe0c004a0 ! 276: LDSWA_R ldswa [%r0, %r0] 0x25, %r16 | |
10559 | ta T_CHANGE_HPRIV | |
10560 | mov (3+1), %r10 | |
10561 | set sync_thr_counter1, %r23 | |
10562 | cas [%r23],%g0,%r10 !lock | |
10563 | brnz %r10, cwq_3_158 | |
10564 | rd %asi, %r12 | |
10565 | wr %g0, 0x40, %asi | |
10566 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10567 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10568 | cmp %l1, 1 | |
10569 | bne cwq_3_158 | |
10570 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10571 | sub %l2, 0x40, %l2 | |
10572 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10573 | wr %r12, %g0, %asi | |
10574 | st %g0, [%r23] | |
10575 | cwq_3_158: | |
10576 | ta T_CHANGE_NONHPRIV | |
10577 | .word 0xa3414000 ! 277: RDPC rd %pc, %r17 | |
10578 | ta T_CHANGE_HPRIV | |
10579 | mov (3+1), %r10 | |
10580 | set sync_thr_counter1, %r23 | |
10581 | cas [%r23],%g0,%r10 !lock | |
10582 | brnz %r10, cwq_3_159 | |
10583 | rd %asi, %r12 | |
10584 | wr %g0, 0x40, %asi | |
10585 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10586 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10587 | cmp %l1, 1 | |
10588 | bne cwq_3_159 | |
10589 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10590 | sub %l2, 0x40, %l2 | |
10591 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10592 | wr %r12, %g0, %asi | |
10593 | st %g0, [%r23] | |
10594 | cwq_3_159: | |
10595 | ta T_CHANGE_NONHPRIV | |
10596 | .word 0xa3414000 ! 278: RDPC rd %pc, %r17 | |
10597 | .word 0x81460000 ! 279: RD_STICK_REG stbar | |
10598 | debug_3_160: | |
10599 | nop | |
10600 | rd %pc, %r19 | |
10601 | add %r19, (64+56), %r19 | |
10602 | mov 0x38, %r18 | |
10603 | .word 0xe6f00b12 ! 280: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10604 | .word 0xe66fe769 ! 281: LDSTUB_I ldstub %r19, [%r31 + 0x0769] | |
10605 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_3_161)+48, 16, 16)) -> intp(3,1,3) | |
10606 | xir_3_161: | |
10607 | .word 0xa983722e ! 282: WR_SET_SOFTINT_I wr %r13, 0x122e, %set_softint | |
10608 | tagged_3_162: | |
10609 | tsubcctv %r16, 0x1044, %r11 | |
10610 | .word 0xe607e3f9 ! 283: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
10611 | .word 0x83d020b5 ! 284: Tcc_I te icc_or_xcc, %r0 + 181 | |
10612 | otherw | |
10613 | mov 0x34, %r30 | |
10614 | .word 0x83d0001e ! 285: Tcc_R te icc_or_xcc, %r0 + %r30 | |
10615 | tagged_3_163: | |
10616 | taddcctv %r15, 0x191a, %r13 | |
10617 | .word 0xe607e3f9 ! 286: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
10618 | .word 0x8d802000 ! 287: WRFPRS_I wr %r0, 0x0000, %fprs | |
10619 | .word 0x8d9038c8 ! 288: WRPR_PSTATE_I wrpr %r0, 0x18c8, %pstate | |
10620 | debug_3_164: | |
10621 | nop | |
10622 | mov 0x38, %r18 | |
10623 | .word 0xfef00b12 ! 289: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10624 | splash_lsu_3_165: | |
10625 | setx 0x4e7a6d25e03a21bd, %r1, %r2 | |
10626 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10627 | .word 0x3d400001 ! 290: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10628 | mondo_3_166: | |
10629 | nop | |
10630 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10631 | ||
10632 | stxa %r13, [%r0+0x3c0] %asi | |
10633 | .word 0x9d91c002 ! 291: WRPR_WSTATE_R wrpr %r7, %r2, %wstate | |
10634 | debug_3_167: | |
10635 | nop | |
10636 | mov 0x38, %r18 | |
10637 | .word 0xfef00b12 ! 292: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10638 | nop | |
10639 | mov 0x80, %g3 | |
10640 | stxa %g3, [%g3] 0x57 | |
10641 | .word 0xe65fc000 ! 293: LDX_R ldx [%r31 + %r0], %r19 | |
10642 | splash_tba_3_168: | |
10643 | set 0x003d0000, %r12 | |
10644 | st %r1, [%r12+%r0] | |
10645 | ta T_CHANGE_PRIV | |
10646 | set 0x003d0000, %r12 | |
10647 | .word 0x8b90000c ! 294: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10648 | splash_cmpr_3_169: | |
10649 | setx 0x54fb9c781a7a43be, %g2, %g1 | |
10650 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
10651 | sub %g1, 100, %g1 | |
10652 | .word 0xb1800001 ! 295: WR_STICK_REG_R wr %r0, %r1, %- | |
10653 | tagged_3_170: | |
10654 | tsubcctv %r24, 0x18fa, %r6 | |
10655 | .word 0xe607e3f9 ! 296: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
10656 | .word 0xa1902009 ! 297: WRPR_GL_I wrpr %r0, 0x0009, %- | |
10657 | .word 0xe727e3f9 ! 298: STF_I st %f19, [0x03f9, %r31] | |
10658 | .word 0xe69fc020 ! 299: LDDA_R ldda [%r31, %r0] 0x01, %r19 | |
10659 | .word 0x9369400c ! 300: SDIVX_R sdivx %r5, %r12, %r9 | |
10660 | .word 0x87902112 ! 301: WRPR_TT_I wrpr %r0, 0x0112, %tt | |
10661 | change_to_randtl_3_171: | |
10662 | ta T_CHANGE_HPRIV ! macro | |
10663 | done_change_to_randtl_3_171: | |
10664 | .word 0x8f902003 ! 302: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
10665 | .word 0xa190200c ! 303: WRPR_GL_I wrpr %r0, 0x000c, %- | |
10666 | splash_hpstate_3_172: | |
10667 | .word 0x8198299c ! 304: WRHPR_HPSTATE_I wrhpr %r0, 0x099c, %hpstate | |
10668 | rd %pc, %r19 | |
10669 | add %r19, (ivw_3_173-.+8), %r19 | |
10670 | mov 0x38, %r18 | |
10671 | stxa %r19, [%r18]0x58 | |
10672 | ivw_3_173: | |
10673 | .word 0x91928009 ! 305: WRPR_PIL_R wrpr %r10, %r9, %pil | |
10674 | cwp_3_174: | |
10675 | set user_data_start, %o7 | |
10676 | .word 0x93902005 ! 306: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
10677 | intveclr_3_175: | |
10678 | setx 0xd0b3a44fe55b62d5, %r1, %r28 | |
10679 | stxa %r28, [%g0] 0x72 | |
10680 | .word 0x25400001 ! 307: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10681 | intveclr_3_176: | |
10682 | setx 0xd1453680d6546c0e, %r1, %r28 | |
10683 | stxa %r28, [%g0] 0x72 | |
10684 | .word 0x25400001 ! 308: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10685 | mondo_3_177: | |
10686 | nop | |
10687 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10688 | ||
10689 | stxa %r8, [%r0+0x3e8] %asi | |
10690 | .word 0x9d95000a ! 309: WRPR_WSTATE_R wrpr %r20, %r10, %wstate | |
10691 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10692 | ta T_CHANGE_NONPRIV ! macro | |
10693 | .word 0x93a01962 ! 310: FqTOd dis not found | |
10694 | ||
10695 | .word 0x8d903b68 ! 311: WRPR_PSTATE_I wrpr %r0, 0x1b68, %pstate | |
10696 | otherw | |
10697 | mov 0x32, %r30 | |
10698 | .word 0x83d0001e ! 312: Tcc_R te icc_or_xcc, %r0 + %r30 | |
10699 | .word 0x879023a7 ! 313: WRPR_TT_I wrpr %r0, 0x03a7, %tt | |
10700 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10701 | ta T_CHANGE_NONHPRIV ! macro | |
10702 | .word 0x99a01962 ! 314: FqTOd dis not found | |
10703 | ||
10704 | .word 0xd88fe010 ! 315: LDUBA_I lduba [%r31, + 0x0010] %asi, %r12 | |
10705 | cwp_3_180: | |
10706 | set user_data_start, %o7 | |
10707 | .word 0x93902003 ! 316: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
10708 | splash_hpstate_3_181: | |
10709 | .word 0x81982146 ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x0146, %hpstate | |
10710 | debug_3_182: | |
10711 | nop | |
10712 | mov 0x38, %r18 | |
10713 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10714 | DS_3_183: | |
10715 | .word 0xa5a149d3 ! 1: FDIVd fdivd %f36, %f50, %f18 | |
10716 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
10717 | .word 0xd3124009 ! 1: LDQF_R - [%r9, %r9], %f9 | |
10718 | .word 0xa9a20831 ! 319: FADDs fadds %f8, %f17, %f20 | |
10719 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10720 | ta T_CHANGE_NONPRIV ! macro | |
10721 | .word 0x9ba01965 ! 320: FqTOd dis not found | |
10722 | ||
10723 | DS_3_185: | |
10724 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
10725 | .word 0xbfefc000 ! 321: RESTORE_R restore %r31, %r0, %r31 | |
10726 | splash_cmpr_3_186: | |
10727 | setx 0xde3e37305e9efb5b, %g2, %g1 | |
10728 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10729 | sub %g1, 100, %g1 | |
10730 | .word 0xb1800001 ! 322: WR_STICK_REG_R wr %r0, %r1, %- | |
10731 | .word 0xa190200c ! 323: WRPR_GL_I wrpr %r0, 0x000c, %- | |
10732 | debug_3_187: | |
10733 | nop | |
10734 | rd %pc, %r19 | |
10735 | add %r19, (64+24), %r19 | |
10736 | mov 0x38, %r18 | |
10737 | .word 0xe6f00b12 ! 324: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10738 | .word 0x91d02032 ! 325: Tcc_I ta icc_or_xcc, %r0 + 50 | |
10739 | change_to_randtl_3_188: | |
10740 | ta T_CHANGE_PRIV ! macro | |
10741 | done_change_to_randtl_3_188: | |
10742 | .word 0x8f902000 ! 326: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10743 | intveclr_3_189: | |
10744 | setx 0x4d594a16c3ded77a, %r1, %r28 | |
10745 | stxa %r28, [%g0] 0x72 | |
10746 | .word 0x25400001 ! 327: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10747 | .word 0xa1902001 ! 328: WRPR_GL_I wrpr %r0, 0x0001, %- | |
10748 | .word 0x26700001 ! 329: BPL <illegal instruction> | |
10749 | splash_hpstate_3_190: | |
10750 | .word 0x81982c8f ! 330: WRHPR_HPSTATE_I wrhpr %r0, 0x0c8f, %hpstate | |
10751 | .word 0xd527c000 ! 331: STF_R st %f10, [%r0, %r31] | |
10752 | debug_3_191: | |
10753 | nop | |
10754 | mov 0x38, %r18 | |
10755 | .word 0xfef00b12 ! 332: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10756 | .word 0x8d902fab ! 333: WRPR_PSTATE_I wrpr %r0, 0x0fab, %pstate | |
10757 | intveclr_3_192: | |
10758 | setx 0x8dbaa077326f5eb5, %r1, %r28 | |
10759 | stxa %r28, [%g0] 0x72 | |
10760 | .word 0x25400001 ! 334: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10761 | .word 0x87802058 ! 335: WRASI_I wr %r0, 0x0058, %asi | |
10762 | DS_3_193: | |
10763 | nop | |
10764 | not %g0, %r12 | |
10765 | jmp %r12 | |
10766 | .word 0x9d902002 ! 336: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
10767 | tagged_3_194: | |
10768 | tsubcctv %r12, 0x1eff, %r20 | |
10769 | .word 0xd407e3f9 ! 337: LDUW_I lduw [%r31 + 0x03f9], %r10 | |
10770 | change_to_randtl_3_195: | |
10771 | ta T_CHANGE_HPRIV ! macro | |
10772 | done_change_to_randtl_3_195: | |
10773 | .word 0x8f902000 ! 338: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10774 | .word 0xd4800a80 ! 339: LDUWA_R lduwa [%r0, %r0] 0x54, %r10 | |
10775 | .word 0x8d802004 ! 340: WRFPRS_I wr %r0, 0x0004, %fprs | |
10776 | splash_cmpr_3_196: | |
10777 | setx 0xbb0f8c8fc9f18fcc, %g2, %g1 | |
10778 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10779 | sub %g1, 100, %g1 | |
10780 | .word 0xb1800001 ! 341: WR_STICK_REG_R wr %r0, %r1, %- | |
10781 | mov (3+1), %r10 | |
10782 | ta T_CHANGE_HPRIV | |
10783 | set sync_thr_counter2, %r23 | |
10784 | cas [%r23],%g0,%r10 !lock | |
10785 | brnz %r10, sma_3_197 | |
10786 | rd %asi, %r12 | |
10787 | wr %g0, 0x40, %asi | |
10788 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10789 | set 0x21fff, %g1 | |
10790 | stxa %g1, [%g0 + 0x80] %asi | |
10791 | wr %r12, %g0, %asi | |
10792 | st %g0, [%r23] | |
10793 | sma_3_197: | |
10794 | ta T_CHANGE_NONHPRIV | |
10795 | .word 0xd5e7e004 ! 342: CASA_R casa [%r31] %asi, %r4, %r10 | |
10796 | .word 0x87902025 ! 343: WRPR_TT_I wrpr %r0, 0x0025, %tt | |
10797 | .word 0x2a700001 ! 344: BPCS <illegal instruction> | |
10798 | .word 0xad80a7ce ! 345: WR_SOFTINT_REG_I wr %r2, 0x07ce, %softint | |
10799 | debug_3_198: | |
10800 | nop | |
10801 | mov 8, %r18 | |
10802 | .word 0xd8f00492 ! 346: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
10803 | .word 0x34800001 ! 347: BG bg,a <label_0x1> | |
10804 | nop | |
10805 | mov 0x80, %g3 | |
10806 | stxa %g3, [%g3] 0x5f | |
10807 | .word 0xd45fc000 ! 348: LDX_R ldx [%r31 + %r0], %r10 | |
10808 | tagged_3_199: | |
10809 | taddcctv %r11, 0x1cf9, %r14 | |
10810 | .word 0xd407fefd ! 349: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
10811 | tagged_3_200: | |
10812 | tsubcctv %r5, 0x18cd, %r19 | |
10813 | .word 0xd407fefd ! 350: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
10814 | donret_3_201: | |
10815 | nop | |
10816 | rd %pc, %r12 | |
10817 | add %r12, (donretarg_3_201-donret_3_201-4), %r12 | |
10818 | mov 0x38, %r18 | |
10819 | stxa %r12, [%r18]0x58 | |
10820 | add %r12, 0x4, %r11 | |
10821 | wrpr %g0, 0x1, %tl | |
10822 | wrpr %g0, %r12, %tpc | |
10823 | wrpr %g0, %r11, %tnpc | |
10824 | wrpr %g0, %r13, %tstate | |
10825 | wrhpr %g0, %r14, %htstate | |
10826 | done | |
10827 | donretarg_3_201: | |
10828 | .word 0xd4fffefd ! 351: SWAPA_I swapa %r10, [%r31 + 0xfffffefd] %asi | |
10829 | mondo_3_202: | |
10830 | nop | |
10831 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10832 | ||
10833 | stxa %r20, [%r0+0x3d8] %asi | |
10834 | .word 0x9d924003 ! 352: WRPR_WSTATE_R wrpr %r9, %r3, %wstate | |
10835 | setx 0x351400b9ae982e4d, %r1, %r28 | |
10836 | stxa %r28, [%g0] 0x73 | |
10837 | intvec_3_203: | |
10838 | .word 0x39400001 ! 353: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10839 | splash_lsu_3_204: | |
10840 | setx 0x1c976d1b77fbcbbb, %r1, %r2 | |
10841 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10842 | .word 0x3d400001 ! 354: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10843 | memptr_3_205: | |
10844 | set 0x60340000, %r31 | |
10845 | .word 0x8581aa78 ! 355: WRCCR_I wr %r6, 0x0a78, %ccr | |
10846 | .word 0xa1902008 ! 356: WRPR_GL_I wrpr %r0, 0x0008, %- | |
10847 | nop | |
10848 | mov 0x80, %g3 | |
10849 | stxa %g3, [%g3] 0x57 | |
10850 | .word 0xd45fc000 ! 357: LDX_R ldx [%r31 + %r0], %r10 | |
10851 | .word 0x99a00167 ! 358: FABSq dis not found | |
10852 | ||
10853 | .word 0x97540000 ! 359: RDPR_GL <illegal instruction> | |
10854 | change_to_randtl_3_206: | |
10855 | ta T_CHANGE_PRIV ! macro | |
10856 | done_change_to_randtl_3_206: | |
10857 | .word 0x8f902000 ! 360: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10858 | .word 0x91d02034 ! 361: Tcc_I ta icc_or_xcc, %r0 + 52 | |
10859 | .word 0xab808007 ! 362: WR_CLEAR_SOFTINT_R wr %r2, %r7, %clear_softint | |
10860 | .word 0x8d902c98 ! 363: WRPR_PSTATE_I wrpr %r0, 0x0c98, %pstate | |
10861 | .word 0x93d02035 ! 364: Tcc_I tne icc_or_xcc, %r0 + 53 | |
10862 | splash_lsu_3_207: | |
10863 | setx 0xc24e2c2f13c56f93, %r1, %r2 | |
10864 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10865 | .word 0x3d400001 ! 365: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10866 | splash_hpstate_3_208: | |
10867 | .word 0x8198298f ! 366: WRHPR_HPSTATE_I wrhpr %r0, 0x098f, %hpstate | |
10868 | debug_3_209: | |
10869 | nop | |
10870 | mov 0x38, %r18 | |
10871 | .word 0xfef00b12 ! 367: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10872 | mondo_3_210: | |
10873 | nop | |
10874 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10875 | ||
10876 | stxa %r9, [%r0+0x3e0] %asi | |
10877 | .word 0x9d924009 ! 368: WRPR_WSTATE_R wrpr %r9, %r9, %wstate | |
10878 | setx 0x2e8afd7aac7df569, %r1, %r28 | |
10879 | stxa %r28, [%g0] 0x73 | |
10880 | intvec_3_211: | |
10881 | .word 0x39400001 ! 369: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10882 | .word 0xe60fe29d ! 370: LDUB_I ldub [%r31 + 0x029d], %r19 | |
10883 | .word 0x8d902571 ! 371: WRPR_PSTATE_I wrpr %r0, 0x0571, %pstate | |
10884 | .word 0x9150c000 ! 372: RDPR_TT <illegal instruction> | |
10885 | mov (3+1), %r10 | |
10886 | ta T_CHANGE_HPRIV | |
10887 | set sync_thr_counter2, %r23 | |
10888 | cas [%r23],%g0,%r10 !lock | |
10889 | brnz %r10, sma_3_212 | |
10890 | rd %asi, %r12 | |
10891 | wr %g0, 0x40, %asi | |
10892 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10893 | set 0x21fff, %g1 | |
10894 | stxa %g1, [%g0 + 0x80] %asi | |
10895 | wr %r12, %g0, %asi | |
10896 | st %g0, [%r23] | |
10897 | sma_3_212: | |
10898 | ta T_CHANGE_NONHPRIV | |
10899 | .word 0xd1e7e00a ! 373: CASA_R casa [%r31] %asi, %r10, %r8 | |
10900 | .word 0xd08008a0 ! 374: LDUWA_R lduwa [%r0, %r0] 0x45, %r8 | |
10901 | .word 0x22800001 ! 375: BE be,a <label_0x1> | |
10902 | .word 0x8780201c ! 376: WRASI_I wr %r0, 0x001c, %asi | |
10903 | .word 0x87802080 ! 377: WRASI_I wr %r0, 0x0080, %asi | |
10904 | .word 0xa5a2cdd4 ! 378: FdMULq fdmulq | |
10905 | splash_tba_3_213: | |
10906 | set 0x003d0000, %r12 | |
10907 | ld [%r12+%r0], %r1 | |
10908 | ta T_CHANGE_PRIV | |
10909 | set 0x003d0000, %r12 | |
10910 | .word 0x8b90000c ! 379: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10911 | .word 0x93d020b4 ! 380: Tcc_I tne icc_or_xcc, %r0 + 180 | |
10912 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10913 | ta T_CHANGE_NONPRIV ! macro | |
10914 | .word 0x9ba01968 ! 381: FqTOd dis not found | |
10915 | ||
10916 | splash_cmpr_3_215: | |
10917 | setx 0xc3277e2cb6bdcfa6, %g2, %g1 | |
10918 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
10919 | sub %g1, 100, %g1 | |
10920 | .word 0xb1800001 ! 382: WR_STICK_REG_R wr %r0, %r1, %- | |
10921 | debug_3_216: | |
10922 | nop | |
10923 | mov 8, %r18 | |
10924 | .word 0xe6f00492 ! 383: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
10925 | setx 0x40f1ca208c435f28, %r1, %r28 | |
10926 | stxa %r28, [%g0] 0x73 | |
10927 | intvec_3_217: | |
10928 | .word 0x39400001 ! 384: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10929 | .word 0xa9480000 ! 385: RDHPR_HPSTATE rdhpr %hpstate, %r20 | |
10930 | .word 0x26800001 ! 386: BL bl,a <label_0x1> | |
10931 | ta T_CHANGE_HPRIV | |
10932 | mov (3+1), %r10 | |
10933 | set sync_thr_counter1, %r23 | |
10934 | cas [%r23],%g0,%r10 !lock | |
10935 | brnz %r10, cwq_3_218 | |
10936 | rd %asi, %r12 | |
10937 | wr %g0, 0x40, %asi | |
10938 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10939 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10940 | cmp %l1, 1 | |
10941 | bne cwq_3_218 | |
10942 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10943 | sub %l2, 0x40, %l2 | |
10944 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10945 | wr %r12, %g0, %asi | |
10946 | st %g0, [%r23] | |
10947 | cwq_3_218: | |
10948 | ta T_CHANGE_NONHPRIV | |
10949 | .word 0x97414000 ! 387: RDPC rd %pc, %r11 | |
10950 | splash_hpstate_3_219: | |
10951 | .word 0x81982f75 ! 388: WRHPR_HPSTATE_I wrhpr %r0, 0x0f75, %hpstate | |
10952 | splash_tba_3_220: | |
10953 | set 0x120000, %r12 | |
10954 | st %r1, [%r12+%r0] | |
10955 | ta T_CHANGE_PRIV | |
10956 | set 0x120000, %r12 | |
10957 | .word 0x8b90000c ! 389: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10958 | splash_tba_3_221: | |
10959 | set 0x120000, %r12 | |
10960 | ld [%r12+%r0], %r1 | |
10961 | ta T_CHANGE_PRIV | |
10962 | set 0x120000, %r12 | |
10963 | .word 0x8b90000c ! 390: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10964 | splash_cmpr_3_222: | |
10965 | setx 0x105b7da25e8cfce7, %g2, %g1 | |
10966 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10967 | sub %g1, 100, %g1 | |
10968 | .word 0xb1800001 ! 391: WR_STICK_REG_R wr %r0, %r1, %- | |
10969 | setx 0xa5d06fdeed35f4a7, %r1, %r28 | |
10970 | stxa %r28, [%g0] 0x73 | |
10971 | intvec_3_223: | |
10972 | .word 0x39400001 ! 392: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10973 | .word 0xa6d46394 ! 393: UMULcc_I umulcc %r17, 0x0394, %r19 | |
10974 | .word 0xd697e030 ! 394: LDUHA_I lduha [%r31, + 0x0030] %asi, %r11 | |
10975 | .word 0x20700001 ! 395: BPN <illegal instruction> | |
10976 | .word 0x91d02034 ! 396: Tcc_I ta icc_or_xcc, %r0 + 52 | |
10977 | .word 0x9770235a ! 397: POPC_I popc 0x035a, %r11 | |
10978 | splash_lsu_3_224: | |
10979 | setx 0x0149df845243f27d, %r1, %r2 | |
10980 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10981 | .word 0x3d400001 ! 398: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10982 | .word 0x879021c0 ! 399: WRPR_TT_I wrpr %r0, 0x01c0, %tt | |
10983 | splash_cmpr_3_225: | |
10984 | setx 0xaad5bdf1ba1f5e81, %g2, %g1 | |
10985 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
10986 | sub %g1, 100, %g1 | |
10987 | .word 0xb1800001 ! 400: WR_STICK_REG_R wr %r0, %r1, %- | |
10988 | memptr_3_226: | |
10989 | set 0x60740000, %r31 | |
10990 | .word 0x858232d3 ! 401: WRCCR_I wr %r8, 0x12d3, %ccr | |
10991 | cwp_3_227: | |
10992 | set user_data_start, %o7 | |
10993 | .word 0x93902002 ! 402: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
10994 | .word 0x9f803435 ! 403: SIR sir 0x1435 | |
10995 | mondo_3_228: | |
10996 | nop | |
10997 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10998 | ||
10999 | stxa %r13, [%r0+0x3e0] %asi | |
11000 | .word 0x9d924014 ! 404: WRPR_WSTATE_R wrpr %r9, %r20, %wstate | |
11001 | .word 0xab8470df ! 405: WR_CLEAR_SOFTINT_I wr %r17, 0x10df, %clear_softint | |
11002 | .word 0xa190200c ! 406: WRPR_GL_I wrpr %r0, 0x000c, %- | |
11003 | DS_3_229: | |
11004 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
11005 | .word 0xbfefc000 ! 407: RESTORE_R restore %r31, %r0, %r31 | |
11006 | tagged_3_230: | |
11007 | tsubcctv %r4, 0x1b78, %r15 | |
11008 | .word 0xe207f5d2 ! 408: LDUW_I lduw [%r31 + 0xfffff5d2], %r17 | |
11009 | .word 0x93540000 ! 409: RDPR_GL <illegal instruction> | |
11010 | mondo_3_231: | |
11011 | nop | |
11012 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11013 | ||
11014 | stxa %r12, [%r0+0x3c0] %asi | |
11015 | .word 0x9d934001 ! 410: WRPR_WSTATE_R wrpr %r13, %r1, %wstate | |
11016 | debug_3_232: | |
11017 | nop | |
11018 | rd %pc, %r19 | |
11019 | add %r19, (64+32), %r19 | |
11020 | mov 0x38, %r18 | |
11021 | .word 0xe6f00b12 ! 411: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11022 | splash_cmpr_3_233: | |
11023 | setx 0x2c13ddc219ca3a61, %g2, %g1 | |
11024 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11025 | sub %g1, 100, %g1 | |
11026 | .word 0xb1800001 ! 412: WR_STICK_REG_R wr %r0, %r1, %- | |
11027 | mov (3+1), %r10 | |
11028 | ta T_CHANGE_HPRIV | |
11029 | set sync_thr_counter2, %r23 | |
11030 | cas [%r23],%g0,%r10 !lock | |
11031 | brnz %r10, sma_3_234 | |
11032 | rd %asi, %r12 | |
11033 | wr %g0, 0x40, %asi | |
11034 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11035 | set 0x21fff, %g1 | |
11036 | stxa %g1, [%g0 + 0x80] %asi | |
11037 | wr %r12, %g0, %asi | |
11038 | st %g0, [%r23] | |
11039 | sma_3_234: | |
11040 | ta T_CHANGE_NONHPRIV | |
11041 | .word 0xd9e7e014 ! 413: CASA_R casa [%r31] %asi, %r20, %r12 | |
11042 | .word 0xd927c000 ! 414: STF_R st %f12, [%r0, %r31] | |
11043 | debug_3_235: | |
11044 | nop | |
11045 | rd %pc, %r19 | |
11046 | add %r19, (64+48), %r19 | |
11047 | mov 0x38, %r18 | |
11048 | .word 0xe6f00b12 ! 415: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11049 | .word 0x879022cb ! 416: WRPR_TT_I wrpr %r0, 0x02cb, %tt | |
11050 | debug_3_236: | |
11051 | nop | |
11052 | mov 0x38, %r18 | |
11053 | .word 0xfef00b12 ! 417: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11054 | mondo_3_237: | |
11055 | nop | |
11056 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11057 | ||
11058 | stxa %r9, [%r0+0x3e8] %asi | |
11059 | .word 0x9d948003 ! 418: WRPR_WSTATE_R wrpr %r18, %r3, %wstate | |
11060 | tagged_3_238: | |
11061 | tsubcctv %r13, 0x13a3, %r1 | |
11062 | .word 0xd807f5d2 ! 419: LDUW_I lduw [%r31 + 0xfffff5d2], %r12 | |
11063 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11064 | ta T_CHANGE_NONHPRIV ! macro | |
11065 | .word 0x956c7bf1 ! 420: SDIVX_I sdivx %r17, 0xfffffbf1, %r10 | |
11066 | .word 0x8790200b ! 421: WRPR_TT_I wrpr %r0, 0x000b, %tt | |
11067 | .word 0x91d020b2 ! 422: Tcc_I ta icc_or_xcc, %r0 + 178 | |
11068 | .word 0xd8d804a0 ! 423: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
11069 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11070 | ta T_CHANGE_NONPRIV ! macro | |
11071 | .word 0xa16c61e7 ! 424: SDIVX_I sdivx %r17, 0x01e7, %r16 | |
11072 | rd %pc, %r19 | |
11073 | add %r19, (ivw_3_241-.+56), %r19 | |
11074 | mov 0x38, %r18 | |
11075 | stxa %r19, [%r18]0x58 | |
11076 | ivw_3_241: | |
11077 | .word 0x9190c014 ! 425: WRPR_PIL_R wrpr %r3, %r20, %pil | |
11078 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11079 | ta T_CHANGE_NONPRIV ! macro | |
11080 | .word 0x9969ef1e ! 426: SDIVX_I sdivx %r7, 0x0f1e, %r12 | |
11081 | splash_cmpr_3_243: | |
11082 | setx 0x3c2e580c0331581f, %g2, %g1 | |
11083 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
11084 | sub %g1, 100, %g1 | |
11085 | .word 0xb1800001 ! 427: WR_STICK_REG_R wr %r0, %r1, %- | |
11086 | splash_cmpr_3_244: | |
11087 | setx 0x74db0145c16f6f01, %g2, %g1 | |
11088 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11089 | sub %g1, 100, %g1 | |
11090 | .word 0xb1800001 ! 428: WR_STICK_REG_R wr %r0, %r1, %- | |
11091 | .word 0xa7680005 ! 429: SDIVX_R sdivx %r0, %r5, %r19 | |
11092 | setx 0xa2e9b420fc5cdef3, %r1, %r28 | |
11093 | stxa %r28, [%g0] 0x73 | |
11094 | intvec_3_245: | |
11095 | .word 0x39400001 ! 430: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11096 | DS_3_246: | |
11097 | nop | |
11098 | not %g0, %r12 | |
11099 | jmp %r12 | |
11100 | .word 0x9d902002 ! 431: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
11101 | pmu_3_247: | |
11102 | nop | |
11103 | setx 0xfffff463fffff9b1, %g1, %g7 | |
11104 | .word 0xa3800007 ! 432: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
11105 | change_to_randtl_3_248: | |
11106 | ta T_CHANGE_PRIV ! macro | |
11107 | done_change_to_randtl_3_248: | |
11108 | .word 0x8f902000 ! 433: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11109 | .word 0xe257c000 ! 434: LDSH_R ldsh [%r31 + %r0], %r17 | |
11110 | .word 0xa1902002 ! 435: WRPR_GL_I wrpr %r0, 0x0002, %- | |
11111 | mov (3+1), %r10 | |
11112 | ta T_CHANGE_HPRIV | |
11113 | set sync_thr_counter2, %r23 | |
11114 | cas [%r23],%g0,%r10 !lock | |
11115 | brnz %r10, sma_3_249 | |
11116 | rd %asi, %r12 | |
11117 | wr %g0, 0x40, %asi | |
11118 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11119 | set 0x21fff, %g1 | |
11120 | stxa %g1, [%g0 + 0x80] %asi | |
11121 | wr %r12, %g0, %asi | |
11122 | st %g0, [%r23] | |
11123 | sma_3_249: | |
11124 | ta T_CHANGE_NONHPRIV | |
11125 | .word 0xe3e7e00b ! 436: CASA_R casa [%r31] %asi, %r11, %r17 | |
11126 | splash_lsu_3_250: | |
11127 | setx 0x361b9713597960e3, %r1, %r2 | |
11128 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11129 | .word 0x3d400001 ! 437: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11130 | .word 0xe28008a0 ! 438: LDUWA_R lduwa [%r0, %r0] 0x45, %r17 | |
11131 | splash_lsu_3_251: | |
11132 | setx 0xaea04a047331da1d, %r1, %r2 | |
11133 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11134 | .word 0x3d400001 ! 439: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11135 | splash_cmpr_3_252: | |
11136 | setx 0xd24fe53a2caf3e1e, %g2, %g1 | |
11137 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11138 | sub %g1, 100, %g1 | |
11139 | .word 0xb1800001 ! 440: WR_STICK_REG_R wr %r0, %r1, %- | |
11140 | nop | |
11141 | mov 0x80, %g3 | |
11142 | stxa %g3, [%g3] 0x5f | |
11143 | .word 0xe25fc000 ! 441: LDX_R ldx [%r31 + %r0], %r17 | |
11144 | .word 0x95540000 ! 442: RDPR_GL <illegal instruction> | |
11145 | ta T_CHANGE_HPRIV | |
11146 | mov (3+1), %r10 | |
11147 | set sync_thr_counter1, %r23 | |
11148 | cas [%r23],%g0,%r10 !lock | |
11149 | brnz %r10, cwq_3_253 | |
11150 | rd %asi, %r12 | |
11151 | wr %g0, 0x40, %asi | |
11152 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11153 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11154 | cmp %l1, 1 | |
11155 | bne cwq_3_253 | |
11156 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11157 | sub %l2, 0x40, %l2 | |
11158 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11159 | wr %r12, %g0, %asi | |
11160 | st %g0, [%r23] | |
11161 | cwq_3_253: | |
11162 | ta T_CHANGE_NONHPRIV | |
11163 | .word 0x97414000 ! 443: RDPC rd %pc, %r11 | |
11164 | splash_htba_3_254: | |
11165 | set 0x80000, %r12 | |
11166 | st %r1, [%r12+%r0] | |
11167 | ta T_CHANGE_HPRIV | |
11168 | set 0x80000, %r12 | |
11169 | .word 0x8b98000c ! 444: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
11170 | tagged_3_255: | |
11171 | taddcctv %r10, 0x18a4, %r19 | |
11172 | .word 0xd807f183 ! 445: LDUW_I lduw [%r31 + 0xfffff183], %r12 | |
11173 | memptr_3_256: | |
11174 | set 0x60140000, %r31 | |
11175 | .word 0x858078ba ! 446: WRCCR_I wr %r1, 0x18ba, %ccr | |
11176 | tagged_3_257: | |
11177 | taddcctv %r23, 0x1bd2, %r24 | |
11178 | .word 0xd807e3fe ! 447: LDUW_I lduw [%r31 + 0x03fe], %r12 | |
11179 | .word 0xd91fe3fe ! 448: LDDF_I ldd [%r31, 0x03fe], %f12 | |
11180 | .word 0x87802080 ! 449: WRASI_I wr %r0, 0x0080, %asi | |
11181 | splash_tba_3_258: | |
11182 | set 0x003d0000, %r12 | |
11183 | st %r1, [%r12+%r0] | |
11184 | ta T_CHANGE_PRIV | |
11185 | set 0x003d0000, %r12 | |
11186 | .word 0x8b90000c ! 450: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11187 | .word 0x976a0013 ! 451: SDIVX_R sdivx %r8, %r19, %r11 | |
11188 | rd %pc, %r19 | |
11189 | add %r19, (ivw_3_259-.+0), %r19 | |
11190 | mov 0x38, %r18 | |
11191 | stxa %r19, [%r18]0x58 | |
11192 | ivw_3_259: | |
11193 | .word 0x91928003 ! 452: WRPR_PIL_R wrpr %r10, %r3, %pil | |
11194 | rd %pc, %r19 | |
11195 | add %r19, (ivw_3_260-.+48), %r19 | |
11196 | mov 0x38, %r18 | |
11197 | stxa %r19, [%r18]0x58 | |
11198 | ivw_3_260: | |
11199 | .word 0x9194c003 ! 453: WRPR_PIL_R wrpr %r19, %r3, %pil | |
11200 | ta T_CHANGE_HPRIV | |
11201 | mov (3+1), %r10 | |
11202 | set sync_thr_counter1, %r23 | |
11203 | cas [%r23],%g0,%r10 !lock | |
11204 | brnz %r10, cwq_3_261 | |
11205 | rd %asi, %r12 | |
11206 | wr %g0, 0x40, %asi | |
11207 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11208 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11209 | cmp %l1, 1 | |
11210 | bne cwq_3_261 | |
11211 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11212 | sub %l2, 0x40, %l2 | |
11213 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11214 | wr %r12, %g0, %asi | |
11215 | st %g0, [%r23] | |
11216 | cwq_3_261: | |
11217 | ta T_CHANGE_NONHPRIV | |
11218 | .word 0xa5414000 ! 454: RDPC rd %pc, %r18 | |
11219 | invalw | |
11220 | mov 0x33, %r30 | |
11221 | .word 0x93d0001e ! 455: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
11222 | splash_cmpr_3_262: | |
11223 | setx 0xfb372606096544fd, %g2, %g1 | |
11224 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11225 | sub %g1, 100, %g1 | |
11226 | .word 0xb1800001 ! 456: WR_STICK_REG_R wr %r0, %r1, %- | |
11227 | .word 0x91d02033 ! 457: Tcc_I ta icc_or_xcc, %r0 + 51 | |
11228 | DS_3_263: | |
11229 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
11230 | .word 0xe53162c0 ! 1: STQF_I - %f18, [0x02c0, %r5] | |
11231 | normalw | |
11232 | .word 0x97458000 ! 458: RD_SOFTINT_REG rd %softint, %r11 | |
11233 | memptr_3_264: | |
11234 | set user_data_start, %r31 | |
11235 | .word 0x85827c90 ! 459: WRCCR_I wr %r9, 0x1c90, %ccr | |
11236 | debug_3_265: | |
11237 | nop | |
11238 | rd %pc, %r19 | |
11239 | add %r19, (64+16), %r19 | |
11240 | mov 0x38, %r18 | |
11241 | .word 0xe6f00b12 ! 460: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11242 | .word 0xe527f6cd ! 461: STF_I st %f18, [0x16cd, %r31] | |
11243 | splash_cmpr_3_266: | |
11244 | setx 0x60397fe8396c7e5d, %g2, %g1 | |
11245 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11246 | sub %g1, 100, %g1 | |
11247 | .word 0xb1800001 ! 462: WR_STICK_REG_R wr %r0, %r1, %- | |
11248 | .word 0x99a0c9c7 ! 463: FDIVd fdivd %f34, %f38, %f12 | |
11249 | splash_htba_3_267: | |
11250 | set 0x00390000, %r12 | |
11251 | ld [%r12+%r0], %r1 | |
11252 | ta T_CHANGE_HPRIV | |
11253 | set 0x00390000, %r12 | |
11254 | .word 0x8b98000c ! 464: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
11255 | .word 0xd6c7e000 ! 465: LDSWA_I ldswa [%r31, + 0x0000] %asi, %r11 | |
11256 | splash_lsu_3_268: | |
11257 | setx 0xecea25b2c7484d61, %r1, %r2 | |
11258 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11259 | .word 0x3d400001 ! 466: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11260 | setx 0xde7c3e8584ca3450, %r1, %r28 | |
11261 | stxa %r28, [%g0] 0x73 | |
11262 | intvec_3_269: | |
11263 | .word 0x39400001 ! 467: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11264 | .word 0xa7480000 ! 468: RDHPR_HPSTATE rdhpr %hpstate, %r19 | |
11265 | splash_cmpr_3_270: | |
11266 | setx 0x72541d38ecbd158b, %g2, %g1 | |
11267 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11268 | sub %g1, 100, %g1 | |
11269 | .word 0xb1800001 ! 469: WR_STICK_REG_R wr %r0, %r1, %- | |
11270 | .word 0x36700001 ! 470: BPGE <illegal instruction> | |
11271 | DS_3_271: | |
11272 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
11273 | .word 0xbfefc000 ! 471: RESTORE_R restore %r31, %r0, %r31 | |
11274 | .word 0xd4d7e000 ! 472: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r10 | |
11275 | DS_3_272: | |
11276 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
11277 | .word 0xa5a049c9 ! 1: FDIVd fdivd %f32, %f40, %f18 | |
11278 | normalw | |
11279 | .word 0x99458000 ! 473: RD_SOFTINT_REG rd %softint, %r12 | |
11280 | .word 0x8790216a ! 474: WRPR_TT_I wrpr %r0, 0x016a, %tt | |
11281 | splash_cmpr_3_273: | |
11282 | setx 0xc616688047737265, %g2, %g1 | |
11283 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11284 | sub %g1, 100, %g1 | |
11285 | .word 0xb1800001 ! 475: WR_STICK_REG_R wr %r0, %r1, %- | |
11286 | DS_3_274: | |
11287 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
11288 | pdist %f18, %f20, %f12 | |
11289 | .word 0x97b08311 ! 476: ALIGNADDRESS alignaddr %r2, %r17, %r11 | |
11290 | .word 0x8d902ff2 ! 477: WRPR_PSTATE_I wrpr %r0, 0x0ff2, %pstate | |
11291 | mondo_3_275: | |
11292 | nop | |
11293 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11294 | ||
11295 | stxa %r5, [%r0+0x3e0] %asi | |
11296 | .word 0x9d914012 ! 478: WRPR_WSTATE_R wrpr %r5, %r18, %wstate | |
11297 | .word 0xda8008a0 ! 479: LDUWA_R lduwa [%r0, %r0] 0x45, %r13 | |
11298 | tagged_3_276: | |
11299 | tsubcctv %r6, 0x19a0, %r16 | |
11300 | .word 0xda07f6cd ! 480: LDUW_I lduw [%r31 + 0xfffff6cd], %r13 | |
11301 | splash_htba_3_277: | |
11302 | set 0x80000, %r12 | |
11303 | ld [%r12+%r0], %r1 | |
11304 | ta T_CHANGE_HPRIV | |
11305 | set 0x80000, %r12 | |
11306 | .word 0x8b98000c ! 481: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
11307 | .word 0x3c700001 ! 482: BPPOS <illegal instruction> | |
11308 | .word 0xa1450000 ! 483: RD_SET_SOFTINT rd %set_softint, %r16 | |
11309 | .word 0xd0cfe000 ! 484: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r8 | |
11310 | nop | |
11311 | mov 0x80, %g3 | |
11312 | stxa %g3, [%g3] 0x57 | |
11313 | .word 0xd05fc000 ! 485: LDX_R ldx [%r31 + %r0], %r8 | |
11314 | splash_cmpr_3_278: | |
11315 | setx 0x49392c534816aa9f, %g2, %g1 | |
11316 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11317 | sub %g1, 100, %g1 | |
11318 | .word 0xb1800001 ! 486: WR_STICK_REG_R wr %r0, %r1, %- | |
11319 | otherw | |
11320 | mov 0xb4, %r30 | |
11321 | .word 0x93d0001e ! 487: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
11322 | cwp_3_279: | |
11323 | set user_data_start, %o7 | |
11324 | .word 0x93902005 ! 488: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
11325 | .word 0x9f80374b ! 489: SIR sir 0x174b | |
11326 | cwp_3_280: | |
11327 | set user_data_start, %o7 | |
11328 | .word 0x93902001 ! 490: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
11329 | change_to_randtl_3_281: | |
11330 | ta T_CHANGE_HPRIV ! macro | |
11331 | done_change_to_randtl_3_281: | |
11332 | .word 0x8f902003 ! 491: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
11333 | donret_3_282: | |
11334 | nop | |
11335 | rd %pc, %r12 | |
11336 | add %r12, (donretarg_3_282-donret_3_282), %r12 | |
11337 | mov 0x38, %r18 | |
11338 | stxa %r12, [%r18]0x58 | |
11339 | add %r12, 0x4, %r11 | |
11340 | wrpr %g0, 0x1, %tl | |
11341 | wrpr %g0, %r12, %tpc | |
11342 | wrpr %g0, %r11, %tnpc | |
11343 | wrpr %g0, %r13, %tstate | |
11344 | wrhpr %g0, %r14, %htstate | |
11345 | retry | |
11346 | donretarg_3_282: | |
11347 | .word 0xd0fff0df ! 492: SWAPA_I swapa %r8, [%r31 + 0xfffff0df] %asi | |
11348 | .word 0x91d020b2 ! 493: Tcc_I ta icc_or_xcc, %r0 + 178 | |
11349 | .word 0x36800001 ! 494: BGE bge,a <label_0x1> | |
11350 | splash_cmpr_3_283: | |
11351 | setx 0x00347691d66e82f0, %g2, %g1 | |
11352 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11353 | sub %g1, 100, %g1 | |
11354 | .word 0xb1800001 ! 495: WR_STICK_REG_R wr %r0, %r1, %- | |
11355 | splash_lsu_3_284: | |
11356 | setx 0x0be33478489c1d87, %r1, %r2 | |
11357 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11358 | .word 0x3d400001 ! 496: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11359 | splash_tba_3_285: | |
11360 | set 0x003d0000, %r12 | |
11361 | ld [%r12+%r0], %r1 | |
11362 | ta T_CHANGE_PRIV | |
11363 | set 0x003d0000, %r12 | |
11364 | .word 0x8b90000c ! 497: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11365 | tagged_3_286: | |
11366 | tsubcctv %r9, 0x1484, %r17 | |
11367 | .word 0xd007f0df ! 498: LDUW_I lduw [%r31 + 0xfffff0df], %r8 | |
11368 | nop | |
11369 | nop | |
11370 | setx join_lbl_0_0, %g1, %g2 | |
11371 | jmp %g2 | |
11372 | nop | |
11373 | fork_lbl_0_3: | |
11374 | .word 0x26700001 ! 1: BPL <illegal instruction> | |
11375 | memptr_2_0: | |
11376 | set user_data_start, %r31 | |
11377 | .word 0x85847a7e ! 2: WRCCR_I wr %r17, 0x1a7e, %ccr | |
11378 | DS_2_1: | |
11379 | nop | |
11380 | not %g0, %r12 | |
11381 | jmp %r12 | |
11382 | .word 0x9d902005 ! 3: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
11383 | .word 0xe46ffa57 ! 4: LDSTUB_I ldstub %r18, [%r31 + 0xfffffa57] | |
11384 | .word 0xa1902003 ! 5: WRPR_GL_I wrpr %r0, 0x0003, %- | |
11385 | change_to_randtl_2_2: | |
11386 | ta T_CHANGE_PRIV ! macro | |
11387 | done_change_to_randtl_2_2: | |
11388 | .word 0x8f902000 ! 6: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11389 | splash_cmpr_2_3: | |
11390 | setx 0x410633c3fb13c09c, %g2, %g1 | |
11391 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11392 | sub %g1, 100, %g1 | |
11393 | .word 0xb1800001 ! 7: WR_STICK_REG_R wr %r0, %r1, %- | |
11394 | mondo_2_4: | |
11395 | nop | |
11396 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11397 | ||
11398 | stxa %r19, [%r0+0x3c0] %asi | |
11399 | .word 0x9d91800a ! 8: WRPR_WSTATE_R wrpr %r6, %r10, %wstate | |
11400 | .word 0x8780204f ! 9: WRASI_I wr %r0, 0x004f, %asi | |
11401 | donret_2_5: | |
11402 | nop | |
11403 | rd %pc, %r12 | |
11404 | add %r12, (donretarg_2_5-donret_2_5-4), %r12 | |
11405 | mov 0x38, %r18 | |
11406 | stxa %r12, [%r18]0x58 | |
11407 | add %r12, 0x4, %r11 | |
11408 | wrpr %g0, 0x3, %tl | |
11409 | wrpr %g0, %r12, %tpc | |
11410 | wrpr %g0, %r11, %tnpc | |
11411 | wrpr %g0, %r13, %tstate | |
11412 | wrhpr %g0, %r14, %htstate | |
11413 | done | |
11414 | donretarg_2_5: | |
11415 | .word 0xe4fffa57 ! 10: SWAPA_I swapa %r18, [%r31 + 0xfffffa57] %asi | |
11416 | change_to_randtl_2_6: | |
11417 | ta T_CHANGE_PRIV ! macro | |
11418 | done_change_to_randtl_2_6: | |
11419 | .word 0x8f902000 ! 11: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11420 | cwp_2_7: | |
11421 | set user_data_start, %o7 | |
11422 | .word 0x93902006 ! 12: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
11423 | .word 0x2e700001 ! 13: BPVS <illegal instruction> | |
11424 | splash_lsu_2_8: | |
11425 | setx 0x87bc8742d233cdab, %r1, %r2 | |
11426 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11427 | .word 0x3d400001 ! 14: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11428 | .word 0x8d9037ce ! 15: WRPR_PSTATE_I wrpr %r0, 0x17ce, %pstate | |
11429 | .word 0x8790201b ! 16: WRPR_TT_I wrpr %r0, 0x001b, %tt | |
11430 | ta T_CHANGE_HPRIV | |
11431 | mov (2+1), %r10 | |
11432 | set sync_thr_counter1, %r23 | |
11433 | cas [%r23],%g0,%r10 !lock | |
11434 | brnz %r10, cwq_2_9 | |
11435 | rd %asi, %r12 | |
11436 | wr %g0, 0x40, %asi | |
11437 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11438 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11439 | cmp %l1, 1 | |
11440 | bne cwq_2_9 | |
11441 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11442 | sub %l2, 0x40, %l2 | |
11443 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11444 | wr %r12, %g0, %asi | |
11445 | st %g0, [%r23] | |
11446 | cwq_2_9: | |
11447 | ta T_CHANGE_NONHPRIV | |
11448 | .word 0x95414000 ! 17: RDPC rd %pc, %r10 | |
11449 | .word 0xd8c804a0 ! 18: LDSBA_R ldsba [%r0, %r0] 0x25, %r12 | |
11450 | debug_2_10: | |
11451 | nop | |
11452 | rd %pc, %r19 | |
11453 | add %r19, (64+56), %r19 | |
11454 | mov 0x38, %r18 | |
11455 | .word 0xe6f00b12 ! 19: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11456 | .word 0xd84fc000 ! 20: LDSB_R ldsb [%r31 + %r0], %r12 | |
11457 | cwp_2_11: | |
11458 | set user_data_start, %o7 | |
11459 | .word 0x93902007 ! 21: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
11460 | .word 0xa545c000 ! 22: RD_TICK_CMPR_REG rd %-, %r18 | |
11461 | .word 0x8d902f92 ! 23: WRPR_PSTATE_I wrpr %r0, 0x0f92, %pstate | |
11462 | splash_lsu_2_12: | |
11463 | setx 0x8e7ba3fb2c540663, %r1, %r2 | |
11464 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11465 | .word 0x3d400001 ! 24: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11466 | .word 0xa190200c ! 25: WRPR_GL_I wrpr %r0, 0x000c, %- | |
11467 | .word 0xa1a00173 ! 26: FABSq dis not found | |
11468 | ||
11469 | splash_lsu_2_13: | |
11470 | setx 0x20be929a28f5644d, %r1, %r2 | |
11471 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11472 | .word 0x3d400001 ! 27: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11473 | memptr_2_14: | |
11474 | set 0x60740000, %r31 | |
11475 | .word 0x8580ae93 ! 28: WRCCR_I wr %r2, 0x0e93, %ccr | |
11476 | splash_hpstate_2_15: | |
11477 | .word 0x8198220e ! 29: WRHPR_HPSTATE_I wrhpr %r0, 0x020e, %hpstate | |
11478 | .word 0x99464000 ! 30: RD_STICK_CMPR_REG rd %-, %r12 | |
11479 | .word 0x93d020b2 ! 31: Tcc_I tne icc_or_xcc, %r0 + 178 | |
11480 | debug_2_16: | |
11481 | nop | |
11482 | rd %pc, %r19 | |
11483 | add %r19, (64+16), %r19 | |
11484 | mov 0x38, %r18 | |
11485 | .word 0xe6f00b12 ! 32: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11486 | cwp_2_17: | |
11487 | set user_data_start, %o7 | |
11488 | .word 0x93902006 ! 33: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
11489 | .word 0xe4880e60 ! 34: LDUBA_R lduba [%r0, %r0] 0x73, %r18 | |
11490 | splash_hpstate_2_18: | |
11491 | .word 0x81982476 ! 35: WRHPR_HPSTATE_I wrhpr %r0, 0x0476, %hpstate | |
11492 | cwp_2_19: | |
11493 | set user_data_start, %o7 | |
11494 | .word 0x93902000 ! 36: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
11495 | ta T_CHANGE_HPRIV | |
11496 | mov (2+1), %r10 | |
11497 | set sync_thr_counter1, %r23 | |
11498 | cas [%r23],%g0,%r10 !lock | |
11499 | brnz %r10, cwq_2_20 | |
11500 | rd %asi, %r12 | |
11501 | wr %g0, 0x40, %asi | |
11502 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11503 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11504 | cmp %l1, 1 | |
11505 | bne cwq_2_20 | |
11506 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11507 | sub %l2, 0x40, %l2 | |
11508 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11509 | wr %r12, %g0, %asi | |
11510 | st %g0, [%r23] | |
11511 | cwq_2_20: | |
11512 | ta T_CHANGE_NONHPRIV | |
11513 | .word 0x91414000 ! 37: RDPC rd %pc, %r8 | |
11514 | .word 0x8780204f ! 38: WRASI_I wr %r0, 0x004f, %asi | |
11515 | DS_2_21: | |
11516 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
11517 | allclean | |
11518 | .word 0xa3b0c310 ! 39: ALIGNADDRESS alignaddr %r3, %r16, %r17 | |
11519 | .word 0xe80ffaea ! 40: LDUB_I ldub [%r31 + 0xfffffaea], %r20 | |
11520 | .word 0x8d90237f ! 41: WRPR_PSTATE_I wrpr %r0, 0x037f, %pstate | |
11521 | .word 0xe8c804a0 ! 42: LDSBA_R ldsba [%r0, %r0] 0x25, %r20 | |
11522 | debug_2_22: | |
11523 | nop | |
11524 | rd %pc, %r19 | |
11525 | add %r19, (64+32), %r19 | |
11526 | mov 0x38, %r18 | |
11527 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11528 | mondo_2_23: | |
11529 | nop | |
11530 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11531 | ||
11532 | stxa %r1, [%r0+0x3e8] %asi | |
11533 | .word 0x9d904006 ! 44: WRPR_WSTATE_R wrpr %r1, %r6, %wstate | |
11534 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_24) + 24, 16, 16)) -> intp(4,0,24) | |
11535 | intvec_2_24: | |
11536 | .word 0x39400001 ! 45: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11537 | .word 0x8d903cca ! 46: WRPR_PSTATE_I wrpr %r0, 0x1cca, %pstate | |
11538 | .word 0xab80b5c0 ! 47: WR_CLEAR_SOFTINT_I wr %r2, 0x15c0, %clear_softint | |
11539 | memptr_2_25: | |
11540 | set 0x60540000, %r31 | |
11541 | .word 0x85816495 ! 48: WRCCR_I wr %r5, 0x0495, %ccr | |
11542 | .word 0xe927c000 ! 49: STF_R st %f20, [%r0, %r31] | |
11543 | splash_hpstate_2_26: | |
11544 | .word 0x81982ace ! 50: WRHPR_HPSTATE_I wrhpr %r0, 0x0ace, %hpstate | |
11545 | .word 0xe8900e40 ! 51: LDUHA_R lduha [%r0, %r0] 0x72, %r20 | |
11546 | .word 0x8d902c41 ! 52: WRPR_PSTATE_I wrpr %r0, 0x0c41, %pstate | |
11547 | .word 0x91d02034 ! 53: Tcc_I ta icc_or_xcc, %r0 + 52 | |
11548 | debug_2_27: | |
11549 | nop | |
11550 | mov 8, %r18 | |
11551 | .word 0xe2f00492 ! 54: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
11552 | .word 0xe81fc000 ! 55: LDD_R ldd [%r31 + %r0], %r20 | |
11553 | ta T_CHANGE_HPRIV | |
11554 | mov (2+1), %r10 | |
11555 | set sync_thr_counter1, %r23 | |
11556 | cas [%r23],%g0,%r10 !lock | |
11557 | brnz %r10, cwq_2_28 | |
11558 | rd %asi, %r12 | |
11559 | wr %g0, 0x40, %asi | |
11560 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11561 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11562 | cmp %l1, 1 | |
11563 | bne cwq_2_28 | |
11564 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11565 | sub %l2, 0x40, %l2 | |
11566 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11567 | wr %r12, %g0, %asi | |
11568 | st %g0, [%r23] | |
11569 | cwq_2_28: | |
11570 | ta T_CHANGE_NONHPRIV | |
11571 | .word 0xa1414000 ! 56: RDPC rd %pc, %r16 | |
11572 | .word 0x8790226e ! 57: WRPR_TT_I wrpr %r0, 0x026e, %tt | |
11573 | .word 0xa0dc8008 ! 58: SMULcc_R smulcc %r18, %r8, %r16 | |
11574 | setx 0xc381c25a4576412e, %r1, %r28 | |
11575 | stxa %r28, [%g0] 0x73 | |
11576 | intvec_2_29: | |
11577 | .word 0x39400001 ! 59: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11578 | splash_hpstate_2_30: | |
11579 | .word 0x819822bf ! 60: WRHPR_HPSTATE_I wrhpr %r0, 0x02bf, %hpstate | |
11580 | .word 0xa190200d ! 61: WRPR_GL_I wrpr %r0, 0x000d, %- | |
11581 | splash_hpstate_2_31: | |
11582 | .word 0x81982405 ! 62: WRHPR_HPSTATE_I wrhpr %r0, 0x0405, %hpstate | |
11583 | donret_2_32: | |
11584 | nop | |
11585 | rd %pc, %r12 | |
11586 | add %r12, (donretarg_2_32-donret_2_32), %r12 | |
11587 | mov 0x38, %r18 | |
11588 | stxa %r12, [%r18]0x58 | |
11589 | add %r12, 0x4, %r11 | |
11590 | wrpr %g0, 0x2, %tl | |
11591 | wrpr %g0, %r12, %tpc | |
11592 | wrpr %g0, %r11, %tnpc | |
11593 | wrpr %g0, %r13, %tstate | |
11594 | wrhpr %g0, %r14, %htstate | |
11595 | retry | |
11596 | donretarg_2_32: | |
11597 | .word 0xd8ffe315 ! 63: SWAPA_I swapa %r12, [%r31 + 0x0315] %asi | |
11598 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11599 | ta T_CHANGE_NONHPRIV ! macro | |
11600 | .word 0xa7a0196b ! 64: FqTOd dis not found | |
11601 | ||
11602 | .word 0x26700001 ! 65: BPL <illegal instruction> | |
11603 | .word 0xe6c7e010 ! 66: LDSWA_I ldswa [%r31, + 0x0010] %asi, %r19 | |
11604 | .word 0x87802004 ! 67: WRASI_I wr %r0, 0x0004, %asi | |
11605 | mondo_2_34: | |
11606 | nop | |
11607 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11608 | ||
11609 | stxa %r19, [%r0+0x3c8] %asi | |
11610 | .word 0x9d94c00d ! 68: WRPR_WSTATE_R wrpr %r19, %r13, %wstate | |
11611 | ta T_CHANGE_HPRIV | |
11612 | mov (2+1), %r10 | |
11613 | set sync_thr_counter1, %r23 | |
11614 | cas [%r23],%g0,%r10 !lock | |
11615 | brnz %r10, cwq_2_35 | |
11616 | rd %asi, %r12 | |
11617 | wr %g0, 0x40, %asi | |
11618 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11619 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11620 | cmp %l1, 1 | |
11621 | bne cwq_2_35 | |
11622 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11623 | sub %l2, 0x40, %l2 | |
11624 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11625 | wr %r12, %g0, %asi | |
11626 | st %g0, [%r23] | |
11627 | cwq_2_35: | |
11628 | ta T_CHANGE_NONHPRIV | |
11629 | .word 0x9b414000 ! 69: RDPC rd %pc, %r13 | |
11630 | .word 0x93a14d2d ! 70: FsMULd fsmuld %f5, %f44, %f40 | |
11631 | splash_hpstate_2_36: | |
11632 | .word 0x81982096 ! 71: WRHPR_HPSTATE_I wrhpr %r0, 0x0096, %hpstate | |
11633 | splash_cmpr_2_37: | |
11634 | setx 0xffe034c657e4f669, %g2, %g1 | |
11635 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
11636 | sub %g1, 100, %g1 | |
11637 | .word 0xb1800001 ! 72: WR_STICK_REG_R wr %r0, %r1, %- | |
11638 | splash_cmpr_2_38: | |
11639 | setx 0xe2d4a3a7e2f0f911, %g2, %g1 | |
11640 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11641 | sub %g1, 100, %g1 | |
11642 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
11643 | .word 0x34700001 ! 74: BPG <illegal instruction> | |
11644 | .word 0x22700001 ! 75: BPE <illegal instruction> | |
11645 | memptr_2_39: | |
11646 | set user_data_start, %r31 | |
11647 | .word 0x8580bfd7 ! 76: WRCCR_I wr %r2, 0x1fd7, %ccr | |
11648 | intveclr_2_40: | |
11649 | setx 0xc4b155bda71b6ad0, %r1, %r28 | |
11650 | stxa %r28, [%g0] 0x72 | |
11651 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11652 | .word 0xd28008a0 ! 78: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
11653 | splash_htba_2_41: | |
11654 | set 0x80000, %r12 | |
11655 | ld [%r12+%r0], %r1 | |
11656 | ta T_CHANGE_HPRIV | |
11657 | set 0x80000, %r12 | |
11658 | .word 0x8b98000c ! 79: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
11659 | DS_2_42: | |
11660 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
11661 | .word 0xbfefc000 ! 80: RESTORE_R restore %r31, %r0, %r31 | |
11662 | .word 0x91d02034 ! 81: Tcc_I ta icc_or_xcc, %r0 + 52 | |
11663 | change_to_randtl_2_43: | |
11664 | ta T_CHANGE_HPRIV ! macro | |
11665 | done_change_to_randtl_2_43: | |
11666 | .word 0x8f902000 ! 82: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11667 | .word 0xa190200e ! 83: WRPR_GL_I wrpr %r0, 0x000e, %- | |
11668 | debug_2_44: | |
11669 | nop | |
11670 | mov 0x38, %r18 | |
11671 | .word 0xfef00b12 ! 84: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11672 | nop | |
11673 | mov 0x80, %g3 | |
11674 | stxa %g3, [%g3] 0x57 | |
11675 | .word 0xd25fc000 ! 85: LDX_R ldx [%r31 + %r0], %r9 | |
11676 | .word 0x91d02032 ! 86: Tcc_I ta icc_or_xcc, %r0 + 50 | |
11677 | memptr_2_45: | |
11678 | set user_data_start, %r31 | |
11679 | .word 0x8582ba39 ! 87: WRCCR_I wr %r10, 0x1a39, %ccr | |
11680 | .word 0xd2d00e80 ! 88: LDSHA_R ldsha [%r0, %r0] 0x74, %r9 | |
11681 | splash_tba_2_46: | |
11682 | set 0x120000, %r12 | |
11683 | st %r1, [%r12+%r0] | |
11684 | ta T_CHANGE_PRIV | |
11685 | set 0x120000, %r12 | |
11686 | .word 0x8b90000c ! 89: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11687 | setx 0x8de2d017260fc2e8, %r1, %r28 | |
11688 | stxa %r28, [%g0] 0x73 | |
11689 | intvec_2_47: | |
11690 | .word 0x39400001 ! 90: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11691 | .word 0x91d02032 ! 91: Tcc_I ta icc_or_xcc, %r0 + 50 | |
11692 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11693 | ta T_CHANGE_NONPRIV ! macro | |
11694 | .word 0xa36af113 ! 92: SDIVX_I sdivx %r11, 0xfffff113, %r17 | |
11695 | .word 0x38700001 ! 93: BPGU <illegal instruction> | |
11696 | mondo_2_49: | |
11697 | nop | |
11698 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11699 | ||
11700 | stxa %r4, [%r0+0x3c0] %asi | |
11701 | .word 0x9d900014 ! 94: WRPR_WSTATE_R wrpr %r0, %r20, %wstate | |
11702 | splash_tba_2_50: | |
11703 | set 0x120000, %r12 | |
11704 | st %r1, [%r12+%r0] | |
11705 | ta T_CHANGE_PRIV | |
11706 | set 0x120000, %r12 | |
11707 | .word 0x8b90000c ! 95: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11708 | .word 0x91d02035 ! 96: Tcc_I ta icc_or_xcc, %r0 + 53 | |
11709 | .word 0x9b540000 ! 97: RDPR_GL <illegal instruction> | |
11710 | .word 0x8790232c ! 98: WRPR_TT_I wrpr %r0, 0x032c, %tt | |
11711 | .word 0xd8d804a0 ! 99: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
11712 | splash_lsu_2_51: | |
11713 | setx 0xac65c3c360f15ec9, %r1, %r2 | |
11714 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11715 | .word 0x3d400001 ! 100: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11716 | rd %pc, %r19 | |
11717 | add %r19, (ivw_2_52-.+40), %r19 | |
11718 | mov 0x38, %r18 | |
11719 | stxa %r19, [%r18]0x58 | |
11720 | ivw_2_52: | |
11721 | .word 0x91904013 ! 101: WRPR_PIL_R wrpr %r1, %r19, %pil | |
11722 | splash_tba_2_53: | |
11723 | set 0x120000, %r12 | |
11724 | ld [%r12+%r0], %r1 | |
11725 | ta T_CHANGE_PRIV | |
11726 | set 0x120000, %r12 | |
11727 | .word 0x8b90000c ! 102: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11728 | DS_2_54: | |
11729 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
11730 | allclean | |
11731 | .word 0x95b20309 ! 103: ALIGNADDRESS alignaddr %r8, %r9, %r10 | |
11732 | cwp_2_55: | |
11733 | set user_data_start, %o7 | |
11734 | .word 0x93902003 ! 104: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
11735 | .word 0x8d903bc7 ! 105: WRPR_PSTATE_I wrpr %r0, 0x1bc7, %pstate | |
11736 | .word 0x87802089 ! 106: WRASI_I wr %r0, 0x0089, %asi | |
11737 | DS_2_56: | |
11738 | .word 0xa7a4c9d4 ! 1: FDIVd fdivd %f50, %f20, %f50 | |
11739 | .word 0x856b94d9 ! Random illegal ? | |
11740 | .word 0xe3100010 ! 1: LDQF_R - [%r0, %r16], %f17 | |
11741 | .word 0x9ba34829 ! 107: FADDs fadds %f13, %f9, %f13 | |
11742 | .word 0x87802004 ! 108: WRASI_I wr %r0, 0x0004, %asi | |
11743 | .word 0xa190200a ! 109: WRPR_GL_I wrpr %r0, 0x000a, %- | |
11744 | otherw | |
11745 | mov 0xb1, %r30 | |
11746 | .word 0x91d0001e ! 110: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11747 | splash_cmpr_2_57: | |
11748 | setx 0xd3d5df50a61824bb, %g2, %g1 | |
11749 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11750 | sub %g1, 100, %g1 | |
11751 | .word 0xb1800001 ! 111: WR_STICK_REG_R wr %r0, %r1, %- | |
11752 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_2_58)+40, 16, 16)) -> intp(2,1,3) | |
11753 | xir_2_58: | |
11754 | .word 0xa9836c70 ! 112: WR_SET_SOFTINT_I wr %r13, 0x0c70, %set_softint | |
11755 | .word 0xd327ee90 ! 113: STF_I st %f9, [0x0e90, %r31] | |
11756 | DS_2_59: | |
11757 | nop | |
11758 | not %g0, %r12 | |
11759 | jmp %r12 | |
11760 | .word 0x9d902005 ! 114: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
11761 | donret_2_60: | |
11762 | nop | |
11763 | rd %pc, %r12 | |
11764 | add %r12, (donretarg_2_60-donret_2_60), %r12 | |
11765 | mov 0x38, %r18 | |
11766 | stxa %r12, [%r18]0x58 | |
11767 | add %r12, 0x4, %r11 | |
11768 | wrpr %g0, 0x1, %tl | |
11769 | wrpr %g0, %r12, %tpc | |
11770 | wrpr %g0, %r11, %tnpc | |
11771 | wrpr %g0, %r13, %tstate | |
11772 | wrhpr %g0, %r14, %htstate | |
11773 | retry | |
11774 | donretarg_2_60: | |
11775 | .word 0xd2ffee90 ! 115: SWAPA_I swapa %r9, [%r31 + 0x0e90] %asi | |
11776 | .word 0xa1902001 ! 116: WRPR_GL_I wrpr %r0, 0x0001, %- | |
11777 | .word 0xd297e030 ! 117: LDUHA_I lduha [%r31, + 0x0030] %asi, %r9 | |
11778 | .word 0xd23fc000 ! 118: STD_R std %r9, [%r31 + %r0] | |
11779 | .word 0x91a00174 ! 119: FABSq dis not found | |
11780 | ||
11781 | memptr_2_61: | |
11782 | set 0x60140000, %r31 | |
11783 | .word 0x8581ecb2 ! 120: WRCCR_I wr %r7, 0x0cb2, %ccr | |
11784 | .word 0xd09ffb63 ! 121: LDDA_I ldda [%r31, + 0xfffffb63] %asi, %r8 | |
11785 | .word 0xa1902001 ! 122: WRPR_GL_I wrpr %r0, 0x0001, %- | |
11786 | splash_hpstate_2_62: | |
11787 | .word 0x81982f15 ! 123: WRHPR_HPSTATE_I wrhpr %r0, 0x0f15, %hpstate | |
11788 | mondo_2_63: | |
11789 | nop | |
11790 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11791 | ||
11792 | stxa %r5, [%r0+0x3e0] %asi | |
11793 | .word 0x9d914006 ! 124: WRPR_WSTATE_R wrpr %r5, %r6, %wstate | |
11794 | splash_hpstate_2_64: | |
11795 | .word 0x81982c47 ! 125: WRHPR_HPSTATE_I wrhpr %r0, 0x0c47, %hpstate | |
11796 | .word 0x9b450000 ! 126: RD_SET_SOFTINT rd %set_softint, %r13 | |
11797 | .word 0x8790208d ! 127: WRPR_TT_I wrpr %r0, 0x008d, %tt | |
11798 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_2_65)+8, 16, 16)) -> intp(2,1,3) | |
11799 | xir_2_65: | |
11800 | .word 0xa9802fab ! 128: WR_SET_SOFTINT_I wr %r0, 0x0fab, %set_softint | |
11801 | nop | |
11802 | mov 0x80, %g3 | |
11803 | stxa %g3, [%g3] 0x57 | |
11804 | .word 0xd85fc000 ! 129: LDX_R ldx [%r31 + %r0], %r12 | |
11805 | intveclr_2_66: | |
11806 | setx 0x55a3972adf5349a0, %r1, %r28 | |
11807 | stxa %r28, [%g0] 0x72 | |
11808 | .word 0x25400001 ! 130: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11809 | debug_2_67: | |
11810 | nop | |
11811 | rd %pc, %r19 | |
11812 | add %r19, (64+8), %r19 | |
11813 | mov 0x38, %r18 | |
11814 | .word 0xe6f00b12 ! 131: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11815 | memptr_2_68: | |
11816 | set 0x60540000, %r31 | |
11817 | .word 0x8581b74d ! 132: WRCCR_I wr %r6, 0x174d, %ccr | |
11818 | tagged_2_69: | |
11819 | taddcctv %r12, 0x13c9, %r11 | |
11820 | .word 0xd807f70a ! 133: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
11821 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11822 | ta T_CHANGE_NONPRIV ! macro | |
11823 | .word 0x93a01973 ! 134: FqTOd dis not found | |
11824 | ||
11825 | splash_tba_2_71: | |
11826 | set 0x120000, %r12 | |
11827 | ld [%r12+%r0], %r1 | |
11828 | ta T_CHANGE_PRIV | |
11829 | set 0x120000, %r12 | |
11830 | .word 0x8b90000c ! 135: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11831 | debug_2_72: | |
11832 | nop | |
11833 | mov 8, %r18 | |
11834 | .word 0xdef00492 ! 136: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
11835 | .word 0xa3a28d30 ! 137: FsMULd fsmuld %f10, %f16, %f48 | |
11836 | .word 0xd727f70a ! 138: STF_I st %f11, [0x170a, %r31] | |
11837 | splash_lsu_2_73: | |
11838 | setx 0xa16c878195c9c693, %r1, %r2 | |
11839 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11840 | .word 0x3d400001 ! 139: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11841 | .word 0x9945c000 ! 140: RD_TICK_CMPR_REG rd %-, %r12 | |
11842 | .word 0xa9830000 ! 141: WR_SET_SOFTINT_R wr %r12, %r0, %set_softint | |
11843 | .word 0x99a089c0 ! 142: FDIVd fdivd %f2, %f0, %f12 | |
11844 | tagged_2_74: | |
11845 | tsubcctv %r1, 0x1e2b, %r4 | |
11846 | .word 0xd807f70a ! 143: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
11847 | DS_2_75: | |
11848 | nop | |
11849 | not %g0, %r12 | |
11850 | jmp %r12 | |
11851 | .word 0x9d902000 ! 144: WRPR_WSTATE_I wrpr %r0, 0x0000, %wstate | |
11852 | donret_2_76: | |
11853 | nop | |
11854 | rd %pc, %r12 | |
11855 | add %r12, (donretarg_2_76-donret_2_76), %r12 | |
11856 | mov 0x38, %r18 | |
11857 | stxa %r12, [%r18]0x58 | |
11858 | add %r12, 0x4, %r11 | |
11859 | wrpr %g0, 0x3, %tl | |
11860 | wrpr %g0, %r12, %tpc | |
11861 | wrpr %g0, %r11, %tnpc | |
11862 | wrpr %g0, %r13, %tstate | |
11863 | wrhpr %g0, %r14, %htstate | |
11864 | retry | |
11865 | donretarg_2_76: | |
11866 | .word 0xd8fff70a ! 145: SWAPA_I swapa %r12, [%r31 + 0xfffff70a] %asi | |
11867 | .word 0x8d903e0f ! 146: WRPR_PSTATE_I wrpr %r0, 0x1e0f, %pstate | |
11868 | .word 0x2c700001 ! 147: BPNEG <illegal instruction> | |
11869 | .word 0x879023f2 ! 148: WRPR_TT_I wrpr %r0, 0x03f2, %tt | |
11870 | .word 0x3a700001 ! 149: BPCC <illegal instruction> | |
11871 | change_to_randtl_2_77: | |
11872 | ta T_CHANGE_HPRIV ! macro | |
11873 | done_change_to_randtl_2_77: | |
11874 | .word 0x8f902003 ! 150: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
11875 | splash_tba_2_78: | |
11876 | set 0x003e0000, %r12 | |
11877 | st %r1, [%r12+%r0] | |
11878 | ta T_CHANGE_PRIV | |
11879 | set 0x003e0000, %r12 | |
11880 | .word 0x8b90000c ! 151: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11881 | debug_2_79: | |
11882 | nop | |
11883 | rd %pc, %r19 | |
11884 | add %r19, (64+8), %r19 | |
11885 | mov 0x38, %r18 | |
11886 | .word 0xe6f00b12 ! 152: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11887 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_80) + 24, 16, 16)) -> intp(3,0,18) | |
11888 | intvec_2_80: | |
11889 | .word 0x39400001 ! 153: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11890 | splash_tba_2_81: | |
11891 | set 0x003e0000, %r12 | |
11892 | ld [%r12+%r0], %r1 | |
11893 | ta T_CHANGE_PRIV | |
11894 | set 0x003e0000, %r12 | |
11895 | .word 0x8b90000c ! 154: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11896 | .word 0xa9834009 ! 155: WR_SET_SOFTINT_R wr %r13, %r9, %set_softint | |
11897 | splash_lsu_2_82: | |
11898 | setx 0x234d5d7416b04301, %r1, %r2 | |
11899 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11900 | .word 0x3d400001 ! 156: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11901 | splash_lsu_2_83: | |
11902 | setx 0xc66747f598a0e437, %r1, %r2 | |
11903 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11904 | .word 0x3d400001 ! 157: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11905 | mov (2+1), %r10 | |
11906 | ta T_CHANGE_HPRIV | |
11907 | set sync_thr_counter2, %r23 | |
11908 | cas [%r23],%g0,%r10 !lock | |
11909 | brnz %r10, sma_2_84 | |
11910 | rd %asi, %r12 | |
11911 | wr %g0, 0x40, %asi | |
11912 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11913 | set 0x21fff, %g1 | |
11914 | stxa %g1, [%g0 + 0x80] %asi | |
11915 | wr %r12, %g0, %asi | |
11916 | st %g0, [%r23] | |
11917 | sma_2_84: | |
11918 | ta T_CHANGE_NONHPRIV | |
11919 | .word 0xd9e7e00d ! 158: CASA_R casa [%r31] %asi, %r13, %r12 | |
11920 | splash_tba_2_85: | |
11921 | set 0x120000, %r12 | |
11922 | ld [%r12+%r0], %r1 | |
11923 | ta T_CHANGE_PRIV | |
11924 | set 0x120000, %r12 | |
11925 | .word 0x8b90000c ! 159: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11926 | .word 0x87802004 ! 160: WRASI_I wr %r0, 0x0004, %asi | |
11927 | .word 0x8d903cc9 ! 161: WRPR_PSTATE_I wrpr %r0, 0x1cc9, %pstate | |
11928 | .word 0xa190200d ! 162: WRPR_GL_I wrpr %r0, 0x000d, %- | |
11929 | .word 0xd93ff70a ! 163: STDF_I std %f12, [0x170a, %r31] | |
11930 | cwp_2_86: | |
11931 | set user_data_start, %o7 | |
11932 | .word 0x93902005 ! 164: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
11933 | ta T_CHANGE_HPRIV | |
11934 | mov (2+1), %r10 | |
11935 | set sync_thr_counter1, %r23 | |
11936 | cas [%r23],%g0,%r10 !lock | |
11937 | brnz %r10, cwq_2_87 | |
11938 | rd %asi, %r12 | |
11939 | wr %g0, 0x40, %asi | |
11940 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11941 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11942 | cmp %l1, 1 | |
11943 | bne cwq_2_87 | |
11944 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11945 | sub %l2, 0x40, %l2 | |
11946 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11947 | wr %r12, %g0, %asi | |
11948 | st %g0, [%r23] | |
11949 | cwq_2_87: | |
11950 | ta T_CHANGE_NONHPRIV | |
11951 | .word 0xa9414000 ! 165: RDPC rd %pc, %r20 | |
11952 | DS_2_88: | |
11953 | .word 0xa3a049c3 ! 1: FDIVd fdivd %f32, %f34, %f48 | |
11954 | .word 0xbfe7c000 ! 166: SAVE_R save %r31, %r0, %r31 | |
11955 | cwp_2_89: | |
11956 | set user_data_start, %o7 | |
11957 | .word 0x93902001 ! 167: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
11958 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11959 | ta T_CHANGE_NONPRIV ! macro | |
11960 | .word 0xa3a01961 ! 168: FqTOd dis not found | |
11961 | ||
11962 | splash_cmpr_2_91: | |
11963 | setx 0x3e95e50b6317c673, %g2, %g1 | |
11964 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11965 | sub %g1, 100, %g1 | |
11966 | .word 0xb1800001 ! 169: WR_STICK_REG_R wr %r0, %r1, %- | |
11967 | debug_2_92: | |
11968 | nop | |
11969 | mov 0x38, %r18 | |
11970 | .word 0xfef00b12 ! 170: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11971 | splash_tba_2_93: | |
11972 | set 0x003e0000, %r12 | |
11973 | ld [%r12+%r0], %r1 | |
11974 | ta T_CHANGE_PRIV | |
11975 | set 0x003e0000, %r12 | |
11976 | .word 0x8b90000c ! 171: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11977 | splash_cmpr_2_94: | |
11978 | setx 0xc55d5316e96c0676, %g2, %g1 | |
11979 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11980 | sub %g1, 100, %g1 | |
11981 | .word 0xb1800001 ! 172: WR_STICK_REG_R wr %r0, %r1, %- | |
11982 | .word 0xa190200d ! 173: WRPR_GL_I wrpr %r0, 0x000d, %- | |
11983 | otherw | |
11984 | mov 0x31, %r30 | |
11985 | .word 0x93d0001e ! 174: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
11986 | .word 0x2c700001 ! 175: BPNEG <illegal instruction> | |
11987 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11988 | ta T_CHANGE_NONHPRIV ! macro | |
11989 | .word 0x95a0196a ! 176: FqTOd dis not found | |
11990 | ||
11991 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11992 | ta T_CHANGE_NONPRIV ! macro | |
11993 | .word 0xa3683b6e ! 177: SDIVX_I sdivx %r0, 0xfffffb6e, %r17 | |
11994 | tagged_2_97: | |
11995 | taddcctv %r15, 0x1360, %r11 | |
11996 | .word 0xe407e4f3 ! 178: LDUW_I lduw [%r31 + 0x04f3], %r18 | |
11997 | debug_2_98: | |
11998 | nop | |
11999 | mov 0x38, %r18 | |
12000 | .word 0xfef00b12 ! 179: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12001 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12002 | ta T_CHANGE_NONHPRIV ! macro | |
12003 | .word 0x936cb46e ! 180: SDIVX_I sdivx %r18, 0xfffff46e, %r9 | |
12004 | ta T_CHANGE_HPRIV | |
12005 | mov (2+1), %r10 | |
12006 | set sync_thr_counter1, %r23 | |
12007 | cas [%r23],%g0,%r10 !lock | |
12008 | brnz %r10, cwq_2_100 | |
12009 | rd %asi, %r12 | |
12010 | wr %g0, 0x40, %asi | |
12011 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12012 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12013 | cmp %l1, 1 | |
12014 | bne cwq_2_100 | |
12015 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12016 | sub %l2, 0x40, %l2 | |
12017 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12018 | wr %r12, %g0, %asi | |
12019 | st %g0, [%r23] | |
12020 | cwq_2_100: | |
12021 | ta T_CHANGE_NONHPRIV | |
12022 | .word 0x93414000 ! 181: RDPC rd %pc, %r9 | |
12023 | intveclr_2_101: | |
12024 | setx 0xa78a9db4a263c901, %r1, %r28 | |
12025 | stxa %r28, [%g0] 0x72 | |
12026 | .word 0x25400001 ! 182: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12027 | .word 0x87802058 ! 183: WRASI_I wr %r0, 0x0058, %asi | |
12028 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12029 | ta T_CHANGE_NONPRIV ! macro | |
12030 | .word 0xa36d3a04 ! 184: SDIVX_I sdivx %r20, 0xfffffa04, %r17 | |
12031 | .word 0x87902011 ! 185: WRPR_TT_I wrpr %r0, 0x0011, %tt | |
12032 | .word 0xdac80e60 ! 186: LDSBA_R ldsba [%r0, %r0] 0x73, %r13 | |
12033 | debug_2_103: | |
12034 | nop | |
12035 | rd %pc, %r19 | |
12036 | add %r19, (64+56), %r19 | |
12037 | mov 0x38, %r18 | |
12038 | .word 0xe6f00b12 ! 187: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12039 | .word 0xdacfe000 ! 188: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r13 | |
12040 | intveclr_2_104: | |
12041 | setx 0x68be8d1152d7bd5b, %r1, %r28 | |
12042 | stxa %r28, [%g0] 0x72 | |
12043 | .word 0x25400001 ! 189: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12044 | .word 0x91d02035 ! 190: Tcc_I ta icc_or_xcc, %r0 + 53 | |
12045 | otherw | |
12046 | mov 0x30, %r30 | |
12047 | .word 0x91d0001e ! 191: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12048 | splash_hpstate_2_105: | |
12049 | .word 0x8198243c ! 192: WRHPR_HPSTATE_I wrhpr %r0, 0x043c, %hpstate | |
12050 | debug_2_106: | |
12051 | nop | |
12052 | rd %pc, %r19 | |
12053 | add %r19, (64+24), %r19 | |
12054 | mov 0x38, %r18 | |
12055 | .word 0xe6f00b12 ! 193: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12056 | mov (2+1), %r10 | |
12057 | ta T_CHANGE_HPRIV | |
12058 | set sync_thr_counter2, %r23 | |
12059 | cas [%r23],%g0,%r10 !lock | |
12060 | brnz %r10, sma_2_107 | |
12061 | rd %asi, %r12 | |
12062 | wr %g0, 0x40, %asi | |
12063 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12064 | set 0x21fff, %g1 | |
12065 | stxa %g1, [%g0 + 0x80] %asi | |
12066 | wr %r12, %g0, %asi | |
12067 | st %g0, [%r23] | |
12068 | sma_2_107: | |
12069 | ta T_CHANGE_NONHPRIV | |
12070 | .word 0xdbe7e008 ! 194: CASA_R casa [%r31] %asi, %r8, %r13 | |
12071 | nop | |
12072 | mov 0x80, %g3 | |
12073 | stxa %g3, [%g3] 0x5f | |
12074 | .word 0xda5fc000 ! 195: LDX_R ldx [%r31 + %r0], %r13 | |
12075 | splash_lsu_2_108: | |
12076 | setx 0xcb850e72d025482b, %r1, %r2 | |
12077 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12078 | .word 0x3d400001 ! 196: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12079 | splash_tba_2_109: | |
12080 | set 0x120000, %r12 | |
12081 | ld [%r12+%r0], %r1 | |
12082 | ta T_CHANGE_PRIV | |
12083 | set 0x120000, %r12 | |
12084 | .word 0x8b90000c ! 197: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12085 | .word 0x91933efa ! 198: WRPR_PIL_I wrpr %r12, 0x1efa, %pil | |
12086 | ta T_CHANGE_HPRIV | |
12087 | mov (2+1), %r10 | |
12088 | set sync_thr_counter1, %r23 | |
12089 | cas [%r23],%g0,%r10 !lock | |
12090 | brnz %r10, cwq_2_110 | |
12091 | rd %asi, %r12 | |
12092 | wr %g0, 0x40, %asi | |
12093 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12094 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12095 | cmp %l1, 1 | |
12096 | bne cwq_2_110 | |
12097 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12098 | sub %l2, 0x40, %l2 | |
12099 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12100 | wr %r12, %g0, %asi | |
12101 | st %g0, [%r23] | |
12102 | cwq_2_110: | |
12103 | ta T_CHANGE_NONHPRIV | |
12104 | .word 0xa1414000 ! 199: RDPC rd %pc, %r16 | |
12105 | .word 0xa9a409cc ! 200: FDIVd fdivd %f16, %f12, %f20 | |
12106 | debug_2_111: | |
12107 | nop | |
12108 | mov 8, %r18 | |
12109 | .word 0xe2f00492 ! 201: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
12110 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12111 | ta T_CHANGE_NONPRIV ! macro | |
12112 | .word 0xa3a01963 ! 202: FqTOd dis not found | |
12113 | ||
12114 | DS_2_113: | |
12115 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
12116 | pdist %f24, %f26, %f14 | |
12117 | .word 0xa7b2030c ! 203: ALIGNADDRESS alignaddr %r8, %r12, %r19 | |
12118 | splash_tba_2_114: | |
12119 | set 0x003e0000, %r12 | |
12120 | st %r1, [%r12+%r0] | |
12121 | ta T_CHANGE_PRIV | |
12122 | set 0x003e0000, %r12 | |
12123 | .word 0x8b90000c ! 204: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12124 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12125 | ta T_CHANGE_NONHPRIV ! macro | |
12126 | .word 0x95a01970 ! 205: FqTOd dis not found | |
12127 | ||
12128 | intveclr_2_116: | |
12129 | setx 0x02ce9c61681c071a, %r1, %r28 | |
12130 | stxa %r28, [%g0] 0x72 | |
12131 | .word 0x25400001 ! 206: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12132 | nop | |
12133 | mov 0x80, %g3 | |
12134 | stxa %g3, [%g3] 0x57 | |
12135 | .word 0xe25fc000 ! 207: LDX_R ldx [%r31 + %r0], %r17 | |
12136 | splash_hpstate_2_117: | |
12137 | .word 0x81982e96 ! 208: WRHPR_HPSTATE_I wrhpr %r0, 0x0e96, %hpstate | |
12138 | .word 0x879022d2 ! 209: WRPR_TT_I wrpr %r0, 0x02d2, %tt | |
12139 | debug_2_118: | |
12140 | nop | |
12141 | rd %pc, %r19 | |
12142 | add %r19, (64+8), %r19 | |
12143 | mov 0x38, %r18 | |
12144 | .word 0xe6f00b12 ! 210: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12145 | .word 0xad807bda ! 211: WR_SOFTINT_REG_I wr %r1, 0x1bda, %softint | |
12146 | .word 0x8d902d9d ! 212: WRPR_PSTATE_I wrpr %r0, 0x0d9d, %pstate | |
12147 | debug_2_119: | |
12148 | nop | |
12149 | mov 0x38, %r18 | |
12150 | .word 0xfef00b12 ! 213: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12151 | .word 0x83d02033 ! 214: Tcc_I te icc_or_xcc, %r0 + 51 | |
12152 | mov (2+1), %r10 | |
12153 | ta T_CHANGE_HPRIV | |
12154 | set sync_thr_counter2, %r23 | |
12155 | cas [%r23],%g0,%r10 !lock | |
12156 | brnz %r10, sma_2_120 | |
12157 | rd %asi, %r12 | |
12158 | wr %g0, 0x40, %asi | |
12159 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12160 | set 0x21fff, %g1 | |
12161 | stxa %g1, [%g0 + 0x80] %asi | |
12162 | wr %r12, %g0, %asi | |
12163 | st %g0, [%r23] | |
12164 | sma_2_120: | |
12165 | ta T_CHANGE_NONHPRIV | |
12166 | .word 0xe3e7e003 ! 215: CASA_R casa [%r31] %asi, %r3, %r17 | |
12167 | splash_lsu_2_121: | |
12168 | setx 0x4e9484befee50aa9, %r1, %r2 | |
12169 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12170 | .word 0x3d400001 ! 216: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12171 | .word 0xe337c000 ! 217: STQF_R - %f17, [%r0, %r31] | |
12172 | splash_cmpr_2_122: | |
12173 | setx 0x5abda08530b55e79, %g2, %g1 | |
12174 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12175 | sub %g1, 100, %g1 | |
12176 | .word 0xb1800001 ! 218: WR_STICK_REG_R wr %r0, %r1, %- | |
12177 | intveclr_2_123: | |
12178 | setx 0x2e4f8f8423d87c3a, %r1, %r28 | |
12179 | stxa %r28, [%g0] 0x72 | |
12180 | .word 0x25400001 ! 219: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12181 | nop | |
12182 | mov 0x80, %g3 | |
12183 | stxa %g3, [%g3] 0x5f | |
12184 | .word 0xe25fc000 ! 220: LDX_R ldx [%r31 + %r0], %r17 | |
12185 | splash_cmpr_2_124: | |
12186 | setx 0x2bbda6933ba2a4f1, %g2, %g1 | |
12187 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12188 | sub %g1, 100, %g1 | |
12189 | .word 0xb1800001 ! 221: WR_STICK_REG_R wr %r0, %r1, %- | |
12190 | splash_cmpr_2_125: | |
12191 | setx 0xff76c06beb3e0473, %g2, %g1 | |
12192 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
12193 | sub %g1, 100, %g1 | |
12194 | .word 0xb1800001 ! 222: WR_STICK_REG_R wr %r0, %r1, %- | |
12195 | .word 0xe31fc000 ! 223: LDDF_R ldd [%r31, %r0], %f17 | |
12196 | tagged_2_126: | |
12197 | tsubcctv %r20, 0x1624, %r7 | |
12198 | .word 0xe207f3f3 ! 224: LDUW_I lduw [%r31 + 0xfffff3f3], %r17 | |
12199 | splash_tba_2_127: | |
12200 | set 0x120000, %r12 | |
12201 | ld [%r12+%r0], %r1 | |
12202 | ta T_CHANGE_PRIV | |
12203 | set 0x120000, %r12 | |
12204 | .word 0x8b90000c ! 225: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12205 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12206 | ta T_CHANGE_NONPRIV ! macro | |
12207 | .word 0x93a01972 ! 226: FqTOd dis not found | |
12208 | ||
12209 | debug_2_129: | |
12210 | nop | |
12211 | mov 8, %r18 | |
12212 | .word 0xdcf00492 ! 227: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
12213 | tagged_2_130: | |
12214 | tsubcctv %r25, 0x1fe2, %r7 | |
12215 | .word 0xd807f3f3 ! 228: LDUW_I lduw [%r31 + 0xfffff3f3], %r12 | |
12216 | .word 0x8d902d7a ! 229: WRPR_PSTATE_I wrpr %r0, 0x0d7a, %pstate | |
12217 | .word 0xa9a00162 ! 230: FABSq dis not found | |
12218 | ||
12219 | debug_2_131: | |
12220 | nop | |
12221 | mov 0x38, %r18 | |
12222 | .word 0xfef00b12 ! 231: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12223 | .word 0x34700001 ! 232: BPG <illegal instruction> | |
12224 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12225 | ta T_CHANGE_NONPRIV ! macro | |
12226 | .word 0xa16cae9f ! 233: SDIVX_I sdivx %r18, 0x0e9f, %r16 | |
12227 | tagged_2_133: | |
12228 | taddcctv %r21, 0x1095, %r26 | |
12229 | .word 0xd807f212 ! 234: LDUW_I lduw [%r31 + 0xfffff212], %r12 | |
12230 | ta T_CHANGE_HPRIV | |
12231 | mov (2+1), %r10 | |
12232 | set sync_thr_counter1, %r23 | |
12233 | cas [%r23],%g0,%r10 !lock | |
12234 | brnz %r10, cwq_2_134 | |
12235 | rd %asi, %r12 | |
12236 | wr %g0, 0x40, %asi | |
12237 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12238 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12239 | cmp %l1, 1 | |
12240 | bne cwq_2_134 | |
12241 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12242 | sub %l2, 0x40, %l2 | |
12243 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12244 | wr %r12, %g0, %asi | |
12245 | st %g0, [%r23] | |
12246 | cwq_2_134: | |
12247 | ta T_CHANGE_NONHPRIV | |
12248 | .word 0x99414000 ! 235: RDPC rd %pc, %r12 | |
12249 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12250 | ta T_CHANGE_NONHPRIV ! macro | |
12251 | .word 0x9168facb ! 236: SDIVX_I sdivx %r3, 0xfffffacb, %r8 | |
12252 | .word 0x8d903b0a ! 237: WRPR_PSTATE_I wrpr %r0, 0x1b0a, %pstate | |
12253 | DS_2_136: | |
12254 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
12255 | .word 0xbfe7c000 ! 238: SAVE_R save %r31, %r0, %r31 | |
12256 | splash_tba_2_137: | |
12257 | set 0x120000, %r12 | |
12258 | ld [%r12+%r0], %r1 | |
12259 | ta T_CHANGE_PRIV | |
12260 | set 0x120000, %r12 | |
12261 | .word 0x8b90000c ! 239: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12262 | .word 0xa9480000 ! 240: RDHPR_HPSTATE rdhpr %hpstate, %r20 | |
12263 | splash_tba_2_138: | |
12264 | set 0x003e0000, %r12 | |
12265 | st %r1, [%r12+%r0] | |
12266 | ta T_CHANGE_PRIV | |
12267 | set 0x003e0000, %r12 | |
12268 | .word 0x8b90000c ! 241: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12269 | debug_2_139: | |
12270 | nop | |
12271 | rd %pc, %r19 | |
12272 | add %r19, (64+48), %r19 | |
12273 | mov 0x38, %r18 | |
12274 | .word 0xe6f00b12 ! 242: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12275 | .word 0xd737e769 ! 243: STQF_I - %f11, [0x0769, %r31] | |
12276 | .word 0xa1902008 ! 244: WRPR_GL_I wrpr %r0, 0x0008, %- | |
12277 | debug_2_140: | |
12278 | nop | |
12279 | mov 0x38, %r18 | |
12280 | .word 0xfef00b12 ! 245: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12281 | .word 0xd66fe769 ! 246: LDSTUB_I ldstub %r11, [%r31 + 0x0769] | |
12282 | .word 0xa9a00169 ! 247: FABSq dis not found | |
12283 | ||
12284 | .word 0x3a700001 ! 248: BPCC <illegal instruction> | |
12285 | cwp_2_141: | |
12286 | set user_data_start, %o7 | |
12287 | .word 0x93902006 ! 249: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
12288 | mondo_2_142: | |
12289 | nop | |
12290 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12291 | ||
12292 | stxa %r18, [%r0+0x3c0] %asi | |
12293 | .word 0x9d914014 ! 250: WRPR_WSTATE_R wrpr %r5, %r20, %wstate | |
12294 | .word 0xa190200f ! 251: WRPR_GL_I wrpr %r0, 0x000f, %- | |
12295 | .word 0xe48008a0 ! 252: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
12296 | debug_2_143: | |
12297 | nop | |
12298 | mov 0x38, %r18 | |
12299 | .word 0xfef00b12 ! 253: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12300 | mov (2+1), %r10 | |
12301 | ta T_CHANGE_HPRIV | |
12302 | set sync_thr_counter2, %r23 | |
12303 | cas [%r23],%g0,%r10 !lock | |
12304 | brnz %r10, sma_2_144 | |
12305 | rd %asi, %r12 | |
12306 | wr %g0, 0x40, %asi | |
12307 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12308 | set 0x21fff, %g1 | |
12309 | stxa %g1, [%g0 + 0x80] %asi | |
12310 | wr %r12, %g0, %asi | |
12311 | st %g0, [%r23] | |
12312 | sma_2_144: | |
12313 | ta T_CHANGE_NONHPRIV | |
12314 | .word 0xe5e7e008 ! 254: CASA_R casa [%r31] %asi, %r8, %r18 | |
12315 | .word 0xa190200f ! 255: WRPR_GL_I wrpr %r0, 0x000f, %- | |
12316 | debug_2_145: | |
12317 | nop | |
12318 | rd %pc, %r19 | |
12319 | add %r19, (64+8), %r19 | |
12320 | mov 0x38, %r18 | |
12321 | .word 0xe6f00b12 ! 256: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12322 | invalw | |
12323 | mov 0x35, %r30 | |
12324 | .word 0x91d0001e ! 257: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12325 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12326 | ta T_CHANGE_NONPRIV ! macro | |
12327 | .word 0xa7a0196d ! 258: FqTOd dis not found | |
12328 | ||
12329 | .word 0xe46fe769 ! 259: LDSTUB_I ldstub %r18, [%r31 + 0x0769] | |
12330 | .word 0x8d902832 ! 260: WRPR_PSTATE_I wrpr %r0, 0x0832, %pstate | |
12331 | mondo_2_147: | |
12332 | nop | |
12333 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12334 | ||
12335 | stxa %r4, [%r0+0x3e8] %asi | |
12336 | .word 0x9d91400d ! 261: WRPR_WSTATE_R wrpr %r5, %r13, %wstate | |
12337 | rd %pc, %r19 | |
12338 | add %r19, (ivw_2_148-.+40), %r19 | |
12339 | mov 0x38, %r18 | |
12340 | stxa %r19, [%r18]0x58 | |
12341 | ivw_2_148: | |
12342 | .word 0x91900000 ! 262: WRPR_PIL_R wrpr %r0, %r0, %pil | |
12343 | nop | |
12344 | mov 0x80, %g3 | |
12345 | stxa %g3, [%g3] 0x57 | |
12346 | .word 0xe45fc000 ! 263: LDX_R ldx [%r31 + %r0], %r18 | |
12347 | setx 0x5bb7501ac1042e2f, %r1, %r28 | |
12348 | stxa %r28, [%g0] 0x73 | |
12349 | intvec_2_149: | |
12350 | .word 0x39400001 ! 264: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12351 | mov (2+1), %r10 | |
12352 | ta T_CHANGE_HPRIV | |
12353 | set sync_thr_counter2, %r23 | |
12354 | cas [%r23],%g0,%r10 !lock | |
12355 | brnz %r10, sma_2_150 | |
12356 | rd %asi, %r12 | |
12357 | wr %g0, 0x40, %asi | |
12358 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12359 | set 0x21fff, %g1 | |
12360 | stxa %g1, [%g0 + 0x80] %asi | |
12361 | wr %r12, %g0, %asi | |
12362 | st %g0, [%r23] | |
12363 | sma_2_150: | |
12364 | ta T_CHANGE_NONHPRIV | |
12365 | .word 0xe5e7e013 ! 265: CASA_R casa [%r31] %asi, %r19, %r18 | |
12366 | .word 0xe497e030 ! 266: LDUHA_I lduha [%r31, + 0x0030] %asi, %r18 | |
12367 | DS_2_151: | |
12368 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
12369 | pdist %f18, %f10, %f8 | |
12370 | .word 0x93b0030d ! 267: ALIGNADDRESS alignaddr %r0, %r13, %r9 | |
12371 | .word 0x8d902852 ! 268: WRPR_PSTATE_I wrpr %r0, 0x0852, %pstate | |
12372 | splash_lsu_2_152: | |
12373 | setx 0x8350f2f7e0d4f8d3, %r1, %r2 | |
12374 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12375 | .word 0x3d400001 ! 269: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12376 | debug_2_153: | |
12377 | nop | |
12378 | mov 8, %r18 | |
12379 | .word 0xd2f00492 ! 270: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
12380 | mov (2+1), %r10 | |
12381 | ta T_CHANGE_HPRIV | |
12382 | set sync_thr_counter2, %r23 | |
12383 | cas [%r23],%g0,%r10 !lock | |
12384 | brnz %r10, sma_2_154 | |
12385 | rd %asi, %r12 | |
12386 | wr %g0, 0x40, %asi | |
12387 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12388 | set 0x21fff, %g1 | |
12389 | stxa %g1, [%g0 + 0x80] %asi | |
12390 | wr %r12, %g0, %asi | |
12391 | st %g0, [%r23] | |
12392 | sma_2_154: | |
12393 | ta T_CHANGE_NONHPRIV | |
12394 | .word 0xe9e7e00a ! 271: CASA_R casa [%r31] %asi, %r10, %r20 | |
12395 | splash_tba_2_155: | |
12396 | set 0x120000, %r12 | |
12397 | ld [%r12+%r0], %r1 | |
12398 | ta T_CHANGE_PRIV | |
12399 | set 0x120000, %r12 | |
12400 | .word 0x8b90000c ! 272: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12401 | DS_2_156: | |
12402 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
12403 | .word 0xa57bfcdf ! Random illegal ? | |
12404 | .word 0x93a1c9c2 ! 1: FDIVd fdivd %f38, %f2, %f40 | |
12405 | .word 0xa1a30820 ! 273: FADDs fadds %f12, %f0, %f16 | |
12406 | rd %pc, %r19 | |
12407 | add %r19, (ivw_2_157-.+32), %r19 | |
12408 | mov 0x38, %r18 | |
12409 | stxa %r19, [%r18]0x58 | |
12410 | ivw_2_157: | |
12411 | .word 0x91924006 ! 274: WRPR_PIL_R wrpr %r9, %r6, %pil | |
12412 | .word 0x8d903294 ! 275: WRPR_PSTATE_I wrpr %r0, 0x1294, %pstate | |
12413 | .word 0xe0c004a0 ! 276: LDSWA_R ldswa [%r0, %r0] 0x25, %r16 | |
12414 | ta T_CHANGE_HPRIV | |
12415 | mov (2+1), %r10 | |
12416 | set sync_thr_counter1, %r23 | |
12417 | cas [%r23],%g0,%r10 !lock | |
12418 | brnz %r10, cwq_2_158 | |
12419 | rd %asi, %r12 | |
12420 | wr %g0, 0x40, %asi | |
12421 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12422 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12423 | cmp %l1, 1 | |
12424 | bne cwq_2_158 | |
12425 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12426 | sub %l2, 0x40, %l2 | |
12427 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12428 | wr %r12, %g0, %asi | |
12429 | st %g0, [%r23] | |
12430 | cwq_2_158: | |
12431 | ta T_CHANGE_NONHPRIV | |
12432 | .word 0x93414000 ! 277: RDPC rd %pc, %r9 | |
12433 | ta T_CHANGE_HPRIV | |
12434 | mov (2+1), %r10 | |
12435 | set sync_thr_counter1, %r23 | |
12436 | cas [%r23],%g0,%r10 !lock | |
12437 | brnz %r10, cwq_2_159 | |
12438 | rd %asi, %r12 | |
12439 | wr %g0, 0x40, %asi | |
12440 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12441 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12442 | cmp %l1, 1 | |
12443 | bne cwq_2_159 | |
12444 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12445 | sub %l2, 0x40, %l2 | |
12446 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12447 | wr %r12, %g0, %asi | |
12448 | st %g0, [%r23] | |
12449 | cwq_2_159: | |
12450 | ta T_CHANGE_NONHPRIV | |
12451 | .word 0x97414000 ! 278: RDPC rd %pc, %r11 | |
12452 | .word 0x81460000 ! 279: RD_STICK_REG stbar | |
12453 | debug_2_160: | |
12454 | nop | |
12455 | rd %pc, %r19 | |
12456 | add %r19, (64+8), %r19 | |
12457 | mov 0x38, %r18 | |
12458 | .word 0xe6f00b12 ! 280: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12459 | .word 0xe66fe769 ! 281: LDSTUB_I ldstub %r19, [%r31 + 0x0769] | |
12460 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_2_161)+40, 16, 16)) -> intp(2,1,3) | |
12461 | xir_2_161: | |
12462 | .word 0xa980277c ! 282: WR_SET_SOFTINT_I wr %r0, 0x077c, %set_softint | |
12463 | tagged_2_162: | |
12464 | tsubcctv %r11, 0x159c, %r9 | |
12465 | .word 0xe607e3f9 ! 283: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
12466 | .word 0x83d02035 ! 284: Tcc_I te icc_or_xcc, %r0 + 53 | |
12467 | otherw | |
12468 | mov 0x31, %r30 | |
12469 | .word 0x91d0001e ! 285: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12470 | tagged_2_163: | |
12471 | taddcctv %r3, 0x1395, %r18 | |
12472 | .word 0xe607e3f9 ! 286: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
12473 | .word 0x8d802000 ! 287: WRFPRS_I wr %r0, 0x0000, %fprs | |
12474 | .word 0x8d902a01 ! 288: WRPR_PSTATE_I wrpr %r0, 0x0a01, %pstate | |
12475 | debug_2_164: | |
12476 | nop | |
12477 | mov 0x38, %r18 | |
12478 | .word 0xfef00b12 ! 289: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12479 | splash_lsu_2_165: | |
12480 | setx 0xde3ef56dd221649b, %r1, %r2 | |
12481 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12482 | .word 0x3d400001 ! 290: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12483 | mondo_2_166: | |
12484 | nop | |
12485 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12486 | ||
12487 | stxa %r4, [%r0+0x3c0] %asi | |
12488 | .word 0x9d910006 ! 291: WRPR_WSTATE_R wrpr %r4, %r6, %wstate | |
12489 | debug_2_167: | |
12490 | nop | |
12491 | mov 0x38, %r18 | |
12492 | .word 0xfef00b12 ! 292: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12493 | nop | |
12494 | mov 0x80, %g3 | |
12495 | stxa %g3, [%g3] 0x57 | |
12496 | .word 0xe65fc000 ! 293: LDX_R ldx [%r31 + %r0], %r19 | |
12497 | splash_tba_2_168: | |
12498 | set 0x003e0000, %r12 | |
12499 | st %r1, [%r12+%r0] | |
12500 | ta T_CHANGE_PRIV | |
12501 | set 0x003e0000, %r12 | |
12502 | .word 0x8b90000c ! 294: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12503 | splash_cmpr_2_169: | |
12504 | setx 0x025ac28381b44d2d, %g2, %g1 | |
12505 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
12506 | sub %g1, 100, %g1 | |
12507 | .word 0xb1800001 ! 295: WR_STICK_REG_R wr %r0, %r1, %- | |
12508 | tagged_2_170: | |
12509 | tsubcctv %r18, 0x1276, %r5 | |
12510 | .word 0xe607e3f9 ! 296: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
12511 | .word 0xa190200e ! 297: WRPR_GL_I wrpr %r0, 0x000e, %- | |
12512 | .word 0xe727e3f9 ! 298: STF_I st %f19, [0x03f9, %r31] | |
12513 | .word 0xe69fc020 ! 299: LDDA_R ldda [%r31, %r0] 0x01, %r19 | |
12514 | .word 0x9b6a800c ! 300: SDIVX_R sdivx %r10, %r12, %r13 | |
12515 | .word 0x8790214b ! 301: WRPR_TT_I wrpr %r0, 0x014b, %tt | |
12516 | change_to_randtl_2_171: | |
12517 | ta T_CHANGE_HPRIV ! macro | |
12518 | done_change_to_randtl_2_171: | |
12519 | .word 0x8f902000 ! 302: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12520 | .word 0xa190200a ! 303: WRPR_GL_I wrpr %r0, 0x000a, %- | |
12521 | splash_hpstate_2_172: | |
12522 | .word 0x81982f8d ! 304: WRHPR_HPSTATE_I wrhpr %r0, 0x0f8d, %hpstate | |
12523 | rd %pc, %r19 | |
12524 | add %r19, (ivw_2_173-.+16), %r19 | |
12525 | mov 0x38, %r18 | |
12526 | stxa %r19, [%r18]0x58 | |
12527 | ivw_2_173: | |
12528 | .word 0x9193000c ! 305: WRPR_PIL_R wrpr %r12, %r12, %pil | |
12529 | cwp_2_174: | |
12530 | set user_data_start, %o7 | |
12531 | .word 0x93902005 ! 306: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
12532 | intveclr_2_175: | |
12533 | setx 0x0ec041fdcd9f166c, %r1, %r28 | |
12534 | stxa %r28, [%g0] 0x72 | |
12535 | .word 0x25400001 ! 307: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12536 | intveclr_2_176: | |
12537 | setx 0x4c153fa3fcdf502c, %r1, %r28 | |
12538 | stxa %r28, [%g0] 0x72 | |
12539 | .word 0x25400001 ! 308: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12540 | mondo_2_177: | |
12541 | nop | |
12542 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12543 | ||
12544 | stxa %r20, [%r0+0x3c0] %asi | |
12545 | .word 0x9d94400b ! 309: WRPR_WSTATE_R wrpr %r17, %r11, %wstate | |
12546 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12547 | ta T_CHANGE_NONPRIV ! macro | |
12548 | .word 0x95a01965 ! 310: FqTOd dis not found | |
12549 | ||
12550 | .word 0x8d903557 ! 311: WRPR_PSTATE_I wrpr %r0, 0x1557, %pstate | |
12551 | otherw | |
12552 | mov 0xb1, %r30 | |
12553 | .word 0x93d0001e ! 312: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
12554 | .word 0x879021a3 ! 313: WRPR_TT_I wrpr %r0, 0x01a3, %tt | |
12555 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12556 | ta T_CHANGE_NONHPRIV ! macro | |
12557 | .word 0xa1a01968 ! 314: FqTOd dis not found | |
12558 | ||
12559 | .word 0xd88fe010 ! 315: LDUBA_I lduba [%r31, + 0x0010] %asi, %r12 | |
12560 | cwp_2_180: | |
12561 | set user_data_start, %o7 | |
12562 | .word 0x93902004 ! 316: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
12563 | splash_hpstate_2_181: | |
12564 | .word 0x8198279e ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x079e, %hpstate | |
12565 | debug_2_182: | |
12566 | nop | |
12567 | mov 0x38, %r18 | |
12568 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12569 | DS_2_183: | |
12570 | .word 0x95a049c7 ! 1: FDIVd fdivd %f32, %f38, %f10 | |
12571 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
12572 | .word 0xe7124000 ! 1: LDQF_R - [%r9, %r0], %f19 | |
12573 | .word 0x91a34831 ! 319: FADDs fadds %f13, %f17, %f8 | |
12574 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12575 | ta T_CHANGE_NONPRIV ! macro | |
12576 | .word 0x97a01961 ! 320: FqTOd dis not found | |
12577 | ||
12578 | DS_2_185: | |
12579 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
12580 | .word 0xbfefc000 ! 321: RESTORE_R restore %r31, %r0, %r31 | |
12581 | splash_cmpr_2_186: | |
12582 | setx 0x173d56fd6c053576, %g2, %g1 | |
12583 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12584 | sub %g1, 100, %g1 | |
12585 | .word 0xb1800001 ! 322: WR_STICK_REG_R wr %r0, %r1, %- | |
12586 | .word 0xa1902000 ! 323: WRPR_GL_I wrpr %r0, 0x0000, %- | |
12587 | debug_2_187: | |
12588 | nop | |
12589 | rd %pc, %r19 | |
12590 | add %r19, (64+48), %r19 | |
12591 | mov 0x38, %r18 | |
12592 | .word 0xe6f00b12 ! 324: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12593 | .word 0x91d02033 ! 325: Tcc_I ta icc_or_xcc, %r0 + 51 | |
12594 | change_to_randtl_2_188: | |
12595 | ta T_CHANGE_PRIV ! macro | |
12596 | done_change_to_randtl_2_188: | |
12597 | .word 0x8f902000 ! 326: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12598 | intveclr_2_189: | |
12599 | setx 0x8f219d621753e820, %r1, %r28 | |
12600 | stxa %r28, [%g0] 0x72 | |
12601 | .word 0x25400001 ! 327: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12602 | .word 0xa1902008 ! 328: WRPR_GL_I wrpr %r0, 0x0008, %- | |
12603 | .word 0x26700001 ! 329: BPL <illegal instruction> | |
12604 | splash_hpstate_2_190: | |
12605 | .word 0x81982514 ! 330: WRHPR_HPSTATE_I wrhpr %r0, 0x0514, %hpstate | |
12606 | .word 0xd527c000 ! 331: STF_R st %f10, [%r0, %r31] | |
12607 | debug_2_191: | |
12608 | nop | |
12609 | mov 0x38, %r18 | |
12610 | .word 0xfef00b12 ! 332: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12611 | .word 0x8d903933 ! 333: WRPR_PSTATE_I wrpr %r0, 0x1933, %pstate | |
12612 | intveclr_2_192: | |
12613 | setx 0xd2395b9b2513edb0, %r1, %r28 | |
12614 | stxa %r28, [%g0] 0x72 | |
12615 | .word 0x25400001 ! 334: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12616 | .word 0x87802014 ! 335: WRASI_I wr %r0, 0x0014, %asi | |
12617 | DS_2_193: | |
12618 | nop | |
12619 | not %g0, %r12 | |
12620 | jmp %r12 | |
12621 | .word 0x9d902001 ! 336: WRPR_WSTATE_I wrpr %r0, 0x0001, %wstate | |
12622 | tagged_2_194: | |
12623 | tsubcctv %r14, 0x1023, %r6 | |
12624 | .word 0xd407e3f9 ! 337: LDUW_I lduw [%r31 + 0x03f9], %r10 | |
12625 | change_to_randtl_2_195: | |
12626 | ta T_CHANGE_HPRIV ! macro | |
12627 | done_change_to_randtl_2_195: | |
12628 | .word 0x8f902002 ! 338: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12629 | .word 0xd48008a0 ! 339: LDUWA_R lduwa [%r0, %r0] 0x45, %r10 | |
12630 | .word 0x8d802000 ! 340: WRFPRS_I wr %r0, 0x0000, %fprs | |
12631 | splash_cmpr_2_196: | |
12632 | setx 0x3174502a9be2be8a, %g2, %g1 | |
12633 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12634 | sub %g1, 100, %g1 | |
12635 | .word 0xb1800001 ! 341: WR_STICK_REG_R wr %r0, %r1, %- | |
12636 | mov (2+1), %r10 | |
12637 | ta T_CHANGE_HPRIV | |
12638 | set sync_thr_counter2, %r23 | |
12639 | cas [%r23],%g0,%r10 !lock | |
12640 | brnz %r10, sma_2_197 | |
12641 | rd %asi, %r12 | |
12642 | wr %g0, 0x40, %asi | |
12643 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12644 | set 0x21fff, %g1 | |
12645 | stxa %g1, [%g0 + 0x80] %asi | |
12646 | wr %r12, %g0, %asi | |
12647 | st %g0, [%r23] | |
12648 | sma_2_197: | |
12649 | ta T_CHANGE_NONHPRIV | |
12650 | .word 0xd5e7e004 ! 342: CASA_R casa [%r31] %asi, %r4, %r10 | |
12651 | .word 0x8790201d ! 343: WRPR_TT_I wrpr %r0, 0x001d, %tt | |
12652 | .word 0x2a700001 ! 344: BPCS <illegal instruction> | |
12653 | .word 0xad81302c ! 345: WR_SOFTINT_REG_I wr %r4, 0x102c, %softint | |
12654 | debug_2_198: | |
12655 | nop | |
12656 | mov 8, %r18 | |
12657 | .word 0xe0f00492 ! 346: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
12658 | .word 0x34800001 ! 347: BG bg,a <label_0x1> | |
12659 | nop | |
12660 | mov 0x80, %g3 | |
12661 | stxa %g3, [%g3] 0x5f | |
12662 | .word 0xd45fc000 ! 348: LDX_R ldx [%r31 + %r0], %r10 | |
12663 | tagged_2_199: | |
12664 | taddcctv %r26, 0x16e5, %r1 | |
12665 | .word 0xd407fefd ! 349: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
12666 | tagged_2_200: | |
12667 | tsubcctv %r8, 0x1550, %r19 | |
12668 | .word 0xd407fefd ! 350: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
12669 | donret_2_201: | |
12670 | nop | |
12671 | rd %pc, %r12 | |
12672 | add %r12, (donretarg_2_201-donret_2_201-4), %r12 | |
12673 | mov 0x38, %r18 | |
12674 | stxa %r12, [%r18]0x58 | |
12675 | add %r12, 0x4, %r11 | |
12676 | wrpr %g0, 0x1, %tl | |
12677 | wrpr %g0, %r12, %tpc | |
12678 | wrpr %g0, %r11, %tnpc | |
12679 | wrpr %g0, %r13, %tstate | |
12680 | wrhpr %g0, %r14, %htstate | |
12681 | done | |
12682 | donretarg_2_201: | |
12683 | .word 0xd4fffefd ! 351: SWAPA_I swapa %r10, [%r31 + 0xfffffefd] %asi | |
12684 | mondo_2_202: | |
12685 | nop | |
12686 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12687 | ||
12688 | stxa %r1, [%r0+0x3d0] %asi | |
12689 | .word 0x9d920007 ! 352: WRPR_WSTATE_R wrpr %r8, %r7, %wstate | |
12690 | setx 0x94523b5eeec0607a, %r1, %r28 | |
12691 | stxa %r28, [%g0] 0x73 | |
12692 | intvec_2_203: | |
12693 | .word 0x39400001 ! 353: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12694 | splash_lsu_2_204: | |
12695 | setx 0x0faacf9fad0cbb75, %r1, %r2 | |
12696 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12697 | .word 0x3d400001 ! 354: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12698 | memptr_2_205: | |
12699 | set 0x60540000, %r31 | |
12700 | .word 0x8580a3cb ! 355: WRCCR_I wr %r2, 0x03cb, %ccr | |
12701 | .word 0xa1902005 ! 356: WRPR_GL_I wrpr %r0, 0x0005, %- | |
12702 | nop | |
12703 | mov 0x80, %g3 | |
12704 | stxa %g3, [%g3] 0x5f | |
12705 | .word 0xd45fc000 ! 357: LDX_R ldx [%r31 + %r0], %r10 | |
12706 | .word 0x93a00174 ! 358: FABSq dis not found | |
12707 | ||
12708 | .word 0xa7540000 ! 359: RDPR_GL <illegal instruction> | |
12709 | change_to_randtl_2_206: | |
12710 | ta T_CHANGE_PRIV ! macro | |
12711 | done_change_to_randtl_2_206: | |
12712 | .word 0x8f902002 ! 360: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12713 | .word 0x91d02035 ! 361: Tcc_I ta icc_or_xcc, %r0 + 53 | |
12714 | .word 0xab840005 ! 362: WR_CLEAR_SOFTINT_R wr %r16, %r5, %clear_softint | |
12715 | .word 0x8d9029bc ! 363: WRPR_PSTATE_I wrpr %r0, 0x09bc, %pstate | |
12716 | .word 0x93d020b2 ! 364: Tcc_I tne icc_or_xcc, %r0 + 178 | |
12717 | splash_lsu_2_207: | |
12718 | setx 0x6c9755d8bca47f13, %r1, %r2 | |
12719 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12720 | .word 0x3d400001 ! 365: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12721 | splash_hpstate_2_208: | |
12722 | .word 0x81982e86 ! 366: WRHPR_HPSTATE_I wrhpr %r0, 0x0e86, %hpstate | |
12723 | debug_2_209: | |
12724 | nop | |
12725 | mov 0x38, %r18 | |
12726 | .word 0xfef00b12 ! 367: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12727 | mondo_2_210: | |
12728 | nop | |
12729 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12730 | ||
12731 | stxa %r5, [%r0+0x3d8] %asi | |
12732 | .word 0x9d918001 ! 368: WRPR_WSTATE_R wrpr %r6, %r1, %wstate | |
12733 | setx 0xa83ea5388817ddcb, %r1, %r28 | |
12734 | stxa %r28, [%g0] 0x73 | |
12735 | intvec_2_211: | |
12736 | .word 0x39400001 ! 369: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12737 | .word 0xe60fe29d ! 370: LDUB_I ldub [%r31 + 0x029d], %r19 | |
12738 | .word 0x8d902323 ! 371: WRPR_PSTATE_I wrpr %r0, 0x0323, %pstate | |
12739 | .word 0xa750c000 ! 372: RDPR_TT <illegal instruction> | |
12740 | mov (2+1), %r10 | |
12741 | ta T_CHANGE_HPRIV | |
12742 | set sync_thr_counter2, %r23 | |
12743 | cas [%r23],%g0,%r10 !lock | |
12744 | brnz %r10, sma_2_212 | |
12745 | rd %asi, %r12 | |
12746 | wr %g0, 0x40, %asi | |
12747 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12748 | set 0x21fff, %g1 | |
12749 | stxa %g1, [%g0 + 0x80] %asi | |
12750 | wr %r12, %g0, %asi | |
12751 | st %g0, [%r23] | |
12752 | sma_2_212: | |
12753 | ta T_CHANGE_NONHPRIV | |
12754 | .word 0xd1e7e00a ! 373: CASA_R casa [%r31] %asi, %r10, %r8 | |
12755 | .word 0xd0800c40 ! 374: LDUWA_R lduwa [%r0, %r0] 0x62, %r8 | |
12756 | .word 0x22800001 ! 375: BE be,a <label_0x1> | |
12757 | .word 0x87802014 ! 376: WRASI_I wr %r0, 0x0014, %asi | |
12758 | .word 0x87802004 ! 377: WRASI_I wr %r0, 0x0004, %asi | |
12759 | .word 0xa1a0cdc0 ! 378: FdMULq fdmulq | |
12760 | splash_tba_2_213: | |
12761 | set 0x003e0000, %r12 | |
12762 | ld [%r12+%r0], %r1 | |
12763 | ta T_CHANGE_PRIV | |
12764 | set 0x003e0000, %r12 | |
12765 | .word 0x8b90000c ! 379: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12766 | .word 0x83d02032 ! 380: Tcc_I te icc_or_xcc, %r0 + 50 | |
12767 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12768 | ta T_CHANGE_NONPRIV ! macro | |
12769 | .word 0x9ba0196a ! 381: FqTOd dis not found | |
12770 | ||
12771 | splash_cmpr_2_215: | |
12772 | setx 0x881b126f4447713d, %g2, %g1 | |
12773 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
12774 | sub %g1, 100, %g1 | |
12775 | .word 0xb1800001 ! 382: WR_STICK_REG_R wr %r0, %r1, %- | |
12776 | debug_2_216: | |
12777 | nop | |
12778 | mov 8, %r18 | |
12779 | .word 0xd4f00492 ! 383: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
12780 | setx 0xb3eb3f59b75a623a, %r1, %r28 | |
12781 | stxa %r28, [%g0] 0x73 | |
12782 | intvec_2_217: | |
12783 | .word 0x39400001 ! 384: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12784 | .word 0x97480000 ! 385: RDHPR_HPSTATE rdhpr %hpstate, %r11 | |
12785 | .word 0x26800001 ! 386: BL bl,a <label_0x1> | |
12786 | ta T_CHANGE_HPRIV | |
12787 | mov (2+1), %r10 | |
12788 | set sync_thr_counter1, %r23 | |
12789 | cas [%r23],%g0,%r10 !lock | |
12790 | brnz %r10, cwq_2_218 | |
12791 | rd %asi, %r12 | |
12792 | wr %g0, 0x40, %asi | |
12793 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12794 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12795 | cmp %l1, 1 | |
12796 | bne cwq_2_218 | |
12797 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12798 | sub %l2, 0x40, %l2 | |
12799 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12800 | wr %r12, %g0, %asi | |
12801 | st %g0, [%r23] | |
12802 | cwq_2_218: | |
12803 | ta T_CHANGE_NONHPRIV | |
12804 | .word 0x9b414000 ! 387: RDPC rd %pc, %r13 | |
12805 | splash_hpstate_2_219: | |
12806 | .word 0x81982c46 ! 388: WRHPR_HPSTATE_I wrhpr %r0, 0x0c46, %hpstate | |
12807 | splash_tba_2_220: | |
12808 | set 0x120000, %r12 | |
12809 | st %r1, [%r12+%r0] | |
12810 | ta T_CHANGE_PRIV | |
12811 | set 0x120000, %r12 | |
12812 | .word 0x8b90000c ! 389: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12813 | splash_tba_2_221: | |
12814 | set 0x120000, %r12 | |
12815 | ld [%r12+%r0], %r1 | |
12816 | ta T_CHANGE_PRIV | |
12817 | set 0x120000, %r12 | |
12818 | .word 0x8b90000c ! 390: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12819 | splash_cmpr_2_222: | |
12820 | setx 0xb8e7b376f188ff37, %g2, %g1 | |
12821 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12822 | sub %g1, 100, %g1 | |
12823 | .word 0xb1800001 ! 391: WR_STICK_REG_R wr %r0, %r1, %- | |
12824 | setx 0x2db45ccfe63ab634, %r1, %r28 | |
12825 | stxa %r28, [%g0] 0x73 | |
12826 | intvec_2_223: | |
12827 | .word 0x39400001 ! 392: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12828 | .word 0x90d06ed3 ! 393: UMULcc_I umulcc %r1, 0x0ed3, %r8 | |
12829 | .word 0xd697e010 ! 394: LDUHA_I lduha [%r31, + 0x0010] %asi, %r11 | |
12830 | .word 0x20700001 ! 395: BPN <illegal instruction> | |
12831 | .word 0x91d020b2 ! 396: Tcc_I ta icc_or_xcc, %r0 + 178 | |
12832 | .word 0x9b7020b1 ! 397: POPC_I popc 0x00b1, %r13 | |
12833 | splash_lsu_2_224: | |
12834 | setx 0xf0c4c26748c86225, %r1, %r2 | |
12835 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12836 | .word 0x3d400001 ! 398: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12837 | .word 0x8790232f ! 399: WRPR_TT_I wrpr %r0, 0x032f, %tt | |
12838 | splash_cmpr_2_225: | |
12839 | setx 0x93beeba16214ab05, %g2, %g1 | |
12840 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
12841 | sub %g1, 100, %g1 | |
12842 | .word 0xb1800001 ! 400: WR_STICK_REG_R wr %r0, %r1, %- | |
12843 | memptr_2_226: | |
12844 | set 0x60340000, %r31 | |
12845 | .word 0x8584f074 ! 401: WRCCR_I wr %r19, 0x1074, %ccr | |
12846 | cwp_2_227: | |
12847 | set user_data_start, %o7 | |
12848 | .word 0x93902002 ! 402: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
12849 | .word 0x9f80317d ! 403: SIR sir 0x117d | |
12850 | mondo_2_228: | |
12851 | nop | |
12852 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12853 | ||
12854 | stxa %r19, [%r0+0x3c0] %asi | |
12855 | .word 0x9d918013 ! 404: WRPR_WSTATE_R wrpr %r6, %r19, %wstate | |
12856 | .word 0xab8178bd ! 405: WR_CLEAR_SOFTINT_I wr %r5, 0x18bd, %clear_softint | |
12857 | .word 0xa1902000 ! 406: WRPR_GL_I wrpr %r0, 0x0000, %- | |
12858 | DS_2_229: | |
12859 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
12860 | .word 0xbfefc000 ! 407: RESTORE_R restore %r31, %r0, %r31 | |
12861 | tagged_2_230: | |
12862 | tsubcctv %r22, 0x1554, %r16 | |
12863 | .word 0xe207f5d2 ! 408: LDUW_I lduw [%r31 + 0xfffff5d2], %r17 | |
12864 | .word 0x95540000 ! 409: RDPR_GL <illegal instruction> | |
12865 | mondo_2_231: | |
12866 | nop | |
12867 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12868 | ||
12869 | stxa %r4, [%r0+0x3c8] %asi | |
12870 | .word 0x9d92c002 ! 410: WRPR_WSTATE_R wrpr %r11, %r2, %wstate | |
12871 | debug_2_232: | |
12872 | nop | |
12873 | rd %pc, %r19 | |
12874 | add %r19, (64+40), %r19 | |
12875 | mov 0x38, %r18 | |
12876 | .word 0xe6f00b12 ! 411: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12877 | splash_cmpr_2_233: | |
12878 | setx 0xd584d34ca9ac6d59, %g2, %g1 | |
12879 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
12880 | sub %g1, 100, %g1 | |
12881 | .word 0xb1800001 ! 412: WR_STICK_REG_R wr %r0, %r1, %- | |
12882 | mov (2+1), %r10 | |
12883 | ta T_CHANGE_HPRIV | |
12884 | set sync_thr_counter2, %r23 | |
12885 | cas [%r23],%g0,%r10 !lock | |
12886 | brnz %r10, sma_2_234 | |
12887 | rd %asi, %r12 | |
12888 | wr %g0, 0x40, %asi | |
12889 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12890 | set 0x21fff, %g1 | |
12891 | stxa %g1, [%g0 + 0x80] %asi | |
12892 | wr %r12, %g0, %asi | |
12893 | st %g0, [%r23] | |
12894 | sma_2_234: | |
12895 | ta T_CHANGE_NONHPRIV | |
12896 | .word 0xd9e7e014 ! 413: CASA_R casa [%r31] %asi, %r20, %r12 | |
12897 | .word 0xd927c000 ! 414: STF_R st %f12, [%r0, %r31] | |
12898 | debug_2_235: | |
12899 | nop | |
12900 | rd %pc, %r19 | |
12901 | add %r19, (64+32), %r19 | |
12902 | mov 0x38, %r18 | |
12903 | .word 0xe6f00b12 ! 415: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12904 | .word 0x8790215e ! 416: WRPR_TT_I wrpr %r0, 0x015e, %tt | |
12905 | debug_2_236: | |
12906 | nop | |
12907 | mov 0x38, %r18 | |
12908 | .word 0xfef00b12 ! 417: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12909 | mondo_2_237: | |
12910 | nop | |
12911 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12912 | ||
12913 | stxa %r6, [%r0+0x3c0] %asi | |
12914 | .word 0x9d94000b ! 418: WRPR_WSTATE_R wrpr %r16, %r11, %wstate | |
12915 | tagged_2_238: | |
12916 | tsubcctv %r24, 0x106f, %r26 | |
12917 | .word 0xd807f5d2 ! 419: LDUW_I lduw [%r31 + 0xfffff5d2], %r12 | |
12918 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12919 | ta T_CHANGE_NONHPRIV ! macro | |
12920 | .word 0xa569e23f ! 420: SDIVX_I sdivx %r7, 0x023f, %r18 | |
12921 | .word 0x879022d3 ! 421: WRPR_TT_I wrpr %r0, 0x02d3, %tt | |
12922 | .word 0x91d02035 ! 422: Tcc_I ta icc_or_xcc, %r0 + 53 | |
12923 | .word 0xd8d804a0 ! 423: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
12924 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12925 | ta T_CHANGE_NONPRIV ! macro | |
12926 | .word 0x996cbe12 ! 424: SDIVX_I sdivx %r18, 0xfffffe12, %r12 | |
12927 | rd %pc, %r19 | |
12928 | add %r19, (ivw_2_241-.+24), %r19 | |
12929 | mov 0x38, %r18 | |
12930 | stxa %r19, [%r18]0x58 | |
12931 | ivw_2_241: | |
12932 | .word 0x9191c009 ! 425: WRPR_PIL_R wrpr %r7, %r9, %pil | |
12933 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12934 | ta T_CHANGE_NONPRIV ! macro | |
12935 | .word 0x9b68b79e ! 426: SDIVX_I sdivx %r2, 0xfffff79e, %r13 | |
12936 | splash_cmpr_2_243: | |
12937 | setx 0xa9fc8aed21be9bf9, %g2, %g1 | |
12938 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
12939 | sub %g1, 100, %g1 | |
12940 | .word 0xb1800001 ! 427: WR_STICK_REG_R wr %r0, %r1, %- | |
12941 | splash_cmpr_2_244: | |
12942 | setx 0xd934b23fbf9ae62b, %g2, %g1 | |
12943 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12944 | sub %g1, 100, %g1 | |
12945 | .word 0xb1800001 ! 428: WR_STICK_REG_R wr %r0, %r1, %- | |
12946 | .word 0x976b4002 ! 429: SDIVX_R sdivx %r13, %r2, %r11 | |
12947 | setx 0x34a35fdf392624fe, %r1, %r28 | |
12948 | stxa %r28, [%g0] 0x73 | |
12949 | intvec_2_245: | |
12950 | .word 0x39400001 ! 430: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12951 | DS_2_246: | |
12952 | nop | |
12953 | not %g0, %r12 | |
12954 | jmp %r12 | |
12955 | .word 0x9d902005 ! 431: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
12956 | pmu_2_247: | |
12957 | nop | |
12958 | setx 0xfffff1a4fffff866, %g1, %g7 | |
12959 | .word 0xa3800007 ! 432: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
12960 | change_to_randtl_2_248: | |
12961 | ta T_CHANGE_PRIV ! macro | |
12962 | done_change_to_randtl_2_248: | |
12963 | .word 0x8f902002 ! 433: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12964 | .word 0xe257c000 ! 434: LDSH_R ldsh [%r31 + %r0], %r17 | |
12965 | .word 0xa1902008 ! 435: WRPR_GL_I wrpr %r0, 0x0008, %- | |
12966 | mov (2+1), %r10 | |
12967 | ta T_CHANGE_HPRIV | |
12968 | set sync_thr_counter2, %r23 | |
12969 | cas [%r23],%g0,%r10 !lock | |
12970 | brnz %r10, sma_2_249 | |
12971 | rd %asi, %r12 | |
12972 | wr %g0, 0x40, %asi | |
12973 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12974 | set 0x21fff, %g1 | |
12975 | stxa %g1, [%g0 + 0x80] %asi | |
12976 | wr %r12, %g0, %asi | |
12977 | st %g0, [%r23] | |
12978 | sma_2_249: | |
12979 | ta T_CHANGE_NONHPRIV | |
12980 | .word 0xe3e7e00b ! 436: CASA_R casa [%r31] %asi, %r11, %r17 | |
12981 | splash_lsu_2_250: | |
12982 | setx 0xb4db8dadba070bd5, %r1, %r2 | |
12983 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12984 | .word 0x3d400001 ! 437: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12985 | .word 0xe28008a0 ! 438: LDUWA_R lduwa [%r0, %r0] 0x45, %r17 | |
12986 | splash_lsu_2_251: | |
12987 | setx 0x83d439b1f1a615b3, %r1, %r2 | |
12988 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12989 | .word 0x3d400001 ! 439: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12990 | splash_cmpr_2_252: | |
12991 | setx 0x520e658f24aae3ac, %g2, %g1 | |
12992 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12993 | sub %g1, 100, %g1 | |
12994 | .word 0xb1800001 ! 440: WR_STICK_REG_R wr %r0, %r1, %- | |
12995 | nop | |
12996 | mov 0x80, %g3 | |
12997 | stxa %g3, [%g3] 0x57 | |
12998 | .word 0xe25fc000 ! 441: LDX_R ldx [%r31 + %r0], %r17 | |
12999 | .word 0x9b540000 ! 442: RDPR_GL <illegal instruction> | |
13000 | ta T_CHANGE_HPRIV | |
13001 | mov (2+1), %r10 | |
13002 | set sync_thr_counter1, %r23 | |
13003 | cas [%r23],%g0,%r10 !lock | |
13004 | brnz %r10, cwq_2_253 | |
13005 | rd %asi, %r12 | |
13006 | wr %g0, 0x40, %asi | |
13007 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13008 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13009 | cmp %l1, 1 | |
13010 | bne cwq_2_253 | |
13011 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13012 | sub %l2, 0x40, %l2 | |
13013 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13014 | wr %r12, %g0, %asi | |
13015 | st %g0, [%r23] | |
13016 | cwq_2_253: | |
13017 | ta T_CHANGE_NONHPRIV | |
13018 | .word 0xa5414000 ! 443: RDPC rd %pc, %r18 | |
13019 | splash_htba_2_254: | |
13020 | set 0x80000, %r12 | |
13021 | st %r1, [%r12+%r0] | |
13022 | ta T_CHANGE_HPRIV | |
13023 | set 0x80000, %r12 | |
13024 | .word 0x8b98000c ! 444: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
13025 | tagged_2_255: | |
13026 | taddcctv %r8, 0x1dae, %r3 | |
13027 | .word 0xd807f183 ! 445: LDUW_I lduw [%r31 + 0xfffff183], %r12 | |
13028 | memptr_2_256: | |
13029 | set 0x60540000, %r31 | |
13030 | .word 0x8584b286 ! 446: WRCCR_I wr %r18, 0x1286, %ccr | |
13031 | tagged_2_257: | |
13032 | taddcctv %r14, 0x17bc, %r19 | |
13033 | .word 0xd807e3fe ! 447: LDUW_I lduw [%r31 + 0x03fe], %r12 | |
13034 | .word 0xd91fe3fe ! 448: LDDF_I ldd [%r31, 0x03fe], %f12 | |
13035 | .word 0x87802010 ! 449: WRASI_I wr %r0, 0x0010, %asi | |
13036 | splash_tba_2_258: | |
13037 | set 0x003e0000, %r12 | |
13038 | st %r1, [%r12+%r0] | |
13039 | ta T_CHANGE_PRIV | |
13040 | set 0x003e0000, %r12 | |
13041 | .word 0x8b90000c ! 450: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13042 | .word 0x956c8011 ! 451: SDIVX_R sdivx %r18, %r17, %r10 | |
13043 | rd %pc, %r19 | |
13044 | add %r19, (ivw_2_259-.+16), %r19 | |
13045 | mov 0x38, %r18 | |
13046 | stxa %r19, [%r18]0x58 | |
13047 | ivw_2_259: | |
13048 | .word 0x91910000 ! 452: WRPR_PIL_R wrpr %r4, %r0, %pil | |
13049 | rd %pc, %r19 | |
13050 | add %r19, (ivw_2_260-.+24), %r19 | |
13051 | mov 0x38, %r18 | |
13052 | stxa %r19, [%r18]0x58 | |
13053 | ivw_2_260: | |
13054 | .word 0x9194c005 ! 453: WRPR_PIL_R wrpr %r19, %r5, %pil | |
13055 | ta T_CHANGE_HPRIV | |
13056 | mov (2+1), %r10 | |
13057 | set sync_thr_counter1, %r23 | |
13058 | cas [%r23],%g0,%r10 !lock | |
13059 | brnz %r10, cwq_2_261 | |
13060 | rd %asi, %r12 | |
13061 | wr %g0, 0x40, %asi | |
13062 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13063 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13064 | cmp %l1, 1 | |
13065 | bne cwq_2_261 | |
13066 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13067 | sub %l2, 0x40, %l2 | |
13068 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13069 | wr %r12, %g0, %asi | |
13070 | st %g0, [%r23] | |
13071 | cwq_2_261: | |
13072 | ta T_CHANGE_NONHPRIV | |
13073 | .word 0x99414000 ! 454: RDPC rd %pc, %r12 | |
13074 | invalw | |
13075 | mov 0x31, %r30 | |
13076 | .word 0x91d0001e ! 455: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
13077 | splash_cmpr_2_262: | |
13078 | setx 0x75d51ccd7a16ac1e, %g2, %g1 | |
13079 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13080 | sub %g1, 100, %g1 | |
13081 | .word 0xb1800001 ! 456: WR_STICK_REG_R wr %r0, %r1, %- | |
13082 | .word 0x91d020b2 ! 457: Tcc_I ta icc_or_xcc, %r0 + 178 | |
13083 | DS_2_263: | |
13084 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
13085 | .word 0xd9303ab1 ! 1: STQF_I - %f12, [0x1ab1, %r0] | |
13086 | normalw | |
13087 | .word 0x99458000 ! 458: RD_SOFTINT_REG rd %softint, %r12 | |
13088 | memptr_2_264: | |
13089 | set user_data_start, %r31 | |
13090 | .word 0x8580f7d2 ! 459: WRCCR_I wr %r3, 0x17d2, %ccr | |
13091 | debug_2_265: | |
13092 | nop | |
13093 | rd %pc, %r19 | |
13094 | add %r19, (64+8), %r19 | |
13095 | mov 0x38, %r18 | |
13096 | .word 0xe6f00b12 ! 460: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13097 | .word 0xe527f6cd ! 461: STF_I st %f18, [0x16cd, %r31] | |
13098 | splash_cmpr_2_266: | |
13099 | setx 0x3b03daed0eb06c28, %g2, %g1 | |
13100 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13101 | sub %g1, 100, %g1 | |
13102 | .word 0xb1800001 ! 462: WR_STICK_REG_R wr %r0, %r1, %- | |
13103 | .word 0x91a209d1 ! 463: FDIVd fdivd %f8, %f48, %f8 | |
13104 | splash_htba_2_267: | |
13105 | set 0x003a0000, %r12 | |
13106 | ld [%r12+%r0], %r1 | |
13107 | ta T_CHANGE_HPRIV | |
13108 | set 0x003a0000, %r12 | |
13109 | .word 0x8b98000c ! 464: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
13110 | .word 0xd6c7e020 ! 465: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r11 | |
13111 | splash_lsu_2_268: | |
13112 | setx 0x8cbddd799007cf73, %r1, %r2 | |
13113 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13114 | .word 0x3d400001 ! 466: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13115 | setx 0x69dcdbf965bd4792, %r1, %r28 | |
13116 | stxa %r28, [%g0] 0x73 | |
13117 | intvec_2_269: | |
13118 | .word 0x39400001 ! 467: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13119 | .word 0x91480000 ! 468: RDHPR_HPSTATE rdhpr %hpstate, %r8 | |
13120 | splash_cmpr_2_270: | |
13121 | setx 0x3dc5c5d558432734, %g2, %g1 | |
13122 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13123 | sub %g1, 100, %g1 | |
13124 | .word 0xb1800001 ! 469: WR_STICK_REG_R wr %r0, %r1, %- | |
13125 | .word 0x36700001 ! 470: BPGE <illegal instruction> | |
13126 | DS_2_271: | |
13127 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
13128 | .word 0xbfefc000 ! 471: RESTORE_R restore %r31, %r0, %r31 | |
13129 | .word 0xd4d7e030 ! 472: LDSHA_I ldsha [%r31, + 0x0030] %asi, %r10 | |
13130 | DS_2_272: | |
13131 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
13132 | .word 0xa3a2c9c3 ! 1: FDIVd fdivd %f42, %f34, %f48 | |
13133 | normalw | |
13134 | .word 0x97458000 ! 473: RD_SOFTINT_REG rd %softint, %r11 | |
13135 | .word 0x87902103 ! 474: WRPR_TT_I wrpr %r0, 0x0103, %tt | |
13136 | splash_cmpr_2_273: | |
13137 | setx 0xc387b8f7e97f6855, %g2, %g1 | |
13138 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
13139 | sub %g1, 100, %g1 | |
13140 | .word 0xb1800001 ! 475: WR_STICK_REG_R wr %r0, %r1, %- | |
13141 | DS_2_274: | |
13142 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
13143 | pdist %f12, %f22, %f28 | |
13144 | .word 0x95b04310 ! 476: ALIGNADDRESS alignaddr %r1, %r16, %r10 | |
13145 | .word 0x8d903ec5 ! 477: WRPR_PSTATE_I wrpr %r0, 0x1ec5, %pstate | |
13146 | mondo_2_275: | |
13147 | nop | |
13148 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13149 | ||
13150 | stxa %r17, [%r0+0x3c0] %asi | |
13151 | .word 0x9d900002 ! 478: WRPR_WSTATE_R wrpr %r0, %r2, %wstate | |
13152 | .word 0xda8008a0 ! 479: LDUWA_R lduwa [%r0, %r0] 0x45, %r13 | |
13153 | tagged_2_276: | |
13154 | tsubcctv %r5, 0x16ec, %r12 | |
13155 | .word 0xda07f6cd ! 480: LDUW_I lduw [%r31 + 0xfffff6cd], %r13 | |
13156 | splash_htba_2_277: | |
13157 | set 0x80000, %r12 | |
13158 | ld [%r12+%r0], %r1 | |
13159 | ta T_CHANGE_HPRIV | |
13160 | set 0x80000, %r12 | |
13161 | .word 0x8b98000c ! 481: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
13162 | .word 0x3c700001 ! 482: BPPOS <illegal instruction> | |
13163 | .word 0x99450000 ! 483: RD_SET_SOFTINT rd %set_softint, %r12 | |
13164 | .word 0xd0cfe000 ! 484: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r8 | |
13165 | nop | |
13166 | mov 0x80, %g3 | |
13167 | stxa %g3, [%g3] 0x5f | |
13168 | .word 0xd05fc000 ! 485: LDX_R ldx [%r31 + %r0], %r8 | |
13169 | splash_cmpr_2_278: | |
13170 | setx 0xf305e9fc6c925107, %g2, %g1 | |
13171 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13172 | sub %g1, 100, %g1 | |
13173 | .word 0xb1800001 ! 486: WR_STICK_REG_R wr %r0, %r1, %- | |
13174 | otherw | |
13175 | mov 0x32, %r30 | |
13176 | .word 0x83d0001e ! 487: Tcc_R te icc_or_xcc, %r0 + %r30 | |
13177 | cwp_2_279: | |
13178 | set user_data_start, %o7 | |
13179 | .word 0x93902006 ! 488: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
13180 | .word 0x9f803b5b ! 489: SIR sir 0x1b5b | |
13181 | cwp_2_280: | |
13182 | set user_data_start, %o7 | |
13183 | .word 0x93902005 ! 490: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
13184 | change_to_randtl_2_281: | |
13185 | ta T_CHANGE_HPRIV ! macro | |
13186 | done_change_to_randtl_2_281: | |
13187 | .word 0x8f902000 ! 491: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
13188 | donret_2_282: | |
13189 | nop | |
13190 | rd %pc, %r12 | |
13191 | add %r12, (donretarg_2_282-donret_2_282), %r12 | |
13192 | mov 0x38, %r18 | |
13193 | stxa %r12, [%r18]0x58 | |
13194 | add %r12, 0x4, %r11 | |
13195 | wrpr %g0, 0x2, %tl | |
13196 | wrpr %g0, %r12, %tpc | |
13197 | wrpr %g0, %r11, %tnpc | |
13198 | wrpr %g0, %r13, %tstate | |
13199 | wrhpr %g0, %r14, %htstate | |
13200 | retry | |
13201 | donretarg_2_282: | |
13202 | .word 0xd0fff0df ! 492: SWAPA_I swapa %r8, [%r31 + 0xfffff0df] %asi | |
13203 | .word 0x91d02034 ! 493: Tcc_I ta icc_or_xcc, %r0 + 52 | |
13204 | .word 0x36800001 ! 494: BGE bge,a <label_0x1> | |
13205 | splash_cmpr_2_283: | |
13206 | setx 0xd9b1ae47b7c2237c, %g2, %g1 | |
13207 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
13208 | sub %g1, 100, %g1 | |
13209 | .word 0xb1800001 ! 495: WR_STICK_REG_R wr %r0, %r1, %- | |
13210 | splash_lsu_2_284: | |
13211 | setx 0x9d0abc24279d419f, %r1, %r2 | |
13212 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13213 | .word 0x3d400001 ! 496: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13214 | splash_tba_2_285: | |
13215 | set 0x003e0000, %r12 | |
13216 | ld [%r12+%r0], %r1 | |
13217 | ta T_CHANGE_PRIV | |
13218 | set 0x003e0000, %r12 | |
13219 | .word 0x8b90000c ! 497: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13220 | tagged_2_286: | |
13221 | tsubcctv %r12, 0x13d9, %r6 | |
13222 | .word 0xd007f0df ! 498: LDUW_I lduw [%r31 + 0xfffff0df], %r8 | |
13223 | nop | |
13224 | nop | |
13225 | setx join_lbl_0_0, %g1, %g2 | |
13226 | jmp %g2 | |
13227 | nop | |
13228 | fork_lbl_0_2: | |
13229 | .word 0x26700001 ! 1: BPL <illegal instruction> | |
13230 | memptr_1_0: | |
13231 | set user_data_start, %r31 | |
13232 | .word 0x8580e4b0 ! 2: WRCCR_I wr %r3, 0x04b0, %ccr | |
13233 | DS_1_1: | |
13234 | nop | |
13235 | not %g0, %r12 | |
13236 | jmp %r12 | |
13237 | .word 0x9d902005 ! 3: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
13238 | .word 0xe46ffa57 ! 4: LDSTUB_I ldstub %r18, [%r31 + 0xfffffa57] | |
13239 | .word 0xa190200f ! 5: WRPR_GL_I wrpr %r0, 0x000f, %- | |
13240 | change_to_randtl_1_2: | |
13241 | ta T_CHANGE_PRIV ! macro | |
13242 | done_change_to_randtl_1_2: | |
13243 | .word 0x8f902001 ! 6: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
13244 | splash_cmpr_1_3: | |
13245 | setx 0x380016b748b4951b, %g2, %g1 | |
13246 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
13247 | sub %g1, 100, %g1 | |
13248 | .word 0xb1800001 ! 7: WR_STICK_REG_R wr %r0, %r1, %- | |
13249 | mondo_1_4: | |
13250 | nop | |
13251 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13252 | ||
13253 | stxa %r4, [%r0+0x3d0] %asi | |
13254 | .word 0x9d940008 ! 8: WRPR_WSTATE_R wrpr %r16, %r8, %wstate | |
13255 | .word 0x87802014 ! 9: WRASI_I wr %r0, 0x0014, %asi | |
13256 | donret_1_5: | |
13257 | nop | |
13258 | rd %pc, %r12 | |
13259 | add %r12, (donretarg_1_5-donret_1_5-4), %r12 | |
13260 | mov 0x38, %r18 | |
13261 | stxa %r12, [%r18]0x58 | |
13262 | add %r12, 0x4, %r11 | |
13263 | wrpr %g0, 0x3, %tl | |
13264 | wrpr %g0, %r12, %tpc | |
13265 | wrpr %g0, %r11, %tnpc | |
13266 | wrpr %g0, %r13, %tstate | |
13267 | wrhpr %g0, %r14, %htstate | |
13268 | done | |
13269 | donretarg_1_5: | |
13270 | .word 0xe4fffa57 ! 10: SWAPA_I swapa %r18, [%r31 + 0xfffffa57] %asi | |
13271 | change_to_randtl_1_6: | |
13272 | ta T_CHANGE_PRIV ! macro | |
13273 | done_change_to_randtl_1_6: | |
13274 | .word 0x8f902000 ! 11: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
13275 | cwp_1_7: | |
13276 | set user_data_start, %o7 | |
13277 | .word 0x93902004 ! 12: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
13278 | .word 0x2e700001 ! 13: BPVS <illegal instruction> | |
13279 | splash_lsu_1_8: | |
13280 | setx 0x2e21ed1c24b77aa1, %r1, %r2 | |
13281 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13282 | .word 0x3d400001 ! 14: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13283 | .word 0x8d9037fd ! 15: WRPR_PSTATE_I wrpr %r0, 0x17fd, %pstate | |
13284 | .word 0x8790226f ! 16: WRPR_TT_I wrpr %r0, 0x026f, %tt | |
13285 | ta T_CHANGE_HPRIV | |
13286 | mov (1+1), %r10 | |
13287 | set sync_thr_counter1, %r23 | |
13288 | cas [%r23],%g0,%r10 !lock | |
13289 | brnz %r10, cwq_1_9 | |
13290 | rd %asi, %r12 | |
13291 | wr %g0, 0x40, %asi | |
13292 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13293 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13294 | cmp %l1, 1 | |
13295 | bne cwq_1_9 | |
13296 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13297 | sub %l2, 0x40, %l2 | |
13298 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13299 | wr %r12, %g0, %asi | |
13300 | st %g0, [%r23] | |
13301 | cwq_1_9: | |
13302 | ta T_CHANGE_NONHPRIV | |
13303 | .word 0x97414000 ! 17: RDPC rd %pc, %r11 | |
13304 | .word 0xd8c804a0 ! 18: LDSBA_R ldsba [%r0, %r0] 0x25, %r12 | |
13305 | debug_1_10: | |
13306 | nop | |
13307 | rd %pc, %r19 | |
13308 | add %r19, (64+56), %r19 | |
13309 | mov 0x38, %r18 | |
13310 | .word 0xe6f00b12 ! 19: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13311 | .word 0xd84fc000 ! 20: LDSB_R ldsb [%r31 + %r0], %r12 | |
13312 | cwp_1_11: | |
13313 | set user_data_start, %o7 | |
13314 | .word 0x93902000 ! 21: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
13315 | .word 0xa545c000 ! 22: RD_TICK_CMPR_REG rd %-, %r18 | |
13316 | .word 0x8d90353c ! 23: WRPR_PSTATE_I wrpr %r0, 0x153c, %pstate | |
13317 | splash_lsu_1_12: | |
13318 | setx 0xf5087db557c551a9, %r1, %r2 | |
13319 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13320 | .word 0x3d400001 ! 24: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13321 | .word 0xa190200d ! 25: WRPR_GL_I wrpr %r0, 0x000d, %- | |
13322 | .word 0x97a0016a ! 26: FABSq dis not found | |
13323 | ||
13324 | splash_lsu_1_13: | |
13325 | setx 0xe4bde0501c1fd595, %r1, %r2 | |
13326 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13327 | .word 0x3d400001 ! 27: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13328 | memptr_1_14: | |
13329 | set 0x60340000, %r31 | |
13330 | .word 0x8582fadf ! 28: WRCCR_I wr %r11, 0x1adf, %ccr | |
13331 | splash_hpstate_1_15: | |
13332 | .word 0x819821d7 ! 29: WRHPR_HPSTATE_I wrhpr %r0, 0x01d7, %hpstate | |
13333 | .word 0x93464000 ! 30: RD_STICK_CMPR_REG rd %-, %r9 | |
13334 | .word 0x91d02032 ! 31: Tcc_I ta icc_or_xcc, %r0 + 50 | |
13335 | debug_1_16: | |
13336 | nop | |
13337 | rd %pc, %r19 | |
13338 | add %r19, (64+16), %r19 | |
13339 | mov 0x38, %r18 | |
13340 | .word 0xe6f00b12 ! 32: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13341 | cwp_1_17: | |
13342 | set user_data_start, %o7 | |
13343 | .word 0x93902004 ! 33: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
13344 | .word 0xe48804a0 ! 34: LDUBA_R lduba [%r0, %r0] 0x25, %r18 | |
13345 | splash_hpstate_1_18: | |
13346 | .word 0x81982844 ! 35: WRHPR_HPSTATE_I wrhpr %r0, 0x0844, %hpstate | |
13347 | cwp_1_19: | |
13348 | set user_data_start, %o7 | |
13349 | .word 0x93902000 ! 36: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
13350 | ta T_CHANGE_HPRIV | |
13351 | mov (1+1), %r10 | |
13352 | set sync_thr_counter1, %r23 | |
13353 | cas [%r23],%g0,%r10 !lock | |
13354 | brnz %r10, cwq_1_20 | |
13355 | rd %asi, %r12 | |
13356 | wr %g0, 0x40, %asi | |
13357 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13358 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13359 | cmp %l1, 1 | |
13360 | bne cwq_1_20 | |
13361 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13362 | sub %l2, 0x40, %l2 | |
13363 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13364 | wr %r12, %g0, %asi | |
13365 | st %g0, [%r23] | |
13366 | cwq_1_20: | |
13367 | ta T_CHANGE_NONHPRIV | |
13368 | .word 0x99414000 ! 37: RDPC rd %pc, %r12 | |
13369 | .word 0x87802055 ! 38: WRASI_I wr %r0, 0x0055, %asi | |
13370 | DS_1_21: | |
13371 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
13372 | allclean | |
13373 | .word 0x95b1c305 ! 39: ALIGNADDRESS alignaddr %r7, %r5, %r10 | |
13374 | .word 0xe80ffaea ! 40: LDUB_I ldub [%r31 + 0xfffffaea], %r20 | |
13375 | .word 0x8d90212e ! 41: WRPR_PSTATE_I wrpr %r0, 0x012e, %pstate | |
13376 | .word 0xe8c804a0 ! 42: LDSBA_R ldsba [%r0, %r0] 0x25, %r20 | |
13377 | debug_1_22: | |
13378 | nop | |
13379 | rd %pc, %r19 | |
13380 | add %r19, (64+0), %r19 | |
13381 | mov 0x38, %r18 | |
13382 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13383 | mondo_1_23: | |
13384 | nop | |
13385 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13386 | ||
13387 | stxa %r16, [%r0+0x3e0] %asi | |
13388 | .word 0x9d940009 ! 44: WRPR_WSTATE_R wrpr %r16, %r9, %wstate | |
13389 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_24) + 56, 16, 16)) -> intp(3,0,18) | |
13390 | intvec_1_24: | |
13391 | .word 0x39400001 ! 45: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13392 | .word 0x8d902e78 ! 46: WRPR_PSTATE_I wrpr %r0, 0x0e78, %pstate | |
13393 | .word 0xab8177ac ! 47: WR_CLEAR_SOFTINT_I wr %r5, 0x17ac, %clear_softint | |
13394 | memptr_1_25: | |
13395 | set 0x60340000, %r31 | |
13396 | .word 0x858165f8 ! 48: WRCCR_I wr %r5, 0x05f8, %ccr | |
13397 | .word 0xe927c000 ! 49: STF_R st %f20, [%r0, %r31] | |
13398 | splash_hpstate_1_26: | |
13399 | .word 0x81982457 ! 50: WRHPR_HPSTATE_I wrhpr %r0, 0x0457, %hpstate | |
13400 | .word 0xe89004a0 ! 51: LDUHA_R lduha [%r0, %r0] 0x25, %r20 | |
13401 | .word 0x8d902b92 ! 52: WRPR_PSTATE_I wrpr %r0, 0x0b92, %pstate | |
13402 | .word 0x93d02034 ! 53: Tcc_I tne icc_or_xcc, %r0 + 52 | |
13403 | debug_1_27: | |
13404 | nop | |
13405 | mov 8, %r18 | |
13406 | .word 0xd2f00492 ! 54: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
13407 | .word 0xe81fc000 ! 55: LDD_R ldd [%r31 + %r0], %r20 | |
13408 | ta T_CHANGE_HPRIV | |
13409 | mov (1+1), %r10 | |
13410 | set sync_thr_counter1, %r23 | |
13411 | cas [%r23],%g0,%r10 !lock | |
13412 | brnz %r10, cwq_1_28 | |
13413 | rd %asi, %r12 | |
13414 | wr %g0, 0x40, %asi | |
13415 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13416 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13417 | cmp %l1, 1 | |
13418 | bne cwq_1_28 | |
13419 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13420 | sub %l2, 0x40, %l2 | |
13421 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13422 | wr %r12, %g0, %asi | |
13423 | st %g0, [%r23] | |
13424 | cwq_1_28: | |
13425 | ta T_CHANGE_NONHPRIV | |
13426 | .word 0x99414000 ! 56: RDPC rd %pc, %r12 | |
13427 | .word 0x87902189 ! 57: WRPR_TT_I wrpr %r0, 0x0189, %tt | |
13428 | .word 0x94d84010 ! 58: SMULcc_R smulcc %r1, %r16, %r10 | |
13429 | setx 0xeb3a6202c560af85, %r1, %r28 | |
13430 | stxa %r28, [%g0] 0x73 | |
13431 | intvec_1_29: | |
13432 | .word 0x39400001 ! 59: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13433 | splash_hpstate_1_30: | |
13434 | .word 0x81982b66 ! 60: WRHPR_HPSTATE_I wrhpr %r0, 0x0b66, %hpstate | |
13435 | .word 0xa190200d ! 61: WRPR_GL_I wrpr %r0, 0x000d, %- | |
13436 | splash_hpstate_1_31: | |
13437 | .word 0x8198268c ! 62: WRHPR_HPSTATE_I wrhpr %r0, 0x068c, %hpstate | |
13438 | donret_1_32: | |
13439 | nop | |
13440 | rd %pc, %r12 | |
13441 | add %r12, (donretarg_1_32-donret_1_32), %r12 | |
13442 | mov 0x38, %r18 | |
13443 | stxa %r12, [%r18]0x58 | |
13444 | add %r12, 0x4, %r11 | |
13445 | wrpr %g0, 0x1, %tl | |
13446 | wrpr %g0, %r12, %tpc | |
13447 | wrpr %g0, %r11, %tnpc | |
13448 | wrpr %g0, %r13, %tstate | |
13449 | wrhpr %g0, %r14, %htstate | |
13450 | retry | |
13451 | donretarg_1_32: | |
13452 | .word 0xd8ffe315 ! 63: SWAPA_I swapa %r12, [%r31 + 0x0315] %asi | |
13453 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
13454 | ta T_CHANGE_NONHPRIV ! macro | |
13455 | .word 0x9ba01970 ! 64: FqTOd dis not found | |
13456 | ||
13457 | .word 0x26700001 ! 65: BPL <illegal instruction> | |
13458 | .word 0xe6c7e020 ! 66: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r19 | |
13459 | .word 0x87802004 ! 67: WRASI_I wr %r0, 0x0004, %asi | |
13460 | mondo_1_34: | |
13461 | nop | |
13462 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13463 | ||
13464 | stxa %r5, [%r0+0x3e0] %asi | |
13465 | .word 0x9d94c011 ! 68: WRPR_WSTATE_R wrpr %r19, %r17, %wstate | |
13466 | ta T_CHANGE_HPRIV | |
13467 | mov (1+1), %r10 | |
13468 | set sync_thr_counter1, %r23 | |
13469 | cas [%r23],%g0,%r10 !lock | |
13470 | brnz %r10, cwq_1_35 | |
13471 | rd %asi, %r12 | |
13472 | wr %g0, 0x40, %asi | |
13473 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13474 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13475 | cmp %l1, 1 | |
13476 | bne cwq_1_35 | |
13477 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13478 | sub %l2, 0x40, %l2 | |
13479 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13480 | wr %r12, %g0, %asi | |
13481 | st %g0, [%r23] | |
13482 | cwq_1_35: | |
13483 | ta T_CHANGE_NONHPRIV | |
13484 | .word 0xa7414000 ! 69: RDPC rd %pc, %r19 | |
13485 | .word 0x99a18d34 ! 70: FsMULd fsmuld %f6, %f20, %f12 | |
13486 | splash_hpstate_1_36: | |
13487 | .word 0x81982f67 ! 71: WRHPR_HPSTATE_I wrhpr %r0, 0x0f67, %hpstate | |
13488 | splash_cmpr_1_37: | |
13489 | setx 0x367027d47ebb2ffe, %g2, %g1 | |
13490 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
13491 | sub %g1, 100, %g1 | |
13492 | .word 0xb1800001 ! 72: WR_STICK_REG_R wr %r0, %r1, %- | |
13493 | splash_cmpr_1_38: | |
13494 | setx 0x91c52c81e45a8476, %g2, %g1 | |
13495 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13496 | sub %g1, 100, %g1 | |
13497 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
13498 | .word 0x34700001 ! 74: BPG <illegal instruction> | |
13499 | .word 0x22700001 ! 75: BPE <illegal instruction> | |
13500 | memptr_1_39: | |
13501 | set user_data_start, %r31 | |
13502 | .word 0x8580e435 ! 76: WRCCR_I wr %r3, 0x0435, %ccr | |
13503 | intveclr_1_40: | |
13504 | setx 0x531d9fd4cd9309ed, %r1, %r28 | |
13505 | stxa %r28, [%g0] 0x72 | |
13506 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13507 | .word 0xd28008a0 ! 78: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
13508 | splash_htba_1_41: | |
13509 | set 0x80000, %r12 | |
13510 | ld [%r12+%r0], %r1 | |
13511 | ta T_CHANGE_HPRIV | |
13512 | set 0x80000, %r12 | |
13513 | .word 0x8b98000c ! 79: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
13514 | DS_1_42: | |
13515 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
13516 | .word 0xbfefc000 ! 80: RESTORE_R restore %r31, %r0, %r31 | |
13517 | .word 0x91d020b5 ! 81: Tcc_I ta icc_or_xcc, %r0 + 181 | |
13518 | change_to_randtl_1_43: | |
13519 | ta T_CHANGE_HPRIV ! macro | |
13520 | done_change_to_randtl_1_43: | |
13521 | .word 0x8f902001 ! 82: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
13522 | .word 0xa1902008 ! 83: WRPR_GL_I wrpr %r0, 0x0008, %- | |
13523 | debug_1_44: | |
13524 | nop | |
13525 | mov 0x38, %r18 | |
13526 | .word 0xfef00b12 ! 84: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13527 | nop | |
13528 | mov 0x80, %g3 | |
13529 | stxa %g3, [%g3] 0x57 | |
13530 | .word 0xd25fc000 ! 85: LDX_R ldx [%r31 + %r0], %r9 | |
13531 | .word 0x91d02034 ! 86: Tcc_I ta icc_or_xcc, %r0 + 52 | |
13532 | memptr_1_45: | |
13533 | set user_data_start, %r31 | |
13534 | .word 0x85802d6a ! 87: WRCCR_I wr %r0, 0x0d6a, %ccr | |
13535 | .word 0xd2d004a0 ! 88: LDSHA_R ldsha [%r0, %r0] 0x25, %r9 | |
13536 | splash_tba_1_46: | |
13537 | set 0x120000, %r12 | |
13538 | st %r1, [%r12+%r0] | |
13539 | ta T_CHANGE_PRIV | |
13540 | set 0x120000, %r12 | |
13541 | .word 0x8b90000c ! 89: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13542 | setx 0x35cfe760efb01d92, %r1, %r28 | |
13543 | stxa %r28, [%g0] 0x73 | |
13544 | intvec_1_47: | |
13545 | .word 0x39400001 ! 90: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13546 | .word 0x93d02033 ! 91: Tcc_I tne icc_or_xcc, %r0 + 51 | |
13547 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
13548 | ta T_CHANGE_NONPRIV ! macro | |
13549 | .word 0x936a2df4 ! 92: SDIVX_I sdivx %r8, 0x0df4, %r9 | |
13550 | .word 0x38700001 ! 93: BPGU <illegal instruction> | |
13551 | mondo_1_49: | |
13552 | nop | |
13553 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13554 | ||
13555 | stxa %r16, [%r0+0x3d8] %asi | |
13556 | .word 0x9d94c001 ! 94: WRPR_WSTATE_R wrpr %r19, %r1, %wstate | |
13557 | splash_tba_1_50: | |
13558 | set 0x120000, %r12 | |
13559 | st %r1, [%r12+%r0] | |
13560 | ta T_CHANGE_PRIV | |
13561 | set 0x120000, %r12 | |
13562 | .word 0x8b90000c ! 95: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13563 | .word 0x91d02034 ! 96: Tcc_I ta icc_or_xcc, %r0 + 52 | |
13564 | .word 0x95540000 ! 97: RDPR_GL <illegal instruction> | |
13565 | .word 0x87902394 ! 98: WRPR_TT_I wrpr %r0, 0x0394, %tt | |
13566 | .word 0xd8d804a0 ! 99: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
13567 | splash_lsu_1_51: | |
13568 | setx 0x6b9e378bc4bcacff, %r1, %r2 | |
13569 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13570 | .word 0x3d400001 ! 100: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13571 | rd %pc, %r19 | |
13572 | add %r19, (ivw_1_52-.+8), %r19 | |
13573 | mov 0x38, %r18 | |
13574 | stxa %r19, [%r18]0x58 | |
13575 | ivw_1_52: | |
13576 | .word 0x91928007 ! 101: WRPR_PIL_R wrpr %r10, %r7, %pil | |
13577 | splash_tba_1_53: | |
13578 | set 0x120000, %r12 | |
13579 | ld [%r12+%r0], %r1 | |
13580 | ta T_CHANGE_PRIV | |
13581 | set 0x120000, %r12 | |
13582 | .word 0x8b90000c ! 102: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13583 | DS_1_54: | |
13584 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
13585 | allclean | |
13586 | .word 0x9bb50302 ! 103: ALIGNADDRESS alignaddr %r20, %r2, %r13 | |
13587 | cwp_1_55: | |
13588 | set user_data_start, %o7 | |
13589 | .word 0x93902007 ! 104: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
13590 | .word 0x8d90209f ! 105: WRPR_PSTATE_I wrpr %r0, 0x009f, %pstate | |
13591 | .word 0x8780201c ! 106: WRASI_I wr %r0, 0x001c, %asi | |
13592 | DS_1_56: | |
13593 | .word 0xa3a009ca ! 1: FDIVd fdivd %f0, %f10, %f48 | |
13594 | .word 0x85480a26 ! Random illegal ? | |
13595 | .word 0xd3140004 ! 1: LDQF_R - [%r16, %r4], %f9 | |
13596 | .word 0x97a48822 ! 107: FADDs fadds %f18, %f2, %f11 | |
13597 | .word 0x87802088 ! 108: WRASI_I wr %r0, 0x0088, %asi | |
13598 | .word 0xa1902005 ! 109: WRPR_GL_I wrpr %r0, 0x0005, %- | |
13599 | otherw | |
13600 | mov 0x31, %r30 | |
13601 | .word 0x91d0001e ! 110: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
13602 | splash_cmpr_1_57: | |
13603 | setx 0x5512affc781f1ddb, %g2, %g1 | |
13604 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
13605 | sub %g1, 100, %g1 | |
13606 | .word 0xb1800001 ! 111: WR_STICK_REG_R wr %r0, %r1, %- | |
13607 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_1_58)+8, 16, 16)) -> intp(1,1,3) | |
13608 | xir_1_58: | |
13609 | .word 0xa98233d9 ! 112: WR_SET_SOFTINT_I wr %r8, 0x13d9, %set_softint | |
13610 | .word 0xd327ee90 ! 113: STF_I st %f9, [0x0e90, %r31] | |
13611 | DS_1_59: | |
13612 | nop | |
13613 | not %g0, %r12 | |
13614 | jmp %r12 | |
13615 | .word 0x9d902002 ! 114: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
13616 | donret_1_60: | |
13617 | nop | |
13618 | rd %pc, %r12 | |
13619 | add %r12, (donretarg_1_60-donret_1_60), %r12 | |
13620 | mov 0x38, %r18 | |
13621 | stxa %r12, [%r18]0x58 | |
13622 | add %r12, 0x4, %r11 | |
13623 | wrpr %g0, 0x1, %tl | |
13624 | wrpr %g0, %r12, %tpc | |
13625 | wrpr %g0, %r11, %tnpc | |
13626 | wrpr %g0, %r13, %tstate | |
13627 | wrhpr %g0, %r14, %htstate | |
13628 | retry | |
13629 | donretarg_1_60: | |
13630 | .word 0xd2ffee90 ! 115: SWAPA_I swapa %r9, [%r31 + 0x0e90] %asi | |
13631 | .word 0xa1902002 ! 116: WRPR_GL_I wrpr %r0, 0x0002, %- | |
13632 | .word 0xd297e000 ! 117: LDUHA_I lduha [%r31, + 0x0000] %asi, %r9 | |
13633 | .word 0xd23fc000 ! 118: STD_R std %r9, [%r31 + %r0] | |
13634 | .word 0xa9a00164 ! 119: FABSq dis not found | |
13635 | ||
13636 | memptr_1_61: | |
13637 | set 0x60340000, %r31 | |
13638 | .word 0x8582bca0 ! 120: WRCCR_I wr %r10, 0x1ca0, %ccr | |
13639 | .word 0xd09ffb63 ! 121: LDDA_I ldda [%r31, + 0xfffffb63] %asi, %r8 | |
13640 | .word 0xa190200a ! 122: WRPR_GL_I wrpr %r0, 0x000a, %- | |
13641 | splash_hpstate_1_62: | |
13642 | .word 0x819823de ! 123: WRHPR_HPSTATE_I wrhpr %r0, 0x03de, %hpstate | |
13643 | mondo_1_63: | |
13644 | nop | |
13645 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13646 | ||
13647 | stxa %r6, [%r0+0x3d8] %asi | |
13648 | .word 0x9d94c011 ! 124: WRPR_WSTATE_R wrpr %r19, %r17, %wstate | |
13649 | splash_hpstate_1_64: | |
13650 | .word 0x81982904 ! 125: WRHPR_HPSTATE_I wrhpr %r0, 0x0904, %hpstate | |
13651 | .word 0x9b450000 ! 126: RD_SET_SOFTINT rd %set_softint, %r13 | |
13652 | .word 0x879021d7 ! 127: WRPR_TT_I wrpr %r0, 0x01d7, %tt | |
13653 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_1_65)+0, 16, 16)) -> intp(1,1,3) | |
13654 | xir_1_65: | |
13655 | .word 0xa9822f2a ! 128: WR_SET_SOFTINT_I wr %r8, 0x0f2a, %set_softint | |
13656 | nop | |
13657 | mov 0x80, %g3 | |
13658 | stxa %g3, [%g3] 0x57 | |
13659 | .word 0xd85fc000 ! 129: LDX_R ldx [%r31 + %r0], %r12 | |
13660 | intveclr_1_66: | |
13661 | setx 0xdcca031e6884b552, %r1, %r28 | |
13662 | stxa %r28, [%g0] 0x72 | |
13663 | .word 0x25400001 ! 130: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13664 | debug_1_67: | |
13665 | nop | |
13666 | rd %pc, %r19 | |
13667 | add %r19, (64+40), %r19 | |
13668 | mov 0x38, %r18 | |
13669 | .word 0xe6f00b12 ! 131: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13670 | memptr_1_68: | |
13671 | set 0x60740000, %r31 | |
13672 | .word 0x85812fc4 ! 132: WRCCR_I wr %r4, 0x0fc4, %ccr | |
13673 | tagged_1_69: | |
13674 | taddcctv %r13, 0x1fe6, %r26 | |
13675 | .word 0xd807f70a ! 133: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
13676 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
13677 | ta T_CHANGE_NONPRIV ! macro | |
13678 | .word 0x95a01971 ! 134: FqTOd dis not found | |
13679 | ||
13680 | splash_tba_1_71: | |
13681 | set 0x120000, %r12 | |
13682 | ld [%r12+%r0], %r1 | |
13683 | ta T_CHANGE_PRIV | |
13684 | set 0x120000, %r12 | |
13685 | .word 0x8b90000c ! 135: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13686 | debug_1_72: | |
13687 | nop | |
13688 | mov 8, %r18 | |
13689 | .word 0xe8f00492 ! 136: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
13690 | .word 0xa5a0cd28 ! 137: FsMULd fsmuld %f3, %f8, %f18 | |
13691 | .word 0xd727f70a ! 138: STF_I st %f11, [0x170a, %r31] | |
13692 | splash_lsu_1_73: | |
13693 | setx 0x2d892fa69f4b951b, %r1, %r2 | |
13694 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13695 | .word 0x3d400001 ! 139: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13696 | .word 0x9945c000 ! 140: RD_TICK_CMPR_REG rd %-, %r12 | |
13697 | .word 0xa9820006 ! 141: WR_SET_SOFTINT_R wr %r8, %r6, %set_softint | |
13698 | .word 0x99a289d0 ! 142: FDIVd fdivd %f10, %f16, %f12 | |
13699 | tagged_1_74: | |
13700 | tsubcctv %r19, 0x17e4, %r8 | |
13701 | .word 0xd807f70a ! 143: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
13702 | DS_1_75: | |
13703 | nop | |
13704 | not %g0, %r12 | |
13705 | jmp %r12 | |
13706 | .word 0x9d902005 ! 144: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
13707 | donret_1_76: | |
13708 | nop | |
13709 | rd %pc, %r12 | |
13710 | add %r12, (donretarg_1_76-donret_1_76), %r12 | |
13711 | mov 0x38, %r18 | |
13712 | stxa %r12, [%r18]0x58 | |
13713 | add %r12, 0x4, %r11 | |
13714 | wrpr %g0, 0x3, %tl | |
13715 | wrpr %g0, %r12, %tpc | |
13716 | wrpr %g0, %r11, %tnpc | |
13717 | wrpr %g0, %r13, %tstate | |
13718 | wrhpr %g0, %r14, %htstate | |
13719 | retry | |
13720 | donretarg_1_76: | |
13721 | .word 0xd8fff70a ! 145: SWAPA_I swapa %r12, [%r31 + 0xfffff70a] %asi | |
13722 | .word 0x8d903c2f ! 146: WRPR_PSTATE_I wrpr %r0, 0x1c2f, %pstate | |
13723 | .word 0x2c700001 ! 147: BPNEG <illegal instruction> | |
13724 | .word 0x879021f1 ! 148: WRPR_TT_I wrpr %r0, 0x01f1, %tt | |
13725 | .word 0x3a700001 ! 149: BPCC <illegal instruction> | |
13726 | change_to_randtl_1_77: | |
13727 | ta T_CHANGE_HPRIV ! macro | |
13728 | done_change_to_randtl_1_77: | |
13729 | .word 0x8f902001 ! 150: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
13730 | splash_tba_1_78: | |
13731 | set 0x003f0000, %r12 | |
13732 | st %r1, [%r12+%r0] | |
13733 | ta T_CHANGE_PRIV | |
13734 | set 0x003f0000, %r12 | |
13735 | .word 0x8b90000c ! 151: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13736 | debug_1_79: | |
13737 | nop | |
13738 | rd %pc, %r19 | |
13739 | add %r19, (64+24), %r19 | |
13740 | mov 0x38, %r18 | |
13741 | .word 0xe6f00b12 ! 152: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13742 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_80) + 0, 16, 16)) -> intp(7,0,8) | |
13743 | intvec_1_80: | |
13744 | .word 0x39400001 ! 153: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13745 | splash_tba_1_81: | |
13746 | set 0x003f0000, %r12 | |
13747 | ld [%r12+%r0], %r1 | |
13748 | ta T_CHANGE_PRIV | |
13749 | set 0x003f0000, %r12 | |
13750 | .word 0x8b90000c ! 154: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13751 | .word 0xa980800d ! 155: WR_SET_SOFTINT_R wr %r2, %r13, %set_softint | |
13752 | splash_lsu_1_82: | |
13753 | setx 0x41051e0742b4deeb, %r1, %r2 | |
13754 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13755 | .word 0x3d400001 ! 156: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13756 | splash_lsu_1_83: | |
13757 | setx 0x62331b7915c493cf, %r1, %r2 | |
13758 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13759 | .word 0x3d400001 ! 157: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13760 | mov (1+1), %r10 | |
13761 | ta T_CHANGE_HPRIV | |
13762 | set sync_thr_counter2, %r23 | |
13763 | cas [%r23],%g0,%r10 !lock | |
13764 | brnz %r10, sma_1_84 | |
13765 | rd %asi, %r12 | |
13766 | wr %g0, 0x40, %asi | |
13767 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
13768 | set 0x21fff, %g1 | |
13769 | stxa %g1, [%g0 + 0x80] %asi | |
13770 | wr %r12, %g0, %asi | |
13771 | st %g0, [%r23] | |
13772 | sma_1_84: | |
13773 | ta T_CHANGE_NONHPRIV | |
13774 | .word 0xd9e7e00d ! 158: CASA_R casa [%r31] %asi, %r13, %r12 | |
13775 | splash_tba_1_85: | |
13776 | set 0x120000, %r12 | |
13777 | ld [%r12+%r0], %r1 | |
13778 | ta T_CHANGE_PRIV | |
13779 | set 0x120000, %r12 | |
13780 | .word 0x8b90000c ! 159: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13781 | .word 0x8780208b ! 160: WRASI_I wr %r0, 0x008b, %asi | |
13782 | .word 0x8d903fe8 ! 161: WRPR_PSTATE_I wrpr %r0, 0x1fe8, %pstate | |
13783 | .word 0xa1902009 ! 162: WRPR_GL_I wrpr %r0, 0x0009, %- | |
13784 | .word 0xd93ff70a ! 163: STDF_I std %f12, [0x170a, %r31] | |
13785 | cwp_1_86: | |
13786 | set user_data_start, %o7 | |
13787 | .word 0x93902007 ! 164: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
13788 | ta T_CHANGE_HPRIV | |
13789 | mov (1+1), %r10 | |
13790 | set sync_thr_counter1, %r23 | |
13791 | cas [%r23],%g0,%r10 !lock | |
13792 | brnz %r10, cwq_1_87 | |
13793 | rd %asi, %r12 | |
13794 | wr %g0, 0x40, %asi | |
13795 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13796 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13797 | cmp %l1, 1 | |
13798 | bne cwq_1_87 | |
13799 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13800 | sub %l2, 0x40, %l2 | |
13801 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13802 | wr %r12, %g0, %asi | |
13803 | st %g0, [%r23] | |
13804 | cwq_1_87: | |
13805 | ta T_CHANGE_NONHPRIV | |
13806 | .word 0xa9414000 ! 165: RDPC rd %pc, %r20 | |
13807 | DS_1_88: | |
13808 | .word 0x93a0c9d1 ! 1: FDIVd fdivd %f34, %f48, %f40 | |
13809 | .word 0xbfe7c000 ! 166: SAVE_R save %r31, %r0, %r31 | |
13810 | cwp_1_89: | |
13811 | set user_data_start, %o7 | |
13812 | .word 0x93902001 ! 167: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
13813 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
13814 | ta T_CHANGE_NONPRIV ! macro | |
13815 | .word 0xa7a01970 ! 168: FqTOd dis not found | |
13816 | ||
13817 | splash_cmpr_1_91: | |
13818 | setx 0xadd3d6092955f74c, %g2, %g1 | |
13819 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
13820 | sub %g1, 100, %g1 | |
13821 | .word 0xb1800001 ! 169: WR_STICK_REG_R wr %r0, %r1, %- | |
13822 | debug_1_92: | |
13823 | nop | |
13824 | mov 0x38, %r18 | |
13825 | .word 0xfef00b12 ! 170: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13826 | splash_tba_1_93: | |
13827 | set 0x003f0000, %r12 | |
13828 | ld [%r12+%r0], %r1 | |
13829 | ta T_CHANGE_PRIV | |
13830 | set 0x003f0000, %r12 | |
13831 | .word 0x8b90000c ! 171: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13832 | splash_cmpr_1_94: | |
13833 | setx 0x73fdee52bdb33d00, %g2, %g1 | |
13834 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13835 | sub %g1, 100, %g1 | |
13836 | .word 0xb1800001 ! 172: WR_STICK_REG_R wr %r0, %r1, %- | |
13837 | .word 0xa1902002 ! 173: WRPR_GL_I wrpr %r0, 0x0002, %- | |
13838 | otherw | |
13839 | mov 0x34, %r30 | |
13840 | .word 0x83d0001e ! 174: Tcc_R te icc_or_xcc, %r0 + %r30 | |
13841 | .word 0x2c700001 ! 175: BPNEG <illegal instruction> | |
13842 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
13843 | ta T_CHANGE_NONHPRIV ! macro | |
13844 | .word 0x97a01962 ! 176: FqTOd dis not found | |
13845 | ||
13846 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
13847 | ta T_CHANGE_NONPRIV ! macro | |
13848 | .word 0xa368e85d ! 177: SDIVX_I sdivx %r3, 0x085d, %r17 | |
13849 | tagged_1_97: | |
13850 | taddcctv %r23, 0x1883, %r25 | |
13851 | .word 0xe407e4f3 ! 178: LDUW_I lduw [%r31 + 0x04f3], %r18 | |
13852 | debug_1_98: | |
13853 | nop | |
13854 | mov 0x38, %r18 | |
13855 | .word 0xfef00b12 ! 179: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13856 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
13857 | ta T_CHANGE_NONHPRIV ! macro | |
13858 | .word 0xa96c33f4 ! 180: SDIVX_I sdivx %r16, 0xfffff3f4, %r20 | |
13859 | ta T_CHANGE_HPRIV | |
13860 | mov (1+1), %r10 | |
13861 | set sync_thr_counter1, %r23 | |
13862 | cas [%r23],%g0,%r10 !lock | |
13863 | brnz %r10, cwq_1_100 | |
13864 | rd %asi, %r12 | |
13865 | wr %g0, 0x40, %asi | |
13866 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13867 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13868 | cmp %l1, 1 | |
13869 | bne cwq_1_100 | |
13870 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13871 | sub %l2, 0x40, %l2 | |
13872 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13873 | wr %r12, %g0, %asi | |
13874 | st %g0, [%r23] | |
13875 | cwq_1_100: | |
13876 | ta T_CHANGE_NONHPRIV | |
13877 | .word 0xa7414000 ! 181: RDPC rd %pc, %r19 | |
13878 | intveclr_1_101: | |
13879 | setx 0xf28943b8c658bbe5, %r1, %r28 | |
13880 | stxa %r28, [%g0] 0x72 | |
13881 | .word 0x25400001 ! 182: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13882 | .word 0x87802016 ! 183: WRASI_I wr %r0, 0x0016, %asi | |
13883 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13884 | ta T_CHANGE_NONPRIV ! macro | |
13885 | .word 0x996ca0c8 ! 184: SDIVX_I sdivx %r18, 0x00c8, %r12 | |
13886 | .word 0x87902009 ! 185: WRPR_TT_I wrpr %r0, 0x0009, %tt | |
13887 | .word 0xdac80e80 ! 186: LDSBA_R ldsba [%r0, %r0] 0x74, %r13 | |
13888 | debug_1_103: | |
13889 | nop | |
13890 | rd %pc, %r19 | |
13891 | add %r19, (64+16), %r19 | |
13892 | mov 0x38, %r18 | |
13893 | .word 0xe6f00b12 ! 187: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13894 | .word 0xdacfe010 ! 188: LDSBA_I ldsba [%r31, + 0x0010] %asi, %r13 | |
13895 | intveclr_1_104: | |
13896 | setx 0x6fae68670b863ca3, %r1, %r28 | |
13897 | stxa %r28, [%g0] 0x72 | |
13898 | .word 0x25400001 ! 189: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13899 | .word 0x91d020b2 ! 190: Tcc_I ta icc_or_xcc, %r0 + 178 | |
13900 | otherw | |
13901 | mov 0x34, %r30 | |
13902 | .word 0x91d0001e ! 191: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
13903 | splash_hpstate_1_105: | |
13904 | .word 0x81982e47 ! 192: WRHPR_HPSTATE_I wrhpr %r0, 0x0e47, %hpstate | |
13905 | debug_1_106: | |
13906 | nop | |
13907 | rd %pc, %r19 | |
13908 | add %r19, (64+0), %r19 | |
13909 | mov 0x38, %r18 | |
13910 | .word 0xe6f00b12 ! 193: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13911 | mov (1+1), %r10 | |
13912 | ta T_CHANGE_HPRIV | |
13913 | set sync_thr_counter2, %r23 | |
13914 | cas [%r23],%g0,%r10 !lock | |
13915 | brnz %r10, sma_1_107 | |
13916 | rd %asi, %r12 | |
13917 | wr %g0, 0x40, %asi | |
13918 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
13919 | set 0x21fff, %g1 | |
13920 | stxa %g1, [%g0 + 0x80] %asi | |
13921 | wr %r12, %g0, %asi | |
13922 | st %g0, [%r23] | |
13923 | sma_1_107: | |
13924 | ta T_CHANGE_NONHPRIV | |
13925 | .word 0xdbe7e008 ! 194: CASA_R casa [%r31] %asi, %r8, %r13 | |
13926 | nop | |
13927 | mov 0x80, %g3 | |
13928 | stxa %g3, [%g3] 0x57 | |
13929 | .word 0xda5fc000 ! 195: LDX_R ldx [%r31 + %r0], %r13 | |
13930 | splash_lsu_1_108: | |
13931 | setx 0x6c70cc4e1f434517, %r1, %r2 | |
13932 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13933 | .word 0x3d400001 ! 196: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13934 | splash_tba_1_109: | |
13935 | set 0x120000, %r12 | |
13936 | ld [%r12+%r0], %r1 | |
13937 | ta T_CHANGE_PRIV | |
13938 | set 0x120000, %r12 | |
13939 | .word 0x8b90000c ! 197: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13940 | .word 0x9190bd02 ! 198: WRPR_PIL_I wrpr %r2, 0x1d02, %pil | |
13941 | ta T_CHANGE_HPRIV | |
13942 | mov (1+1), %r10 | |
13943 | set sync_thr_counter1, %r23 | |
13944 | cas [%r23],%g0,%r10 !lock | |
13945 | brnz %r10, cwq_1_110 | |
13946 | rd %asi, %r12 | |
13947 | wr %g0, 0x40, %asi | |
13948 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13949 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13950 | cmp %l1, 1 | |
13951 | bne cwq_1_110 | |
13952 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13953 | sub %l2, 0x40, %l2 | |
13954 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13955 | wr %r12, %g0, %asi | |
13956 | st %g0, [%r23] | |
13957 | cwq_1_110: | |
13958 | ta T_CHANGE_NONHPRIV | |
13959 | .word 0x99414000 ! 199: RDPC rd %pc, %r12 | |
13960 | .word 0x97a0c9c4 ! 200: FDIVd fdivd %f34, %f4, %f42 | |
13961 | debug_1_111: | |
13962 | nop | |
13963 | mov 8, %r18 | |
13964 | .word 0xd8f00492 ! 201: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
13965 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13966 | ta T_CHANGE_NONPRIV ! macro | |
13967 | .word 0xa1a01964 ! 202: FqTOd dis not found | |
13968 | ||
13969 | DS_1_113: | |
13970 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
13971 | pdist %f28, %f24, %f2 | |
13972 | .word 0x95b2c311 ! 203: ALIGNADDRESS alignaddr %r11, %r17, %r10 | |
13973 | splash_tba_1_114: | |
13974 | set 0x003f0000, %r12 | |
13975 | st %r1, [%r12+%r0] | |
13976 | ta T_CHANGE_PRIV | |
13977 | set 0x003f0000, %r12 | |
13978 | .word 0x8b90000c ! 204: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13979 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13980 | ta T_CHANGE_NONHPRIV ! macro | |
13981 | .word 0xa5a01962 ! 205: FqTOd dis not found | |
13982 | ||
13983 | intveclr_1_116: | |
13984 | setx 0xb9138b961d1f31f9, %r1, %r28 | |
13985 | stxa %r28, [%g0] 0x72 | |
13986 | .word 0x25400001 ! 206: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13987 | nop | |
13988 | mov 0x80, %g3 | |
13989 | stxa %g3, [%g3] 0x57 | |
13990 | .word 0xe25fc000 ! 207: LDX_R ldx [%r31 + %r0], %r17 | |
13991 | splash_hpstate_1_117: | |
13992 | .word 0x81982cc4 ! 208: WRHPR_HPSTATE_I wrhpr %r0, 0x0cc4, %hpstate | |
13993 | .word 0x879020a5 ! 209: WRPR_TT_I wrpr %r0, 0x00a5, %tt | |
13994 | debug_1_118: | |
13995 | nop | |
13996 | rd %pc, %r19 | |
13997 | add %r19, (64+48), %r19 | |
13998 | mov 0x38, %r18 | |
13999 | .word 0xe6f00b12 ! 210: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
14000 | .word 0xad82af0a ! 211: WR_SOFTINT_REG_I wr %r10, 0x0f0a, %softint | |
14001 | .word 0x8d9035c3 ! 212: WRPR_PSTATE_I wrpr %r0, 0x15c3, %pstate | |
14002 | debug_1_119: | |
14003 | nop | |
14004 | mov 0x38, %r18 | |
14005 | .word 0xfef00b12 ! 213: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
14006 | .word 0x91d02035 ! 214: Tcc_I ta icc_or_xcc, %r0 + 53 | |
14007 | mov (1+1), %r10 | |
14008 | ta T_CHANGE_HPRIV | |
14009 | set sync_thr_counter2, %r23 | |
14010 | cas [%r23],%g0,%r10 !lock | |
14011 | brnz %r10, sma_1_120 | |
14012 | rd %asi, %r12 | |
14013 | wr %g0, 0x40, %asi | |
14014 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
14015 | set 0x21fff, %g1 | |
14016 | stxa %g1, [%g0 + 0x80] %asi | |
14017 | wr %r12, %g0, %asi | |
14018 | st %g0, [%r23] | |
14019 | sma_1_120: | |
14020 | ta T_CHANGE_NONHPRIV | |
14021 | .word 0xe3e7e003 ! 215: CASA_R casa [%r31] %asi, %r3, %r17 | |
14022 | splash_lsu_1_121: | |
14023 | setx 0x9045d9b0ab9b0ec7, %r1, %r2 | |
14024 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
14025 | .word 0x3d400001 ! 216: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
14026 | .word 0xe337c000 ! 217: STQF_R - %f17, [%r0, %r31] | |
14027 | splash_cmpr_1_122: | |
14028 | setx 0x1266ce04c98bf497, %g2, %g1 | |
14029 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
14030 | sub %g1, 100, %g1 | |
14031 | .word 0xb1800001 ! 218: WR_STICK_REG_R wr %r0, %r1, %- | |
14032 | intveclr_1_123: | |
14033 | setx 0x60fa4c19365e7680, %r1, %r28 | |
14034 | stxa %r28, [%g0] 0x72 | |
14035 | .word 0x25400001 ! 219: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
14036 | nop | |
14037 | mov 0x80, %g3 | |
14038 | stxa %g3, [%g3] 0x57 | |
14039 | .word 0xe25fc000 ! 220: LDX_R ldx [%r31 + %r0], %r17 | |
14040 | splash_cmpr_1_124: | |
14041 | setx 0x56c17547e5866198, %g2, %g1 | |
14042 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
14043 | sub %g1, 100, %g1 | |
14044 | .word 0xb1800001 ! 221: WR_STICK_REG_R wr %r0, %r1, %- | |
14045 | splash_cmpr_1_125: | |
14046 | setx 0x74481fadc9d064c0, %g2, %g1 | |
14047 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
14048 | sub %g1, 100, %g1 | |
14049 | .word 0xb1800001 ! 222: WR_STICK_REG_R wr %r0, %r1, %- | |
14050 | .word 0xe31fc000 ! 223: LDDF_R ldd [%r31, %r0], %f17 | |
14051 | tagged_1_126: | |
14052 | tsubcctv %r10, 0x1436, %r7 | |
14053 | .word 0xe207f3f3 ! 224: LDUW_I lduw [%r31 + 0xfffff3f3], %r17 | |
14054 | splash_tba_1_127: | |
14055 | set 0x120000, %r12 | |
14056 | ld [%r12+%r0], %r1 | |
14057 | ta T_CHANGE_PRIV | |
14058 | set 0x120000, %r12 | |
14059 | .word 0x8b90000c ! 225: WRPR_TBA_R wrpr %r0, %r12, %tba | |
14060 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
14061 | ta T_CHANGE_NONPRIV ! macro | |
14062 | .word 0x99a01967 ! 226: FqTOd dis not found | |
14063 | ||
14064 | debug_1_129: | |
14065 | nop | |
14066 | mov 8, %r18 | |
14067 | .word 0xe8f00492 ! 227: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
14068 | tagged_1_130: | |
14069 | tsubcctv %r11, 0x1027, %r11 | |
14070 | .word 0xd807f3f3 ! 228: LDUW_I lduw [%r31 + 0xfffff3f3], %r12 | |
14071 | .word 0x8d9024e4 ! 229: WRPR_PSTATE_I wrpr %r0, 0x04e4, %pstate | |
14072 | .word 0xa9a00164 ! 230: FABSq dis not found | |
14073 | ||
14074 | debug_1_131: | |
14075 | nop | |
14076 | mov 0x38, %r18 | |
14077 | .word 0xfef00b12 ! 231: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
14078 | .word 0x34700001 ! 232: BPG <illegal instruction> | |
14079 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
14080 | ta T_CHANGE_NONPRIV ! macro | |
14081 | .word 0xa368e38e ! 233: SDIVX_I sdivx %r3, 0x038e, %r17 | |
14082 | tagged_1_133: | |
14083 | taddcctv %r17, 0x14c2, %r14 | |
14084 | .word 0xd807f212 ! 234: LDUW_I lduw [%r31 + 0xfffff212], %r12 | |
14085 | ta T_CHANGE_HPRIV | |
14086 | mov (1+1), %r10 | |
14087 | set sync_thr_counter1, %r23 | |
14088 | cas [%r23],%g0,%r10 !lock | |
14089 | brnz %r10, cwq_1_134 | |
14090 | rd %asi, %r12 | |
14091 | wr %g0, 0x40, %asi | |
14092 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
14093 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
14094 | cmp %l1, 1 | |
14095 | bne cwq_1_134 | |
14096 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
14097 | sub %l2, 0x40, %l2 | |
14098 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
14099 | wr %r12, %g0, %asi | |
14100 | st %g0, [%r23] | |
14101 | cwq_1_134: | |
14102 | ta T_CHANGE_NONHPRIV | |
14103 | .word 0x95414000 ! 235: RDPC rd %pc, %r10 | |
14104 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
14105 | ta T_CHANGE_NONHPRIV ! macro | |
14106 | .word 0xa5692e8d ! 236: SDIVX_I sdivx %r4, 0x0e8d, %r18 | |
14107 | .word 0x8d90342c ! 237: WRPR_PSTATE_I wrpr %r0, 0x142c, %pstate | |
14108 | DS_1_136: | |
14109 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
14110 | .word 0xbfe7c000 ! 238: SAVE_R save %r31, %r0, %r31 | |
14111 | splash_tba_1_137: | |
14112 | set 0x120000, %r12 | |
14113 | ld [%r12+%r0], %r1 | |
14114 | ta T_CHANGE_PRIV | |
14115 | set 0x120000, %r12 | |
14116 | .word 0x8b90000c ! 239: WRPR_TBA_R wrpr %r0, %r12, %tba | |
14117 | .word 0xa1480000 ! 240: RDHPR_HPSTATE rdhpr %hpstate, %r16 | |
14118 | splash_tba_1_138: | |
14119 | set 0x003f0000, %r12 | |
14120 | st %r1, [%r12+%r0] | |
14121 | ta T_CHANGE_PRIV | |
14122 | set 0x003f0000, %r12 | |
14123 | .word 0x8b90000c ! 241: WRPR_TBA_R wrpr %r0, %r12, %tba | |
14124 | debug_1_139: | |
14125 | nop | |
14126 | rd %pc, %r19 | |
14127 | add %r19, (64+8), %r19 | |
14128 | mov 0x38, %r18 | |
14129 | .word 0xe6f00b12 ! 242: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
14130 | .word 0xd737e769 ! 243: STQF_I - %f11, [0x0769, %r31] | |
14131 | .word 0xa190200c ! 244: WRPR_GL_I wrpr %r0, 0x000c, %- | |
14132 | debug_1_140: | |
14133 | nop | |
14134 | mov 0x38, %r18 | |
14135 | .word 0xfef00b12 ! 245: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
14136 | .word 0xd66fe769 ! 246: LDSTUB_I ldstub %r11, [%r31 + 0x0769] | |
14137 | .word 0x95a00171 ! 247: FABSq dis not found | |
14138 | ||
14139 | .word 0x3a700001 ! 248: BPCC <illegal instruction> | |
14140 | cwp_1_141: | |
14141 | set user_data_start, %o7 | |
14142 | .word 0x93902004 ! 249: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
14143 | mondo_1_142: | |
14144 | nop | |
14145 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
14146 | ||
14147 | stxa %r7, [%r0+0x3e8] %asi | |
14148 | .word 0x9d90000a ! 250: WRPR_WSTATE_R wrpr %r0, %r10, %wstate | |
14149 | .word 0xa190200c ! 251: WRPR_GL_I wrpr %r0, 0x000c, %- | |
14150 | .word 0xe48008a0 ! 252: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
14151 | debug_1_143: | |
14152 | nop | |
14153 | mov 0x38, %r18 | |
14154 | .word 0xfef00b12 ! 253: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
14155 | mov (1+1), %r10 | |
14156 | ta T_CHANGE_HPRIV | |
14157 | set sync_thr_counter2, %r23 | |
14158 | cas [%r23],%g0,%r10 !lock | |
14159 | brnz %r10, sma_1_144 | |
14160 | rd %asi, %r12 | |
14161 | wr %g0, 0x40, %asi | |
14162 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
14163 | set 0x21fff, %g1 | |
14164 | stxa %g1, [%g0 + 0x80] %asi | |
14165 | wr %r12, %g0, %asi | |
14166 | st %g0, [%r23] | |
14167 | sma_1_144: | |
14168 | ta T_CHANGE_NONHPRIV | |
14169 | .word 0xe5e7e008 ! 254: CASA_R casa [%r31] %asi, %r8, %r18 | |
14170 | .word 0xa190200a ! 255: WRPR_GL_I wrpr %r0, 0x000a, %- | |
14171 | debug_1_145: | |
14172 | nop | |
14173 | rd %pc, %r19 | |
14174 | add %r19, (64+16), %r19 | |
14175 | mov 0x38, %r18 | |
14176 | .word 0xe6f00b12 ! 256: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
14177 | invalw | |
14178 | mov 0xb4, %r30 | |
14179 | .word 0x91d0001e ! 257: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
14180 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
14181 | ta T_CHANGE_NONPRIV ! macro | |
14182 | .word 0x93a01964 ! 258: FqTOd dis not found | |
14183 | ||
14184 | .word 0xe46fe769 ! 259: LDSTUB_I ldstub %r18, [%r31 + 0x0769] | |
14185 | .word 0x8d902ee6 ! 260: WRPR_PSTATE_I wrpr %r0, 0x0ee6, %pstate | |
14186 | mondo_1_147: | |
14187 | nop | |
14188 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
14189 | ||
14190 | stxa %r17, [%r0+0x3d0] %asi | |
14191 | .word 0x9d94c00a ! 261: WRPR_WSTATE_R wrpr %r19, %r10, %wstate | |
14192 | rd %pc, %r19 | |
14193 | add %r19, (ivw_1_148-.+8), %r19 | |
14194 | mov 0x38, %r18 | |
14195 | stxa %r19, [%r18]0x58 | |
14196 | ivw_1_148: | |
14197 | .word 0x91924002 ! 262: WRPR_PIL_R wrpr %r9, %r2, %pil | |
14198 | nop | |
14199 | mov 0x80, %g3 | |
14200 | stxa %g3, [%g3] 0x57 | |
14201 | .word 0xe45fc000 ! 263: LDX_R ldx [%r31 + %r0], %r18 | |
14202 | setx 0x155271a13af990a3, %r1, %r28 | |
14203 | stxa %r28, [%g0] 0x73 | |
14204 | intvec_1_149: | |
14205 | .word 0x39400001 ! 264: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
14206 | mov (1+1), %r10 | |
14207 | ta T_CHANGE_HPRIV | |
14208 | set sync_thr_counter2, %r23 | |
14209 | cas [%r23],%g0,%r10 !lock | |
14210 | brnz %r10, sma_1_150 | |
14211 | rd %asi, %r12 | |
14212 | wr %g0, 0x40, %asi | |
14213 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
14214 | set 0x21fff, %g1 | |
14215 | stxa %g1, [%g0 + 0x80] %asi | |
14216 | wr %r12, %g0, %asi | |
14217 | st %g0, [%r23] | |
14218 | sma_1_150: | |
14219 | ta T_CHANGE_NONHPRIV | |
14220 | .word 0xe5e7e013 ! 265: CASA_R casa [%r31] %asi, %r19, %r18 | |
14221 | .word 0xe497e000 ! 266: LDUHA_I lduha [%r31, + 0x0000] %asi, %r18 | |
14222 | DS_1_151: | |
14223 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
14224 | pdist %f2, %f8, %f30 | |
14225 | .word 0x99b4c305 ! 267: ALIGNADDRESS alignaddr %r19, %r5, %r12 | |
14226 | .word 0x8d902330 ! 268: WRPR_PSTATE_I wrpr %r0, 0x0330, %pstate | |
14227 | splash_lsu_1_152: | |
14228 | setx 0x474c6661278f278d, %r1, %r2 | |
14229 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
14230 | .word 0x3d400001 ! 269: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
14231 | debug_1_153: | |
14232 | nop | |
14233 | mov 8, %r18 | |
14234 | .word 0xd8f00492 ! 270: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
14235 | mov (1+1), %r10 | |
14236 | ta T_CHANGE_HPRIV | |
14237 | set sync_thr_counter2, %r23 | |
14238 | cas [%r23],%g0,%r10 !lock | |
14239 | brnz %r10, sma_1_154 | |
14240 | rd %asi, %r12 | |
14241 | wr %g0, 0x40, %asi | |
14242 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
14243 | set 0x21fff, %g1 | |
14244 | stxa %g1, [%g0 + 0x80] %asi | |
14245 | wr %r12, %g0, %asi | |
14246 | st %g0, [%r23] | |
14247 | sma_1_154: | |
14248 | ta T_CHANGE_NONHPRIV | |
14249 | .word 0xe9e7e00a ! 271: CASA_R casa [%r31] %asi, %r10, %r20 | |
14250 | splash_tba_1_155: | |
14251 | set 0x120000, %r12 | |
14252 | ld [%r12+%r0], %r1 | |
14253 | ta T_CHANGE_PRIV | |
14254 | set 0x120000, %r12 | |
14255 | .word 0x8b90000c ! 272: WRPR_TBA_R wrpr %r0, %r12, %tba | |
14256 | DS_1_156: | |
14257 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
14258 | .word 0xcb76144b ! Random illegal ? | |
14259 | .word 0x95a489d4 ! 1: FDIVd fdivd %f18, %f20, %f10 | |
14260 | .word 0x9ba14828 ! 273: FADDs fadds %f5, %f8, %f13 | |
14261 | rd %pc, %r19 | |
14262 | add %r19, (ivw_1_157-.+8), %r19 | |
14263 | mov 0x38, %r18 | |
14264 | stxa %r19, [%r18]0x58 | |
14265 | ivw_1_157: | |
14266 | .word 0x91910004 ! 274: WRPR_PIL_R wrpr %r4, %r4, %pil | |
14267 | .word 0x8d90297a ! 275: WRPR_PSTATE_I wrpr %r0, 0x097a, %pstate | |
14268 | .word 0xe0c00e60 ! 276: LDSWA_R ldswa [%r0, %r0] 0x73, %r16 | |
14269 | ta T_CHANGE_HPRIV | |
14270 | mov (1+1), %r10 | |
14271 | set sync_thr_counter1, %r23 | |
14272 | cas [%r23],%g0,%r10 !lock | |
14273 | brnz %r10, cwq_1_158 | |
14274 | rd %asi, %r12 | |
14275 | wr %g0, 0x40, %asi | |
14276 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
14277 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
14278 | cmp %l1, 1 | |
14279 | bne cwq_1_158 | |
14280 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
14281 | sub %l2, 0x40, %l2 | |
14282 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
14283 | wr %r12, %g0, %asi | |
14284 | st %g0, [%r23] | |
14285 | cwq_1_158: | |
14286 | ta T_CHANGE_NONHPRIV | |
14287 | .word 0x95414000 ! 277: RDPC rd %pc, %r10 | |
14288 | ta T_CHANGE_HPRIV | |
14289 | mov (1+1), %r10 | |
14290 | set sync_thr_counter1, %r23 | |
14291 | cas [%r23],%g0,%r10 !lock | |
14292 | brnz %r10, cwq_1_159 | |
14293 | rd %asi, %r12 | |
14294 | wr %g0, 0x40, %asi | |
14295 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
14296 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
14297 | cmp %l1, 1 | |
14298 | bne cwq_1_159 | |
14299 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
14300 | sub %l2, 0x40, %l2 | |
14301 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
14302 | wr %r12, %g0, %asi | |
14303 | st %g0, [%r23] | |
14304 | cwq_1_159: | |
14305 | ta T_CHANGE_NONHPRIV | |
14306 | .word 0x91414000 ! 278: RDPC rd %pc, %r8 | |
14307 | .word 0x81460000 ! 279: RD_STICK_REG stbar | |
14308 | debug_1_160: | |
14309 | nop | |
14310 | rd %pc, %r19 | |
14311 | add %r19, (64+40), %r19 | |
14312 | mov 0x38, %r18 | |
14313 | .word 0xe6f00b12 ! 280: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
14314 | .word 0xe66fe769 ! 281: LDSTUB_I ldstub %r19, [%r31 + 0x0769] | |
14315 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_1_161)+0, 16, 16)) -> intp(1,1,3) | |
14316 | xir_1_161: | |
14317 | .word 0xa984bd18 ! 282: WR_SET_SOFTINT_I wr %r18, 0x1d18, %set_softint | |
14318 | tagged_1_162: | |
14319 | tsubcctv %r5, 0x1001, %r15 | |
14320 | .word 0xe607e3f9 ! 283: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
14321 | .word 0x91d020b2 ! 284: Tcc_I ta icc_or_xcc, %r0 + 178 | |
14322 | otherw | |
14323 | mov 0xb0, %r30 | |
14324 | .word 0x91d0001e ! 285: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
14325 | tagged_1_163: | |
14326 | taddcctv %r24, 0x1515, %r11 | |
14327 | .word 0xe607e3f9 ! 286: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
14328 | .word 0x8d802000 ! 287: WRFPRS_I wr %r0, 0x0000, %fprs | |
14329 | .word 0x8d90204e ! 288: WRPR_PSTATE_I wrpr %r0, 0x004e, %pstate | |
14330 | debug_1_164: | |
14331 | nop | |
14332 | mov 0x38, %r18 | |
14333 | .word 0xfef00b12 ! 289: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
14334 | splash_lsu_1_165: | |
14335 | setx 0x49793e393f7fd507, %r1, %r2 | |
14336 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
14337 | .word 0x3d400001 ! 290: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
14338 | mondo_1_166: | |
14339 | nop | |
14340 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
14341 | ||
14342 | stxa %r16, [%r0+0x3e8] %asi | |
14343 | .word 0x9d94000d ! 291: WRPR_WSTATE_R wrpr %r16, %r13, %wstate | |
14344 | debug_1_167: | |
14345 | nop | |
14346 | mov 0x38, %r18 | |
14347 | .word 0xfef00b12 ! 292: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
14348 | nop | |
14349 | mov 0x80, %g3 | |
14350 | stxa %g3, [%g3] 0x57 | |
14351 | .word 0xe65fc000 ! 293: LDX_R ldx [%r31 + %r0], %r19 | |
14352 | splash_tba_1_168: | |
14353 | set 0x003f0000, %r12 | |
14354 | st %r1, [%r12+%r0] | |
14355 | ta T_CHANGE_PRIV | |
14356 | set 0x003f0000, %r12 | |
14357 | .word 0x8b90000c ! 294: WRPR_TBA_R wrpr %r0, %r12, %tba | |
14358 | splash_cmpr_1_169: | |
14359 | setx 0x9d93e95113b759b8, %g2, %g1 | |
14360 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
14361 | sub %g1, 100, %g1 | |
14362 | .word 0xb1800001 ! 295: WR_STICK_REG_R wr %r0, %r1, %- | |
14363 | tagged_1_170: | |
14364 | tsubcctv %r4, 0x13d7, %r13 | |
14365 | .word 0xe607e3f9 ! 296: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
14366 | .word 0xa1902007 ! 297: WRPR_GL_I wrpr %r0, 0x0007, %- | |
14367 | .word 0xe727e3f9 ! 298: STF_I st %f19, [0x03f9, %r31] | |
14368 | .word 0xe69fc020 ! 299: LDDA_R ldda [%r31, %r0] 0x01, %r19 | |
14369 | .word 0x9b680011 ! 300: SDIVX_R sdivx %r0, %r17, %r13 | |
14370 | .word 0x8790209f ! 301: WRPR_TT_I wrpr %r0, 0x009f, %tt | |
14371 | change_to_randtl_1_171: | |
14372 | ta T_CHANGE_HPRIV ! macro | |
14373 | done_change_to_randtl_1_171: | |
14374 | .word 0x8f902003 ! 302: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
14375 | .word 0xa1902007 ! 303: WRPR_GL_I wrpr %r0, 0x0007, %- | |
14376 | splash_hpstate_1_172: | |
14377 | .word 0x81982016 ! 304: WRHPR_HPSTATE_I wrhpr %r0, 0x0016, %hpstate | |
14378 | rd %pc, %r19 | |
14379 | add %r19, (ivw_1_173-.+0), %r19 | |
14380 | mov 0x38, %r18 | |
14381 | stxa %r19, [%r18]0x58 | |
14382 | ivw_1_173: | |
14383 | .word 0x91910013 ! 305: WRPR_PIL_R wrpr %r4, %r19, %pil | |
14384 | cwp_1_174: | |
14385 | set user_data_start, %o7 | |
14386 | .word 0x93902007 ! 306: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
14387 | intveclr_1_175: | |
14388 | setx 0x22fe52b7c015e6f2, %r1, %r28 | |
14389 | stxa %r28, [%g0] 0x72 | |
14390 | .word 0x25400001 ! 307: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
14391 | intveclr_1_176: | |
14392 | setx 0xbee4617be02131df, %r1, %r28 | |
14393 | stxa %r28, [%g0] 0x72 | |
14394 | .word 0x25400001 ! 308: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
14395 | mondo_1_177: | |
14396 | nop | |
14397 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
14398 | ||
14399 | stxa %r18, [%r0+0x3c8] %asi | |
14400 | .word 0x9d924013 ! 309: WRPR_WSTATE_R wrpr %r9, %r19, %wstate | |
14401 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
14402 | ta T_CHANGE_NONPRIV ! macro | |
14403 | .word 0x99a01974 ! 310: FqTOd dis not found | |
14404 | ||
14405 | .word 0x8d9039ff ! 311: WRPR_PSTATE_I wrpr %r0, 0x19ff, %pstate | |
14406 | otherw | |
14407 | mov 0x30, %r30 | |
14408 | .word 0x91d0001e ! 312: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
14409 | .word 0x879020f2 ! 313: WRPR_TT_I wrpr %r0, 0x00f2, %tt | |
14410 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
14411 | ta T_CHANGE_NONHPRIV ! macro | |
14412 | .word 0x91a0196c ! 314: FqTOd dis not found | |
14413 | ||
14414 | .word 0xd88fe020 ! 315: LDUBA_I lduba [%r31, + 0x0020] %asi, %r12 | |
14415 | cwp_1_180: | |
14416 | set user_data_start, %o7 | |
14417 | .word 0x93902002 ! 316: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
14418 | splash_hpstate_1_181: | |
14419 | .word 0x819820de ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x00de, %hpstate | |
14420 | debug_1_182: | |
14421 | nop | |
14422 | mov 0x38, %r18 | |
14423 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
14424 | DS_1_183: | |
14425 | .word 0xa7a309d2 ! 1: FDIVd fdivd %f12, %f18, %f50 | |
14426 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
14427 | .word 0xdb140004 ! 1: LDQF_R - [%r16, %r4], %f13 | |
14428 | .word 0xa3a2c828 ! 319: FADDs fadds %f11, %f8, %f17 | |
14429 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
14430 | ta T_CHANGE_NONPRIV ! macro | |
14431 | .word 0x99a0196b ! 320: FqTOd dis not found | |
14432 | ||
14433 | DS_1_185: | |
14434 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
14435 | .word 0xbfefc000 ! 321: RESTORE_R restore %r31, %r0, %r31 | |
14436 | splash_cmpr_1_186: | |
14437 | setx 0xba069fc5a7e2c005, %g2, %g1 | |
14438 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
14439 | sub %g1, 100, %g1 | |
14440 | .word 0xb1800001 ! 322: WR_STICK_REG_R wr %r0, %r1, %- | |
14441 | .word 0xa190200d ! 323: WRPR_GL_I wrpr %r0, 0x000d, %- | |
14442 | debug_1_187: | |
14443 | nop | |
14444 | rd %pc, %r19 | |
14445 | add %r19, (64+16), %r19 | |
14446 | mov 0x38, %r18 | |
14447 | .word 0xe6f00b12 ! 324: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
14448 | .word 0x91d020b2 ! 325: Tcc_I ta icc_or_xcc, %r0 + 178 | |
14449 | change_to_randtl_1_188: | |
14450 | ta T_CHANGE_PRIV ! macro | |
14451 | done_change_to_randtl_1_188: | |
14452 | .word 0x8f902001 ! 326: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
14453 | intveclr_1_189: | |
14454 | setx 0xb12a7627fcc22715, %r1, %r28 | |
14455 | stxa %r28, [%g0] 0x72 | |
14456 | .word 0x25400001 ! 327: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
14457 | .word 0xa1902005 ! 328: WRPR_GL_I wrpr %r0, 0x0005, %- | |
14458 | .word 0x26700001 ! 329: BPL <illegal instruction> | |
14459 | splash_hpstate_1_190: | |
14460 | .word 0x819826d4 ! 330: WRHPR_HPSTATE_I wrhpr %r0, 0x06d4, %hpstate | |
14461 | .word 0xd527c000 ! 331: STF_R st %f10, [%r0, %r31] | |
14462 | debug_1_191: | |
14463 | nop | |
14464 | mov 0x38, %r18 | |
14465 | .word 0xfef00b12 ! 332: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
14466 | .word 0x8d903788 ! 333: WRPR_PSTATE_I wrpr %r0, 0x1788, %pstate | |
14467 | intveclr_1_192: | |
14468 | setx 0x1d77b62057e8f7e3, %r1, %r28 | |
14469 | stxa %r28, [%g0] 0x72 | |
14470 | .word 0x25400001 ! 334: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
14471 | .word 0x8780208b ! 335: WRASI_I wr %r0, 0x008b, %asi | |
14472 | DS_1_193: | |
14473 | nop | |
14474 | not %g0, %r12 | |
14475 | jmp %r12 | |
14476 | .word 0x9d902003 ! 336: WRPR_WSTATE_I wrpr %r0, 0x0003, %wstate | |
14477 | tagged_1_194: | |
14478 | tsubcctv %r1, 0x10c7, %r20 | |
14479 | .word 0xd407e3f9 ! 337: LDUW_I lduw [%r31 + 0x03f9], %r10 | |
14480 | change_to_randtl_1_195: | |
14481 | ta T_CHANGE_HPRIV ! macro | |
14482 | done_change_to_randtl_1_195: | |
14483 | .word 0x8f902000 ! 338: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
14484 | .word 0xd48008a0 ! 339: LDUWA_R lduwa [%r0, %r0] 0x45, %r10 | |
14485 | .word 0x8d802000 ! 340: WRFPRS_I wr %r0, 0x0000, %fprs | |
14486 | splash_cmpr_1_196: | |
14487 | setx 0xdd5ccf9ff979491e, %g2, %g1 | |
14488 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
14489 | sub %g1, 100, %g1 | |
14490 | .word 0xb1800001 ! 341: WR_STICK_REG_R wr %r0, %r1, %- | |
14491 | mov (1+1), %r10 | |
14492 | ta T_CHANGE_HPRIV | |
14493 | set sync_thr_counter2, %r23 | |
14494 | cas [%r23],%g0,%r10 !lock | |
14495 | brnz %r10, sma_1_197 | |
14496 | rd %asi, %r12 | |
14497 | wr %g0, 0x40, %asi | |
14498 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
14499 | set 0x21fff, %g1 | |
14500 | stxa %g1, [%g0 + 0x80] %asi | |
14501 | wr %r12, %g0, %asi | |
14502 | st %g0, [%r23] | |
14503 | sma_1_197: | |
14504 | ta T_CHANGE_NONHPRIV | |
14505 | .word 0xd5e7e004 ! 342: CASA_R casa [%r31] %asi, %r4, %r10 | |
14506 | .word 0x87902133 ! 343: WRPR_TT_I wrpr %r0, 0x0133, %tt | |
14507 | .word 0x2a700001 ! 344: BPCS <illegal instruction> | |
14508 | .word 0xad81f9f7 ! 345: WR_SOFTINT_REG_I wr %r7, 0x19f7, %softint | |
14509 | debug_1_198: | |
14510 | nop | |
14511 | mov 8, %r18 | |
14512 | .word 0xd6f00492 ! 346: STXA_R stxa %r11, [%r0 + %r18] 0x24 | |
14513 | .word 0x34800001 ! 347: BG bg,a <label_0x1> | |
14514 | nop | |
14515 | mov 0x80, %g3 | |
14516 | stxa %g3, [%g3] 0x57 | |
14517 | .word 0xd45fc000 ! 348: LDX_R ldx [%r31 + %r0], %r10 | |
14518 | tagged_1_199: | |
14519 | taddcctv %r24, 0x18f8, %r8 | |
14520 | .word 0xd407fefd ! 349: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
14521 | tagged_1_200: | |
14522 | tsubcctv %r19, 0x12d5, %r24 | |
14523 | .word 0xd407fefd ! 350: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
14524 | donret_1_201: | |
14525 | nop | |
14526 | rd %pc, %r12 | |
14527 | add %r12, (donretarg_1_201-donret_1_201-4), %r12 | |
14528 | mov 0x38, %r18 | |
14529 | stxa %r12, [%r18]0x58 | |
14530 | add %r12, 0x4, %r11 | |
14531 | wrpr %g0, 0x3, %tl | |
14532 | wrpr %g0, %r12, %tpc | |
14533 | wrpr %g0, %r11, %tnpc | |
14534 | wrpr %g0, %r13, %tstate | |
14535 | wrhpr %g0, %r14, %htstate | |
14536 | done | |
14537 | donretarg_1_201: | |
14538 | .word 0xd4fffefd ! 351: SWAPA_I swapa %r10, [%r31 + 0xfffffefd] %asi | |
14539 | mondo_1_202: | |
14540 | nop | |
14541 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
14542 | ||
14543 | stxa %r1, [%r0+0x3c0] %asi | |
14544 | .word 0x9d934011 ! 352: WRPR_WSTATE_R wrpr %r13, %r17, %wstate | |
14545 | setx 0x472e2423848d6bbd, %r1, %r28 | |
14546 | stxa %r28, [%g0] 0x73 | |
14547 | intvec_1_203: | |
14548 | .word 0x39400001 ! 353: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
14549 | splash_lsu_1_204: | |
14550 | setx 0x292ace1526449807, %r1, %r2 | |
14551 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
14552 | .word 0x3d400001 ! 354: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
14553 | memptr_1_205: | |
14554 | set 0x60540000, %r31 | |
14555 | .word 0x8580798c ! 355: WRCCR_I wr %r1, 0x198c, %ccr | |
14556 | .word 0xa1902003 ! 356: WRPR_GL_I wrpr %r0, 0x0003, %- | |
14557 | nop | |
14558 | mov 0x80, %g3 | |
14559 | stxa %g3, [%g3] 0x57 | |
14560 | .word 0xd45fc000 ! 357: LDX_R ldx [%r31 + %r0], %r10 | |
14561 | .word 0x95a00172 ! 358: FABSq dis not found | |
14562 | ||
14563 | .word 0xa5540000 ! 359: RDPR_GL <illegal instruction> | |
14564 | change_to_randtl_1_206: | |
14565 | ta T_CHANGE_PRIV ! macro | |
14566 | done_change_to_randtl_1_206: | |
14567 | .word 0x8f902000 ! 360: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
14568 | .word 0x83d02033 ! 361: Tcc_I te icc_or_xcc, %r0 + 51 | |
14569 | .word 0xab850011 ! 362: WR_CLEAR_SOFTINT_R wr %r20, %r17, %clear_softint | |
14570 | .word 0x8d902ef0 ! 363: WRPR_PSTATE_I wrpr %r0, 0x0ef0, %pstate | |
14571 | .word 0x91d02034 ! 364: Tcc_I ta icc_or_xcc, %r0 + 52 | |
14572 | splash_lsu_1_207: | |
14573 | setx 0x72caa156f1511b61, %r1, %r2 | |
14574 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
14575 | .word 0x3d400001 ! 365: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
14576 | splash_hpstate_1_208: | |
14577 | .word 0x819828cc ! 366: WRHPR_HPSTATE_I wrhpr %r0, 0x08cc, %hpstate | |
14578 | debug_1_209: | |
14579 | nop | |
14580 | mov 0x38, %r18 | |
14581 | .word 0xfef00b12 ! 367: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
14582 | mondo_1_210: | |
14583 | nop | |
14584 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
14585 | ||
14586 | stxa %r3, [%r0+0x3e8] %asi | |
14587 | .word 0x9d948007 ! 368: WRPR_WSTATE_R wrpr %r18, %r7, %wstate | |
14588 | setx 0xcb6ea2a714d3e4ee, %r1, %r28 | |
14589 | stxa %r28, [%g0] 0x73 | |
14590 | intvec_1_211: | |
14591 | .word 0x39400001 ! 369: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
14592 | .word 0xe60fe29d ! 370: LDUB_I ldub [%r31 + 0x029d], %r19 | |
14593 | .word 0x8d902cce ! 371: WRPR_PSTATE_I wrpr %r0, 0x0cce, %pstate | |
14594 | .word 0x9550c000 ! 372: RDPR_TT <illegal instruction> | |
14595 | mov (1+1), %r10 | |
14596 | ta T_CHANGE_HPRIV | |
14597 | set sync_thr_counter2, %r23 | |
14598 | cas [%r23],%g0,%r10 !lock | |
14599 | brnz %r10, sma_1_212 | |
14600 | rd %asi, %r12 | |
14601 | wr %g0, 0x40, %asi | |
14602 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
14603 | set 0x21fff, %g1 | |
14604 | stxa %g1, [%g0 + 0x80] %asi | |
14605 | wr %r12, %g0, %asi | |
14606 | st %g0, [%r23] | |
14607 | sma_1_212: | |
14608 | ta T_CHANGE_NONHPRIV | |
14609 | .word 0xd1e7e00a ! 373: CASA_R casa [%r31] %asi, %r10, %r8 | |
14610 | .word 0xd0800ae0 ! 374: LDUWA_R lduwa [%r0, %r0] 0x57, %r8 | |
14611 | .word 0x22800001 ! 375: BE be,a <label_0x1> | |
14612 | .word 0x87802058 ! 376: WRASI_I wr %r0, 0x0058, %asi | |
14613 | .word 0x87802080 ! 377: WRASI_I wr %r0, 0x0080, %asi | |
14614 | .word 0x93a1cdc7 ! 378: FdMULq fdmulq | |
14615 | splash_tba_1_213: | |
14616 | set 0x003f0000, %r12 | |
14617 | ld [%r12+%r0], %r1 | |
14618 | ta T_CHANGE_PRIV | |
14619 | set 0x003f0000, %r12 | |
14620 | .word 0x8b90000c ! 379: WRPR_TBA_R wrpr %r0, %r12, %tba | |
14621 | .word 0x83d02032 ! 380: Tcc_I te icc_or_xcc, %r0 + 50 | |
14622 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
14623 | ta T_CHANGE_NONPRIV ! macro | |
14624 | .word 0xa3a01964 ! 381: FqTOd dis not found | |
14625 | ||
14626 | splash_cmpr_1_215: | |
14627 | setx 0xd5154db571650a14, %g2, %g1 | |
14628 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
14629 | sub %g1, 100, %g1 | |
14630 | .word 0xb1800001 ! 382: WR_STICK_REG_R wr %r0, %r1, %- | |
14631 | debug_1_216: | |
14632 | nop | |
14633 | mov 8, %r18 | |
14634 | .word 0xdcf00492 ! 383: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
14635 | setx 0xaf181f96050c983b, %r1, %r28 | |
14636 | stxa %r28, [%g0] 0x73 | |
14637 | intvec_1_217: | |
14638 | .word 0x39400001 ! 384: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
14639 | .word 0xa7480000 ! 385: RDHPR_HPSTATE rdhpr %hpstate, %r19 | |
14640 | .word 0x26800001 ! 386: BL bl,a <label_0x1> | |
14641 | ta T_CHANGE_HPRIV | |
14642 | mov (1+1), %r10 | |
14643 | set sync_thr_counter1, %r23 | |
14644 | cas [%r23],%g0,%r10 !lock | |
14645 | brnz %r10, cwq_1_218 | |
14646 | rd %asi, %r12 | |
14647 | wr %g0, 0x40, %asi | |
14648 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
14649 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
14650 | cmp %l1, 1 | |
14651 | bne cwq_1_218 | |
14652 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
14653 | sub %l2, 0x40, %l2 | |
14654 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
14655 | wr %r12, %g0, %asi | |
14656 | st %g0, [%r23] | |
14657 | cwq_1_218: | |
14658 | ta T_CHANGE_NONHPRIV | |
14659 | .word 0x99414000 ! 387: RDPC rd %pc, %r12 | |
14660 | splash_hpstate_1_219: | |
14661 | .word 0x81982a77 ! 388: WRHPR_HPSTATE_I wrhpr %r0, 0x0a77, %hpstate | |
14662 | splash_tba_1_220: | |
14663 | set 0x120000, %r12 | |
14664 | st %r1, [%r12+%r0] | |
14665 | ta T_CHANGE_PRIV | |
14666 | set 0x120000, %r12 | |
14667 | .word 0x8b90000c ! 389: WRPR_TBA_R wrpr %r0, %r12, %tba | |
14668 | splash_tba_1_221: | |
14669 | set 0x120000, %r12 | |
14670 | ld [%r12+%r0], %r1 | |
14671 | ta T_CHANGE_PRIV | |
14672 | set 0x120000, %r12 | |
14673 | .word 0x8b90000c ! 390: WRPR_TBA_R wrpr %r0, %r12, %tba | |
14674 | splash_cmpr_1_222: | |
14675 | setx 0x2ccabf6e75c54a3e, %g2, %g1 | |
14676 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
14677 | sub %g1, 100, %g1 | |
14678 | .word 0xb1800001 ! 391: WR_STICK_REG_R wr %r0, %r1, %- | |
14679 | setx 0xf9b2b9415a8c8f3f, %r1, %r28 | |
14680 | stxa %r28, [%g0] 0x73 | |
14681 | intvec_1_223: | |
14682 | .word 0x39400001 ! 392: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
14683 | .word 0xa0d1b8f3 ! 393: UMULcc_I umulcc %r6, 0xfffff8f3, %r16 | |
14684 | .word 0xd697e000 ! 394: LDUHA_I lduha [%r31, + 0x0000] %asi, %r11 | |
14685 | .word 0x20700001 ! 395: BPN <illegal instruction> | |
14686 | .word 0x93d02032 ! 396: Tcc_I tne icc_or_xcc, %r0 + 50 | |
14687 | .word 0x9b7027f5 ! 397: POPC_I popc 0x07f5, %r13 | |
14688 | splash_lsu_1_224: | |
14689 | setx 0x71e73724f1bb1a73, %r1, %r2 | |
14690 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
14691 | .word 0x3d400001 ! 398: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
14692 | .word 0x879022ee ! 399: WRPR_TT_I wrpr %r0, 0x02ee, %tt | |
14693 | splash_cmpr_1_225: | |
14694 | setx 0xc2063c84b9622da3, %g2, %g1 | |
14695 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
14696 | sub %g1, 100, %g1 | |
14697 | .word 0xb1800001 ! 400: WR_STICK_REG_R wr %r0, %r1, %- | |
14698 | memptr_1_226: | |
14699 | set 0x60740000, %r31 | |
14700 | .word 0x8581e9fc ! 401: WRCCR_I wr %r7, 0x09fc, %ccr | |
14701 | cwp_1_227: | |
14702 | set user_data_start, %o7 | |
14703 | .word 0x93902004 ! 402: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
14704 | .word 0x9f802f5f ! 403: SIR sir 0x0f5f | |
14705 | mondo_1_228: | |
14706 | nop | |
14707 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
14708 | ||
14709 | stxa %r2, [%r0+0x3c8] %asi | |
14710 | .word 0x9d910005 ! 404: WRPR_WSTATE_R wrpr %r4, %r5, %wstate | |
14711 | .word 0xab832760 ! 405: WR_CLEAR_SOFTINT_I wr %r12, 0x0760, %clear_softint | |
14712 | .word 0xa190200b ! 406: WRPR_GL_I wrpr %r0, 0x000b, %- | |
14713 | DS_1_229: | |
14714 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
14715 | .word 0xbfefc000 ! 407: RESTORE_R restore %r31, %r0, %r31 | |
14716 | tagged_1_230: | |
14717 | tsubcctv %r16, 0x105c, %r25 | |
14718 | .word 0xe207f5d2 ! 408: LDUW_I lduw [%r31 + 0xfffff5d2], %r17 | |
14719 | .word 0x91540000 ! 409: RDPR_GL <illegal instruction> | |
14720 | mondo_1_231: | |
14721 | nop | |
14722 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
14723 | ||
14724 | stxa %r16, [%r0+0x3e0] %asi | |
14725 | .word 0x9d944008 ! 410: WRPR_WSTATE_R wrpr %r17, %r8, %wstate | |
14726 | debug_1_232: | |
14727 | nop | |
14728 | rd %pc, %r19 | |
14729 | add %r19, (64+24), %r19 | |
14730 | mov 0x38, %r18 | |
14731 | .word 0xe6f00b12 ! 411: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
14732 | splash_cmpr_1_233: | |
14733 | setx 0xf88bd274c6040bef, %g2, %g1 | |
14734 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
14735 | sub %g1, 100, %g1 | |
14736 | .word 0xb1800001 ! 412: WR_STICK_REG_R wr %r0, %r1, %- | |
14737 | mov (1+1), %r10 | |
14738 | ta T_CHANGE_HPRIV | |
14739 | set sync_thr_counter2, %r23 | |
14740 | cas [%r23],%g0,%r10 !lock | |
14741 | brnz %r10, sma_1_234 | |
14742 | rd %asi, %r12 | |
14743 | wr %g0, 0x40, %asi | |
14744 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
14745 | set 0x21fff, %g1 | |
14746 | stxa %g1, [%g0 + 0x80] %asi | |
14747 | wr %r12, %g0, %asi | |
14748 | st %g0, [%r23] | |
14749 | sma_1_234: | |
14750 | ta T_CHANGE_NONHPRIV | |
14751 | .word 0xd9e7e014 ! 413: CASA_R casa [%r31] %asi, %r20, %r12 | |
14752 | .word 0xd927c000 ! 414: STF_R st %f12, [%r0, %r31] | |
14753 | debug_1_235: | |
14754 | nop | |
14755 | rd %pc, %r19 | |
14756 | add %r19, (64+24), %r19 | |
14757 | mov 0x38, %r18 | |
14758 | .word 0xe6f00b12 ! 415: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
14759 | .word 0x87902380 ! 416: WRPR_TT_I wrpr %r0, 0x0380, %tt | |
14760 | debug_1_236: | |
14761 | nop | |
14762 | mov 0x38, %r18 | |
14763 | .word 0xfef00b12 ! 417: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
14764 | mondo_1_237: | |
14765 | nop | |
14766 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
14767 | ||
14768 | stxa %r1, [%r0+0x3e8] %asi | |
14769 | .word 0x9d92000c ! 418: WRPR_WSTATE_R wrpr %r8, %r12, %wstate | |
14770 | tagged_1_238: | |
14771 | tsubcctv %r23, 0x1bee, %r15 | |
14772 | .word 0xd807f5d2 ! 419: LDUW_I lduw [%r31 + 0xfffff5d2], %r12 | |
14773 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
14774 | ta T_CHANGE_NONHPRIV ! macro | |
14775 | .word 0xa76a381c ! 420: SDIVX_I sdivx %r8, 0xfffff81c, %r19 | |
14776 | .word 0x87902302 ! 421: WRPR_TT_I wrpr %r0, 0x0302, %tt | |
14777 | .word 0x93d02033 ! 422: Tcc_I tne icc_or_xcc, %r0 + 51 | |
14778 | .word 0xd8d804a0 ! 423: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
14779 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
14780 | ta T_CHANGE_NONPRIV ! macro | |
14781 | .word 0xa76c2541 ! 424: SDIVX_I sdivx %r16, 0x0541, %r19 | |
14782 | rd %pc, %r19 | |
14783 | add %r19, (ivw_1_241-.+56), %r19 | |
14784 | mov 0x38, %r18 | |
14785 | stxa %r19, [%r18]0x58 | |
14786 | ivw_1_241: | |
14787 | .word 0x9190c00d ! 425: WRPR_PIL_R wrpr %r3, %r13, %pil | |
14788 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
14789 | ta T_CHANGE_NONPRIV ! macro | |
14790 | .word 0xa96cb7d9 ! 426: SDIVX_I sdivx %r18, 0xfffff7d9, %r20 | |
14791 | splash_cmpr_1_243: | |
14792 | setx 0x3f3f2b250a25f4eb, %g2, %g1 | |
14793 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
14794 | sub %g1, 100, %g1 | |
14795 | .word 0xb1800001 ! 427: WR_STICK_REG_R wr %r0, %r1, %- | |
14796 | splash_cmpr_1_244: | |
14797 | setx 0x9e694bce31e43bb2, %g2, %g1 | |
14798 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
14799 | sub %g1, 100, %g1 | |
14800 | .word 0xb1800001 ! 428: WR_STICK_REG_R wr %r0, %r1, %- | |
14801 | .word 0xa76ac008 ! 429: SDIVX_R sdivx %r11, %r8, %r19 | |
14802 | setx 0x71ea2aac626228d2, %r1, %r28 | |
14803 | stxa %r28, [%g0] 0x73 | |
14804 | intvec_1_245: | |
14805 | .word 0x39400001 ! 430: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
14806 | DS_1_246: | |
14807 | nop | |
14808 | not %g0, %r12 | |
14809 | jmp %r12 | |
14810 | .word 0x9d902001 ! 431: WRPR_WSTATE_I wrpr %r0, 0x0001, %wstate | |
14811 | pmu_1_247: | |
14812 | nop | |
14813 | setx 0xfffff0fffffff3ba, %g1, %g7 | |
14814 | .word 0xa3800007 ! 432: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
14815 | change_to_randtl_1_248: | |
14816 | ta T_CHANGE_PRIV ! macro | |
14817 | done_change_to_randtl_1_248: | |
14818 | .word 0x8f902000 ! 433: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
14819 | .word 0xe257c000 ! 434: LDSH_R ldsh [%r31 + %r0], %r17 | |
14820 | .word 0xa190200b ! 435: WRPR_GL_I wrpr %r0, 0x000b, %- | |
14821 | mov (1+1), %r10 | |
14822 | ta T_CHANGE_HPRIV | |
14823 | set sync_thr_counter2, %r23 | |
14824 | cas [%r23],%g0,%r10 !lock | |
14825 | brnz %r10, sma_1_249 | |
14826 | rd %asi, %r12 | |
14827 | wr %g0, 0x40, %asi | |
14828 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
14829 | set 0x21fff, %g1 | |
14830 | stxa %g1, [%g0 + 0x80] %asi | |
14831 | wr %r12, %g0, %asi | |
14832 | st %g0, [%r23] | |
14833 | sma_1_249: | |
14834 | ta T_CHANGE_NONHPRIV | |
14835 | .word 0xe3e7e00b ! 436: CASA_R casa [%r31] %asi, %r11, %r17 | |
14836 | splash_lsu_1_250: | |
14837 | setx 0x12206d1ef730437f, %r1, %r2 | |
14838 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
14839 | .word 0x3d400001 ! 437: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
14840 | .word 0xe2800c20 ! 438: LDUWA_R lduwa [%r0, %r0] 0x61, %r17 | |
14841 | splash_lsu_1_251: | |
14842 | setx 0x44e039ba08075a17, %r1, %r2 | |
14843 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
14844 | .word 0x3d400001 ! 439: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
14845 | splash_cmpr_1_252: | |
14846 | setx 0xeda334a5496c6fb8, %g2, %g1 | |
14847 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
14848 | sub %g1, 100, %g1 | |
14849 | .word 0xb1800001 ! 440: WR_STICK_REG_R wr %r0, %r1, %- | |
14850 | nop | |
14851 | mov 0x80, %g3 | |
14852 | stxa %g3, [%g3] 0x5f | |
14853 | .word 0xe25fc000 ! 441: LDX_R ldx [%r31 + %r0], %r17 | |
14854 | .word 0xa7540000 ! 442: RDPR_GL <illegal instruction> | |
14855 | ta T_CHANGE_HPRIV | |
14856 | mov (1+1), %r10 | |
14857 | set sync_thr_counter1, %r23 | |
14858 | cas [%r23],%g0,%r10 !lock | |
14859 | brnz %r10, cwq_1_253 | |
14860 | rd %asi, %r12 | |
14861 | wr %g0, 0x40, %asi | |
14862 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
14863 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
14864 | cmp %l1, 1 | |
14865 | bne cwq_1_253 | |
14866 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
14867 | sub %l2, 0x40, %l2 | |
14868 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
14869 | wr %r12, %g0, %asi | |
14870 | st %g0, [%r23] | |
14871 | cwq_1_253: | |
14872 | ta T_CHANGE_NONHPRIV | |
14873 | .word 0x93414000 ! 443: RDPC rd %pc, %r9 | |
14874 | splash_htba_1_254: | |
14875 | set 0x80000, %r12 | |
14876 | st %r1, [%r12+%r0] | |
14877 | ta T_CHANGE_HPRIV | |
14878 | set 0x80000, %r12 | |
14879 | .word 0x8b98000c ! 444: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
14880 | tagged_1_255: | |
14881 | taddcctv %r5, 0x169c, %r17 | |
14882 | .word 0xd807f183 ! 445: LDUW_I lduw [%r31 + 0xfffff183], %r12 | |
14883 | memptr_1_256: | |
14884 | set 0x60140000, %r31 | |
14885 | .word 0x8584e890 ! 446: WRCCR_I wr %r19, 0x0890, %ccr | |
14886 | tagged_1_257: | |
14887 | taddcctv %r12, 0x144d, %r1 | |
14888 | .word 0xd807e3fe ! 447: LDUW_I lduw [%r31 + 0x03fe], %r12 | |
14889 | .word 0xd91fe3fe ! 448: LDDF_I ldd [%r31, 0x03fe], %f12 | |
14890 | .word 0x87802004 ! 449: WRASI_I wr %r0, 0x0004, %asi | |
14891 | splash_tba_1_258: | |
14892 | set 0x003f0000, %r12 | |
14893 | st %r1, [%r12+%r0] | |
14894 | ta T_CHANGE_PRIV | |
14895 | set 0x003f0000, %r12 | |
14896 | .word 0x8b90000c ! 450: WRPR_TBA_R wrpr %r0, %r12, %tba | |
14897 | .word 0x99688000 ! 451: SDIVX_R sdivx %r2, %r0, %r12 | |
14898 | rd %pc, %r19 | |
14899 | add %r19, (ivw_1_259-.+48), %r19 | |
14900 | mov 0x38, %r18 | |
14901 | stxa %r19, [%r18]0x58 | |
14902 | ivw_1_259: | |
14903 | .word 0x91940006 ! 452: WRPR_PIL_R wrpr %r16, %r6, %pil | |
14904 | rd %pc, %r19 | |
14905 | add %r19, (ivw_1_260-.+24), %r19 | |
14906 | mov 0x38, %r18 | |
14907 | stxa %r19, [%r18]0x58 | |
14908 | ivw_1_260: | |
14909 | .word 0x91918013 ! 453: WRPR_PIL_R wrpr %r6, %r19, %pil | |
14910 | ta T_CHANGE_HPRIV | |
14911 | mov (1+1), %r10 | |
14912 | set sync_thr_counter1, %r23 | |
14913 | cas [%r23],%g0,%r10 !lock | |
14914 | brnz %r10, cwq_1_261 | |
14915 | rd %asi, %r12 | |
14916 | wr %g0, 0x40, %asi | |
14917 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
14918 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
14919 | cmp %l1, 1 | |
14920 | bne cwq_1_261 | |
14921 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
14922 | sub %l2, 0x40, %l2 | |
14923 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
14924 | wr %r12, %g0, %asi | |
14925 | st %g0, [%r23] | |
14926 | cwq_1_261: | |
14927 | ta T_CHANGE_NONHPRIV | |
14928 | .word 0x9b414000 ! 454: RDPC rd %pc, %r13 | |
14929 | invalw | |
14930 | mov 0x34, %r30 | |
14931 | .word 0x91d0001e ! 455: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
14932 | splash_cmpr_1_262: | |
14933 | setx 0x3b123dbaf5464d2d, %g2, %g1 | |
14934 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
14935 | sub %g1, 100, %g1 | |
14936 | .word 0xb1800001 ! 456: WR_STICK_REG_R wr %r0, %r1, %- | |
14937 | .word 0x91d02033 ! 457: Tcc_I ta icc_or_xcc, %r0 + 51 | |
14938 | DS_1_263: | |
14939 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
14940 | .word 0xd3343727 ! 1: STQF_I - %f9, [0x1727, %r16] | |
14941 | normalw | |
14942 | .word 0xa9458000 ! 458: RD_SOFTINT_REG rd %softint, %r20 | |
14943 | memptr_1_264: | |
14944 | set user_data_start, %r31 | |
14945 | .word 0x8580f71a ! 459: WRCCR_I wr %r3, 0x171a, %ccr | |
14946 | debug_1_265: | |
14947 | nop | |
14948 | rd %pc, %r19 | |
14949 | add %r19, (64+48), %r19 | |
14950 | mov 0x38, %r18 | |
14951 | .word 0xe6f00b12 ! 460: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
14952 | .word 0xe527f6cd ! 461: STF_I st %f18, [0x16cd, %r31] | |
14953 | splash_cmpr_1_266: | |
14954 | setx 0x5f1c198d3802bc50, %g2, %g1 | |
14955 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
14956 | sub %g1, 100, %g1 | |
14957 | .word 0xb1800001 ! 462: WR_STICK_REG_R wr %r0, %r1, %- | |
14958 | .word 0x99a349d2 ! 463: FDIVd fdivd %f44, %f18, %f12 | |
14959 | splash_htba_1_267: | |
14960 | set 0x003b0000, %r12 | |
14961 | ld [%r12+%r0], %r1 | |
14962 | ta T_CHANGE_HPRIV | |
14963 | set 0x003b0000, %r12 | |
14964 | .word 0x8b98000c ! 464: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
14965 | .word 0xd6c7e020 ! 465: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r11 | |
14966 | splash_lsu_1_268: | |
14967 | setx 0xe587e36a7372c217, %r1, %r2 | |
14968 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
14969 | .word 0x3d400001 ! 466: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
14970 | setx 0xb6cb48b33f53d164, %r1, %r28 | |
14971 | stxa %r28, [%g0] 0x73 | |
14972 | intvec_1_269: | |
14973 | .word 0x39400001 ! 467: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
14974 | .word 0xa3480000 ! 468: RDHPR_HPSTATE rdhpr %hpstate, %r17 | |
14975 | splash_cmpr_1_270: | |
14976 | setx 0xe563f5ecd425b73b, %g2, %g1 | |
14977 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
14978 | sub %g1, 100, %g1 | |
14979 | .word 0xb1800001 ! 469: WR_STICK_REG_R wr %r0, %r1, %- | |
14980 | .word 0x36700001 ! 470: BPGE <illegal instruction> | |
14981 | DS_1_271: | |
14982 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
14983 | .word 0xbfefc000 ! 471: RESTORE_R restore %r31, %r0, %r31 | |
14984 | .word 0xd4d7e020 ! 472: LDSHA_I ldsha [%r31, + 0x0020] %asi, %r10 | |
14985 | DS_1_272: | |
14986 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
14987 | .word 0x95a249cb ! 1: FDIVd fdivd %f40, %f42, %f10 | |
14988 | normalw | |
14989 | .word 0x9b458000 ! 473: RD_SOFTINT_REG rd %softint, %r13 | |
14990 | .word 0x87902012 ! 474: WRPR_TT_I wrpr %r0, 0x0012, %tt | |
14991 | splash_cmpr_1_273: | |
14992 | setx 0x348cf3183bff60e1, %g2, %g1 | |
14993 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
14994 | sub %g1, 100, %g1 | |
14995 | .word 0xb1800001 ! 475: WR_STICK_REG_R wr %r0, %r1, %- | |
14996 | DS_1_274: | |
14997 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
14998 | pdist %f4, %f6, %f12 | |
14999 | .word 0xa9b20300 ! 476: ALIGNADDRESS alignaddr %r8, %r0, %r20 | |
15000 | .word 0x8d902c65 ! 477: WRPR_PSTATE_I wrpr %r0, 0x0c65, %pstate | |
15001 | mondo_1_275: | |
15002 | nop | |
15003 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
15004 | ||
15005 | stxa %r8, [%r0+0x3d8] %asi | |
15006 | .word 0x9d90c002 ! 478: WRPR_WSTATE_R wrpr %r3, %r2, %wstate | |
15007 | .word 0xda800b40 ! 479: LDUWA_R lduwa [%r0, %r0] 0x5a, %r13 | |
15008 | tagged_1_276: | |
15009 | tsubcctv %r12, 0x1f1b, %r3 | |
15010 | .word 0xda07f6cd ! 480: LDUW_I lduw [%r31 + 0xfffff6cd], %r13 | |
15011 | splash_htba_1_277: | |
15012 | set 0x80000, %r12 | |
15013 | ld [%r12+%r0], %r1 | |
15014 | ta T_CHANGE_HPRIV | |
15015 | set 0x80000, %r12 | |
15016 | .word 0x8b98000c ! 481: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
15017 | .word 0x3c700001 ! 482: BPPOS <illegal instruction> | |
15018 | .word 0x91450000 ! 483: RD_SET_SOFTINT rd %set_softint, %r8 | |
15019 | .word 0xd0cfe010 ! 484: LDSBA_I ldsba [%r31, + 0x0010] %asi, %r8 | |
15020 | nop | |
15021 | mov 0x80, %g3 | |
15022 | stxa %g3, [%g3] 0x57 | |
15023 | .word 0xd05fc000 ! 485: LDX_R ldx [%r31 + %r0], %r8 | |
15024 | splash_cmpr_1_278: | |
15025 | setx 0x198e8671bc094728, %g2, %g1 | |
15026 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
15027 | sub %g1, 100, %g1 | |
15028 | .word 0xb1800001 ! 486: WR_STICK_REG_R wr %r0, %r1, %- | |
15029 | otherw | |
15030 | mov 0x35, %r30 | |
15031 | .word 0x91d0001e ! 487: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
15032 | cwp_1_279: | |
15033 | set user_data_start, %o7 | |
15034 | .word 0x93902001 ! 488: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
15035 | .word 0x9f803443 ! 489: SIR sir 0x1443 | |
15036 | cwp_1_280: | |
15037 | set user_data_start, %o7 | |
15038 | .word 0x93902006 ! 490: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
15039 | change_to_randtl_1_281: | |
15040 | ta T_CHANGE_HPRIV ! macro | |
15041 | done_change_to_randtl_1_281: | |
15042 | .word 0x8f902003 ! 491: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
15043 | donret_1_282: | |
15044 | nop | |
15045 | rd %pc, %r12 | |
15046 | add %r12, (donretarg_1_282-donret_1_282), %r12 | |
15047 | mov 0x38, %r18 | |
15048 | stxa %r12, [%r18]0x58 | |
15049 | add %r12, 0x4, %r11 | |
15050 | wrpr %g0, 0x2, %tl | |
15051 | wrpr %g0, %r12, %tpc | |
15052 | wrpr %g0, %r11, %tnpc | |
15053 | wrpr %g0, %r13, %tstate | |
15054 | wrhpr %g0, %r14, %htstate | |
15055 | retry | |
15056 | donretarg_1_282: | |
15057 | .word 0xd0fff0df ! 492: SWAPA_I swapa %r8, [%r31 + 0xfffff0df] %asi | |
15058 | .word 0x91d020b4 ! 493: Tcc_I ta icc_or_xcc, %r0 + 180 | |
15059 | .word 0x36800001 ! 494: BGE bge,a <label_0x1> | |
15060 | splash_cmpr_1_283: | |
15061 | setx 0x41e9c4d19aa18c02, %g2, %g1 | |
15062 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
15063 | sub %g1, 100, %g1 | |
15064 | .word 0xb1800001 ! 495: WR_STICK_REG_R wr %r0, %r1, %- | |
15065 | splash_lsu_1_284: | |
15066 | setx 0x999e782fca899227, %r1, %r2 | |
15067 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
15068 | .word 0x3d400001 ! 496: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
15069 | splash_tba_1_285: | |
15070 | set 0x003f0000, %r12 | |
15071 | ld [%r12+%r0], %r1 | |
15072 | ta T_CHANGE_PRIV | |
15073 | set 0x003f0000, %r12 | |
15074 | .word 0x8b90000c ! 497: WRPR_TBA_R wrpr %r0, %r12, %tba | |
15075 | tagged_1_286: | |
15076 | tsubcctv %r11, 0x13e6, %r19 | |
15077 | .word 0xd007f0df ! 498: LDUW_I lduw [%r31 + 0xfffff0df], %r8 | |
15078 | nop | |
15079 | nop | |
15080 | setx join_lbl_0_0, %g1, %g2 | |
15081 | jmp %g2 | |
15082 | nop | |
15083 | fork_lbl_0_1: | |
15084 | .word 0x26700001 ! 1: BPL <illegal instruction> | |
15085 | memptr_0_0: | |
15086 | set user_data_start, %r31 | |
15087 | .word 0x85837a57 ! 2: WRCCR_I wr %r13, 0x1a57, %ccr | |
15088 | DS_0_1: | |
15089 | nop | |
15090 | not %g0, %r12 | |
15091 | jmp %r12 | |
15092 | .word 0x9d902001 ! 3: WRPR_WSTATE_I wrpr %r0, 0x0001, %wstate | |
15093 | .word 0xe46ffa57 ! 4: LDSTUB_I ldstub %r18, [%r31 + 0xfffffa57] | |
15094 | .word 0xa1902001 ! 5: WRPR_GL_I wrpr %r0, 0x0001, %- | |
15095 | change_to_randtl_0_2: | |
15096 | ta T_CHANGE_PRIV ! macro | |
15097 | done_change_to_randtl_0_2: | |
15098 | .word 0x8f902002 ! 6: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
15099 | splash_cmpr_0_3: | |
15100 | setx 0xf38b48f56dd7590a, %g2, %g1 | |
15101 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
15102 | sub %g1, 100, %g1 | |
15103 | .word 0xb1800001 ! 7: WR_STICK_REG_R wr %r0, %r1, %- | |
15104 | mondo_0_4: | |
15105 | nop | |
15106 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
15107 | ||
15108 | stxa %r19, [%r0+0x3c8] %asi | |
15109 | .word 0x9d910003 ! 8: WRPR_WSTATE_R wrpr %r4, %r3, %wstate | |
15110 | .word 0x87802058 ! 9: WRASI_I wr %r0, 0x0058, %asi | |
15111 | donret_0_5: | |
15112 | nop | |
15113 | rd %pc, %r12 | |
15114 | add %r12, (donretarg_0_5-donret_0_5-4), %r12 | |
15115 | add %r12, 0x4, %r11 | |
15116 | wrpr %g0, 0x1, %tl | |
15117 | wrpr %g0, %r12, %tpc | |
15118 | wrpr %g0, %r11, %tnpc | |
15119 | wrpr %g0, %r13, %tstate | |
15120 | wrhpr %g0, %r14, %htstate | |
15121 | done | |
15122 | donretarg_0_5: | |
15123 | .word 0xe4fffa57 ! 10: SWAPA_I swapa %r18, [%r31 + 0xfffffa57] %asi | |
15124 | change_to_randtl_0_6: | |
15125 | ta T_CHANGE_PRIV ! macro | |
15126 | done_change_to_randtl_0_6: | |
15127 | .word 0x8f902000 ! 11: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
15128 | cwp_0_7: | |
15129 | set user_data_start, %o7 | |
15130 | .word 0x93902004 ! 12: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
15131 | .word 0x2e700001 ! 13: BPVS <illegal instruction> | |
15132 | splash_lsu_0_8: | |
15133 | setx 0xbcf474366f7c3565, %r1, %r2 | |
15134 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
15135 | .word 0x3d400001 ! 14: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
15136 | .word 0x8d9037e4 ! 15: WRPR_PSTATE_I wrpr %r0, 0x17e4, %pstate | |
15137 | .word 0x87902089 ! 16: WRPR_TT_I wrpr %r0, 0x0089, %tt | |
15138 | ta T_CHANGE_HPRIV | |
15139 | mov (0+1), %r10 | |
15140 | set sync_thr_counter1, %r23 | |
15141 | cas [%r23],%g0,%r10 !lock | |
15142 | brnz %r10, cwq_0_9 | |
15143 | rd %asi, %r12 | |
15144 | wr %g0, 0x40, %asi | |
15145 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
15146 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
15147 | cmp %l1, 1 | |
15148 | bne cwq_0_9 | |
15149 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
15150 | sub %l2, 0x40, %l2 | |
15151 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
15152 | wr %r12, %g0, %asi | |
15153 | st %g0, [%r23] | |
15154 | cwq_0_9: | |
15155 | ta T_CHANGE_NONHPRIV | |
15156 | .word 0x99414000 ! 17: RDPC rd %pc, %r12 | |
15157 | .word 0xd8c804a0 ! 18: LDSBA_R ldsba [%r0, %r0] 0x25, %r12 | |
15158 | debug_0_10: | |
15159 | nop | |
15160 | mov 0x38, %r18 | |
15161 | .word 0xe6f00b12 ! 19: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
15162 | .word 0xd84fc000 ! 20: LDSB_R ldsb [%r31 + %r0], %r12 | |
15163 | cwp_0_11: | |
15164 | set user_data_start, %o7 | |
15165 | .word 0x93902004 ! 21: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
15166 | .word 0xa745c000 ! 22: RD_TICK_CMPR_REG rd %-, %r19 | |
15167 | .word 0x8d902abf ! 23: WRPR_PSTATE_I wrpr %r0, 0x0abf, %pstate | |
15168 | splash_lsu_0_12: | |
15169 | setx 0x236232471b356571, %r1, %r2 | |
15170 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
15171 | .word 0x3d400001 ! 24: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
15172 | .word 0xa1902002 ! 25: WRPR_GL_I wrpr %r0, 0x0002, %- | |
15173 | .word 0xa1a00171 ! 26: FABSq dis not found | |
15174 | ||
15175 | splash_lsu_0_13: | |
15176 | setx 0xfc91e210d64f037d, %r1, %r2 | |
15177 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
15178 | .word 0x3d400001 ! 27: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
15179 | memptr_0_14: | |
15180 | set 0x60540000, %r31 | |
15181 | .word 0x8582baea ! 28: WRCCR_I wr %r10, 0x1aea, %ccr | |
15182 | splash_hpstate_0_15: | |
15183 | .word 0x81982dc7 ! 29: WRHPR_HPSTATE_I wrhpr %r0, 0x0dc7, %hpstate | |
15184 | .word 0xa5464000 ! 30: RD_STICK_CMPR_REG rd %-, %r18 | |
15185 | .word 0x91d020b5 ! 31: Tcc_I ta icc_or_xcc, %r0 + 181 | |
15186 | debug_0_16: | |
15187 | nop | |
15188 | mov 0x38, %r18 | |
15189 | .word 0xe6f00b12 ! 32: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
15190 | cwp_0_17: | |
15191 | set user_data_start, %o7 | |
15192 | .word 0x93902004 ! 33: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
15193 | .word 0xe4880e40 ! 34: LDUBA_R lduba [%r0, %r0] 0x72, %r18 | |
15194 | splash_hpstate_0_18: | |
15195 | .word 0x81982487 ! 35: WRHPR_HPSTATE_I wrhpr %r0, 0x0487, %hpstate | |
15196 | cwp_0_19: | |
15197 | set user_data_start, %o7 | |
15198 | .word 0x93902004 ! 36: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
15199 | ta T_CHANGE_HPRIV | |
15200 | mov (0+1), %r10 | |
15201 | set sync_thr_counter1, %r23 | |
15202 | cas [%r23],%g0,%r10 !lock | |
15203 | brnz %r10, cwq_0_20 | |
15204 | rd %asi, %r12 | |
15205 | wr %g0, 0x40, %asi | |
15206 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
15207 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
15208 | cmp %l1, 1 | |
15209 | bne cwq_0_20 | |
15210 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
15211 | sub %l2, 0x40, %l2 | |
15212 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
15213 | wr %r12, %g0, %asi | |
15214 | st %g0, [%r23] | |
15215 | cwq_0_20: | |
15216 | ta T_CHANGE_NONHPRIV | |
15217 | .word 0x93414000 ! 37: RDPC rd %pc, %r9 | |
15218 | .word 0x87802080 ! 38: WRASI_I wr %r0, 0x0080, %asi | |
15219 | DS_0_21: | |
15220 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
15221 | allclean | |
15222 | .word 0xa9b28302 ! 39: ALIGNADDRESS alignaddr %r10, %r2, %r20 | |
15223 | .word 0xe80ffaea ! 40: LDUB_I ldub [%r31 + 0xfffffaea], %r20 | |
15224 | .word 0x8d902a51 ! 41: WRPR_PSTATE_I wrpr %r0, 0x0a51, %pstate | |
15225 | .word 0xe8c804a0 ! 42: LDSBA_R ldsba [%r0, %r0] 0x25, %r20 | |
15226 | debug_0_22: | |
15227 | nop | |
15228 | mov 0x38, %r18 | |
15229 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
15230 | mondo_0_23: | |
15231 | nop | |
15232 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
15233 | ||
15234 | stxa %r18, [%r0+0x3d8] %asi | |
15235 | .word 0x9d910006 ! 44: WRPR_WSTATE_R wrpr %r4, %r6, %wstate | |
15236 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_24) + 8, 16, 16)) -> intp(4,0,7) | |
15237 | intvec_0_24: | |
15238 | .word 0x39400001 ! 45: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
15239 | .word 0x8d90250a ! 46: WRPR_PSTATE_I wrpr %r0, 0x050a, %pstate | |
15240 | .word 0xab84fca4 ! 47: WR_CLEAR_SOFTINT_I wr %r19, 0x1ca4, %clear_softint | |
15241 | memptr_0_25: | |
15242 | set 0x60140000, %r31 | |
15243 | .word 0x8582e315 ! 48: WRCCR_I wr %r11, 0x0315, %ccr | |
15244 | .word 0xe927c000 ! 49: STF_R st %f20, [%r0, %r31] | |
15245 | splash_hpstate_0_26: | |
15246 | .word 0x81982605 ! 50: WRHPR_HPSTATE_I wrhpr %r0, 0x0605, %hpstate | |
15247 | .word 0xe89004a0 ! 51: LDUHA_R lduha [%r0, %r0] 0x25, %r20 | |
15248 | .word 0x8d902446 ! 52: WRPR_PSTATE_I wrpr %r0, 0x0446, %pstate | |
15249 | .word 0x91d02032 ! 53: Tcc_I ta icc_or_xcc, %r0 + 50 | |
15250 | debug_0_27: | |
15251 | nop | |
15252 | mov 8, %r18 | |
15253 | ta T_CHANGE_HPRIV | |
15254 | rd %asi, %r12 | |
15255 | wr %r0, 0x41, %asi | |
15256 | set sync_thr_counter, %r23 | |
15257 | debug_startwait0_27: | |
15258 | mov 0x1, %r2 | |
15259 | cas [%r23],%g0,%r2 !lock | |
15260 | brz,a %r2, continue_debug_0_27 | |
15261 | nop | |
15262 | debug_wait0_27: | |
15263 | ld [%r23], %r2 | |
15264 | brnz %r2, debug_wait0_27 | |
15265 | nop | |
15266 | ba,a debug_startwait0_27 | |
15267 | continue_debug_0_27: | |
15268 | mov 0x0e, %r2 | |
15269 | ldxa [0x50]%asi, %r13 !Running_rw | |
15270 | ldxa [0x58]%asi, %r15 !Running_status | |
15271 | wait_for_stat_0_27: | |
15272 | cmp %r13, %r15 | |
15273 | bne,a wait_for_stat_0_27 | |
15274 | ldxa [0x58]%asi, %r15 !Running_status | |
15275 | stxa %r2, [0x68]%asi | |
15276 | ldxa [0x50]%asi, %r14 !Running_rw | |
15277 | wait_for_debug_0_27: | |
15278 | ldxa [0x58]%asi, %r15 !Running_status | |
15279 | cmp %r14, %r15 | |
15280 | bne,a wait_for_debug_0_27 | |
15281 | ldxa [0x50]%asi, %r14 !Running_rw | |
15282 | stxa %18, [%r18]0x42 | |
15283 | stxa %r13, [0x50] %asi ! Running_rw | |
15284 | st %g0, [%r23] !clear lock | |
15285 | wr %r0, %r12, %asi ! restore %asi | |
15286 | .word 0xe0f00492 ! 54: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
15287 | .word 0xe81fc000 ! 55: LDD_R ldd [%r31 + %r0], %r20 | |
15288 | ta T_CHANGE_HPRIV | |
15289 | mov (0+1), %r10 | |
15290 | set sync_thr_counter1, %r23 | |
15291 | cas [%r23],%g0,%r10 !lock | |
15292 | brnz %r10, cwq_0_28 | |
15293 | rd %asi, %r12 | |
15294 | wr %g0, 0x40, %asi | |
15295 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
15296 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
15297 | cmp %l1, 1 | |
15298 | bne cwq_0_28 | |
15299 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
15300 | sub %l2, 0x40, %l2 | |
15301 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
15302 | wr %r12, %g0, %asi | |
15303 | st %g0, [%r23] | |
15304 | cwq_0_28: | |
15305 | ta T_CHANGE_NONHPRIV | |
15306 | .word 0x95414000 ! 56: RDPC rd %pc, %r10 | |
15307 | .word 0x87902296 ! 57: WRPR_TT_I wrpr %r0, 0x0296, %tt | |
15308 | .word 0x98d88009 ! 58: SMULcc_R smulcc %r2, %r9, %r12 | |
15309 | setx 0x476afed580085009, %r1, %r28 | |
15310 | stxa %r28, [%g0] 0x73 | |
15311 | intvec_0_29: | |
15312 | .word 0x39400001 ! 59: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
15313 | splash_hpstate_0_30: | |
15314 | .word 0x819822c7 ! 60: WRHPR_HPSTATE_I wrhpr %r0, 0x02c7, %hpstate | |
15315 | .word 0xa190200a ! 61: WRPR_GL_I wrpr %r0, 0x000a, %- | |
15316 | splash_hpstate_0_31: | |
15317 | .word 0x81982d0d ! 62: WRHPR_HPSTATE_I wrhpr %r0, 0x0d0d, %hpstate | |
15318 | donret_0_32: | |
15319 | nop | |
15320 | rd %pc, %r12 | |
15321 | add %r12, (donretarg_0_32-donret_0_32), %r12 | |
15322 | add %r12, 0x4, %r11 | |
15323 | wrpr %g0, 0x2, %tl | |
15324 | wrpr %g0, %r12, %tpc | |
15325 | wrpr %g0, %r11, %tnpc | |
15326 | wrpr %g0, %r13, %tstate | |
15327 | wrhpr %g0, %r14, %htstate | |
15328 | retry | |
15329 | donretarg_0_32: | |
15330 | .word 0xd8ffe315 ! 63: SWAPA_I swapa %r12, [%r31 + 0x0315] %asi | |
15331 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
15332 | ta T_CHANGE_NONHPRIV ! macro | |
15333 | .word 0xa7a0196b ! 64: FqTOd dis not found | |
15334 | ||
15335 | .word 0x26700001 ! 65: BPL <illegal instruction> | |
15336 | .word 0xe6c7e000 ! 66: LDSWA_I ldswa [%r31, + 0x0000] %asi, %r19 | |
15337 | .word 0x87802088 ! 67: WRASI_I wr %r0, 0x0088, %asi | |
15338 | mondo_0_34: | |
15339 | nop | |
15340 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
15341 | ||
15342 | stxa %r17, [%r0+0x3d8] %asi | |
15343 | .word 0x9d930013 ! 68: WRPR_WSTATE_R wrpr %r12, %r19, %wstate | |
15344 | ta T_CHANGE_HPRIV | |
15345 | mov (0+1), %r10 | |
15346 | set sync_thr_counter1, %r23 | |
15347 | cas [%r23],%g0,%r10 !lock | |
15348 | brnz %r10, cwq_0_35 | |
15349 | rd %asi, %r12 | |
15350 | wr %g0, 0x40, %asi | |
15351 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
15352 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
15353 | cmp %l1, 1 | |
15354 | bne cwq_0_35 | |
15355 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
15356 | sub %l2, 0x40, %l2 | |
15357 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
15358 | wr %r12, %g0, %asi | |
15359 | st %g0, [%r23] | |
15360 | cwq_0_35: | |
15361 | ta T_CHANGE_NONHPRIV | |
15362 | .word 0x91414000 ! 69: RDPC rd %pc, %r8 | |
15363 | .word 0x93a2cd33 ! 70: FsMULd fsmuld %f11, %f50, %f40 | |
15364 | splash_hpstate_0_36: | |
15365 | .word 0x81982c1e ! 71: WRHPR_HPSTATE_I wrhpr %r0, 0x0c1e, %hpstate | |
15366 | splash_cmpr_0_37: | |
15367 | setx 0x359fd16a7007f4a0, %g2, %g1 | |
15368 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
15369 | sub %g1, 100, %g1 | |
15370 | .word 0xb1800001 ! 72: WR_STICK_REG_R wr %r0, %r1, %- | |
15371 | splash_cmpr_0_38: | |
15372 | setx 0xfa56d004bc624203, %g2, %g1 | |
15373 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
15374 | sub %g1, 100, %g1 | |
15375 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
15376 | .word 0x34700001 ! 74: BPG <illegal instruction> | |
15377 | .word 0x22700001 ! 75: BPE <illegal instruction> | |
15378 | memptr_0_39: | |
15379 | set user_data_start, %r31 | |
15380 | .word 0x85823dc6 ! 76: WRCCR_I wr %r8, 0x1dc6, %ccr | |
15381 | intveclr_0_40: | |
15382 | setx 0xea65aae83ba8c431, %r1, %r28 | |
15383 | stxa %r28, [%g0] 0x72 | |
15384 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
15385 | .word 0xd28008a0 ! 78: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
15386 | splash_htba_0_41: | |
15387 | set 0x80000, %r12 | |
15388 | ld [%r12+%r0], %r1 | |
15389 | ta T_CHANGE_HPRIV | |
15390 | set 0x80000, %r12 | |
15391 | .word 0x8b98000c ! 79: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
15392 | DS_0_42: | |
15393 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
15394 | .word 0xbfefc000 ! 80: RESTORE_R restore %r31, %r0, %r31 | |
15395 | .word 0x91d02034 ! 81: Tcc_I ta icc_or_xcc, %r0 + 52 | |
15396 | change_to_randtl_0_43: | |
15397 | ta T_CHANGE_HPRIV ! macro | |
15398 | done_change_to_randtl_0_43: | |
15399 | .word 0x8f902003 ! 82: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
15400 | .word 0xa190200d ! 83: WRPR_GL_I wrpr %r0, 0x000d, %- | |
15401 | debug_0_44: | |
15402 | nop | |
15403 | mov 0x38, %r18 | |
15404 | .word 0xfef00b12 ! 84: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
15405 | nop | |
15406 | mov 0x80, %g3 | |
15407 | stxa %g3, [%g3] 0x57 | |
15408 | .word 0xd25fc000 ! 85: LDX_R ldx [%r31 + %r0], %r9 | |
15409 | .word 0x91d020b3 ! 86: Tcc_I ta icc_or_xcc, %r0 + 179 | |
15410 | memptr_0_45: | |
15411 | set user_data_start, %r31 | |
15412 | .word 0x8584b786 ! 87: WRCCR_I wr %r18, 0x1786, %ccr | |
15413 | .word 0xd2d00e80 ! 88: LDSHA_R ldsha [%r0, %r0] 0x74, %r9 | |
15414 | splash_tba_0_46: | |
15415 | set 0x120000, %r12 | |
15416 | st %r1, [%r12+%r0] | |
15417 | ta T_CHANGE_PRIV | |
15418 | set 0x120000, %r12 | |
15419 | .word 0x8b90000c ! 89: WRPR_TBA_R wrpr %r0, %r12, %tba | |
15420 | setx 0x284e4f84b48114ba, %r1, %r28 | |
15421 | stxa %r28, [%g0] 0x73 | |
15422 | intvec_0_47: | |
15423 | .word 0x39400001 ! 90: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
15424 | .word 0x91d02035 ! 91: Tcc_I ta icc_or_xcc, %r0 + 53 | |
15425 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
15426 | ta T_CHANGE_NONPRIV ! macro | |
15427 | .word 0x916a7dc9 ! 92: SDIVX_I sdivx %r9, 0xfffffdc9, %r8 | |
15428 | .word 0x38700001 ! 93: BPGU <illegal instruction> | |
15429 | mondo_0_49: | |
15430 | nop | |
15431 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
15432 | ||
15433 | stxa %r19, [%r0+0x3c8] %asi | |
15434 | .word 0x9d940008 ! 94: WRPR_WSTATE_R wrpr %r16, %r8, %wstate | |
15435 | splash_tba_0_50: | |
15436 | set 0x120000, %r12 | |
15437 | st %r1, [%r12+%r0] | |
15438 | ta T_CHANGE_PRIV | |
15439 | set 0x120000, %r12 | |
15440 | .word 0x8b90000c ! 95: WRPR_TBA_R wrpr %r0, %r12, %tba | |
15441 | .word 0x91d02035 ! 96: Tcc_I ta icc_or_xcc, %r0 + 53 | |
15442 | .word 0x99540000 ! 97: RDPR_GL <illegal instruction> | |
15443 | .word 0x8790226c ! 98: WRPR_TT_I wrpr %r0, 0x026c, %tt | |
15444 | .word 0xd8d804a0 ! 99: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
15445 | splash_lsu_0_51: | |
15446 | setx 0xe5488dd70652cd4f, %r1, %r2 | |
15447 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
15448 | .word 0x3d400001 ! 100: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
15449 | cmp_0_52: | |
15450 | nop | |
15451 | ta T_CHANGE_HPRIV | |
15452 | rd %asi, %r12 | |
15453 | wr %r0, 0x41, %asi | |
15454 | set sync_thr_counter, %r23 | |
15455 | cmp_startwait0_52: | |
15456 | mov 1, %r10 | |
15457 | cas [%r23],%g0,%r10 !lock | |
15458 | brz,a %r10, continue_cmp_0_52 | |
15459 | nop | |
15460 | cmp_wait0_52: | |
15461 | ld [%r23], %r10 | |
15462 | brnz %r10, cmp_wait0_52 | |
15463 | nop | |
15464 | ba,a cmp_startwait0_52 | |
15465 | continue_cmp_0_52: | |
15466 | ldxa [0x50]%asi, %r13 !Running_rw | |
15467 | ldxa [0x58]%asi, %r14 !Running_status | |
15468 | xnor %r14, %r13, %r14 !Bits equal | |
15469 | and %r14, 0x58, %r14 !Apply mask to random .. | |
15470 | stxa %r14, [0x60]%asi | |
15471 | st %g0, [%r23] !clear lock | |
15472 | wr %r12, %r0, %asi | |
15473 | ta T_CHANGE_NONHPRIV | |
15474 | .word 0x91940012 ! 101: WRPR_PIL_R wrpr %r16, %r18, %pil | |
15475 | splash_tba_0_53: | |
15476 | set 0x120000, %r12 | |
15477 | ld [%r12+%r0], %r1 | |
15478 | ta T_CHANGE_PRIV | |
15479 | set 0x120000, %r12 | |
15480 | .word 0x8b90000c ! 102: WRPR_TBA_R wrpr %r0, %r12, %tba | |
15481 | DS_0_54: | |
15482 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
15483 | allclean | |
15484 | .word 0x91b34303 ! 103: ALIGNADDRESS alignaddr %r13, %r3, %r8 | |
15485 | cwp_0_55: | |
15486 | set user_data_start, %o7 | |
15487 | .word 0x93902002 ! 104: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
15488 | .word 0x8d9031bd ! 105: WRPR_PSTATE_I wrpr %r0, 0x11bd, %pstate | |
15489 | .word 0x8780201c ! 106: WRASI_I wr %r0, 0x001c, %asi | |
15490 | DS_0_56: | |
15491 | .word 0xa7a009cd ! 1: FDIVd fdivd %f0, %f44, %f50 | |
15492 | .word 0x8d4cdba6 ! Random illegal ? | |
15493 | .word 0xe3150013 ! 1: LDQF_R - [%r20, %r19], %f17 | |
15494 | .word 0x93a3482d ! 107: FADDs fadds %f13, %f13, %f9 | |
15495 | .word 0x87802080 ! 108: WRASI_I wr %r0, 0x0080, %asi | |
15496 | .word 0xa1902009 ! 109: WRPR_GL_I wrpr %r0, 0x0009, %- | |
15497 | otherw | |
15498 | mov 0xb3, %r30 | |
15499 | .word 0x91d0001e ! 110: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
15500 | splash_cmpr_0_57: | |
15501 | setx 0x7c08015def06a50b, %g2, %g1 | |
15502 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
15503 | sub %g1, 100, %g1 | |
15504 | .word 0xb1800001 ! 111: WR_STICK_REG_R wr %r0, %r1, %- | |
15505 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_0_58)+56, 16, 16)) -> intp(0,1,3) | |
15506 | xir_0_58: | |
15507 | .word 0xa9846e90 ! 112: WR_SET_SOFTINT_I wr %r17, 0x0e90, %set_softint | |
15508 | .word 0xd327ee90 ! 113: STF_I st %f9, [0x0e90, %r31] | |
15509 | DS_0_59: | |
15510 | nop | |
15511 | not %g0, %r12 | |
15512 | jmp %r12 | |
15513 | .word 0x9d902005 ! 114: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
15514 | donret_0_60: | |
15515 | nop | |
15516 | rd %pc, %r12 | |
15517 | add %r12, (donretarg_0_60-donret_0_60), %r12 | |
15518 | add %r12, 0x4, %r11 | |
15519 | wrpr %g0, 0x1, %tl | |
15520 | wrpr %g0, %r12, %tpc | |
15521 | wrpr %g0, %r11, %tnpc | |
15522 | wrpr %g0, %r13, %tstate | |
15523 | wrhpr %g0, %r14, %htstate | |
15524 | retry | |
15525 | donretarg_0_60: | |
15526 | .word 0xd2ffee90 ! 115: SWAPA_I swapa %r9, [%r31 + 0x0e90] %asi | |
15527 | .word 0xa190200e ! 116: WRPR_GL_I wrpr %r0, 0x000e, %- | |
15528 | .word 0xd297e020 ! 117: LDUHA_I lduha [%r31, + 0x0020] %asi, %r9 | |
15529 | .word 0xd23fc000 ! 118: STD_R std %r9, [%r31 + %r0] | |
15530 | .word 0x91a00167 ! 119: FABSq dis not found | |
15531 | ||
15532 | memptr_0_61: | |
15533 | set 0x60140000, %r31 | |
15534 | .word 0x85817b63 ! 120: WRCCR_I wr %r5, 0x1b63, %ccr | |
15535 | .word 0xd09ffb63 ! 121: LDDA_I ldda [%r31, + 0xfffffb63] %asi, %r8 | |
15536 | .word 0xa190200a ! 122: WRPR_GL_I wrpr %r0, 0x000a, %- | |
15537 | splash_hpstate_0_62: | |
15538 | .word 0x81982e4d ! 123: WRHPR_HPSTATE_I wrhpr %r0, 0x0e4d, %hpstate | |
15539 | mondo_0_63: | |
15540 | nop | |
15541 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
15542 | ||
15543 | stxa %r1, [%r0+0x3e0] %asi | |
15544 | .word 0x9d908014 ! 124: WRPR_WSTATE_R wrpr %r2, %r20, %wstate | |
15545 | splash_hpstate_0_64: | |
15546 | .word 0x81982a1f ! 125: WRHPR_HPSTATE_I wrhpr %r0, 0x0a1f, %hpstate | |
15547 | .word 0x99450000 ! 126: RD_SET_SOFTINT rd %set_softint, %r12 | |
15548 | .word 0x8790239e ! 127: WRPR_TT_I wrpr %r0, 0x039e, %tt | |
15549 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_0_65)+32, 16, 16)) -> intp(0,1,3) | |
15550 | xir_0_65: | |
15551 | .word 0xa9843820 ! 128: WR_SET_SOFTINT_I wr %r16, 0x1820, %set_softint | |
15552 | nop | |
15553 | mov 0x80, %g3 | |
15554 | stxa %g3, [%g3] 0x57 | |
15555 | .word 0xd85fc000 ! 129: LDX_R ldx [%r31 + %r0], %r12 | |
15556 | intveclr_0_66: | |
15557 | setx 0x28bb3c0d396459d9, %r1, %r28 | |
15558 | stxa %r28, [%g0] 0x72 | |
15559 | .word 0x25400001 ! 130: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
15560 | debug_0_67: | |
15561 | nop | |
15562 | mov 0x38, %r18 | |
15563 | .word 0xe6f00b12 ! 131: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
15564 | memptr_0_68: | |
15565 | set 0x60740000, %r31 | |
15566 | .word 0x8585370a ! 132: WRCCR_I wr %r20, 0x170a, %ccr | |
15567 | tagged_0_69: | |
15568 | taddcctv %r4, 0x1f23, %r21 | |
15569 | .word 0xd807f70a ! 133: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
15570 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
15571 | ta T_CHANGE_NONPRIV ! macro | |
15572 | .word 0x9ba01968 ! 134: FqTOd dis not found | |
15573 | ||
15574 | splash_tba_0_71: | |
15575 | set 0x120000, %r12 | |
15576 | ld [%r12+%r0], %r1 | |
15577 | ta T_CHANGE_PRIV | |
15578 | set 0x120000, %r12 | |
15579 | .word 0x8b90000c ! 135: WRPR_TBA_R wrpr %r0, %r12, %tba | |
15580 | debug_0_72: | |
15581 | nop | |
15582 | mov 8, %r18 | |
15583 | ta T_CHANGE_HPRIV | |
15584 | rd %asi, %r12 | |
15585 | wr %r0, 0x41, %asi | |
15586 | set sync_thr_counter, %r23 | |
15587 | debug_startwait0_72: | |
15588 | mov 0x1, %r2 | |
15589 | cas [%r23],%g0,%r2 !lock | |
15590 | brz,a %r2, continue_debug_0_72 | |
15591 | nop | |
15592 | debug_wait0_72: | |
15593 | ld [%r23], %r2 | |
15594 | brnz %r2, debug_wait0_72 | |
15595 | nop | |
15596 | ba,a debug_startwait0_72 | |
15597 | continue_debug_0_72: | |
15598 | mov 0x0e, %r2 | |
15599 | ldxa [0x50]%asi, %r13 !Running_rw | |
15600 | ldxa [0x58]%asi, %r15 !Running_status | |
15601 | wait_for_stat_0_72: | |
15602 | cmp %r13, %r15 | |
15603 | bne,a wait_for_stat_0_72 | |
15604 | ldxa [0x58]%asi, %r15 !Running_status | |
15605 | stxa %r2, [0x68]%asi | |
15606 | ldxa [0x50]%asi, %r14 !Running_rw | |
15607 | wait_for_debug_0_72: | |
15608 | ldxa [0x58]%asi, %r15 !Running_status | |
15609 | cmp %r14, %r15 | |
15610 | bne,a wait_for_debug_0_72 | |
15611 | ldxa [0x50]%asi, %r14 !Running_rw | |
15612 | stxa %9, [%r18]0x42 | |
15613 | stxa %r13, [0x50] %asi ! Running_rw | |
15614 | st %g0, [%r23] !clear lock | |
15615 | wr %r0, %r12, %asi ! restore %asi | |
15616 | .word 0xdcf00492 ! 136: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
15617 | .word 0x97a18d31 ! 137: FsMULd fsmuld %f6, %f48, %f42 | |
15618 | .word 0xd727f70a ! 138: STF_I st %f11, [0x170a, %r31] | |
15619 | splash_lsu_0_73: | |
15620 | setx 0xf6b2621c27198397, %r1, %r2 | |
15621 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
15622 | .word 0x3d400001 ! 139: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
15623 | .word 0x9b45c000 ! 140: RD_TICK_CMPR_REG rd %-, %r13 | |
15624 | .word 0xa9814012 ! 141: WR_SET_SOFTINT_R wr %r5, %r18, %set_softint | |
15625 | .word 0x99a0c9c9 ! 142: FDIVd fdivd %f34, %f40, %f12 | |
15626 | tagged_0_74: | |
15627 | tsubcctv %r10, 0x1adc, %r10 | |
15628 | .word 0xd807f70a ! 143: LDUW_I lduw [%r31 + 0xfffff70a], %r12 | |
15629 | DS_0_75: | |
15630 | nop | |
15631 | not %g0, %r12 | |
15632 | jmp %r12 | |
15633 | .word 0x9d902002 ! 144: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
15634 | donret_0_76: | |
15635 | nop | |
15636 | rd %pc, %r12 | |
15637 | add %r12, (donretarg_0_76-donret_0_76), %r12 | |
15638 | add %r12, 0x4, %r11 | |
15639 | wrpr %g0, 0x3, %tl | |
15640 | wrpr %g0, %r12, %tpc | |
15641 | wrpr %g0, %r11, %tnpc | |
15642 | wrpr %g0, %r13, %tstate | |
15643 | wrhpr %g0, %r14, %htstate | |
15644 | retry | |
15645 | donretarg_0_76: | |
15646 | .word 0xd8fff70a ! 145: SWAPA_I swapa %r12, [%r31 + 0xfffff70a] %asi | |
15647 | .word 0x8d90366d ! 146: WRPR_PSTATE_I wrpr %r0, 0x166d, %pstate | |
15648 | .word 0x2c700001 ! 147: BPNEG <illegal instruction> | |
15649 | .word 0x8790219a ! 148: WRPR_TT_I wrpr %r0, 0x019a, %tt | |
15650 | .word 0x3a700001 ! 149: BPCC <illegal instruction> | |
15651 | change_to_randtl_0_77: | |
15652 | ta T_CHANGE_HPRIV ! macro | |
15653 | done_change_to_randtl_0_77: | |
15654 | .word 0x8f902001 ! 150: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
15655 | splash_tba_0_78: | |
15656 | set 0x003c0000, %r12 | |
15657 | st %r1, [%r12+%r0] | |
15658 | ta T_CHANGE_PRIV | |
15659 | set 0x003c0000, %r12 | |
15660 | .word 0x8b90000c ! 151: WRPR_TBA_R wrpr %r0, %r12, %tba | |
15661 | debug_0_79: | |
15662 | nop | |
15663 | mov 0x38, %r18 | |
15664 | .word 0xe6f00b12 ! 152: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
15665 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_80) + 48, 16, 16)) -> intp(0,0,31) | |
15666 | intvec_0_80: | |
15667 | .word 0x39400001 ! 153: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
15668 | splash_tba_0_81: | |
15669 | set 0x003c0000, %r12 | |
15670 | ld [%r12+%r0], %r1 | |
15671 | ta T_CHANGE_PRIV | |
15672 | set 0x003c0000, %r12 | |
15673 | .word 0x8b90000c ! 154: WRPR_TBA_R wrpr %r0, %r12, %tba | |
15674 | .word 0xa985000d ! 155: WR_SET_SOFTINT_R wr %r20, %r13, %set_softint | |
15675 | splash_lsu_0_82: | |
15676 | setx 0xcaa3144d24254f7f, %r1, %r2 | |
15677 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
15678 | .word 0x3d400001 ! 156: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
15679 | splash_lsu_0_83: | |
15680 | setx 0x4d9fb3a8567e6a43, %r1, %r2 | |
15681 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
15682 | .word 0x3d400001 ! 157: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
15683 | mov (0+1), %r10 | |
15684 | ta T_CHANGE_HPRIV | |
15685 | set sync_thr_counter2, %r23 | |
15686 | cas [%r23],%g0,%r10 !lock | |
15687 | brnz %r10, sma_0_84 | |
15688 | rd %asi, %r12 | |
15689 | wr %g0, 0x40, %asi | |
15690 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
15691 | set 0x21fff, %g1 | |
15692 | stxa %g1, [%g0 + 0x80] %asi | |
15693 | wr %r12, %g0, %asi | |
15694 | st %g0, [%r23] | |
15695 | sma_0_84: | |
15696 | ta T_CHANGE_NONHPRIV | |
15697 | .word 0xd9e7e00d ! 158: CASA_R casa [%r31] %asi, %r13, %r12 | |
15698 | splash_tba_0_85: | |
15699 | set 0x120000, %r12 | |
15700 | ld [%r12+%r0], %r1 | |
15701 | ta T_CHANGE_PRIV | |
15702 | set 0x120000, %r12 | |
15703 | .word 0x8b90000c ! 159: WRPR_TBA_R wrpr %r0, %r12, %tba | |
15704 | .word 0x87802088 ! 160: WRASI_I wr %r0, 0x0088, %asi | |
15705 | .word 0x8d9035f4 ! 161: WRPR_PSTATE_I wrpr %r0, 0x15f4, %pstate | |
15706 | .word 0xa1902001 ! 162: WRPR_GL_I wrpr %r0, 0x0001, %- | |
15707 | .word 0xd93ff70a ! 163: STDF_I std %f12, [0x170a, %r31] | |
15708 | cwp_0_86: | |
15709 | set user_data_start, %o7 | |
15710 | .word 0x93902005 ! 164: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
15711 | ta T_CHANGE_HPRIV | |
15712 | mov (0+1), %r10 | |
15713 | set sync_thr_counter1, %r23 | |
15714 | cas [%r23],%g0,%r10 !lock | |
15715 | brnz %r10, cwq_0_87 | |
15716 | rd %asi, %r12 | |
15717 | wr %g0, 0x40, %asi | |
15718 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
15719 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
15720 | cmp %l1, 1 | |
15721 | bne cwq_0_87 | |
15722 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
15723 | sub %l2, 0x40, %l2 | |
15724 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
15725 | wr %r12, %g0, %asi | |
15726 | st %g0, [%r23] | |
15727 | cwq_0_87: | |
15728 | ta T_CHANGE_NONHPRIV | |
15729 | .word 0xa5414000 ! 165: RDPC rd %pc, %r18 | |
15730 | DS_0_88: | |
15731 | .word 0x95a449c5 ! 1: FDIVd fdivd %f48, %f36, %f10 | |
15732 | .word 0xbfe7c000 ! 166: SAVE_R save %r31, %r0, %r31 | |
15733 | cwp_0_89: | |
15734 | set user_data_start, %o7 | |
15735 | .word 0x93902005 ! 167: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
15736 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
15737 | ta T_CHANGE_NONPRIV ! macro | |
15738 | .word 0x91a01964 ! 168: FqTOd dis not found | |
15739 | ||
15740 | splash_cmpr_0_91: | |
15741 | setx 0x56fb45be9523a3e7, %g2, %g1 | |
15742 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
15743 | sub %g1, 100, %g1 | |
15744 | .word 0xb1800001 ! 169: WR_STICK_REG_R wr %r0, %r1, %- | |
15745 | debug_0_92: | |
15746 | nop | |
15747 | mov 0x38, %r18 | |
15748 | .word 0xfef00b12 ! 170: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
15749 | splash_tba_0_93: | |
15750 | set 0x003c0000, %r12 | |
15751 | ld [%r12+%r0], %r1 | |
15752 | ta T_CHANGE_PRIV | |
15753 | set 0x003c0000, %r12 | |
15754 | .word 0x8b90000c ! 171: WRPR_TBA_R wrpr %r0, %r12, %tba | |
15755 | splash_cmpr_0_94: | |
15756 | setx 0x375fa641fd9cce32, %g2, %g1 | |
15757 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
15758 | sub %g1, 100, %g1 | |
15759 | .word 0xb1800001 ! 172: WR_STICK_REG_R wr %r0, %r1, %- | |
15760 | .word 0xa1902006 ! 173: WRPR_GL_I wrpr %r0, 0x0006, %- | |
15761 | otherw | |
15762 | mov 0x32, %r30 | |
15763 | .word 0x91d0001e ! 174: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
15764 | .word 0x2c700001 ! 175: BPNEG <illegal instruction> | |
15765 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
15766 | ta T_CHANGE_NONHPRIV ! macro | |
15767 | .word 0x97a01968 ! 176: FqTOd dis not found | |
15768 | ||
15769 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
15770 | ta T_CHANGE_NONPRIV ! macro | |
15771 | .word 0xa56c64f3 ! 177: SDIVX_I sdivx %r17, 0x04f3, %r18 | |
15772 | tagged_0_97: | |
15773 | taddcctv %r15, 0x14f6, %r22 | |
15774 | .word 0xe407e4f3 ! 178: LDUW_I lduw [%r31 + 0x04f3], %r18 | |
15775 | debug_0_98: | |
15776 | nop | |
15777 | mov 0x38, %r18 | |
15778 | .word 0xfef00b12 ! 179: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
15779 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
15780 | ta T_CHANGE_NONHPRIV ! macro | |
15781 | .word 0x936b3d2d ! 180: SDIVX_I sdivx %r12, 0xfffffd2d, %r9 | |
15782 | ta T_CHANGE_HPRIV | |
15783 | mov (0+1), %r10 | |
15784 | set sync_thr_counter1, %r23 | |
15785 | cas [%r23],%g0,%r10 !lock | |
15786 | brnz %r10, cwq_0_100 | |
15787 | rd %asi, %r12 | |
15788 | wr %g0, 0x40, %asi | |
15789 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
15790 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
15791 | cmp %l1, 1 | |
15792 | bne cwq_0_100 | |
15793 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
15794 | sub %l2, 0x40, %l2 | |
15795 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
15796 | wr %r12, %g0, %asi | |
15797 | st %g0, [%r23] | |
15798 | cwq_0_100: | |
15799 | ta T_CHANGE_NONHPRIV | |
15800 | .word 0x95414000 ! 181: RDPC rd %pc, %r10 | |
15801 | intveclr_0_101: | |
15802 | setx 0xdc95317172f5f5e3, %r1, %r28 | |
15803 | stxa %r28, [%g0] 0x72 | |
15804 | .word 0x25400001 ! 182: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
15805 | .word 0x87802058 ! 183: WRASI_I wr %r0, 0x0058, %asi | |
15806 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
15807 | ta T_CHANGE_NONPRIV ! macro | |
15808 | .word 0x9b6c2125 ! 184: SDIVX_I sdivx %r16, 0x0125, %r13 | |
15809 | .word 0x87902279 ! 185: WRPR_TT_I wrpr %r0, 0x0279, %tt | |
15810 | .word 0xdac804a0 ! 186: LDSBA_R ldsba [%r0, %r0] 0x25, %r13 | |
15811 | debug_0_103: | |
15812 | nop | |
15813 | mov 0x38, %r18 | |
15814 | .word 0xe6f00b12 ! 187: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
15815 | .word 0xdacfe010 ! 188: LDSBA_I ldsba [%r31, + 0x0010] %asi, %r13 | |
15816 | intveclr_0_104: | |
15817 | setx 0x3befcf33f5a29baf, %r1, %r28 | |
15818 | stxa %r28, [%g0] 0x72 | |
15819 | .word 0x25400001 ! 189: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
15820 | .word 0x83d02033 ! 190: Tcc_I te icc_or_xcc, %r0 + 51 | |
15821 | otherw | |
15822 | mov 0x34, %r30 | |
15823 | .word 0x91d0001e ! 191: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
15824 | splash_hpstate_0_105: | |
15825 | .word 0x8198256e ! 192: WRHPR_HPSTATE_I wrhpr %r0, 0x056e, %hpstate | |
15826 | debug_0_106: | |
15827 | nop | |
15828 | mov 0x38, %r18 | |
15829 | .word 0xe6f00b12 ! 193: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
15830 | mov (0+1), %r10 | |
15831 | ta T_CHANGE_HPRIV | |
15832 | set sync_thr_counter2, %r23 | |
15833 | cas [%r23],%g0,%r10 !lock | |
15834 | brnz %r10, sma_0_107 | |
15835 | rd %asi, %r12 | |
15836 | wr %g0, 0x40, %asi | |
15837 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
15838 | set 0x21fff, %g1 | |
15839 | stxa %g1, [%g0 + 0x80] %asi | |
15840 | wr %r12, %g0, %asi | |
15841 | st %g0, [%r23] | |
15842 | sma_0_107: | |
15843 | ta T_CHANGE_NONHPRIV | |
15844 | .word 0xdbe7e008 ! 194: CASA_R casa [%r31] %asi, %r8, %r13 | |
15845 | nop | |
15846 | mov 0x80, %g3 | |
15847 | stxa %g3, [%g3] 0x57 | |
15848 | .word 0xda5fc000 ! 195: LDX_R ldx [%r31 + %r0], %r13 | |
15849 | splash_lsu_0_108: | |
15850 | setx 0xb197650520fcb60d, %r1, %r2 | |
15851 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
15852 | .word 0x3d400001 ! 196: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
15853 | splash_tba_0_109: | |
15854 | set 0x120000, %r12 | |
15855 | ld [%r12+%r0], %r1 | |
15856 | ta T_CHANGE_PRIV | |
15857 | set 0x120000, %r12 | |
15858 | .word 0x8b90000c ! 197: WRPR_TBA_R wrpr %r0, %r12, %tba | |
15859 | .word 0x9194365b ! 198: WRPR_PIL_I wrpr %r16, 0x165b, %pil | |
15860 | ta T_CHANGE_HPRIV | |
15861 | mov (0+1), %r10 | |
15862 | set sync_thr_counter1, %r23 | |
15863 | cas [%r23],%g0,%r10 !lock | |
15864 | brnz %r10, cwq_0_110 | |
15865 | rd %asi, %r12 | |
15866 | wr %g0, 0x40, %asi | |
15867 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
15868 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
15869 | cmp %l1, 1 | |
15870 | bne cwq_0_110 | |
15871 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
15872 | sub %l2, 0x40, %l2 | |
15873 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
15874 | wr %r12, %g0, %asi | |
15875 | st %g0, [%r23] | |
15876 | cwq_0_110: | |
15877 | ta T_CHANGE_NONHPRIV | |
15878 | .word 0x93414000 ! 199: RDPC rd %pc, %r9 | |
15879 | .word 0x97a009c8 ! 200: FDIVd fdivd %f0, %f8, %f42 | |
15880 | debug_0_111: | |
15881 | nop | |
15882 | mov 8, %r18 | |
15883 | ta T_CHANGE_HPRIV | |
15884 | rd %asi, %r12 | |
15885 | wr %r0, 0x41, %asi | |
15886 | set sync_thr_counter, %r23 | |
15887 | debug_startwait0_111: | |
15888 | mov 0x1, %r2 | |
15889 | cas [%r23],%g0,%r2 !lock | |
15890 | brz,a %r2, continue_debug_0_111 | |
15891 | nop | |
15892 | debug_wait0_111: | |
15893 | ld [%r23], %r2 | |
15894 | brnz %r2, debug_wait0_111 | |
15895 | nop | |
15896 | ba,a debug_startwait0_111 | |
15897 | continue_debug_0_111: | |
15898 | mov 0x0e, %r2 | |
15899 | ldxa [0x50]%asi, %r13 !Running_rw | |
15900 | ldxa [0x58]%asi, %r15 !Running_status | |
15901 | wait_for_stat_0_111: | |
15902 | cmp %r13, %r15 | |
15903 | bne,a wait_for_stat_0_111 | |
15904 | ldxa [0x58]%asi, %r15 !Running_status | |
15905 | stxa %r2, [0x68]%asi | |
15906 | ldxa [0x50]%asi, %r14 !Running_rw | |
15907 | wait_for_debug_0_111: | |
15908 | ldxa [0x58]%asi, %r15 !Running_status | |
15909 | cmp %r14, %r15 | |
15910 | bne,a wait_for_debug_0_111 | |
15911 | ldxa [0x50]%asi, %r14 !Running_rw | |
15912 | stxa %12, [%r18]0x42 | |
15913 | stxa %r13, [0x50] %asi ! Running_rw | |
15914 | st %g0, [%r23] !clear lock | |
15915 | wr %r0, %r12, %asi ! restore %asi | |
15916 | .word 0xdef00492 ! 201: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
15917 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
15918 | ta T_CHANGE_NONPRIV ! macro | |
15919 | .word 0x9ba01969 ! 202: FqTOd dis not found | |
15920 | ||
15921 | DS_0_113: | |
15922 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
15923 | pdist %f6, %f14, %f2 | |
15924 | .word 0x97b34311 ! 203: ALIGNADDRESS alignaddr %r13, %r17, %r11 | |
15925 | splash_tba_0_114: | |
15926 | set 0x003c0000, %r12 | |
15927 | st %r1, [%r12+%r0] | |
15928 | ta T_CHANGE_PRIV | |
15929 | set 0x003c0000, %r12 | |
15930 | .word 0x8b90000c ! 204: WRPR_TBA_R wrpr %r0, %r12, %tba | |
15931 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
15932 | ta T_CHANGE_NONHPRIV ! macro | |
15933 | .word 0xa3a01963 ! 205: FqTOd dis not found | |
15934 | ||
15935 | intveclr_0_116: | |
15936 | setx 0xe05b2f0e6c55294c, %r1, %r28 | |
15937 | stxa %r28, [%g0] 0x72 | |
15938 | .word 0x25400001 ! 206: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
15939 | nop | |
15940 | mov 0x80, %g3 | |
15941 | stxa %g3, [%g3] 0x57 | |
15942 | .word 0xe25fc000 ! 207: LDX_R ldx [%r31 + %r0], %r17 | |
15943 | splash_hpstate_0_117: | |
15944 | .word 0x81982526 ! 208: WRHPR_HPSTATE_I wrhpr %r0, 0x0526, %hpstate | |
15945 | .word 0x87902085 ! 209: WRPR_TT_I wrpr %r0, 0x0085, %tt | |
15946 | debug_0_118: | |
15947 | nop | |
15948 | mov 0x38, %r18 | |
15949 | .word 0xe6f00b12 ! 210: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
15950 | .word 0xad8533f3 ! 211: WR_SOFTINT_REG_I wr %r20, 0x13f3, %softint | |
15951 | .word 0x8d902c11 ! 212: WRPR_PSTATE_I wrpr %r0, 0x0c11, %pstate | |
15952 | debug_0_119: | |
15953 | nop | |
15954 | mov 0x38, %r18 | |
15955 | .word 0xfef00b12 ! 213: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
15956 | .word 0x91d02033 ! 214: Tcc_I ta icc_or_xcc, %r0 + 51 | |
15957 | mov (0+1), %r10 | |
15958 | ta T_CHANGE_HPRIV | |
15959 | set sync_thr_counter2, %r23 | |
15960 | cas [%r23],%g0,%r10 !lock | |
15961 | brnz %r10, sma_0_120 | |
15962 | rd %asi, %r12 | |
15963 | wr %g0, 0x40, %asi | |
15964 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
15965 | set 0x21fff, %g1 | |
15966 | stxa %g1, [%g0 + 0x80] %asi | |
15967 | wr %r12, %g0, %asi | |
15968 | st %g0, [%r23] | |
15969 | sma_0_120: | |
15970 | ta T_CHANGE_NONHPRIV | |
15971 | .word 0xe3e7e003 ! 215: CASA_R casa [%r31] %asi, %r3, %r17 | |
15972 | splash_lsu_0_121: | |
15973 | setx 0xb847fc49ff198089, %r1, %r2 | |
15974 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
15975 | .word 0x3d400001 ! 216: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
15976 | .word 0xe337c000 ! 217: STQF_R - %f17, [%r0, %r31] | |
15977 | splash_cmpr_0_122: | |
15978 | setx 0x22e028bcbe650269, %g2, %g1 | |
15979 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
15980 | sub %g1, 100, %g1 | |
15981 | .word 0xb1800001 ! 218: WR_STICK_REG_R wr %r0, %r1, %- | |
15982 | intveclr_0_123: | |
15983 | setx 0x5ff71eec1345225e, %r1, %r28 | |
15984 | stxa %r28, [%g0] 0x72 | |
15985 | .word 0x25400001 ! 219: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
15986 | nop | |
15987 | mov 0x80, %g3 | |
15988 | stxa %g3, [%g3] 0x5f | |
15989 | .word 0xe25fc000 ! 220: LDX_R ldx [%r31 + %r0], %r17 | |
15990 | splash_cmpr_0_124: | |
15991 | setx 0xbffaab571fca4a71, %g2, %g1 | |
15992 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
15993 | sub %g1, 100, %g1 | |
15994 | .word 0xb1800001 ! 221: WR_STICK_REG_R wr %r0, %r1, %- | |
15995 | splash_cmpr_0_125: | |
15996 | setx 0xa5993e4030c2bdd2, %g2, %g1 | |
15997 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
15998 | sub %g1, 100, %g1 | |
15999 | .word 0xb1800001 ! 222: WR_STICK_REG_R wr %r0, %r1, %- | |
16000 | .word 0xe31fc000 ! 223: LDDF_R ldd [%r31, %r0], %f17 | |
16001 | tagged_0_126: | |
16002 | tsubcctv %r12, 0x15a1, %r17 | |
16003 | .word 0xe207f3f3 ! 224: LDUW_I lduw [%r31 + 0xfffff3f3], %r17 | |
16004 | splash_tba_0_127: | |
16005 | set 0x120000, %r12 | |
16006 | ld [%r12+%r0], %r1 | |
16007 | ta T_CHANGE_PRIV | |
16008 | set 0x120000, %r12 | |
16009 | .word 0x8b90000c ! 225: WRPR_TBA_R wrpr %r0, %r12, %tba | |
16010 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
16011 | ta T_CHANGE_NONPRIV ! macro | |
16012 | .word 0x99a0196d ! 226: FqTOd dis not found | |
16013 | ||
16014 | debug_0_129: | |
16015 | nop | |
16016 | mov 8, %r18 | |
16017 | ta T_CHANGE_HPRIV | |
16018 | rd %asi, %r12 | |
16019 | wr %r0, 0x41, %asi | |
16020 | set sync_thr_counter, %r23 | |
16021 | debug_startwait0_129: | |
16022 | mov 0x1, %r2 | |
16023 | cas [%r23],%g0,%r2 !lock | |
16024 | brz,a %r2, continue_debug_0_129 | |
16025 | nop | |
16026 | debug_wait0_129: | |
16027 | ld [%r23], %r2 | |
16028 | brnz %r2, debug_wait0_129 | |
16029 | nop | |
16030 | ba,a debug_startwait0_129 | |
16031 | continue_debug_0_129: | |
16032 | mov 0x0e, %r2 | |
16033 | ldxa [0x50]%asi, %r13 !Running_rw | |
16034 | ldxa [0x58]%asi, %r15 !Running_status | |
16035 | wait_for_stat_0_129: | |
16036 | cmp %r13, %r15 | |
16037 | bne,a wait_for_stat_0_129 | |
16038 | ldxa [0x58]%asi, %r15 !Running_status | |
16039 | stxa %r2, [0x68]%asi | |
16040 | ldxa [0x50]%asi, %r14 !Running_rw | |
16041 | wait_for_debug_0_129: | |
16042 | ldxa [0x58]%asi, %r15 !Running_status | |
16043 | cmp %r14, %r15 | |
16044 | bne,a wait_for_debug_0_129 | |
16045 | ldxa [0x50]%asi, %r14 !Running_rw | |
16046 | stxa %10, [%r18]0x42 | |
16047 | stxa %r13, [0x50] %asi ! Running_rw | |
16048 | st %g0, [%r23] !clear lock | |
16049 | wr %r0, %r12, %asi ! restore %asi | |
16050 | .word 0xe2f00492 ! 227: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
16051 | tagged_0_130: | |
16052 | tsubcctv %r11, 0x1a9f, %r17 | |
16053 | .word 0xd807f3f3 ! 228: LDUW_I lduw [%r31 + 0xfffff3f3], %r12 | |
16054 | .word 0x8d902840 ! 229: WRPR_PSTATE_I wrpr %r0, 0x0840, %pstate | |
16055 | .word 0x91a00167 ! 230: FABSq dis not found | |
16056 | ||
16057 | debug_0_131: | |
16058 | nop | |
16059 | mov 0x38, %r18 | |
16060 | .word 0xfef00b12 ! 231: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
16061 | .word 0x34700001 ! 232: BPG <illegal instruction> | |
16062 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
16063 | ta T_CHANGE_NONPRIV ! macro | |
16064 | .word 0x996b3212 ! 233: SDIVX_I sdivx %r12, 0xfffff212, %r12 | |
16065 | tagged_0_133: | |
16066 | taddcctv %r25, 0x193b, %r12 | |
16067 | .word 0xd807f212 ! 234: LDUW_I lduw [%r31 + 0xfffff212], %r12 | |
16068 | ta T_CHANGE_HPRIV | |
16069 | mov (0+1), %r10 | |
16070 | set sync_thr_counter1, %r23 | |
16071 | cas [%r23],%g0,%r10 !lock | |
16072 | brnz %r10, cwq_0_134 | |
16073 | rd %asi, %r12 | |
16074 | wr %g0, 0x40, %asi | |
16075 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
16076 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
16077 | cmp %l1, 1 | |
16078 | bne cwq_0_134 | |
16079 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
16080 | sub %l2, 0x40, %l2 | |
16081 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
16082 | wr %r12, %g0, %asi | |
16083 | st %g0, [%r23] | |
16084 | cwq_0_134: | |
16085 | ta T_CHANGE_NONHPRIV | |
16086 | .word 0xa3414000 ! 235: RDPC rd %pc, %r17 | |
16087 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
16088 | ta T_CHANGE_NONHPRIV ! macro | |
16089 | .word 0xa368a769 ! 236: SDIVX_I sdivx %r2, 0x0769, %r17 | |
16090 | .word 0x8d902fc3 ! 237: WRPR_PSTATE_I wrpr %r0, 0x0fc3, %pstate | |
16091 | DS_0_136: | |
16092 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
16093 | .word 0xbfe7c000 ! 238: SAVE_R save %r31, %r0, %r31 | |
16094 | splash_tba_0_137: | |
16095 | set 0x120000, %r12 | |
16096 | ld [%r12+%r0], %r1 | |
16097 | ta T_CHANGE_PRIV | |
16098 | set 0x120000, %r12 | |
16099 | .word 0x8b90000c ! 239: WRPR_TBA_R wrpr %r0, %r12, %tba | |
16100 | .word 0x97480000 ! 240: RDHPR_HPSTATE rdhpr %hpstate, %r11 | |
16101 | splash_tba_0_138: | |
16102 | set 0x003c0000, %r12 | |
16103 | st %r1, [%r12+%r0] | |
16104 | ta T_CHANGE_PRIV | |
16105 | set 0x003c0000, %r12 | |
16106 | .word 0x8b90000c ! 241: WRPR_TBA_R wrpr %r0, %r12, %tba | |
16107 | debug_0_139: | |
16108 | nop | |
16109 | mov 0x38, %r18 | |
16110 | .word 0xe6f00b12 ! 242: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
16111 | .word 0xd737e769 ! 243: STQF_I - %f11, [0x0769, %r31] | |
16112 | .word 0xa190200a ! 244: WRPR_GL_I wrpr %r0, 0x000a, %- | |
16113 | debug_0_140: | |
16114 | nop | |
16115 | mov 0x38, %r18 | |
16116 | .word 0xfef00b12 ! 245: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
16117 | .word 0xd66fe769 ! 246: LDSTUB_I ldstub %r11, [%r31 + 0x0769] | |
16118 | .word 0xa5a00173 ! 247: FABSq dis not found | |
16119 | ||
16120 | .word 0x3a700001 ! 248: BPCC <illegal instruction> | |
16121 | cwp_0_141: | |
16122 | set user_data_start, %o7 | |
16123 | .word 0x93902006 ! 249: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
16124 | mondo_0_142: | |
16125 | nop | |
16126 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
16127 | ||
16128 | stxa %r6, [%r0+0x3d8] %asi | |
16129 | .word 0x9d92c008 ! 250: WRPR_WSTATE_R wrpr %r11, %r8, %wstate | |
16130 | .word 0xa190200f ! 251: WRPR_GL_I wrpr %r0, 0x000f, %- | |
16131 | .word 0xe48008a0 ! 252: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
16132 | debug_0_143: | |
16133 | nop | |
16134 | mov 0x38, %r18 | |
16135 | .word 0xfef00b12 ! 253: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
16136 | mov (0+1), %r10 | |
16137 | ta T_CHANGE_HPRIV | |
16138 | set sync_thr_counter2, %r23 | |
16139 | cas [%r23],%g0,%r10 !lock | |
16140 | brnz %r10, sma_0_144 | |
16141 | rd %asi, %r12 | |
16142 | wr %g0, 0x40, %asi | |
16143 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
16144 | set 0x21fff, %g1 | |
16145 | stxa %g1, [%g0 + 0x80] %asi | |
16146 | wr %r12, %g0, %asi | |
16147 | st %g0, [%r23] | |
16148 | sma_0_144: | |
16149 | ta T_CHANGE_NONHPRIV | |
16150 | .word 0xe5e7e008 ! 254: CASA_R casa [%r31] %asi, %r8, %r18 | |
16151 | .word 0xa1902008 ! 255: WRPR_GL_I wrpr %r0, 0x0008, %- | |
16152 | debug_0_145: | |
16153 | nop | |
16154 | mov 0x38, %r18 | |
16155 | .word 0xe6f00b12 ! 256: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
16156 | invalw | |
16157 | mov 0x31, %r30 | |
16158 | .word 0x91d0001e ! 257: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
16159 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
16160 | ta T_CHANGE_NONPRIV ! macro | |
16161 | .word 0xa5a01973 ! 258: FqTOd dis not found | |
16162 | ||
16163 | .word 0xe46fe769 ! 259: LDSTUB_I ldstub %r18, [%r31 + 0x0769] | |
16164 | .word 0x8d903f3a ! 260: WRPR_PSTATE_I wrpr %r0, 0x1f3a, %pstate | |
16165 | mondo_0_147: | |
16166 | nop | |
16167 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
16168 | ||
16169 | stxa %r18, [%r0+0x3d8] %asi | |
16170 | .word 0x9d94c013 ! 261: WRPR_WSTATE_R wrpr %r19, %r19, %wstate | |
16171 | cmp_0_148: | |
16172 | nop | |
16173 | ta T_CHANGE_HPRIV | |
16174 | rd %asi, %r12 | |
16175 | wr %r0, 0x41, %asi | |
16176 | set sync_thr_counter, %r23 | |
16177 | cmp_startwait0_148: | |
16178 | mov 1, %r10 | |
16179 | cas [%r23],%g0,%r10 !lock | |
16180 | brz,a %r10, continue_cmp_0_148 | |
16181 | nop | |
16182 | cmp_wait0_148: | |
16183 | ld [%r23], %r10 | |
16184 | brnz %r10, cmp_wait0_148 | |
16185 | nop | |
16186 | ba,a cmp_startwait0_148 | |
16187 | continue_cmp_0_148: | |
16188 | ldxa [0x50]%asi, %r13 !Running_rw | |
16189 | ldxa [0x58]%asi, %r14 !Running_status | |
16190 | xnor %r14, %r13, %r14 !Bits equal | |
16191 | and %r14, 0xa0, %r14 !Apply mask to random .. | |
16192 | stxa %r14, [0x60]%asi | |
16193 | st %g0, [%r23] !clear lock | |
16194 | wr %r12, %r0, %asi | |
16195 | ta T_CHANGE_NONHPRIV | |
16196 | .word 0x91920013 ! 262: WRPR_PIL_R wrpr %r8, %r19, %pil | |
16197 | nop | |
16198 | mov 0x80, %g3 | |
16199 | stxa %g3, [%g3] 0x57 | |
16200 | .word 0xe45fc000 ! 263: LDX_R ldx [%r31 + %r0], %r18 | |
16201 | setx 0xfed9a4fc5e9d9b7d, %r1, %r28 | |
16202 | stxa %r28, [%g0] 0x73 | |
16203 | intvec_0_149: | |
16204 | .word 0x39400001 ! 264: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
16205 | mov (0+1), %r10 | |
16206 | ta T_CHANGE_HPRIV | |
16207 | set sync_thr_counter2, %r23 | |
16208 | cas [%r23],%g0,%r10 !lock | |
16209 | brnz %r10, sma_0_150 | |
16210 | rd %asi, %r12 | |
16211 | wr %g0, 0x40, %asi | |
16212 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
16213 | set 0x21fff, %g1 | |
16214 | stxa %g1, [%g0 + 0x80] %asi | |
16215 | wr %r12, %g0, %asi | |
16216 | st %g0, [%r23] | |
16217 | sma_0_150: | |
16218 | ta T_CHANGE_NONHPRIV | |
16219 | .word 0xe5e7e013 ! 265: CASA_R casa [%r31] %asi, %r19, %r18 | |
16220 | .word 0xe497e000 ! 266: LDUHA_I lduha [%r31, + 0x0000] %asi, %r18 | |
16221 | DS_0_151: | |
16222 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
16223 | pdist %f0, %f10, %f10 | |
16224 | .word 0xa9b4030a ! 267: ALIGNADDRESS alignaddr %r16, %r10, %r20 | |
16225 | .word 0x8d902a7b ! 268: WRPR_PSTATE_I wrpr %r0, 0x0a7b, %pstate | |
16226 | splash_lsu_0_152: | |
16227 | setx 0x62f78a00826ffb75, %r1, %r2 | |
16228 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
16229 | .word 0x3d400001 ! 269: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
16230 | debug_0_153: | |
16231 | nop | |
16232 | mov 8, %r18 | |
16233 | ta T_CHANGE_HPRIV | |
16234 | rd %asi, %r12 | |
16235 | wr %r0, 0x41, %asi | |
16236 | set sync_thr_counter, %r23 | |
16237 | debug_startwait0_153: | |
16238 | mov 0x1, %r2 | |
16239 | cas [%r23],%g0,%r2 !lock | |
16240 | brz,a %r2, continue_debug_0_153 | |
16241 | nop | |
16242 | debug_wait0_153: | |
16243 | ld [%r23], %r2 | |
16244 | brnz %r2, debug_wait0_153 | |
16245 | nop | |
16246 | ba,a debug_startwait0_153 | |
16247 | continue_debug_0_153: | |
16248 | mov 0x0e, %r2 | |
16249 | ldxa [0x50]%asi, %r13 !Running_rw | |
16250 | ldxa [0x58]%asi, %r15 !Running_status | |
16251 | wait_for_stat_0_153: | |
16252 | cmp %r13, %r15 | |
16253 | bne,a wait_for_stat_0_153 | |
16254 | ldxa [0x58]%asi, %r15 !Running_status | |
16255 | stxa %r2, [0x68]%asi | |
16256 | ldxa [0x50]%asi, %r14 !Running_rw | |
16257 | wait_for_debug_0_153: | |
16258 | ldxa [0x58]%asi, %r15 !Running_status | |
16259 | cmp %r14, %r15 | |
16260 | bne,a wait_for_debug_0_153 | |
16261 | ldxa [0x50]%asi, %r14 !Running_rw | |
16262 | stxa %20, [%r18]0x42 | |
16263 | stxa %r13, [0x50] %asi ! Running_rw | |
16264 | st %g0, [%r23] !clear lock | |
16265 | wr %r0, %r12, %asi ! restore %asi | |
16266 | .word 0xd0f00492 ! 270: STXA_R stxa %r8, [%r0 + %r18] 0x24 | |
16267 | mov (0+1), %r10 | |
16268 | ta T_CHANGE_HPRIV | |
16269 | set sync_thr_counter2, %r23 | |
16270 | cas [%r23],%g0,%r10 !lock | |
16271 | brnz %r10, sma_0_154 | |
16272 | rd %asi, %r12 | |
16273 | wr %g0, 0x40, %asi | |
16274 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
16275 | set 0x21fff, %g1 | |
16276 | stxa %g1, [%g0 + 0x80] %asi | |
16277 | wr %r12, %g0, %asi | |
16278 | st %g0, [%r23] | |
16279 | sma_0_154: | |
16280 | ta T_CHANGE_NONHPRIV | |
16281 | .word 0xe9e7e00a ! 271: CASA_R casa [%r31] %asi, %r10, %r20 | |
16282 | splash_tba_0_155: | |
16283 | set 0x120000, %r12 | |
16284 | ld [%r12+%r0], %r1 | |
16285 | ta T_CHANGE_PRIV | |
16286 | set 0x120000, %r12 | |
16287 | .word 0x8b90000c ! 272: WRPR_TBA_R wrpr %r0, %r12, %tba | |
16288 | DS_0_156: | |
16289 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
16290 | .word 0xb7574d09 ! Random illegal ? | |
16291 | .word 0xa9a0c9c7 ! 1: FDIVd fdivd %f34, %f38, %f20 | |
16292 | .word 0xa1a4082b ! 273: FADDs fadds %f16, %f11, %f16 | |
16293 | cmp_0_157: | |
16294 | nop | |
16295 | ta T_CHANGE_HPRIV | |
16296 | rd %asi, %r12 | |
16297 | wr %r0, 0x41, %asi | |
16298 | set sync_thr_counter, %r23 | |
16299 | cmp_startwait0_157: | |
16300 | mov 1, %r10 | |
16301 | cas [%r23],%g0,%r10 !lock | |
16302 | brz,a %r10, continue_cmp_0_157 | |
16303 | nop | |
16304 | cmp_wait0_157: | |
16305 | ld [%r23], %r10 | |
16306 | brnz %r10, cmp_wait0_157 | |
16307 | nop | |
16308 | ba,a cmp_startwait0_157 | |
16309 | continue_cmp_0_157: | |
16310 | ldxa [0x50]%asi, %r13 !Running_rw | |
16311 | ldxa [0x58]%asi, %r14 !Running_status | |
16312 | xnor %r14, %r13, %r14 !Bits equal | |
16313 | and %r14, 0x4c, %r14 !Apply mask to random .. | |
16314 | stxa %r14, [0x68]%asi | |
16315 | st %g0, [%r23] !clear lock | |
16316 | wr %r12, %r0, %asi | |
16317 | ta T_CHANGE_NONHPRIV | |
16318 | .word 0x91934004 ! 274: WRPR_PIL_R wrpr %r13, %r4, %pil | |
16319 | .word 0x8d903d07 ! 275: WRPR_PSTATE_I wrpr %r0, 0x1d07, %pstate | |
16320 | .word 0xe0c004a0 ! 276: LDSWA_R ldswa [%r0, %r0] 0x25, %r16 | |
16321 | ta T_CHANGE_HPRIV | |
16322 | mov (0+1), %r10 | |
16323 | set sync_thr_counter1, %r23 | |
16324 | cas [%r23],%g0,%r10 !lock | |
16325 | brnz %r10, cwq_0_158 | |
16326 | rd %asi, %r12 | |
16327 | wr %g0, 0x40, %asi | |
16328 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
16329 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
16330 | cmp %l1, 1 | |
16331 | bne cwq_0_158 | |
16332 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
16333 | sub %l2, 0x40, %l2 | |
16334 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
16335 | wr %r12, %g0, %asi | |
16336 | st %g0, [%r23] | |
16337 | cwq_0_158: | |
16338 | ta T_CHANGE_NONHPRIV | |
16339 | .word 0xa3414000 ! 277: RDPC rd %pc, %r17 | |
16340 | ta T_CHANGE_HPRIV | |
16341 | mov (0+1), %r10 | |
16342 | set sync_thr_counter1, %r23 | |
16343 | cas [%r23],%g0,%r10 !lock | |
16344 | brnz %r10, cwq_0_159 | |
16345 | rd %asi, %r12 | |
16346 | wr %g0, 0x40, %asi | |
16347 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
16348 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
16349 | cmp %l1, 1 | |
16350 | bne cwq_0_159 | |
16351 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
16352 | sub %l2, 0x40, %l2 | |
16353 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
16354 | wr %r12, %g0, %asi | |
16355 | st %g0, [%r23] | |
16356 | cwq_0_159: | |
16357 | ta T_CHANGE_NONHPRIV | |
16358 | .word 0xa7414000 ! 278: RDPC rd %pc, %r19 | |
16359 | .word 0x81460000 ! 279: RD_STICK_REG stbar | |
16360 | debug_0_160: | |
16361 | nop | |
16362 | mov 0x38, %r18 | |
16363 | .word 0xe6f00b12 ! 280: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
16364 | .word 0xe66fe769 ! 281: LDSTUB_I ldstub %r19, [%r31 + 0x0769] | |
16365 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_0_161)+24, 16, 16)) -> intp(0,1,3) | |
16366 | xir_0_161: | |
16367 | .word 0xa98463f9 ! 282: WR_SET_SOFTINT_I wr %r17, 0x03f9, %set_softint | |
16368 | tagged_0_162: | |
16369 | tsubcctv %r11, 0x15e6, %r12 | |
16370 | .word 0xe607e3f9 ! 283: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
16371 | .word 0x83d02035 ! 284: Tcc_I te icc_or_xcc, %r0 + 53 | |
16372 | otherw | |
16373 | mov 0x33, %r30 | |
16374 | .word 0x83d0001e ! 285: Tcc_R te icc_or_xcc, %r0 + %r30 | |
16375 | tagged_0_163: | |
16376 | taddcctv %r5, 0x1a6e, %r24 | |
16377 | .word 0xe607e3f9 ! 286: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
16378 | .word 0x8d802004 ! 287: WRFPRS_I wr %r0, 0x0004, %fprs | |
16379 | .word 0x8d90374b ! 288: WRPR_PSTATE_I wrpr %r0, 0x174b, %pstate | |
16380 | debug_0_164: | |
16381 | nop | |
16382 | mov 0x38, %r18 | |
16383 | .word 0xfef00b12 ! 289: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
16384 | splash_lsu_0_165: | |
16385 | setx 0x38cd32a4388576d7, %r1, %r2 | |
16386 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
16387 | .word 0x3d400001 ! 290: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
16388 | mondo_0_166: | |
16389 | nop | |
16390 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
16391 | ||
16392 | stxa %r17, [%r0+0x3d0] %asi | |
16393 | .word 0x9d95000d ! 291: WRPR_WSTATE_R wrpr %r20, %r13, %wstate | |
16394 | debug_0_167: | |
16395 | nop | |
16396 | mov 0x38, %r18 | |
16397 | .word 0xfef00b12 ! 292: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
16398 | nop | |
16399 | mov 0x80, %g3 | |
16400 | stxa %g3, [%g3] 0x57 | |
16401 | .word 0xe65fc000 ! 293: LDX_R ldx [%r31 + %r0], %r19 | |
16402 | splash_tba_0_168: | |
16403 | set 0x003c0000, %r12 | |
16404 | st %r1, [%r12+%r0] | |
16405 | ta T_CHANGE_PRIV | |
16406 | set 0x003c0000, %r12 | |
16407 | .word 0x8b90000c ! 294: WRPR_TBA_R wrpr %r0, %r12, %tba | |
16408 | splash_cmpr_0_169: | |
16409 | setx 0x55dad5b24367bf2a, %g2, %g1 | |
16410 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
16411 | sub %g1, 100, %g1 | |
16412 | .word 0xb1800001 ! 295: WR_STICK_REG_R wr %r0, %r1, %- | |
16413 | tagged_0_170: | |
16414 | tsubcctv %r18, 0x1ae6, %r8 | |
16415 | .word 0xe607e3f9 ! 296: LDUW_I lduw [%r31 + 0x03f9], %r19 | |
16416 | .word 0xa1902006 ! 297: WRPR_GL_I wrpr %r0, 0x0006, %- | |
16417 | .word 0xe727e3f9 ! 298: STF_I st %f19, [0x03f9, %r31] | |
16418 | .word 0xe69fc020 ! 299: LDDA_R ldda [%r31, %r0] 0x01, %r19 | |
16419 | .word 0x996c4000 ! 300: SDIVX_R sdivx %r17, %r0, %r12 | |
16420 | .word 0x87902266 ! 301: WRPR_TT_I wrpr %r0, 0x0266, %tt | |
16421 | change_to_randtl_0_171: | |
16422 | ta T_CHANGE_HPRIV ! macro | |
16423 | done_change_to_randtl_0_171: | |
16424 | .word 0x8f902002 ! 302: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
16425 | .word 0xa1902002 ! 303: WRPR_GL_I wrpr %r0, 0x0002, %- | |
16426 | splash_hpstate_0_172: | |
16427 | .word 0x81982a0e ! 304: WRHPR_HPSTATE_I wrhpr %r0, 0x0a0e, %hpstate | |
16428 | cmp_0_173: | |
16429 | nop | |
16430 | ta T_CHANGE_HPRIV | |
16431 | rd %asi, %r12 | |
16432 | wr %r0, 0x41, %asi | |
16433 | set sync_thr_counter, %r23 | |
16434 | cmp_startwait0_173: | |
16435 | mov 1, %r10 | |
16436 | cas [%r23],%g0,%r10 !lock | |
16437 | brz,a %r10, continue_cmp_0_173 | |
16438 | nop | |
16439 | cmp_wait0_173: | |
16440 | ld [%r23], %r10 | |
16441 | brnz %r10, cmp_wait0_173 | |
16442 | nop | |
16443 | ba,a cmp_startwait0_173 | |
16444 | continue_cmp_0_173: | |
16445 | ldxa [0x50]%asi, %r13 !Running_rw | |
16446 | ldxa [0x58]%asi, %r14 !Running_status | |
16447 | xnor %r14, %r13, %r14 !Bits equal | |
16448 | and %r14, 0x86, %r14 !Apply mask to random .. | |
16449 | stxa %r14, [0x68]%asi | |
16450 | st %g0, [%r23] !clear lock | |
16451 | wr %r12, %r0, %asi | |
16452 | ta T_CHANGE_NONHPRIV | |
16453 | .word 0x91934003 ! 305: WRPR_PIL_R wrpr %r13, %r3, %pil | |
16454 | cwp_0_174: | |
16455 | set user_data_start, %o7 | |
16456 | .word 0x93902007 ! 306: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
16457 | intveclr_0_175: | |
16458 | setx 0xebcd5f6d4f69132c, %r1, %r28 | |
16459 | stxa %r28, [%g0] 0x72 | |
16460 | .word 0x25400001 ! 307: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
16461 | intveclr_0_176: | |
16462 | setx 0x8782cd501e5962cf, %r1, %r28 | |
16463 | stxa %r28, [%g0] 0x72 | |
16464 | .word 0x25400001 ! 308: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
16465 | mondo_0_177: | |
16466 | nop | |
16467 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
16468 | ||
16469 | stxa %r11, [%r0+0x3c0] %asi | |
16470 | .word 0x9d920006 ! 309: WRPR_WSTATE_R wrpr %r8, %r6, %wstate | |
16471 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
16472 | ta T_CHANGE_NONPRIV ! macro | |
16473 | .word 0x9ba01961 ! 310: FqTOd dis not found | |
16474 | ||
16475 | .word 0x8d903286 ! 311: WRPR_PSTATE_I wrpr %r0, 0x1286, %pstate | |
16476 | otherw | |
16477 | mov 0x35, %r30 | |
16478 | .word 0x91d0001e ! 312: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
16479 | .word 0x879023d6 ! 313: WRPR_TT_I wrpr %r0, 0x03d6, %tt | |
16480 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
16481 | ta T_CHANGE_NONHPRIV ! macro | |
16482 | .word 0x99a01962 ! 314: FqTOd dis not found | |
16483 | ||
16484 | .word 0xd88fe000 ! 315: LDUBA_I lduba [%r31, + 0x0000] %asi, %r12 | |
16485 | cwp_0_180: | |
16486 | set user_data_start, %o7 | |
16487 | .word 0x93902001 ! 316: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
16488 | splash_hpstate_0_181: | |
16489 | .word 0x81982acf ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x0acf, %hpstate | |
16490 | debug_0_182: | |
16491 | nop | |
16492 | mov 0x38, %r18 | |
16493 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
16494 | DS_0_183: | |
16495 | .word 0x91a509c7 ! 1: FDIVd fdivd %f20, %f38, %f8 | |
16496 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
16497 | .word 0xd1150009 ! 1: LDQF_R - [%r20, %r9], %f8 | |
16498 | .word 0x95a2082c ! 319: FADDs fadds %f8, %f12, %f10 | |
16499 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
16500 | ta T_CHANGE_NONPRIV ! macro | |
16501 | .word 0x95a01964 ! 320: FqTOd dis not found | |
16502 | ||
16503 | DS_0_185: | |
16504 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
16505 | .word 0xbfefc000 ! 321: RESTORE_R restore %r31, %r0, %r31 | |
16506 | splash_cmpr_0_186: | |
16507 | setx 0x39dd8a0eed8f8ea2, %g2, %g1 | |
16508 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
16509 | sub %g1, 100, %g1 | |
16510 | .word 0xb1800001 ! 322: WR_STICK_REG_R wr %r0, %r1, %- | |
16511 | .word 0xa190200f ! 323: WRPR_GL_I wrpr %r0, 0x000f, %- | |
16512 | debug_0_187: | |
16513 | nop | |
16514 | mov 0x38, %r18 | |
16515 | .word 0xe6f00b12 ! 324: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
16516 | .word 0x91d02032 ! 325: Tcc_I ta icc_or_xcc, %r0 + 50 | |
16517 | change_to_randtl_0_188: | |
16518 | ta T_CHANGE_PRIV ! macro | |
16519 | done_change_to_randtl_0_188: | |
16520 | .word 0x8f902002 ! 326: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
16521 | intveclr_0_189: | |
16522 | setx 0xad89819f88577d83, %r1, %r28 | |
16523 | stxa %r28, [%g0] 0x72 | |
16524 | .word 0x25400001 ! 327: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
16525 | .word 0xa1902008 ! 328: WRPR_GL_I wrpr %r0, 0x0008, %- | |
16526 | .word 0x26700001 ! 329: BPL <illegal instruction> | |
16527 | splash_hpstate_0_190: | |
16528 | .word 0x81982c5f ! 330: WRHPR_HPSTATE_I wrhpr %r0, 0x0c5f, %hpstate | |
16529 | .word 0xd527c000 ! 331: STF_R st %f10, [%r0, %r31] | |
16530 | debug_0_191: | |
16531 | nop | |
16532 | mov 0x38, %r18 | |
16533 | .word 0xfef00b12 ! 332: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
16534 | .word 0x8d9022f7 ! 333: WRPR_PSTATE_I wrpr %r0, 0x02f7, %pstate | |
16535 | intveclr_0_192: | |
16536 | setx 0x5d7c295883bc3cc7, %r1, %r28 | |
16537 | stxa %r28, [%g0] 0x72 | |
16538 | .word 0x25400001 ! 334: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
16539 | .word 0x87802010 ! 335: WRASI_I wr %r0, 0x0010, %asi | |
16540 | DS_0_193: | |
16541 | nop | |
16542 | not %g0, %r12 | |
16543 | jmp %r12 | |
16544 | .word 0x9d902000 ! 336: WRPR_WSTATE_I wrpr %r0, 0x0000, %wstate | |
16545 | tagged_0_194: | |
16546 | tsubcctv %r8, 0x1947, %r26 | |
16547 | .word 0xd407e3f9 ! 337: LDUW_I lduw [%r31 + 0x03f9], %r10 | |
16548 | change_to_randtl_0_195: | |
16549 | ta T_CHANGE_HPRIV ! macro | |
16550 | done_change_to_randtl_0_195: | |
16551 | .word 0x8f902003 ! 338: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
16552 | .word 0xd48008a0 ! 339: LDUWA_R lduwa [%r0, %r0] 0x45, %r10 | |
16553 | .word 0x8d802000 ! 340: WRFPRS_I wr %r0, 0x0000, %fprs | |
16554 | splash_cmpr_0_196: | |
16555 | setx 0xa0ab8b54a73e0366, %g2, %g1 | |
16556 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
16557 | sub %g1, 100, %g1 | |
16558 | .word 0xb1800001 ! 341: WR_STICK_REG_R wr %r0, %r1, %- | |
16559 | mov (0+1), %r10 | |
16560 | ta T_CHANGE_HPRIV | |
16561 | set sync_thr_counter2, %r23 | |
16562 | cas [%r23],%g0,%r10 !lock | |
16563 | brnz %r10, sma_0_197 | |
16564 | rd %asi, %r12 | |
16565 | wr %g0, 0x40, %asi | |
16566 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
16567 | set 0x21fff, %g1 | |
16568 | stxa %g1, [%g0 + 0x80] %asi | |
16569 | wr %r12, %g0, %asi | |
16570 | st %g0, [%r23] | |
16571 | sma_0_197: | |
16572 | ta T_CHANGE_NONHPRIV | |
16573 | .word 0xd5e7e004 ! 342: CASA_R casa [%r31] %asi, %r4, %r10 | |
16574 | .word 0x87902200 ! 343: WRPR_TT_I wrpr %r0, 0x0200, %tt | |
16575 | .word 0x2a700001 ! 344: BPCS <illegal instruction> | |
16576 | .word 0xad823efd ! 345: WR_SOFTINT_REG_I wr %r8, 0x1efd, %softint | |
16577 | debug_0_198: | |
16578 | nop | |
16579 | mov 8, %r18 | |
16580 | ta T_CHANGE_HPRIV | |
16581 | rd %asi, %r12 | |
16582 | wr %r0, 0x41, %asi | |
16583 | set sync_thr_counter, %r23 | |
16584 | debug_startwait0_198: | |
16585 | mov 0x1, %r2 | |
16586 | cas [%r23],%g0,%r2 !lock | |
16587 | brz,a %r2, continue_debug_0_198 | |
16588 | nop | |
16589 | debug_wait0_198: | |
16590 | ld [%r23], %r2 | |
16591 | brnz %r2, debug_wait0_198 | |
16592 | nop | |
16593 | ba,a debug_startwait0_198 | |
16594 | continue_debug_0_198: | |
16595 | mov 0x0e, %r2 | |
16596 | ldxa [0x50]%asi, %r13 !Running_rw | |
16597 | ldxa [0x58]%asi, %r15 !Running_status | |
16598 | wait_for_stat_0_198: | |
16599 | cmp %r13, %r15 | |
16600 | bne,a wait_for_stat_0_198 | |
16601 | ldxa [0x58]%asi, %r15 !Running_status | |
16602 | stxa %r2, [0x68]%asi | |
16603 | ldxa [0x50]%asi, %r14 !Running_rw | |
16604 | wait_for_debug_0_198: | |
16605 | ldxa [0x58]%asi, %r15 !Running_status | |
16606 | cmp %r14, %r15 | |
16607 | bne,a wait_for_debug_0_198 | |
16608 | ldxa [0x50]%asi, %r14 !Running_rw | |
16609 | stxa %20, [%r18]0x42 | |
16610 | stxa %r13, [0x50] %asi ! Running_rw | |
16611 | st %g0, [%r23] !clear lock | |
16612 | wr %r0, %r12, %asi ! restore %asi | |
16613 | .word 0xe0f00492 ! 346: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
16614 | .word 0x34800001 ! 347: BG bg,a <label_0x1> | |
16615 | nop | |
16616 | mov 0x80, %g3 | |
16617 | stxa %g3, [%g3] 0x57 | |
16618 | .word 0xd45fc000 ! 348: LDX_R ldx [%r31 + %r0], %r10 | |
16619 | tagged_0_199: | |
16620 | taddcctv %r3, 0x100a, %r7 | |
16621 | .word 0xd407fefd ! 349: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
16622 | tagged_0_200: | |
16623 | tsubcctv %r12, 0x153e, %r23 | |
16624 | .word 0xd407fefd ! 350: LDUW_I lduw [%r31 + 0xfffffefd], %r10 | |
16625 | donret_0_201: | |
16626 | nop | |
16627 | rd %pc, %r12 | |
16628 | add %r12, (donretarg_0_201-donret_0_201-4), %r12 | |
16629 | add %r12, 0x4, %r11 | |
16630 | wrpr %g0, 0x2, %tl | |
16631 | wrpr %g0, %r12, %tpc | |
16632 | wrpr %g0, %r11, %tnpc | |
16633 | wrpr %g0, %r13, %tstate | |
16634 | wrhpr %g0, %r14, %htstate | |
16635 | done | |
16636 | donretarg_0_201: | |
16637 | .word 0xd4fffefd ! 351: SWAPA_I swapa %r10, [%r31 + 0xfffffefd] %asi | |
16638 | mondo_0_202: | |
16639 | nop | |
16640 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
16641 | ||
16642 | stxa %r11, [%r0+0x3d0] %asi | |
16643 | .word 0x9d944012 ! 352: WRPR_WSTATE_R wrpr %r17, %r18, %wstate | |
16644 | setx 0xcc59a02f581fa604, %r1, %r28 | |
16645 | stxa %r28, [%g0] 0x73 | |
16646 | intvec_0_203: | |
16647 | .word 0x39400001 ! 353: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
16648 | splash_lsu_0_204: | |
16649 | setx 0xa8c15bf30d56c91f, %r1, %r2 | |
16650 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
16651 | .word 0x3d400001 ! 354: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
16652 | memptr_0_205: | |
16653 | set 0x60740000, %r31 | |
16654 | .word 0x8581229d ! 355: WRCCR_I wr %r4, 0x029d, %ccr | |
16655 | .word 0xa1902003 ! 356: WRPR_GL_I wrpr %r0, 0x0003, %- | |
16656 | nop | |
16657 | mov 0x80, %g3 | |
16658 | stxa %g3, [%g3] 0x57 | |
16659 | .word 0xd45fc000 ! 357: LDX_R ldx [%r31 + %r0], %r10 | |
16660 | .word 0x91a00161 ! 358: FABSq dis not found | |
16661 | ||
16662 | .word 0xa7540000 ! 359: RDPR_GL <illegal instruction> | |
16663 | change_to_randtl_0_206: | |
16664 | ta T_CHANGE_PRIV ! macro | |
16665 | done_change_to_randtl_0_206: | |
16666 | .word 0x8f902000 ! 360: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
16667 | .word 0x91d02034 ! 361: Tcc_I ta icc_or_xcc, %r0 + 52 | |
16668 | .word 0xab82c00a ! 362: WR_CLEAR_SOFTINT_R wr %r11, %r10, %clear_softint | |
16669 | .word 0x8d902d36 ! 363: WRPR_PSTATE_I wrpr %r0, 0x0d36, %pstate | |
16670 | .word 0x93d020b5 ! 364: Tcc_I tne icc_or_xcc, %r0 + 181 | |
16671 | splash_lsu_0_207: | |
16672 | setx 0xcfa7494b6375ba03, %r1, %r2 | |
16673 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
16674 | .word 0x3d400001 ! 365: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
16675 | splash_hpstate_0_208: | |
16676 | .word 0x81982bcc ! 366: WRHPR_HPSTATE_I wrhpr %r0, 0x0bcc, %hpstate | |
16677 | debug_0_209: | |
16678 | nop | |
16679 | mov 0x38, %r18 | |
16680 | .word 0xfef00b12 ! 367: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
16681 | mondo_0_210: | |
16682 | nop | |
16683 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
16684 | ||
16685 | stxa %r9, [%r0+0x3d0] %asi | |
16686 | .word 0x9d93400a ! 368: WRPR_WSTATE_R wrpr %r13, %r10, %wstate | |
16687 | setx 0x8b2a60f7ed5c82fa, %r1, %r28 | |
16688 | stxa %r28, [%g0] 0x73 | |
16689 | intvec_0_211: | |
16690 | .word 0x39400001 ! 369: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
16691 | .word 0xe60fe29d ! 370: LDUB_I ldub [%r31 + 0x029d], %r19 | |
16692 | .word 0x8d9035a1 ! 371: WRPR_PSTATE_I wrpr %r0, 0x15a1, %pstate | |
16693 | .word 0x9150c000 ! 372: RDPR_TT <illegal instruction> | |
16694 | mov (0+1), %r10 | |
16695 | ta T_CHANGE_HPRIV | |
16696 | set sync_thr_counter2, %r23 | |
16697 | cas [%r23],%g0,%r10 !lock | |
16698 | brnz %r10, sma_0_212 | |
16699 | rd %asi, %r12 | |
16700 | wr %g0, 0x40, %asi | |
16701 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
16702 | set 0x21fff, %g1 | |
16703 | stxa %g1, [%g0 + 0x80] %asi | |
16704 | wr %r12, %g0, %asi | |
16705 | st %g0, [%r23] | |
16706 | sma_0_212: | |
16707 | ta T_CHANGE_NONHPRIV | |
16708 | .word 0xd1e7e00a ! 373: CASA_R casa [%r31] %asi, %r10, %r8 | |
16709 | .word 0xd08008a0 ! 374: LDUWA_R lduwa [%r0, %r0] 0x45, %r8 | |
16710 | .word 0x22800001 ! 375: BE be,a <label_0x1> | |
16711 | .word 0x8780208b ! 376: WRASI_I wr %r0, 0x008b, %asi | |
16712 | .word 0x87802058 ! 377: WRASI_I wr %r0, 0x0058, %asi | |
16713 | .word 0x9ba08dc7 ! 378: FdMULq fdmulq | |
16714 | splash_tba_0_213: | |
16715 | set 0x003c0000, %r12 | |
16716 | ld [%r12+%r0], %r1 | |
16717 | ta T_CHANGE_PRIV | |
16718 | set 0x003c0000, %r12 | |
16719 | .word 0x8b90000c ! 379: WRPR_TBA_R wrpr %r0, %r12, %tba | |
16720 | .word 0x91d02034 ! 380: Tcc_I ta icc_or_xcc, %r0 + 52 | |
16721 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
16722 | ta T_CHANGE_NONPRIV ! macro | |
16723 | .word 0xa3a01972 ! 381: FqTOd dis not found | |
16724 | ||
16725 | splash_cmpr_0_215: | |
16726 | setx 0x5fea2e5a79edecf5, %g2, %g1 | |
16727 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
16728 | sub %g1, 100, %g1 | |
16729 | .word 0xb1800001 ! 382: WR_STICK_REG_R wr %r0, %r1, %- | |
16730 | debug_0_216: | |
16731 | nop | |
16732 | mov 8, %r18 | |
16733 | ta T_CHANGE_HPRIV | |
16734 | rd %asi, %r12 | |
16735 | wr %r0, 0x41, %asi | |
16736 | set sync_thr_counter, %r23 | |
16737 | debug_startwait0_216: | |
16738 | mov 0x1, %r2 | |
16739 | cas [%r23],%g0,%r2 !lock | |
16740 | brz,a %r2, continue_debug_0_216 | |
16741 | nop | |
16742 | debug_wait0_216: | |
16743 | ld [%r23], %r2 | |
16744 | brnz %r2, debug_wait0_216 | |
16745 | nop | |
16746 | ba,a debug_startwait0_216 | |
16747 | continue_debug_0_216: | |
16748 | mov 0x0e, %r2 | |
16749 | ldxa [0x50]%asi, %r13 !Running_rw | |
16750 | ldxa [0x58]%asi, %r15 !Running_status | |
16751 | wait_for_stat_0_216: | |
16752 | cmp %r13, %r15 | |
16753 | bne,a wait_for_stat_0_216 | |
16754 | ldxa [0x58]%asi, %r15 !Running_status | |
16755 | stxa %r2, [0x68]%asi | |
16756 | ldxa [0x50]%asi, %r14 !Running_rw | |
16757 | wait_for_debug_0_216: | |
16758 | ldxa [0x58]%asi, %r15 !Running_status | |
16759 | cmp %r14, %r15 | |
16760 | bne,a wait_for_debug_0_216 | |
16761 | ldxa [0x50]%asi, %r14 !Running_rw | |
16762 | stxa %16, [%r18]0x42 | |
16763 | stxa %r13, [0x50] %asi ! Running_rw | |
16764 | st %g0, [%r23] !clear lock | |
16765 | wr %r0, %r12, %asi ! restore %asi | |
16766 | .word 0xdaf00492 ! 383: STXA_R stxa %r13, [%r0 + %r18] 0x24 | |
16767 | setx 0x39fab0a48578f675, %r1, %r28 | |
16768 | stxa %r28, [%g0] 0x73 | |
16769 | intvec_0_217: | |
16770 | .word 0x39400001 ! 384: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
16771 | .word 0x91480000 ! 385: RDHPR_HPSTATE rdhpr %hpstate, %r8 | |
16772 | .word 0x26800001 ! 386: BL bl,a <label_0x1> | |
16773 | ta T_CHANGE_HPRIV | |
16774 | mov (0+1), %r10 | |
16775 | set sync_thr_counter1, %r23 | |
16776 | cas [%r23],%g0,%r10 !lock | |
16777 | brnz %r10, cwq_0_218 | |
16778 | rd %asi, %r12 | |
16779 | wr %g0, 0x40, %asi | |
16780 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
16781 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
16782 | cmp %l1, 1 | |
16783 | bne cwq_0_218 | |
16784 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
16785 | sub %l2, 0x40, %l2 | |
16786 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
16787 | wr %r12, %g0, %asi | |
16788 | st %g0, [%r23] | |
16789 | cwq_0_218: | |
16790 | ta T_CHANGE_NONHPRIV | |
16791 | .word 0xa1414000 ! 387: RDPC rd %pc, %r16 | |
16792 | splash_hpstate_0_219: | |
16793 | .word 0x81982467 ! 388: WRHPR_HPSTATE_I wrhpr %r0, 0x0467, %hpstate | |
16794 | splash_tba_0_220: | |
16795 | set 0x120000, %r12 | |
16796 | st %r1, [%r12+%r0] | |
16797 | ta T_CHANGE_PRIV | |
16798 | set 0x120000, %r12 | |
16799 | .word 0x8b90000c ! 389: WRPR_TBA_R wrpr %r0, %r12, %tba | |
16800 | splash_tba_0_221: | |
16801 | set 0x120000, %r12 | |
16802 | ld [%r12+%r0], %r1 | |
16803 | ta T_CHANGE_PRIV | |
16804 | set 0x120000, %r12 | |
16805 | .word 0x8b90000c ! 390: WRPR_TBA_R wrpr %r0, %r12, %tba | |
16806 | splash_cmpr_0_222: | |
16807 | setx 0x5ce024b9c54dab31, %g2, %g1 | |
16808 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
16809 | sub %g1, 100, %g1 | |
16810 | .word 0xb1800001 ! 391: WR_STICK_REG_R wr %r0, %r1, %- | |
16811 | setx 0x3ebed2e0d93ee1ba, %r1, %r28 | |
16812 | stxa %r28, [%g0] 0x73 | |
16813 | intvec_0_223: | |
16814 | .word 0x39400001 ! 392: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
16815 | .word 0x96d1e4d5 ! 393: UMULcc_I umulcc %r7, 0x04d5, %r11 | |
16816 | .word 0xd697e000 ! 394: LDUHA_I lduha [%r31, + 0x0000] %asi, %r11 | |
16817 | .word 0x20700001 ! 395: BPN <illegal instruction> | |
16818 | .word 0x91d020b5 ! 396: Tcc_I ta icc_or_xcc, %r0 + 181 | |
16819 | .word 0xa3702bca ! 397: POPC_I popc 0x0bca, %r17 | |
16820 | splash_lsu_0_224: | |
16821 | setx 0xa7a3c165aad315b1, %r1, %r2 | |
16822 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
16823 | .word 0x3d400001 ! 398: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
16824 | .word 0x879020e0 ! 399: WRPR_TT_I wrpr %r0, 0x00e0, %tt | |
16825 | splash_cmpr_0_225: | |
16826 | setx 0x9ca50cf40a35f160, %g2, %g1 | |
16827 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
16828 | sub %g1, 100, %g1 | |
16829 | .word 0xb1800001 ! 400: WR_STICK_REG_R wr %r0, %r1, %- | |
16830 | memptr_0_226: | |
16831 | set 0x60740000, %r31 | |
16832 | .word 0x858270bd ! 401: WRCCR_I wr %r9, 0x10bd, %ccr | |
16833 | cwp_0_227: | |
16834 | set user_data_start, %o7 | |
16835 | .word 0x93902000 ! 402: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
16836 | .word 0x9f803c81 ! 403: SIR sir 0x1c81 | |
16837 | mondo_0_228: | |
16838 | nop | |
16839 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
16840 | ||
16841 | stxa %r19, [%r0+0x3d8] %asi | |
16842 | .word 0x9d940002 ! 404: WRPR_WSTATE_R wrpr %r16, %r2, %wstate | |
16843 | .word 0xab8435d2 ! 405: WR_CLEAR_SOFTINT_I wr %r16, 0x15d2, %clear_softint | |
16844 | .word 0xa1902001 ! 406: WRPR_GL_I wrpr %r0, 0x0001, %- | |
16845 | DS_0_229: | |
16846 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
16847 | .word 0xbfefc000 ! 407: RESTORE_R restore %r31, %r0, %r31 | |
16848 | tagged_0_230: | |
16849 | tsubcctv %r5, 0x19ec, %r26 | |
16850 | .word 0xe207f5d2 ! 408: LDUW_I lduw [%r31 + 0xfffff5d2], %r17 | |
16851 | .word 0x99540000 ! 409: RDPR_GL <illegal instruction> | |
16852 | mondo_0_231: | |
16853 | nop | |
16854 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
16855 | ||
16856 | stxa %r12, [%r0+0x3c0] %asi | |
16857 | .word 0x9d91c014 ! 410: WRPR_WSTATE_R wrpr %r7, %r20, %wstate | |
16858 | debug_0_232: | |
16859 | nop | |
16860 | mov 0x38, %r18 | |
16861 | .word 0xe6f00b12 ! 411: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
16862 | splash_cmpr_0_233: | |
16863 | setx 0x29e6c86bef5ea49d, %g2, %g1 | |
16864 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
16865 | sub %g1, 100, %g1 | |
16866 | .word 0xb1800001 ! 412: WR_STICK_REG_R wr %r0, %r1, %- | |
16867 | mov (0+1), %r10 | |
16868 | ta T_CHANGE_HPRIV | |
16869 | set sync_thr_counter2, %r23 | |
16870 | cas [%r23],%g0,%r10 !lock | |
16871 | brnz %r10, sma_0_234 | |
16872 | rd %asi, %r12 | |
16873 | wr %g0, 0x40, %asi | |
16874 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
16875 | set 0x21fff, %g1 | |
16876 | stxa %g1, [%g0 + 0x80] %asi | |
16877 | wr %r12, %g0, %asi | |
16878 | st %g0, [%r23] | |
16879 | sma_0_234: | |
16880 | ta T_CHANGE_NONHPRIV | |
16881 | .word 0xd9e7e014 ! 413: CASA_R casa [%r31] %asi, %r20, %r12 | |
16882 | .word 0xd927c000 ! 414: STF_R st %f12, [%r0, %r31] | |
16883 | debug_0_235: | |
16884 | nop | |
16885 | mov 0x38, %r18 | |
16886 | .word 0xe6f00b12 ! 415: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
16887 | .word 0x87902012 ! 416: WRPR_TT_I wrpr %r0, 0x0012, %tt | |
16888 | debug_0_236: | |
16889 | nop | |
16890 | mov 0x38, %r18 | |
16891 | .word 0xfef00b12 ! 417: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
16892 | mondo_0_237: | |
16893 | nop | |
16894 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
16895 | ||
16896 | stxa %r18, [%r0+0x3c0] %asi | |
16897 | .word 0x9d914002 ! 418: WRPR_WSTATE_R wrpr %r5, %r2, %wstate | |
16898 | tagged_0_238: | |
16899 | tsubcctv %r18, 0x1377, %r15 | |
16900 | .word 0xd807f5d2 ! 419: LDUW_I lduw [%r31 + 0xfffff5d2], %r12 | |
16901 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
16902 | ta T_CHANGE_NONHPRIV ! macro | |
16903 | .word 0x996c21c8 ! 420: SDIVX_I sdivx %r16, 0x01c8, %r12 | |
16904 | .word 0x879022c3 ! 421: WRPR_TT_I wrpr %r0, 0x02c3, %tt | |
16905 | .word 0x93d02035 ! 422: Tcc_I tne icc_or_xcc, %r0 + 53 | |
16906 | .word 0xd8d804a0 ! 423: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
16907 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
16908 | ta T_CHANGE_NONPRIV ! macro | |
16909 | .word 0x996ae4ca ! 424: SDIVX_I sdivx %r11, 0x04ca, %r12 | |
16910 | cmp_0_241: | |
16911 | nop | |
16912 | ta T_CHANGE_HPRIV | |
16913 | rd %asi, %r12 | |
16914 | wr %r0, 0x41, %asi | |
16915 | set sync_thr_counter, %r23 | |
16916 | cmp_startwait0_241: | |
16917 | mov 1, %r10 | |
16918 | cas [%r23],%g0,%r10 !lock | |
16919 | brz,a %r10, continue_cmp_0_241 | |
16920 | nop | |
16921 | cmp_wait0_241: | |
16922 | ld [%r23], %r10 | |
16923 | brnz %r10, cmp_wait0_241 | |
16924 | nop | |
16925 | ba,a cmp_startwait0_241 | |
16926 | continue_cmp_0_241: | |
16927 | ldxa [0x50]%asi, %r13 !Running_rw | |
16928 | ldxa [0x58]%asi, %r14 !Running_status | |
16929 | xnor %r14, %r13, %r14 !Bits equal | |
16930 | and %r14, 60, %r14 !Apply mask to random .. | |
16931 | stxa %r14, [0x68]%asi | |
16932 | st %g0, [%r23] !clear lock | |
16933 | wr %r12, %r0, %asi | |
16934 | ta T_CHANGE_NONHPRIV | |
16935 | .word 0x9192c009 ! 425: WRPR_PIL_R wrpr %r11, %r9, %pil | |
16936 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
16937 | ta T_CHANGE_NONPRIV ! macro | |
16938 | .word 0xa16c3183 ! 426: SDIVX_I sdivx %r16, 0xfffff183, %r16 | |
16939 | splash_cmpr_0_243: | |
16940 | setx 0x36b8112c379e0dea, %g2, %g1 | |
16941 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
16942 | sub %g1, 100, %g1 | |
16943 | .word 0xb1800001 ! 427: WR_STICK_REG_R wr %r0, %r1, %- | |
16944 | splash_cmpr_0_244: | |
16945 | setx 0x3601586a2b134b04, %g2, %g1 | |
16946 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
16947 | sub %g1, 100, %g1 | |
16948 | .word 0xb1800001 ! 428: WR_STICK_REG_R wr %r0, %r1, %- | |
16949 | .word 0xa36c400b ! 429: SDIVX_R sdivx %r17, %r11, %r17 | |
16950 | setx 0x504d5a527df0eb08, %r1, %r28 | |
16951 | stxa %r28, [%g0] 0x73 | |
16952 | intvec_0_245: | |
16953 | .word 0x39400001 ! 430: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
16954 | DS_0_246: | |
16955 | nop | |
16956 | not %g0, %r12 | |
16957 | jmp %r12 | |
16958 | .word 0x9d902004 ! 431: WRPR_WSTATE_I wrpr %r0, 0x0004, %wstate | |
16959 | pmu_0_247: | |
16960 | nop | |
16961 | setx 0xfffff734fffff507, %g1, %g7 | |
16962 | .word 0xa3800007 ! 432: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
16963 | change_to_randtl_0_248: | |
16964 | ta T_CHANGE_PRIV ! macro | |
16965 | done_change_to_randtl_0_248: | |
16966 | .word 0x8f902001 ! 433: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
16967 | .word 0xe257c000 ! 434: LDSH_R ldsh [%r31 + %r0], %r17 | |
16968 | .word 0xa1902000 ! 435: WRPR_GL_I wrpr %r0, 0x0000, %- | |
16969 | mov (0+1), %r10 | |
16970 | ta T_CHANGE_HPRIV | |
16971 | set sync_thr_counter2, %r23 | |
16972 | cas [%r23],%g0,%r10 !lock | |
16973 | brnz %r10, sma_0_249 | |
16974 | rd %asi, %r12 | |
16975 | wr %g0, 0x40, %asi | |
16976 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
16977 | set 0x21fff, %g1 | |
16978 | stxa %g1, [%g0 + 0x80] %asi | |
16979 | wr %r12, %g0, %asi | |
16980 | st %g0, [%r23] | |
16981 | sma_0_249: | |
16982 | ta T_CHANGE_NONHPRIV | |
16983 | .word 0xe3e7e00b ! 436: CASA_R casa [%r31] %asi, %r11, %r17 | |
16984 | splash_lsu_0_250: | |
16985 | setx 0x7d09bc94e4a0b083, %r1, %r2 | |
16986 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
16987 | .word 0x3d400001 ! 437: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
16988 | .word 0xe28008a0 ! 438: LDUWA_R lduwa [%r0, %r0] 0x45, %r17 | |
16989 | splash_lsu_0_251: | |
16990 | setx 0xfb3bd5a35b23dcdd, %r1, %r2 | |
16991 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
16992 | .word 0x3d400001 ! 439: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
16993 | splash_cmpr_0_252: | |
16994 | setx 0xbaa7581729aa25a8, %g2, %g1 | |
16995 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
16996 | sub %g1, 100, %g1 | |
16997 | .word 0xb1800001 ! 440: WR_STICK_REG_R wr %r0, %r1, %- | |
16998 | nop | |
16999 | mov 0x80, %g3 | |
17000 | stxa %g3, [%g3] 0x57 | |
17001 | .word 0xe25fc000 ! 441: LDX_R ldx [%r31 + %r0], %r17 | |
17002 | .word 0x91540000 ! 442: RDPR_GL <illegal instruction> | |
17003 | ta T_CHANGE_HPRIV | |
17004 | mov (0+1), %r10 | |
17005 | set sync_thr_counter1, %r23 | |
17006 | cas [%r23],%g0,%r10 !lock | |
17007 | brnz %r10, cwq_0_253 | |
17008 | rd %asi, %r12 | |
17009 | wr %g0, 0x40, %asi | |
17010 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
17011 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
17012 | cmp %l1, 1 | |
17013 | bne cwq_0_253 | |
17014 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
17015 | sub %l2, 0x40, %l2 | |
17016 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
17017 | wr %r12, %g0, %asi | |
17018 | st %g0, [%r23] | |
17019 | cwq_0_253: | |
17020 | ta T_CHANGE_NONHPRIV | |
17021 | .word 0x99414000 ! 443: RDPC rd %pc, %r12 | |
17022 | splash_htba_0_254: | |
17023 | set 0x80000, %r12 | |
17024 | st %r1, [%r12+%r0] | |
17025 | ta T_CHANGE_HPRIV | |
17026 | set 0x80000, %r12 | |
17027 | .word 0x8b98000c ! 444: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
17028 | tagged_0_255: | |
17029 | taddcctv %r7, 0x15ae, %r20 | |
17030 | .word 0xd807f183 ! 445: LDUW_I lduw [%r31 + 0xfffff183], %r12 | |
17031 | memptr_0_256: | |
17032 | set 0x60140000, %r31 | |
17033 | .word 0x858463fe ! 446: WRCCR_I wr %r17, 0x03fe, %ccr | |
17034 | tagged_0_257: | |
17035 | taddcctv %r10, 0x1195, %r19 | |
17036 | .word 0xd807e3fe ! 447: LDUW_I lduw [%r31 + 0x03fe], %r12 | |
17037 | .word 0xd91fe3fe ! 448: LDDF_I ldd [%r31, 0x03fe], %f12 | |
17038 | .word 0x87802004 ! 449: WRASI_I wr %r0, 0x0004, %asi | |
17039 | splash_tba_0_258: | |
17040 | set 0x003c0000, %r12 | |
17041 | st %r1, [%r12+%r0] | |
17042 | ta T_CHANGE_PRIV | |
17043 | set 0x003c0000, %r12 | |
17044 | .word 0x8b90000c ! 450: WRPR_TBA_R wrpr %r0, %r12, %tba | |
17045 | .word 0x956c8014 ! 451: SDIVX_R sdivx %r18, %r20, %r10 | |
17046 | cmp_0_259: | |
17047 | nop | |
17048 | ta T_CHANGE_HPRIV | |
17049 | rd %asi, %r12 | |
17050 | wr %r0, 0x41, %asi | |
17051 | set sync_thr_counter, %r23 | |
17052 | cmp_startwait0_259: | |
17053 | mov 1, %r10 | |
17054 | cas [%r23],%g0,%r10 !lock | |
17055 | brz,a %r10, continue_cmp_0_259 | |
17056 | nop | |
17057 | cmp_wait0_259: | |
17058 | ld [%r23], %r10 | |
17059 | brnz %r10, cmp_wait0_259 | |
17060 | nop | |
17061 | ba,a cmp_startwait0_259 | |
17062 | continue_cmp_0_259: | |
17063 | ldxa [0x50]%asi, %r13 !Running_rw | |
17064 | ldxa [0x58]%asi, %r14 !Running_status | |
17065 | xnor %r14, %r13, %r14 !Bits equal | |
17066 | and %r14, 0x5c, %r14 !Apply mask to random .. | |
17067 | stxa %r14, [0x68]%asi | |
17068 | st %g0, [%r23] !clear lock | |
17069 | wr %r12, %r0, %asi | |
17070 | ta T_CHANGE_NONHPRIV | |
17071 | .word 0x9194400c ! 452: WRPR_PIL_R wrpr %r17, %r12, %pil | |
17072 | cmp_0_260: | |
17073 | nop | |
17074 | ta T_CHANGE_HPRIV | |
17075 | rd %asi, %r12 | |
17076 | wr %r0, 0x41, %asi | |
17077 | set sync_thr_counter, %r23 | |
17078 | cmp_startwait0_260: | |
17079 | mov 1, %r10 | |
17080 | cas [%r23],%g0,%r10 !lock | |
17081 | brz,a %r10, continue_cmp_0_260 | |
17082 | nop | |
17083 | cmp_wait0_260: | |
17084 | ld [%r23], %r10 | |
17085 | brnz %r10, cmp_wait0_260 | |
17086 | nop | |
17087 | ba,a cmp_startwait0_260 | |
17088 | continue_cmp_0_260: | |
17089 | ldxa [0x50]%asi, %r13 !Running_rw | |
17090 | ldxa [0x58]%asi, %r14 !Running_status | |
17091 | xnor %r14, %r13, %r14 !Bits equal | |
17092 | and %r14, 0xe6, %r14 !Apply mask to random .. | |
17093 | stxa %r14, [0x60]%asi | |
17094 | st %g0, [%r23] !clear lock | |
17095 | wr %r12, %r0, %asi | |
17096 | ta T_CHANGE_NONHPRIV | |
17097 | .word 0x91920013 ! 453: WRPR_PIL_R wrpr %r8, %r19, %pil | |
17098 | ta T_CHANGE_HPRIV | |
17099 | mov (0+1), %r10 | |
17100 | set sync_thr_counter1, %r23 | |
17101 | cas [%r23],%g0,%r10 !lock | |
17102 | brnz %r10, cwq_0_261 | |
17103 | rd %asi, %r12 | |
17104 | wr %g0, 0x40, %asi | |
17105 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
17106 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
17107 | cmp %l1, 1 | |
17108 | bne cwq_0_261 | |
17109 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
17110 | sub %l2, 0x40, %l2 | |
17111 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
17112 | wr %r12, %g0, %asi | |
17113 | st %g0, [%r23] | |
17114 | cwq_0_261: | |
17115 | ta T_CHANGE_NONHPRIV | |
17116 | .word 0x97414000 ! 454: RDPC rd %pc, %r11 | |
17117 | invalw | |
17118 | mov 0xb1, %r30 | |
17119 | .word 0x91d0001e ! 455: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
17120 | splash_cmpr_0_262: | |
17121 | setx 0xace42645db25b99f, %g2, %g1 | |
17122 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
17123 | sub %g1, 100, %g1 | |
17124 | .word 0xb1800001 ! 456: WR_STICK_REG_R wr %r0, %r1, %- | |
17125 | .word 0x91d02033 ! 457: Tcc_I ta icc_or_xcc, %r0 + 51 | |
17126 | DS_0_263: | |
17127 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
17128 | .word 0xd130236e ! 1: STQF_I - %f8, [0x036e, %r0] | |
17129 | normalw | |
17130 | .word 0xa5458000 ! 458: RD_SOFTINT_REG rd %softint, %r18 | |
17131 | memptr_0_264: | |
17132 | set user_data_start, %r31 | |
17133 | .word 0x858536cd ! 459: WRCCR_I wr %r20, 0x16cd, %ccr | |
17134 | debug_0_265: | |
17135 | nop | |
17136 | mov 0x38, %r18 | |
17137 | .word 0xe6f00b12 ! 460: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
17138 | .word 0xe527f6cd ! 461: STF_I st %f18, [0x16cd, %r31] | |
17139 | splash_cmpr_0_266: | |
17140 | setx 0x8cda232788990468, %g2, %g1 | |
17141 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
17142 | sub %g1, 100, %g1 | |
17143 | .word 0xb1800001 ! 462: WR_STICK_REG_R wr %r0, %r1, %- | |
17144 | .word 0x97a509c9 ! 463: FDIVd fdivd %f20, %f40, %f42 | |
17145 | splash_htba_0_267: | |
17146 | set 0x00380000, %r12 | |
17147 | ld [%r12+%r0], %r1 | |
17148 | ta T_CHANGE_HPRIV | |
17149 | set 0x00380000, %r12 | |
17150 | .word 0x8b98000c ! 464: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
17151 | .word 0xd6c7e020 ! 465: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r11 | |
17152 | splash_lsu_0_268: | |
17153 | setx 0x4f8cbf3b08a44ee3, %r1, %r2 | |
17154 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
17155 | .word 0x3d400001 ! 466: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
17156 | setx 0x1ba48515db9d4616, %r1, %r28 | |
17157 | stxa %r28, [%g0] 0x73 | |
17158 | intvec_0_269: | |
17159 | .word 0x39400001 ! 467: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
17160 | .word 0x95480000 ! 468: RDHPR_HPSTATE rdhpr %hpstate, %r10 | |
17161 | splash_cmpr_0_270: | |
17162 | setx 0x75c066e297e0240d, %g2, %g1 | |
17163 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
17164 | sub %g1, 100, %g1 | |
17165 | .word 0xb1800001 ! 469: WR_STICK_REG_R wr %r0, %r1, %- | |
17166 | .word 0x36700001 ! 470: BPGE <illegal instruction> | |
17167 | DS_0_271: | |
17168 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
17169 | .word 0xbfefc000 ! 471: RESTORE_R restore %r31, %r0, %r31 | |
17170 | .word 0xd4d7e010 ! 472: LDSHA_I ldsha [%r31, + 0x0010] %asi, %r10 | |
17171 | DS_0_272: | |
17172 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
17173 | .word 0xa5a089c8 ! 1: FDIVd fdivd %f2, %f8, %f18 | |
17174 | normalw | |
17175 | .word 0xa9458000 ! 473: RD_SOFTINT_REG rd %softint, %r20 | |
17176 | .word 0x879020e4 ! 474: WRPR_TT_I wrpr %r0, 0x00e4, %tt | |
17177 | splash_cmpr_0_273: | |
17178 | setx 0x0fa87ee1f69e3a16, %g2, %g1 | |
17179 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
17180 | sub %g1, 100, %g1 | |
17181 | .word 0xb1800001 ! 475: WR_STICK_REG_R wr %r0, %r1, %- | |
17182 | DS_0_274: | |
17183 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
17184 | pdist %f20, %f4, %f10 | |
17185 | .word 0x9bb00307 ! 476: ALIGNADDRESS alignaddr %r0, %r7, %r13 | |
17186 | .word 0x8d902737 ! 477: WRPR_PSTATE_I wrpr %r0, 0x0737, %pstate | |
17187 | mondo_0_275: | |
17188 | nop | |
17189 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
17190 | ||
17191 | stxa %r4, [%r0+0x3d0] %asi | |
17192 | .word 0x9d908005 ! 478: WRPR_WSTATE_R wrpr %r2, %r5, %wstate | |
17193 | .word 0xda8008a0 ! 479: LDUWA_R lduwa [%r0, %r0] 0x45, %r13 | |
17194 | tagged_0_276: | |
17195 | tsubcctv %r7, 0x118f, %r19 | |
17196 | .word 0xda07f6cd ! 480: LDUW_I lduw [%r31 + 0xfffff6cd], %r13 | |
17197 | splash_htba_0_277: | |
17198 | set 0x80000, %r12 | |
17199 | ld [%r12+%r0], %r1 | |
17200 | ta T_CHANGE_HPRIV | |
17201 | set 0x80000, %r12 | |
17202 | .word 0x8b98000c ! 481: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
17203 | .word 0x3c700001 ! 482: BPPOS <illegal instruction> | |
17204 | .word 0x91450000 ! 483: RD_SET_SOFTINT rd %set_softint, %r8 | |
17205 | .word 0xd0cfe000 ! 484: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r8 | |
17206 | nop | |
17207 | mov 0x80, %g3 | |
17208 | stxa %g3, [%g3] 0x57 | |
17209 | .word 0xd05fc000 ! 485: LDX_R ldx [%r31 + %r0], %r8 | |
17210 | splash_cmpr_0_278: | |
17211 | setx 0xcd9496a33bc2b8ae, %g2, %g1 | |
17212 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
17213 | sub %g1, 100, %g1 | |
17214 | .word 0xb1800001 ! 486: WR_STICK_REG_R wr %r0, %r1, %- | |
17215 | otherw | |
17216 | mov 0x32, %r30 | |
17217 | .word 0x91d0001e ! 487: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
17218 | cwp_0_279: | |
17219 | set user_data_start, %o7 | |
17220 | .word 0x93902005 ! 488: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
17221 | .word 0x9f8030df ! 489: SIR sir 0x10df | |
17222 | cwp_0_280: | |
17223 | set user_data_start, %o7 | |
17224 | .word 0x93902005 ! 490: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
17225 | change_to_randtl_0_281: | |
17226 | ta T_CHANGE_HPRIV ! macro | |
17227 | done_change_to_randtl_0_281: | |
17228 | .word 0x8f902000 ! 491: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
17229 | donret_0_282: | |
17230 | nop | |
17231 | rd %pc, %r12 | |
17232 | add %r12, (donretarg_0_282-donret_0_282), %r12 | |
17233 | add %r12, 0x4, %r11 | |
17234 | wrpr %g0, 0x2, %tl | |
17235 | wrpr %g0, %r12, %tpc | |
17236 | wrpr %g0, %r11, %tnpc | |
17237 | wrpr %g0, %r13, %tstate | |
17238 | wrhpr %g0, %r14, %htstate | |
17239 | retry | |
17240 | donretarg_0_282: | |
17241 | .word 0xd0fff0df ! 492: SWAPA_I swapa %r8, [%r31 + 0xfffff0df] %asi | |
17242 | .word 0x93d020b3 ! 493: Tcc_I tne icc_or_xcc, %r0 + 179 | |
17243 | .word 0x36800001 ! 494: BGE bge,a <label_0x1> | |
17244 | splash_cmpr_0_283: | |
17245 | setx 0xa58223d941851f71, %g2, %g1 | |
17246 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
17247 | sub %g1, 100, %g1 | |
17248 | .word 0xb1800001 ! 495: WR_STICK_REG_R wr %r0, %r1, %- | |
17249 | splash_lsu_0_284: | |
17250 | setx 0x230b485a0c80d851, %r1, %r2 | |
17251 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
17252 | .word 0x3d400001 ! 496: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
17253 | splash_tba_0_285: | |
17254 | set 0x003c0000, %r12 | |
17255 | ld [%r12+%r0], %r1 | |
17256 | ta T_CHANGE_PRIV | |
17257 | set 0x003c0000, %r12 | |
17258 | .word 0x8b90000c ! 497: WRPR_TBA_R wrpr %r0, %r12, %tba | |
17259 | tagged_0_286: | |
17260 | tsubcctv %r16, 0x1c33, %r8 | |
17261 | .word 0xd007f0df ! 498: LDUW_I lduw [%r31 + 0xfffff0df], %r8 | |
17262 | cmpenall_0_287: | |
17263 | nop | |
17264 | nop | |
17265 | ta T_CHANGE_HPRIV | |
17266 | rd %asi, %r12 | |
17267 | wr %r0, 0x41, %asi | |
17268 | set sync_thr_counter, %r23 | |
17269 | cmpenall_startwait0_287: | |
17270 | mov 1, %r10 | |
17271 | cas [%r23],%g0,%r10 !lock | |
17272 | brz,a %r10, continue_cmpenall_0_287 | |
17273 | nop | |
17274 | cmpenall_wait0_287: | |
17275 | ld [%r23], %r10 | |
17276 | brnz %r10, cmpenall_wait0_287 | |
17277 | nop | |
17278 | ba,a cmpenall_startwait0_287 | |
17279 | continue_cmpenall_0_287: | |
17280 | ldxa [0x50]%asi, %r13 !Running_rw | |
17281 | ldxa [0x58]%asi, %r14 !Running_status | |
17282 | wait_for_cmpstat_0_287: | |
17283 | cmp %r13, %r15 | |
17284 | bne,a wait_for_cmpstat_0_287 | |
17285 | ldxa [0x58]%asi, %r15 !Running_status | |
17286 | mov 0xff, %r14 !All threads running | |
17287 | stxa %r14, [0x50]%asi | |
17288 | ldxa [0x58]%asi, %r15 !Running_status | |
17289 | wait_for_cmpstat2_0_287: | |
17290 | cmp %r14, %r15 | |
17291 | bne,a wait_for_cmpstat2_0_287 | |
17292 | ldxa [0x58]%asi, %r15 !Running_status | |
17293 | st %g0, [%r23] !clear lock | |
17294 | nop | |
17295 | nop | |
17296 | ||
17297 | join_lbl_0_0: | |
17298 | SECTION .MAIN | |
17299 | .text | |
17300 | diag_finish: | |
17301 | nop | |
17302 | nop | |
17303 | nop | |
17304 | ta T_CHANGE_HPRIV | |
17305 | set 0x80000, %r2 | |
17306 | wrhpr %g2, %g0, %htba | |
17307 | ta T_GOOD_TRAP | |
17308 | nop | |
17309 | nop | |
17310 | nop | |
17311 | .data | |
17312 | .xword 0x0 | |
17313 | ||
17314 | .global user_data_start | |
17315 | .data | |
17316 | user_data_start: | |
17317 | ||
17318 | .xword 0xcec8eb6a953d1f00 | |
17319 | .xword 0x25b4fece7f7c7268 | |
17320 | .xword 0xeb8865c0c4de012f | |
17321 | .xword 0xd31274224c2464e3 | |
17322 | .xword 0x678f9a630eb2a6f1 | |
17323 | .xword 0x957dfa7391717f8a | |
17324 | .xword 0xdaffcaf574ce418e | |
17325 | .xword 0x7afb443cb04b9676 | |
17326 | .xword 0x904c56fcf33cd44c | |
17327 | .xword 0x55e21ae95d846d42 | |
17328 | .xword 0x5d60f833e3c6f571 | |
17329 | .xword 0xc833f19945064b0f | |
17330 | .xword 0x5af84637c2f9a43c | |
17331 | .xword 0x682365dc956f1695 | |
17332 | .xword 0xe4946ff173b9b2fc | |
17333 | .xword 0x4d3cc238fcd0cdb3 | |
17334 | .xword 0x2f991ecad539442b | |
17335 | .xword 0x0566ec4fc09f8aff | |
17336 | .xword 0x5e7a12dabb12adb2 | |
17337 | .xword 0x74c986ff3edf5229 | |
17338 | .xword 0xc185cdd943a4fce2 | |
17339 | .xword 0x4b112149f61b87d2 | |
17340 | .xword 0x9d58d42b6db87b71 | |
17341 | .xword 0x7fc0cf8c0da6899e | |
17342 | .xword 0x35ef2d0f6a494729 | |
17343 | .xword 0x8932a8e58240a925 | |
17344 | .xword 0x5ca21f9e60a3bbb8 | |
17345 | .xword 0xb2e4fc274d6bbc77 | |
17346 | .xword 0x31b51e524136b715 | |
17347 | .xword 0x90b158bc0d1f285d | |
17348 | .xword 0x53ab60c082e9aa93 | |
17349 | .xword 0x9d6ed75f5d7ca0d4 | |
17350 | .xword 0xe85fc7d76bcad481 | |
17351 | .xword 0xda86bbc7d760a2da | |
17352 | .xword 0xf7caeb8e07bf8e7b | |
17353 | .xword 0x5c43c120f6bf9564 | |
17354 | .xword 0x61513b03c6a371a0 | |
17355 | .xword 0x169c3c25d188f382 | |
17356 | .xword 0xc6af84e62105876e | |
17357 | .xword 0x1c514da38c65cf9b | |
17358 | .xword 0xd902ab2b92af933e | |
17359 | .xword 0x6ab78a52420f741b | |
17360 | .xword 0x3a36df706fe686ac | |
17361 | .xword 0xb4f1e5d1d02d9e87 | |
17362 | .xword 0xacb5601ed4fc5b01 | |
17363 | .xword 0x0c1a21e734efb971 | |
17364 | .xword 0x47f274fb55a9efeb | |
17365 | .xword 0xb98e1caf3486daec | |
17366 | .xword 0x564be41a8b115825 | |
17367 | .xword 0x7b2f466e5c374797 | |
17368 | .xword 0x8fff6a4044e9ed44 | |
17369 | .xword 0xf844f33634711f3f | |
17370 | .xword 0x295a5fca7ffeb0b1 | |
17371 | .xword 0x98f0caabf5698c58 | |
17372 | .xword 0x86e9b885a25d344d | |
17373 | .xword 0x8a99be144a48bf5c | |
17374 | .xword 0x7d543fe99e78a488 | |
17375 | .xword 0x731af2c81e45336b | |
17376 | .xword 0x960681ddfe11226e | |
17377 | .xword 0x11af2a808ad99e9d | |
17378 | .xword 0xe270f7f7779303f9 | |
17379 | .xword 0xbd5afbe9910e6c3f | |
17380 | .xword 0xf35ab394e15f2bf7 | |
17381 | .xword 0xb651764fc6c43291 | |
17382 | .xword 0x5b7c7f5ce8a7784c | |
17383 | .xword 0x33c58fa49c57d6c8 | |
17384 | .xword 0xf4b94b97c2f8eb92 | |
17385 | .xword 0xdec6f45ddb18fa5d | |
17386 | .xword 0x86d4163352d4d8cf | |
17387 | .xword 0x75b552784a80eb98 | |
17388 | .xword 0x63fc0ad4717b52e6 | |
17389 | .xword 0x90a852d533c4d4bc | |
17390 | .xword 0x6a4cee6a53876022 | |
17391 | .xword 0x8a016cc72e6b179a | |
17392 | .xword 0xbcaaa1c94d9c359b | |
17393 | .xword 0xedc7759dac00712f | |
17394 | .xword 0xb9139f582a1aa5fc | |
17395 | .xword 0x2a227b5943e67f4b | |
17396 | .xword 0xe5bcdab95b3323b6 | |
17397 | .xword 0x16f5331895fe8655 | |
17398 | .xword 0xb591e01e275c775b | |
17399 | .xword 0x94e07940999fb263 | |
17400 | .xword 0xf970fd995d2aca78 | |
17401 | .xword 0x9f7065d30ec5368e | |
17402 | .xword 0x3b91eabbc9df6511 | |
17403 | .xword 0x4a55efbe8c92dcde | |
17404 | .xword 0x40d30c5ecdc1d2f8 | |
17405 | .xword 0x1bb767d9279fea2b | |
17406 | .xword 0xbccb4f7280df6bf7 | |
17407 | .xword 0xc30476334f4487bc | |
17408 | .xword 0x4f9efef50b1848e0 | |
17409 | .xword 0x8ed20df350fe992e | |
17410 | .xword 0x2ebaff11045933ed | |
17411 | .xword 0xa772b3c9ed378501 | |
17412 | .xword 0xd10b03b636d479c7 | |
17413 | .xword 0x089cb469740cf728 | |
17414 | .xword 0x93f8c9a02254bc18 | |
17415 | .xword 0x078bd62f54757631 | |
17416 | .xword 0xa293d63a47ac12ca | |
17417 | .xword 0x96c11e4a20ea85ca | |
17418 | .xword 0xcaa2e68230c0107b | |
17419 | .xword 0x5679171370454d5e | |
17420 | .xword 0x39c39ce37b42c29d | |
17421 | .xword 0x145a49b2659c4322 | |
17422 | .xword 0x6abc61e536b20a57 | |
17423 | .xword 0xa3bc62bf055c23a0 | |
17424 | .xword 0xcb8f64158a960ad7 | |
17425 | .xword 0x8f74388080cfbbda | |
17426 | .xword 0x1e589ea9e1741810 | |
17427 | .xword 0x766b93142bb3ee62 | |
17428 | .xword 0x37e0a55282a1eb84 | |
17429 | .xword 0x752b2b968eeb2b22 | |
17430 | .xword 0xbb6b4966eedd47ad | |
17431 | .xword 0x1fbdb029cb93bec8 | |
17432 | .xword 0xce76420eb58a1f93 | |
17433 | .xword 0x0554e96277f38a50 | |
17434 | .xword 0xde66727806f010b7 | |
17435 | .xword 0x3f9a12380fca24da | |
17436 | .xword 0xae711e175384d813 | |
17437 | .xword 0x4a711a7b54f2c700 | |
17438 | .xword 0xd5eaa199e5af802a | |
17439 | .xword 0x3fb09b2b250e90a4 | |
17440 | .xword 0xbda9a3d233d07f55 | |
17441 | .xword 0xd3583f2f211dfec9 | |
17442 | .xword 0x27588712c6ab2358 | |
17443 | .xword 0xcbf0d94e850c9107 | |
17444 | .xword 0x3b0f33350af61b8d | |
17445 | .xword 0xb6406bd28e8e8f77 | |
17446 | .xword 0x40d66b7a1b63000b | |
17447 | .xword 0x1d08e67d0c87a1e3 | |
17448 | .xword 0xa929547b82f14d1d | |
17449 | .xword 0xc8f7c340730ad9e0 | |
17450 | .xword 0x6b696d03ea872735 | |
17451 | .xword 0xdef753b8916c34f5 | |
17452 | .xword 0x46e21f0d2395063e | |
17453 | .xword 0x6c8eb14b6d5e2c8c | |
17454 | .xword 0x6c0e61023a220140 | |
17455 | .xword 0xdd68524c6aa6692e | |
17456 | .xword 0x852d793f5adc5a48 | |
17457 | .xword 0x9f85dd0578cfbf11 | |
17458 | .xword 0x89d2465161887afd | |
17459 | .xword 0x2e48efb150e5b919 | |
17460 | .xword 0xffd1f2d857193865 | |
17461 | .xword 0x66f751c456f34481 | |
17462 | .xword 0x6b19201344786db9 | |
17463 | .xword 0x34bff7563ce5e849 | |
17464 | .xword 0x1ad7b3eedc94904a | |
17465 | .xword 0x81d1620d604a0d4f | |
17466 | .xword 0xc71e8a11ca5740e3 | |
17467 | .xword 0x43d93d98c2d19f74 | |
17468 | .xword 0x6a8dbf3d72b88251 | |
17469 | .xword 0x0fcc2007cbaaa82c | |
17470 | .xword 0x103a5df7a54f5124 | |
17471 | .xword 0x2bc069c11acb3db4 | |
17472 | .xword 0xfb2b35a6c475ca64 | |
17473 | .xword 0x1155bd655be8ea06 | |
17474 | .xword 0x0c18374c60431442 | |
17475 | .xword 0xcb75a18cd4301c68 | |
17476 | .xword 0x04dfcfaae7a08910 | |
17477 | .xword 0x801f6ff9e93839c5 | |
17478 | .xword 0x3b13fe0f8798d8a3 | |
17479 | .xword 0xff1513c2ef296b72 | |
17480 | .xword 0x1cace272d9fa1ae2 | |
17481 | .xword 0xa35aa5cea4517d18 | |
17482 | .xword 0xf6f5c60cd511b8ae | |
17483 | .xword 0x9bf4085030430324 | |
17484 | .xword 0xaecb92e3059dd198 | |
17485 | .xword 0xf5c8a19cf5638d37 | |
17486 | .xword 0xfb002122c366dbcd | |
17487 | .xword 0xe29a9aea73e178c4 | |
17488 | .xword 0xb7fee5ef2810679d | |
17489 | .xword 0x46ee75bb6bea66f1 | |
17490 | .xword 0xe1605275f32f3c32 | |
17491 | .xword 0xef3bff79a76b7308 | |
17492 | .xword 0x6b539bf3d0534054 | |
17493 | .xword 0x7d9b947172f1cd61 | |
17494 | .xword 0x602899052bf235f8 | |
17495 | .xword 0x083c5677b4bde6b9 | |
17496 | .xword 0xe82b905753fcecb5 | |
17497 | .xword 0x01d344cfc508a322 | |
17498 | .xword 0xa227036e23639a4a | |
17499 | .xword 0xad3244cb32b4ea72 | |
17500 | .xword 0xd2a68c8f2c122f41 | |
17501 | .xword 0x18cc583ec6071df6 | |
17502 | .xword 0x53a7c132e64e4ee4 | |
17503 | .xword 0x1877c5933cf3dab5 | |
17504 | .xword 0x6e7492d7203701e9 | |
17505 | .xword 0x736ad1899c026906 | |
17506 | .xword 0xc8b1606af54b0773 | |
17507 | .xword 0xcb6314f406a34f14 | |
17508 | .xword 0xef1114f520826e8a | |
17509 | .xword 0x6df703d85fc2ba69 | |
17510 | .xword 0xc06a9b3eab0e89db | |
17511 | .xword 0xa318c2be352160fc | |
17512 | .xword 0x289a85be57a42a44 | |
17513 | .xword 0xd16e3bc2df90580a | |
17514 | .xword 0x2e6f5a404e3b3c57 | |
17515 | .xword 0xd575d73dcc2e62b7 | |
17516 | .xword 0x7ec434258e2b316f | |
17517 | .xword 0xc31cb810aad19997 | |
17518 | .xword 0x4be6e2d1fba3b88a | |
17519 | .xword 0x90322e9171b92ec1 | |
17520 | .xword 0x5ff2b98cdee585e1 | |
17521 | .xword 0x65a42c0a5056cd36 | |
17522 | .xword 0x73ca14521771da9a | |
17523 | .xword 0xf6a8d6e780df6894 | |
17524 | .xword 0xe153847484ebe779 | |
17525 | .xword 0xcc82e5786375fcf0 | |
17526 | .xword 0xd5dee46ed61b3a5a | |
17527 | .xword 0xb43c8c1ef5a22e0b | |
17528 | .xword 0x9c492307d4db9d26 | |
17529 | .xword 0x4d9694116a97be4b | |
17530 | .xword 0x860a57b1e98a9bd0 | |
17531 | .xword 0x78cbd815afc3f192 | |
17532 | .xword 0x6c606822e8fb1624 | |
17533 | .xword 0x3586be46a9ad2fd2 | |
17534 | .xword 0xdf02401c40189800 | |
17535 | .xword 0xe4f07247a8118ab5 | |
17536 | .xword 0x374b241c724e3674 | |
17537 | .xword 0xb9d483e93044dc39 | |
17538 | .xword 0xf32e25547c3dac66 | |
17539 | .xword 0x410e90569b2c2fe2 | |
17540 | .xword 0x34ac7c1e5487a3a6 | |
17541 | .xword 0x790ed581e0747125 | |
17542 | .xword 0x2db8c624d30a787b | |
17543 | .xword 0x93514b6a92dc9345 | |
17544 | .xword 0xccf3d5ec6577a4b9 | |
17545 | .xword 0x3f1707223fc5bebf | |
17546 | .xword 0xc801b264d41daa1a | |
17547 | .xword 0x12eed708ccf50d18 | |
17548 | .xword 0x7f86f9a84f29597d | |
17549 | .xword 0xa08aca0e0dd5bdcc | |
17550 | .xword 0x18ca290008c5553d | |
17551 | .xword 0x4d09d08e2728e7c4 | |
17552 | .xword 0xc8eb1d3c7739ba3a | |
17553 | .xword 0x643ef5bd40d19afc | |
17554 | .xword 0x14d30a242fdc3c36 | |
17555 | .xword 0x31032fb5e7a6b24c | |
17556 | .xword 0x1912fcaa88e808a9 | |
17557 | .xword 0x38953e33146a6406 | |
17558 | .xword 0x562937dc57daa69a | |
17559 | .xword 0x1a7e78730a17afd1 | |
17560 | .xword 0xb817d26a2d78af25 | |
17561 | .xword 0x19853107adbd6916 | |
17562 | .xword 0xfe23fc3cd039b101 | |
17563 | .xword 0xa83a6c8687e8359f | |
17564 | .xword 0x1fa1c63fdfd4c333 | |
17565 | .xword 0xa7149eaba3c75261 | |
17566 | .xword 0x7fa34b4f832c3c23 | |
17567 | .xword 0x7f41d15a90b28ab1 | |
17568 | .xword 0xfa35db3e5edc5c3a | |
17569 | .xword 0x402af8d559de1a62 | |
17570 | .xword 0x2b79e5581af4a47a | |
17571 | .xword 0xd6b02c6e5d257910 | |
17572 | .xword 0xddcf39b29305d96d | |
17573 | .xword 0x738d8802675564c1 | |
17574 | ||
17575 | .global wdog_2_ext | |
17576 | # 9 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_extensions.s" | |
17577 | .global wdog_2_ext | |
17578 | .global retry_with_base_tba | |
17579 | ||
17580 | SECTION .HTRAPS | |
17581 | .text | |
17582 | retry_with_base_tba: | |
17583 | set 0x120000, %r2 | |
17584 | set 0x7fff, %r3 | |
17585 | rdpr %tpc, %r4 | |
17586 | and %r4, %r3, %r4 | |
17587 | or %r2, %r4, %r4 | |
17588 | wrpr %r4, %tpc | |
17589 | rdpr %tnpc, %r4 | |
17590 | and %r4, %r3, %r4 | |
17591 | or %r2, %r4, %r4 | |
17592 | wrpr %r4, %tnpc | |
17593 | retry | |
17594 | ||
17595 | htrap_5_ext: | |
17596 | rd %pc, %l2 | |
17597 | inc %l3 | |
17598 | add %l2, htrap_5_ext_done-htrap_5_ext, %l2 | |
17599 | rdpr %tl, %l3 | |
17600 | rdpr %tstate, %l4 | |
17601 | rdhpr %htstate, %l5 | |
17602 | or %l5, 0x4, %l5 | |
17603 | inc %l3 | |
17604 | wrpr %l3, %tl | |
17605 | wrpr %l2, %tpc | |
17606 | add %l2, 4, %l2 | |
17607 | wrpr %l2, %tnpc | |
17608 | wrpr %l4, %tstate | |
17609 | wrhpr %l5, %htstate | |
17610 | retry | |
17611 | htrap_5_ext_done: | |
17612 | done | |
17613 | ||
17614 | wdog_2_ext: | |
17615 | mov 0x1f, %l1 | |
17616 | stxa %l1, [%g0] ASI_LSU_CTL_REG | |
17617 | ! If TT != 2, then goto trap handler | |
17618 | rdpr %tt, %l1 | |
17619 | cmp %l1, 0x2 | |
17620 | bne wdog_2_goto_handler | |
17621 | nop | |
17622 | ! else done | |
17623 | done | |
17624 | wdog_2_goto_handler: | |
17625 | rdhpr %htstate, %l2 | |
17626 | and %l2, 0x4, %l2 ! If previously in hpriv mode, go to hpriv | |
17627 | brnz,a %l2, wdog_2_goto_handler_1 | |
17628 | rdhpr %htba, %l2 | |
17629 | srlx %l1, 7, %l2 ! Send priv sw traps to priv mode .. | |
17630 | cmp %l2, 0x2 ! 0x2 = priv sw trap, 0x3=hpriv sw trap .. | |
17631 | be,a wdog_2_goto_handler_1 | |
17632 | rdpr %tba, %l2 | |
17633 | rdhpr %htba, %l2 | |
17634 | wdog_2_goto_handler_1: | |
17635 | sllx %l1, 5, %l1 | |
17636 | add %l1, %l2, %l2 | |
17637 | jmp %l2 | |
17638 | nop | |
17639 | # 73 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_extensions.s" | |
17640 | ! Red mode other reset handler | |
17641 | ! Get htba, and tt and make trap address | |
17642 | ! Jump to trap handler .. | |
17643 | ||
17644 | SECTION .RED_SEC | |
17645 | .text | |
17646 | red_other_ext: | |
17647 | ! IF TL=6, shift stack by one .. | |
17648 | rdpr %tl, %l1 | |
17649 | cmp %l1, 6 | |
17650 | be start_tsa_shift | |
17651 | nop | |
17652 | ||
17653 | continue_red_other: | |
17654 | mov 0x1f, %l1 | |
17655 | stxa %l1, [%g0] ASI_LSU_CTL_REG | |
17656 | ||
17657 | rdpr %tt, %l1 | |
17658 | ||
17659 | rdhpr %htstate, %l2 | |
17660 | and %l2, 0x4, %l2 ! If previously in hpriv mode, go to hpriv | |
17661 | brnz,a %l2, red_goto_handler | |
17662 | rdhpr %htba, %l2 | |
17663 | srlx %l1, 7, %l2 ! Send priv sw traps to priv mode .. | |
17664 | cmp %l2, 0x2 ! 0x2 = priv sw trap, 0x3=hpriv sw trap .. | |
17665 | be,a red_goto_handler | |
17666 | rdpr %tba, %l2 | |
17667 | rdhpr %htba, %l2 | |
17668 | red_goto_handler: | |
17669 | ||
17670 | sllx %l1, 5, %l1 | |
17671 | add %l1, %l2, %l2 | |
17672 | rdhpr %hpstate, %l1 | |
17673 | jmp %l2 | |
17674 | wrhpr %l1, 0x20, %hpstate | |
17675 | nop | |
17676 | ||
17677 | wdog_red_ext: | |
17678 | ! Shift stack down by 1 ... | |
17679 | rdpr %tl, %l1 | |
17680 | cmp %l1, 6 | |
17681 | bl wdog_end | |
17682 | start_tsa_shift: | |
17683 | mov 0x2, %l2 | |
17684 | ||
17685 | tsa_shift: | |
17686 | wrpr %l2, %tl | |
17687 | rdpr %tt, %l3 | |
17688 | rdpr %tpc, %l4 | |
17689 | rdpr %tnpc, %l5 | |
17690 | rdpr %tstate, %l6 | |
17691 | rdhpr %htstate, %l7 | |
17692 | dec %l2 | |
17693 | wrpr %l2, %tl | |
17694 | wrpr %l3, %tt | |
17695 | wrpr %l4, %tpc | |
17696 | wrpr %l5, %tnpc | |
17697 | wrpr %l6, %tstate | |
17698 | wrhpr %l7, %htstate | |
17699 | add %l2, 2, %l2 | |
17700 | cmp %l2, %l1 | |
17701 | ble tsa_shift | |
17702 | nop | |
17703 | tsa_shift_done: | |
17704 | dec %l1 | |
17705 | wrpr %l1, %tl | |
17706 | ||
17707 | wdog_end: | |
17708 | ! If TT != 2, then goto trap handler | |
17709 | rdpr %tt, %l1 | |
17710 | ||
17711 | cmp %l1, 0x2 | |
17712 | bne continue_red_other | |
17713 | nop | |
17714 | ! else done | |
17715 | mov 0x1f, %l1 | |
17716 | stxa %l1, [%g0] ASI_LSU_CTL_REG | |
17717 | done | |
17718 | # 492 "diag.j" | |
17719 | SECTION .CWQ_DATA DATA_VA =0x4000 | |
17720 | attr_data { | |
17721 | Name = .CWQ_DATA | |
17722 | hypervisor | |
17723 | } | |
17724 | ||
17725 | .data | |
17726 | .align 16 | |
17727 | .global msg | |
17728 | msg: | |
17729 | .xword 0xad32fa52374cc6ba | |
17730 | .xword 0x4cbf52280549003a | |
17731 | ||
17732 | .align 16 | |
17733 | .global results | |
17734 | results: | |
17735 | .xword 0xDEADBEEFDEADBEEF | |
17736 | .xword 0xDEADBEEFDEADBEEF | |
17737 | !# CWQ data area | |
17738 | .align 64 | |
17739 | .global CWQ_BASE | |
17740 | CWQ_BASE: | |
17741 | .xword 0xAAAAAAAAAAAAAAA | |
17742 | .xword 0xAAAAAAAAAAAAAAA | |
17743 | .xword 0xAAAAAAAAAAAAAAA | |
17744 | .xword 0xAAAAAAAAAAAAAAA | |
17745 | .xword 0xAAAAAAAAAAAAAAA | |
17746 | .xword 0xAAAAAAAAAAAAAAA | |
17747 | .xword 0xAAAAAAAAAAAAAAA | |
17748 | .xword 0xAAAAAAAAAAAAAAA | |
17749 | .xword 0xAAAAAAAAAAAAAAA | |
17750 | .xword 0xAAAAAAAAAAAAAAA | |
17751 | .xword 0xAAAAAAAAAAAAAAA | |
17752 | .xword 0xAAAAAAAAAAAAAAA | |
17753 | .xword 0xAAAAAAAAAAAAAAA | |
17754 | .xword 0xAAAAAAAAAAAAAAA | |
17755 | .xword 0xAAAAAAAAAAAAAAA | |
17756 | .xword 0xAAAAAAAAAAAAAAA | |
17757 | .xword 0xAAAAAAAAAAAAAAA | |
17758 | .xword 0xAAAAAAAAAAAAAAA | |
17759 | .xword 0xAAAAAAAAAAAAAAA | |
17760 | .xword 0xAAAAAAAAAAAAAAA | |
17761 | .xword 0xAAAAAAAAAAAAAAA | |
17762 | .xword 0xAAAAAAAAAAAAAAA | |
17763 | .xword 0xAAAAAAAAAAAAAAA | |
17764 | .xword 0xAAAAAAAAAAAAAAA | |
17765 | .global CWQ_LAST | |
17766 | .align 64 | |
17767 | CWQ_LAST: | |
17768 | ||
17769 | ||
17770 | ||
17771 | SECTION .MyHTRAPS_0 TEXT_VA = 0x0000000000380000, DATA_VA = 0x000000000038c000 | |
17772 | attr_text { | |
17773 | Name = .MyHTRAPS_0, | |
17774 | RA = 0x0000000000380000, | |
17775 | PA = ra2pa(0x0000000000380000,0), | |
17776 | part_0_ctx_zero_tsb_config_0, | |
17777 | part_0_ctx_nonzero_tsb_config_0, | |
17778 | TTE_G = 1, | |
17779 | TTE_Context = 0, | |
17780 | TTE_V = 1, | |
17781 | TTE_Size = 0, | |
17782 | TTE_NFO = 0, | |
17783 | TTE_IE = 0, | |
17784 | TTE_Soft2 = 0, | |
17785 | TTE_Diag = 0, | |
17786 | TTE_Soft = 0, | |
17787 | TTE_L = 0, | |
17788 | TTE_CP = 1, | |
17789 | TTE_CV = 0, | |
17790 | TTE_E = 0, | |
17791 | TTE_P = 1, | |
17792 | TTE_W = 0, | |
17793 | TTE_X = 0 | |
17794 | } | |
17795 | ||
17796 | ||
17797 | attr_data { | |
17798 | Name = .MyHTRAPS_0, | |
17799 | RA = 0x000000000038c000, | |
17800 | PA = ra2pa(0x000000000038c000,0), | |
17801 | part_0_ctx_zero_tsb_config_0, | |
17802 | part_0_ctx_nonzero_tsb_config_0, | |
17803 | TTE_G = 1, | |
17804 | TTE_Context = 0, | |
17805 | TTE_V = 1, | |
17806 | TTE_Size = 0, | |
17807 | TTE_NFO = 0, | |
17808 | TTE_IE = 0, | |
17809 | TTE_Soft2 = 0, | |
17810 | TTE_Diag = 0, | |
17811 | TTE_Soft = 0, | |
17812 | TTE_L = 0, | |
17813 | TTE_CP = 1, | |
17814 | TTE_CV = 0, | |
17815 | TTE_E = 0, | |
17816 | TTE_P = 1, | |
17817 | TTE_W = 0 | |
17818 | } | |
17819 | ||
17820 | ||
17821 | attr_text { | |
17822 | Name = .MyHTRAPS_0, | |
17823 | hypervisor | |
17824 | } | |
17825 | ||
17826 | ||
17827 | attr_data { | |
17828 | Name = .MyHTRAPS_0, | |
17829 | hypervisor | |
17830 | } | |
17831 | ||
17832 | #include "htraps.s" | |
17833 | #include "tlu_htraps_ext.s" | |
17834 | ||
17835 | ||
17836 | ||
17837 | SECTION .MyHTRAPS_1 TEXT_VA = 0x0000000000390000, DATA_VA = 0x000000000039c000 | |
17838 | attr_text { | |
17839 | Name = .MyHTRAPS_1, | |
17840 | RA = 0x0000000000390000, | |
17841 | PA = ra2pa(0x0000000000390000,0), | |
17842 | part_0_ctx_zero_tsb_config_0, | |
17843 | part_0_ctx_nonzero_tsb_config_0, | |
17844 | TTE_G = 1, | |
17845 | TTE_Context = 0, | |
17846 | TTE_V = 1, | |
17847 | TTE_Size = 0, | |
17848 | TTE_NFO = 0, | |
17849 | TTE_IE = 0, | |
17850 | TTE_Soft2 = 0, | |
17851 | TTE_Diag = 0, | |
17852 | TTE_Soft = 0, | |
17853 | TTE_L = 0, | |
17854 | TTE_CP = 1, | |
17855 | TTE_CV = 0, | |
17856 | TTE_E = 0, | |
17857 | TTE_P = 1, | |
17858 | TTE_W = 0, | |
17859 | TTE_X = 0 | |
17860 | } | |
17861 | ||
17862 | ||
17863 | attr_data { | |
17864 | Name = .MyHTRAPS_1, | |
17865 | RA = 0x000000000039c000, | |
17866 | PA = ra2pa(0x000000000039c000,0), | |
17867 | part_0_ctx_zero_tsb_config_0, | |
17868 | part_0_ctx_nonzero_tsb_config_0, | |
17869 | TTE_G = 1, | |
17870 | TTE_Context = 0, | |
17871 | TTE_V = 1, | |
17872 | TTE_Size = 0, | |
17873 | TTE_NFO = 0, | |
17874 | TTE_IE = 0, | |
17875 | TTE_Soft2 = 0, | |
17876 | TTE_Diag = 0, | |
17877 | TTE_Soft = 0, | |
17878 | TTE_L = 0, | |
17879 | TTE_CP = 1, | |
17880 | TTE_CV = 0, | |
17881 | TTE_E = 0, | |
17882 | TTE_P = 1, | |
17883 | TTE_W = 0 | |
17884 | } | |
17885 | ||
17886 | ||
17887 | attr_text { | |
17888 | Name = .MyHTRAPS_1, | |
17889 | hypervisor | |
17890 | } | |
17891 | ||
17892 | ||
17893 | attr_data { | |
17894 | Name = .MyHTRAPS_1, | |
17895 | hypervisor | |
17896 | } | |
17897 | ||
17898 | #include "htraps.s" | |
17899 | #include "tlu_htraps_ext.s" | |
17900 | ||
17901 | ||
17902 | ||
17903 | SECTION .MyHTRAPS_2 TEXT_VA = 0x00000000003a0000, DATA_VA = 0x00000000003ac000 | |
17904 | attr_text { | |
17905 | Name = .MyHTRAPS_2, | |
17906 | RA = 0x00000000003a0000, | |
17907 | PA = ra2pa(0x00000000003a0000,0), | |
17908 | part_0_ctx_zero_tsb_config_0, | |
17909 | part_0_ctx_nonzero_tsb_config_0, | |
17910 | TTE_G = 1, | |
17911 | TTE_Context = 0, | |
17912 | TTE_V = 1, | |
17913 | TTE_Size = 0, | |
17914 | TTE_NFO = 0, | |
17915 | TTE_IE = 0, | |
17916 | TTE_Soft2 = 0, | |
17917 | TTE_Diag = 0, | |
17918 | TTE_Soft = 0, | |
17919 | TTE_L = 0, | |
17920 | TTE_CP = 1, | |
17921 | TTE_CV = 0, | |
17922 | TTE_E = 0, | |
17923 | TTE_P = 1, | |
17924 | TTE_W = 0, | |
17925 | TTE_X = 0 | |
17926 | } | |
17927 | ||
17928 | ||
17929 | attr_data { | |
17930 | Name = .MyHTRAPS_2, | |
17931 | RA = 0x00000000003ac000, | |
17932 | PA = ra2pa(0x00000000003ac000,0), | |
17933 | part_0_ctx_zero_tsb_config_0, | |
17934 | part_0_ctx_nonzero_tsb_config_0, | |
17935 | TTE_G = 1, | |
17936 | TTE_Context = 0, | |
17937 | TTE_V = 1, | |
17938 | TTE_Size = 0, | |
17939 | TTE_NFO = 0, | |
17940 | TTE_IE = 0, | |
17941 | TTE_Soft2 = 0, | |
17942 | TTE_Diag = 0, | |
17943 | TTE_Soft = 0, | |
17944 | TTE_L = 0, | |
17945 | TTE_CP = 1, | |
17946 | TTE_CV = 0, | |
17947 | TTE_E = 0, | |
17948 | TTE_P = 1, | |
17949 | TTE_W = 0 | |
17950 | } | |
17951 | ||
17952 | ||
17953 | attr_text { | |
17954 | Name = .MyHTRAPS_2, | |
17955 | hypervisor | |
17956 | } | |
17957 | ||
17958 | ||
17959 | attr_data { | |
17960 | Name = .MyHTRAPS_2, | |
17961 | hypervisor | |
17962 | } | |
17963 | ||
17964 | #include "htraps.s" | |
17965 | #include "tlu_htraps_ext.s" | |
17966 | ||
17967 | ||
17968 | ||
17969 | SECTION .MyHTRAPS_3 TEXT_VA = 0x00000000003b0000, DATA_VA = 0x00000000003bc000 | |
17970 | attr_text { | |
17971 | Name = .MyHTRAPS_3, | |
17972 | RA = 0x00000000003b0000, | |
17973 | PA = ra2pa(0x00000000003b0000,0), | |
17974 | part_0_ctx_zero_tsb_config_0, | |
17975 | part_0_ctx_nonzero_tsb_config_0, | |
17976 | TTE_G = 1, | |
17977 | TTE_Context = 0, | |
17978 | TTE_V = 1, | |
17979 | TTE_Size = 0, | |
17980 | TTE_NFO = 0, | |
17981 | TTE_IE = 0, | |
17982 | TTE_Soft2 = 0, | |
17983 | TTE_Diag = 0, | |
17984 | TTE_Soft = 0, | |
17985 | TTE_L = 0, | |
17986 | TTE_CP = 1, | |
17987 | TTE_CV = 0, | |
17988 | TTE_E = 0, | |
17989 | TTE_P = 1, | |
17990 | TTE_W = 0, | |
17991 | TTE_X = 0 | |
17992 | } | |
17993 | ||
17994 | ||
17995 | attr_data { | |
17996 | Name = .MyHTRAPS_3, | |
17997 | RA = 0x00000000003bc000, | |
17998 | PA = ra2pa(0x00000000003bc000,0), | |
17999 | part_0_ctx_zero_tsb_config_0, | |
18000 | part_0_ctx_nonzero_tsb_config_0, | |
18001 | TTE_G = 1, | |
18002 | TTE_Context = 0, | |
18003 | TTE_V = 1, | |
18004 | TTE_Size = 0, | |
18005 | TTE_NFO = 0, | |
18006 | TTE_IE = 0, | |
18007 | TTE_Soft2 = 0, | |
18008 | TTE_Diag = 0, | |
18009 | TTE_Soft = 0, | |
18010 | TTE_L = 0, | |
18011 | TTE_CP = 1, | |
18012 | TTE_CV = 0, | |
18013 | TTE_E = 0, | |
18014 | TTE_P = 1, | |
18015 | TTE_W = 0 | |
18016 | } | |
18017 | ||
18018 | ||
18019 | attr_text { | |
18020 | Name = .MyHTRAPS_3, | |
18021 | hypervisor | |
18022 | } | |
18023 | ||
18024 | ||
18025 | attr_data { | |
18026 | Name = .MyHTRAPS_3, | |
18027 | hypervisor | |
18028 | } | |
18029 | ||
18030 | #include "htraps.s" | |
18031 | #include "tlu_htraps_ext.s" | |
18032 | ||
18033 | ||
18034 | ||
18035 | ||
18036 | ||
18037 | SECTION .MyTRAPS_0 TEXT_VA = 0x00000000003c0000, DATA_VA = 0x00000000003cc000 | |
18038 | attr_text { | |
18039 | Name = .MyTRAPS_0, | |
18040 | RA = 0x00000000003c0000, | |
18041 | PA = ra2pa(0x00000000003c0000,0), | |
18042 | part_0_ctx_zero_tsb_config_0, | |
18043 | part_0_ctx_nonzero_tsb_config_0, | |
18044 | TTE_G = 1, | |
18045 | TTE_Context = 0, | |
18046 | TTE_V = 1, | |
18047 | TTE_Size = 0, | |
18048 | TTE_NFO = 1, | |
18049 | TTE_IE = 0, | |
18050 | TTE_Soft2 = 0, | |
18051 | TTE_Diag = 0, | |
18052 | TTE_Soft = 0, | |
18053 | TTE_L = 0, | |
18054 | TTE_CP = 0, | |
18055 | TTE_CV = 0, | |
18056 | TTE_E = 0, | |
18057 | TTE_P = 1, | |
18058 | TTE_W = 0, | |
18059 | TTE_X = 1 | |
18060 | } | |
18061 | ||
18062 | ||
18063 | attr_data { | |
18064 | Name = .MyTRAPS_0, | |
18065 | RA = 0x00000000003cc000, | |
18066 | PA = ra2pa(0x00000000003cc000,0), | |
18067 | part_0_ctx_zero_tsb_config_0, | |
18068 | part_0_ctx_nonzero_tsb_config_0, | |
18069 | TTE_G = 1, | |
18070 | TTE_Context = 0, | |
18071 | TTE_V = 1, | |
18072 | TTE_Size = 0, | |
18073 | TTE_NFO = 0, | |
18074 | TTE_IE = 0, | |
18075 | TTE_Soft2 = 0, | |
18076 | TTE_Diag = 0, | |
18077 | TTE_Soft = 0, | |
18078 | TTE_L = 0, | |
18079 | TTE_CP = 0, | |
18080 | TTE_CV = 0, | |
18081 | TTE_E = 0, | |
18082 | TTE_P = 1, | |
18083 | TTE_W = 0 | |
18084 | } | |
18085 | ||
18086 | ||
18087 | attr_text { | |
18088 | Name = .MyTRAPS_0, | |
18089 | hypervisor | |
18090 | } | |
18091 | ||
18092 | ||
18093 | attr_data { | |
18094 | Name = .MyTRAPS_0, | |
18095 | hypervisor | |
18096 | } | |
18097 | ||
18098 | #include "traps.s" | |
18099 | ||
18100 | ||
18101 | ||
18102 | SECTION .MyTRAPS_1 TEXT_VA = 0x00000000003d0000, DATA_VA = 0x00000000003dc000 | |
18103 | attr_text { | |
18104 | Name = .MyTRAPS_1, | |
18105 | RA = 0x00000000003d0000, | |
18106 | PA = ra2pa(0x00000000003d0000,0), | |
18107 | part_0_ctx_zero_tsb_config_0, | |
18108 | part_0_ctx_nonzero_tsb_config_0, | |
18109 | TTE_G = 1, | |
18110 | TTE_Context = 0, | |
18111 | TTE_V = 1, | |
18112 | TTE_Size = 0, | |
18113 | TTE_NFO = 0, | |
18114 | TTE_IE = 0, | |
18115 | TTE_Soft2 = 0, | |
18116 | TTE_Diag = 0, | |
18117 | TTE_Soft = 0, | |
18118 | TTE_L = 0, | |
18119 | TTE_CP = 0, | |
18120 | TTE_CV = 0, | |
18121 | TTE_E = 1, | |
18122 | TTE_P = 1, | |
18123 | TTE_W = 0, | |
18124 | TTE_X = 0 | |
18125 | } | |
18126 | ||
18127 | ||
18128 | attr_data { | |
18129 | Name = .MyTRAPS_1, | |
18130 | RA = 0x00000000003dc000, | |
18131 | PA = ra2pa(0x00000000003dc000,0), | |
18132 | part_0_ctx_zero_tsb_config_0, | |
18133 | part_0_ctx_nonzero_tsb_config_0, | |
18134 | TTE_G = 1, | |
18135 | TTE_Context = 0, | |
18136 | TTE_V = 1, | |
18137 | TTE_Size = 0, | |
18138 | TTE_NFO = 0, | |
18139 | TTE_IE = 0, | |
18140 | TTE_Soft2 = 0, | |
18141 | TTE_Diag = 0, | |
18142 | TTE_Soft = 0, | |
18143 | TTE_L = 0, | |
18144 | TTE_CP = 1, | |
18145 | TTE_CV = 0, | |
18146 | TTE_E = 0, | |
18147 | TTE_P = 1, | |
18148 | TTE_W = 0 | |
18149 | } | |
18150 | ||
18151 | ||
18152 | attr_text { | |
18153 | Name = .MyTRAPS_1, | |
18154 | hypervisor | |
18155 | } | |
18156 | ||
18157 | ||
18158 | attr_data { | |
18159 | Name = .MyTRAPS_1, | |
18160 | hypervisor | |
18161 | } | |
18162 | ||
18163 | #include "traps.s" | |
18164 | ||
18165 | ||
18166 | ||
18167 | SECTION .MyTRAPS_2 TEXT_VA = 0x00000000003e0000, DATA_VA = 0x00000000003ec000 | |
18168 | attr_text { | |
18169 | Name = .MyTRAPS_2, | |
18170 | RA = 0x00000000003e0000, | |
18171 | PA = ra2pa(0x00000000003e0000,0), | |
18172 | part_0_ctx_zero_tsb_config_0, | |
18173 | part_0_ctx_nonzero_tsb_config_0, | |
18174 | TTE_G = 1, | |
18175 | TTE_Context = 0, | |
18176 | TTE_V = 1, | |
18177 | TTE_Size = 0, | |
18178 | TTE_NFO = 0, | |
18179 | TTE_IE = 0, | |
18180 | TTE_Soft2 = 0, | |
18181 | TTE_Diag = 0, | |
18182 | TTE_Soft = 0, | |
18183 | TTE_L = 0, | |
18184 | TTE_CP = 1, | |
18185 | TTE_CV = 0, | |
18186 | TTE_E = 0, | |
18187 | TTE_P = 1, | |
18188 | TTE_W = 0, | |
18189 | TTE_X = 1 | |
18190 | } | |
18191 | ||
18192 | ||
18193 | attr_data { | |
18194 | Name = .MyTRAPS_2, | |
18195 | RA = 0x00000000003ec000, | |
18196 | PA = ra2pa(0x00000000003ec000,0), | |
18197 | part_0_ctx_zero_tsb_config_0, | |
18198 | part_0_ctx_nonzero_tsb_config_0, | |
18199 | TTE_G = 1, | |
18200 | TTE_Context = 0, | |
18201 | TTE_V = 1, | |
18202 | TTE_Size = 0, | |
18203 | TTE_NFO = 0, | |
18204 | TTE_IE = 0, | |
18205 | TTE_Soft2 = 0, | |
18206 | TTE_Diag = 0, | |
18207 | TTE_Soft = 0, | |
18208 | TTE_L = 0, | |
18209 | TTE_CP = 0, | |
18210 | TTE_CV = 0, | |
18211 | TTE_E = 0, | |
18212 | TTE_P = 1, | |
18213 | TTE_W = 0 | |
18214 | } | |
18215 | ||
18216 | ||
18217 | attr_text { | |
18218 | Name = .MyTRAPS_2, | |
18219 | hypervisor | |
18220 | } | |
18221 | ||
18222 | ||
18223 | attr_data { | |
18224 | Name = .MyTRAPS_2, | |
18225 | hypervisor | |
18226 | } | |
18227 | ||
18228 | #include "traps.s" | |
18229 | ||
18230 | ||
18231 | ||
18232 | SECTION .MyTRAPS_3 TEXT_VA = 0x00000000003f0000, DATA_VA = 0x00000000003fc000 | |
18233 | attr_text { | |
18234 | Name = .MyTRAPS_3, | |
18235 | RA = 0x00000000003f0000, | |
18236 | PA = ra2pa(0x00000000003f0000,0), | |
18237 | part_0_ctx_zero_tsb_config_0, | |
18238 | part_0_ctx_nonzero_tsb_config_0, | |
18239 | TTE_G = 1, | |
18240 | TTE_Context = 0, | |
18241 | TTE_V = 1, | |
18242 | TTE_Size = 0, | |
18243 | TTE_NFO = 0, | |
18244 | TTE_IE = 0, | |
18245 | TTE_Soft2 = 0, | |
18246 | TTE_Diag = 0, | |
18247 | TTE_Soft = 0, | |
18248 | TTE_L = 0, | |
18249 | TTE_CP = 1, | |
18250 | TTE_CV = 0, | |
18251 | TTE_E = 1, | |
18252 | TTE_P = 1, | |
18253 | TTE_W = 0, | |
18254 | TTE_X = 0 | |
18255 | } | |
18256 | ||
18257 | ||
18258 | attr_data { | |
18259 | Name = .MyTRAPS_3, | |
18260 | RA = 0x00000000003fc000, | |
18261 | PA = ra2pa(0x00000000003fc000,0), | |
18262 | part_0_ctx_zero_tsb_config_0, | |
18263 | part_0_ctx_nonzero_tsb_config_0, | |
18264 | TTE_G = 1, | |
18265 | TTE_Context = 0, | |
18266 | TTE_V = 1, | |
18267 | TTE_Size = 0, | |
18268 | TTE_NFO = 1, | |
18269 | TTE_IE = 0, | |
18270 | TTE_Soft2 = 0, | |
18271 | TTE_Diag = 0, | |
18272 | TTE_Soft = 0, | |
18273 | TTE_L = 0, | |
18274 | TTE_CP = 0, | |
18275 | TTE_CV = 0, | |
18276 | TTE_E = 0, | |
18277 | TTE_P = 1, | |
18278 | TTE_W = 0 | |
18279 | } | |
18280 | ||
18281 | ||
18282 | attr_text { | |
18283 | Name = .MyTRAPS_3, | |
18284 | hypervisor | |
18285 | } | |
18286 | ||
18287 | ||
18288 | attr_data { | |
18289 | Name = .MyTRAPS_3, | |
18290 | hypervisor | |
18291 | } | |
18292 | ||
18293 | #include "traps.s" | |
18294 | ||
18295 | ||
18296 | ||
18297 | ||
18298 | ||
18299 | SECTION .MyDATA_0 TEXT_VA = 0x00000000e0140000, DATA_VA = 0x0000000060140000 | |
18300 | attr_data { | |
18301 | Name = .MyDATA_0, | |
18302 | RA = 0x0000000170100000, | |
18303 | PA = ra2pa(0x0000000170100000,0), | |
18304 | part_0_ctx_zero_tsb_config_0, | |
18305 | part_0_ctx_nonzero_tsb_config_0, | |
18306 | TTE_G = 1, | |
18307 | TTE_Context = PCONTEXT, | |
18308 | TTE_V = 1, | |
18309 | TTE_Size = 1, | |
18310 | TTE_NFO = 0, | |
18311 | TTE_IE = 1, | |
18312 | TTE_Soft2 = 0, | |
18313 | TTE_Diag = 0, | |
18314 | TTE_Soft = 0, | |
18315 | TTE_L = 0, | |
18316 | TTE_CP = 1, | |
18317 | TTE_CV = 0, | |
18318 | TTE_E = 1, | |
18319 | TTE_P = 1, | |
18320 | TTE_W = 1 | |
18321 | } | |
18322 | ||
18323 | ||
18324 | attr_data { | |
18325 | Name = .MyDATA_0, | |
18326 | hypervisor | |
18327 | } | |
18328 | ||
18329 | ||
18330 | attr_text { | |
18331 | Name = .MyDATA_0, | |
18332 | hypervisor | |
18333 | } | |
18334 | ||
18335 | .data | |
18336 | .xword 0x1702f1197d7f92ee | |
18337 | .xword 0x3de3dd9c84be2996 | |
18338 | .xword 0x8c973bff6bb7a61a | |
18339 | .xword 0x827699e8d55c2042 | |
18340 | .xword 0x249a25e9d6f7abfa | |
18341 | .xword 0x64e8379bf9f92740 | |
18342 | .xword 0xfa3cc0c52baaeeb4 | |
18343 | .xword 0x1f198e5da494c870 | |
18344 | .xword 0xce5411709cf1201f | |
18345 | .xword 0xf201677999e418f8 | |
18346 | .xword 0xb484f21eeef623f6 | |
18347 | .xword 0x0dbb05ecef2b40af | |
18348 | .xword 0xe2a8fe13daccd420 | |
18349 | .xword 0xec3ca2718ac27e68 | |
18350 | .xword 0x845aabe36b48dc6e | |
18351 | .xword 0x7cb2fcd6c3f7c88e | |
18352 | .xword 0x7e14225ad1b5dbf0 | |
18353 | .xword 0x9f745c010922f08d | |
18354 | .xword 0x2bf8c9e994221c77 | |
18355 | .xword 0x7345cbf0b8a7740f | |
18356 | .xword 0x4d9f3947601b8c26 | |
18357 | .xword 0x760fb3e1ca1b5913 | |
18358 | .xword 0xa9b409623245886f | |
18359 | .xword 0x5aae545214b12d56 | |
18360 | .xword 0xf98fc4f712f1ef32 | |
18361 | .xword 0x5964134b689e7c9e | |
18362 | .xword 0xd7d1f5c8a1199015 | |
18363 | .xword 0x922b472ce549d72b | |
18364 | .xword 0xb8ff554d0040526e | |
18365 | .xword 0x3130241e2c9be620 | |
18366 | .xword 0x6a5b5285e6a097f6 | |
18367 | .xword 0x05d5c318739073ce | |
18368 | ||
18369 | ||
18370 | ||
18371 | SECTION .MyDATA_1 TEXT_VA = 0x00000000e0340000, DATA_VA = 0x0000000060340000 | |
18372 | attr_data { | |
18373 | Name = .MyDATA_1, | |
18374 | RA = 0x0000000170300000, | |
18375 | PA = ra2pa(0x0000000170300000,0), | |
18376 | part_0_ctx_zero_tsb_config_0, | |
18377 | part_0_ctx_nonzero_tsb_config_0, | |
18378 | TTE_G = 1, | |
18379 | TTE_Context = PCONTEXT, | |
18380 | TTE_V = 1, | |
18381 | TTE_Size = 0, | |
18382 | TTE_NFO = 0, | |
18383 | TTE_IE = 1, | |
18384 | TTE_Soft2 = 0, | |
18385 | TTE_Diag = 0, | |
18386 | TTE_Soft = 0, | |
18387 | TTE_L = 0, | |
18388 | TTE_CP = 1, | |
18389 | TTE_CV = 0, | |
18390 | TTE_E = 1, | |
18391 | TTE_P = 1, | |
18392 | TTE_W = 1 | |
18393 | } | |
18394 | ||
18395 | ||
18396 | attr_data { | |
18397 | Name = .MyDATA_1, | |
18398 | hypervisor | |
18399 | } | |
18400 | ||
18401 | ||
18402 | attr_text { | |
18403 | Name = .MyDATA_1, | |
18404 | hypervisor | |
18405 | } | |
18406 | ||
18407 | .data | |
18408 | .xword 0x9c5be49d55ea40ff | |
18409 | .xword 0x90229470a9cfc7d4 | |
18410 | .xword 0x28dc34a635fe3304 | |
18411 | .xword 0xed8d3d8dec649ad5 | |
18412 | .xword 0x433fedada71feb4d | |
18413 | .xword 0xb0d38dd15b34aed1 | |
18414 | .xword 0xd57adfe813d0c165 | |
18415 | .xword 0x3ad8a515aa91423c | |
18416 | .xword 0x07339641a6d95d76 | |
18417 | .xword 0x4db94f8b289dda75 | |
18418 | .xword 0x29ba0119a7639895 | |
18419 | .xword 0xee20c7e7e8116f95 | |
18420 | .xword 0x5357f78e72c2e629 | |
18421 | .xword 0x31650432320f50cc | |
18422 | .xword 0x344b121261e02fe1 | |
18423 | .xword 0xcba21f856df59acb | |
18424 | .xword 0x72581b406f17986f | |
18425 | .xword 0xc8d7c249e40e40e9 | |
18426 | .xword 0x2098a97609ee857c | |
18427 | .xword 0x5ea3b6cb23ee7fe8 | |
18428 | .xword 0x83b7e1a22fddba2b | |
18429 | .xword 0xb9c9ca5f4243dd23 | |
18430 | .xword 0x39184817a4896129 | |
18431 | .xword 0xa29e553253731446 | |
18432 | .xword 0x2561f4cb55140638 | |
18433 | .xword 0xf457fc50adb1fb40 | |
18434 | .xword 0x5bd581ff854b5c33 | |
18435 | .xword 0x1719225127435999 | |
18436 | .xword 0x1dc2f0497222b6f2 | |
18437 | .xword 0x1f313a668b08e881 | |
18438 | .xword 0x877b3ff0a5c8f2a6 | |
18439 | .xword 0x91b3443a607fca09 | |
18440 | ||
18441 | ||
18442 | ||
18443 | SECTION .MyDATA_2 TEXT_VA = 0x00000000e0540000, DATA_VA = 0x0000000060540000 | |
18444 | attr_data { | |
18445 | Name = .MyDATA_2, | |
18446 | RA = 0x0000000170500000, | |
18447 | PA = ra2pa(0x0000000170500000,0), | |
18448 | part_0_ctx_zero_tsb_config_0, | |
18449 | part_0_ctx_nonzero_tsb_config_0, | |
18450 | TTE_G = 1, | |
18451 | TTE_Context = PCONTEXT, | |
18452 | TTE_V = 1, | |
18453 | TTE_Size = 0, | |
18454 | TTE_NFO = 1, | |
18455 | TTE_IE = 1, | |
18456 | TTE_Soft2 = 0, | |
18457 | TTE_Diag = 0, | |
18458 | TTE_Soft = 0, | |
18459 | TTE_L = 0, | |
18460 | TTE_CP = 0, | |
18461 | TTE_CV = 1, | |
18462 | TTE_E = 0, | |
18463 | TTE_P = 1, | |
18464 | TTE_W = 1 | |
18465 | } | |
18466 | ||
18467 | ||
18468 | attr_data { | |
18469 | Name = .MyDATA_2, | |
18470 | hypervisor | |
18471 | } | |
18472 | ||
18473 | ||
18474 | attr_text { | |
18475 | Name = .MyDATA_2, | |
18476 | hypervisor | |
18477 | } | |
18478 | ||
18479 | .data | |
18480 | .xword 0xc167b57ed5b4898f | |
18481 | .xword 0xd978ee1a80e2610f | |
18482 | .xword 0x38a7629087cfdbaa | |
18483 | .xword 0x652e6b0b3deaf418 | |
18484 | .xword 0x3655f912cbbb97cc | |
18485 | .xword 0xe86508bcda6205f4 | |
18486 | .xword 0xd5fa3e59e6bb4e8b | |
18487 | .xword 0xa027f8d8847783d3 | |
18488 | .xword 0x3fb9536cdf44876f | |
18489 | .xword 0x0d772106467a7467 | |
18490 | .xword 0x5c72e77a46845622 | |
18491 | .xword 0xb4418f191e5dd134 | |
18492 | .xword 0xe482f820e52936c8 | |
18493 | .xword 0xc8bd2d7cb4a345a9 | |
18494 | .xword 0xb4fe5a12cbeb228d | |
18495 | .xword 0xbf285eff077443d7 | |
18496 | .xword 0x15f1225739c2cfaf | |
18497 | .xword 0x7cf7d6c9d78f191a | |
18498 | .xword 0xb6fba9c47034fd10 | |
18499 | .xword 0x431153003937ebb1 | |
18500 | .xword 0x9e237a8156dfb927 | |
18501 | .xword 0x6a970c7ff894a1cc | |
18502 | .xword 0xa1abc02eae5a23f3 | |
18503 | .xword 0x2be4b7a057b5817f | |
18504 | .xword 0x2e98166e193fa401 | |
18505 | .xword 0x4db2d0b6d30a2b8a | |
18506 | .xword 0x0cbe8132e80f487c | |
18507 | .xword 0x049535268535e327 | |
18508 | .xword 0xbf31f32c28dc4972 | |
18509 | .xword 0x01bd69223e6bf96e | |
18510 | .xword 0xa73874aa9fdc8c05 | |
18511 | .xword 0x6cd20613e705ba6d | |
18512 | ||
18513 | ||
18514 | ||
18515 | SECTION .MyDATA_3 TEXT_VA = 0x00000000e0740000, DATA_VA = 0x0000000060740000 | |
18516 | attr_data { | |
18517 | Name = .MyDATA_3, | |
18518 | RA = 0x0000000170700000, | |
18519 | PA = ra2pa(0x0000000170700000,0), | |
18520 | part_0_ctx_zero_tsb_config_0, | |
18521 | part_0_ctx_nonzero_tsb_config_0, | |
18522 | TTE_G = 1, | |
18523 | TTE_Context = PCONTEXT, | |
18524 | TTE_V = 1, | |
18525 | TTE_Size = 1, | |
18526 | TTE_NFO = 1, | |
18527 | TTE_IE = 1, | |
18528 | TTE_Soft2 = 0, | |
18529 | TTE_Diag = 0, | |
18530 | TTE_Soft = 0, | |
18531 | TTE_L = 0, | |
18532 | TTE_CP = 1, | |
18533 | TTE_CV = 0, | |
18534 | TTE_E = 1, | |
18535 | TTE_P = 0, | |
18536 | TTE_W = 0 | |
18537 | } | |
18538 | ||
18539 | ||
18540 | attr_data { | |
18541 | Name = .MyDATA_3, | |
18542 | hypervisor | |
18543 | } | |
18544 | ||
18545 | ||
18546 | attr_text { | |
18547 | Name = .MyDATA_3, | |
18548 | hypervisor | |
18549 | } | |
18550 | ||
18551 | .data | |
18552 | .xword 0xd94bc1a5824802df | |
18553 | .xword 0x93ef2226167d0d31 | |
18554 | .xword 0x17d6e2d1314f3db5 | |
18555 | .xword 0x75d8f9c1bba5886c | |
18556 | .xword 0x7f9ada297b6b7218 | |
18557 | .xword 0xb28a46bd2d92b669 | |
18558 | .xword 0x62521c3cace2fe1f | |
18559 | .xword 0x15f3116233536b4c | |
18560 | .xword 0x6e4a1a0c1d086f7d | |
18561 | .xword 0xdf0667bab4b3eb33 | |
18562 | .xword 0x4d657bef1c94f9b2 | |
18563 | .xword 0x93e78ac69445e575 | |
18564 | .xword 0xd7f02ac21fe448f1 | |
18565 | .xword 0x80c6535eea8b49f1 | |
18566 | .xword 0xfb976319867cb339 | |
18567 | .xword 0x8ab1c875d7cb3d34 | |
18568 | .xword 0xb1031f704bcbcd13 | |
18569 | .xword 0x6983f5004a91466c | |
18570 | .xword 0x570ff03ab734b601 | |
18571 | .xword 0x77952f1b8fe188cf | |
18572 | .xword 0x719ce58c1d6c17db | |
18573 | .xword 0x02b8c8be2f21b43d | |
18574 | .xword 0xd21583b85ea67895 | |
18575 | .xword 0xbf65499c30887b1a | |
18576 | .xword 0x739195813427deac | |
18577 | .xword 0x4b016a2e4695d858 | |
18578 | .xword 0xfc05015a91708459 | |
18579 | .xword 0x518940e8d74db576 | |
18580 | .xword 0x34c7ca6559d1a830 | |
18581 | .xword 0xb350a2b624f37de6 | |
18582 | .xword 0x822b24226233db7c | |
18583 | .xword 0x8ea3af2215c425e0 | |
18584 | ||
18585 | ||
18586 | ||
18587 | #if 0 | |
18588 | #endif | |
18589 |