Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | /* |
2 | * ========== Copyright Header Begin ========================================== | |
3 | * | |
4 | * OpenSPARC T2 Processor File: tlu_rand05_ind_01_15_3.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_real_range_0x2d | |
739 | #define SUN_H_HT0_mem_real_range_0x2d \ | |
740 | done;nop | |
741 | ||
742 | #define H_HT0_mem_address_range_0x2e | |
743 | #define SUN_H_HT0_mem_address_range_0x2e \ | |
744 | done;nop | |
745 | ||
746 | #define H_HT0_DAE_nc_page_0x16 | |
747 | #define SUN_H_HT0_DAE_nc_page_0x16 \ | |
748 | done;nop | |
749 | ||
750 | #define H_HT0_DAE_nfo_page_0x17 | |
751 | #define SUN_H_HT0_DAE_nfo_page_0x17 \ | |
752 | done;nop | |
753 | # 717 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_handlers.s" | |
754 | #define H_HT0_IAE_unauth_access_0x0b | |
755 | #define SUN_H_HT0_IAE_unauth_access_0x0b \ | |
756 | done;nop | |
757 | # 722 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_handlers.s" | |
758 | #define H_HT0_IAE_nfo_page_0x0c | |
759 | #define SUN_H_HT0_IAE_nfo_page_0x0c \ | |
760 | done;nop | |
761 | # 731 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_handlers.s" | |
762 | !!!!!!!!!!!!!!!!!!!!!! END of all handlers !!!!!!!!!!!!!!!!!!! | |
763 | # 12 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
764 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
765 | !!!!!!!!!!!!!!!! START of Interrupt Handlers !!!!!!!!!!!!!!!!! | |
766 | ||
767 | #define H_HT0_Externally_Initiated_Reset_0x03 | |
768 | #define SUN_H_HT0_Externally_Initiated_Reset_0x03 \ | |
769 | ldxa [%g0] ASI_LSU_CTL_REG, %g1; \ | |
770 | set cregs_lsu_ctl_reg_r64, %g1; \ | |
771 | stxa %g1, [%g0] ASI_LSU_CTL_REG; \ | |
772 | retry;nop | |
773 | ||
774 | #define My_External_Reset \ | |
775 | ldxa [%g0] ASI_LSU_CTL_REG, %g1; \ | |
776 | set cregs_lsu_ctl_reg_r64, %g1; \ | |
777 | stxa %g1, [%g0] ASI_LSU_CTL_REG; \ | |
778 | retry;nop | |
779 | ||
780 | !!!!! SPU Interrupt Handlers | |
781 | ||
782 | #define H_HT0_Control_Word_Queue_Interrupt_0x3c | |
783 | #define My_HT0_Control_Word_Queue_Interrupt_0x3c \ | |
784 | mov 0x20,%g1; mov 1, %g2;stxa %g2,[%g1]0x40; retry | |
785 | ||
786 | #define H_HT0_Modular_Arithmetic_Interrupt_0x3d | |
787 | #define My_H_HT0_Modular_Arithmetic_Interrupt_0x3d \ | |
788 | mov 0x80,%g1; stxa %g0,[%g1]0x40; retry | |
789 | # 39 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
790 | !!!!! HW interrupt handlers | |
791 | ||
792 | #define H_HT0_Interrupt_0x60 | |
793 | #define My_HT0_Interrupt_0x60 \ | |
794 | ldxa [%g0] ASI_SWVR_INTR_RECEIVE, %g1 ;\ | |
795 | ldxa [%g0] ASI_SWVR_INTR_R, %g2 ;\ | |
796 | ldxa [%g0] ASI_SWVR_INTR_RECEIVE, %g3 ;\ | |
797 | cmp %g1, %g3 ;\ | |
798 | nop; \ | |
799 | retry; | |
800 | ||
801 | !!!!! Queue interrupt handler | |
802 | # 53 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
803 | #define H_T0_Cpu_Mondo_Trap_0x7c | |
804 | #define My_T0_Cpu_Mondo_Trap_0x7c \ | |
805 | mov 0x3c8, %g3; \ | |
806 | ldxa [%g3] 0x25, %g5; \ | |
807 | mov 0x3c0, %g3; \ | |
808 | stxa %g5, [%g3] 0x25; \ | |
809 | retry; \ | |
810 | nop; \ | |
811 | nop; \ | |
812 | nop | |
813 | ||
814 | #define H_T0_Dev_Mondo_Trap_0x7d | |
815 | #define My_T0_Dev_Mondo_Trap_0x7d \ | |
816 | mov 0x3d8, %g3; \ | |
817 | ldxa [%g3] 0x25, %g5; \ | |
818 | mov 0x3d0, %g3; \ | |
819 | stxa %g5, [%g3] 0x25; \ | |
820 | retry; \ | |
821 | nop; \ | |
822 | nop; \ | |
823 | nop | |
824 | ||
825 | #define H_T0_Resumable_Error_0x7e | |
826 | #define My_T0_Resumable_Error_0x7e \ | |
827 | mov 0x3e8, %g3; \ | |
828 | ldxa [%g3] 0x25, %g5; \ | |
829 | mov 0x3e0, %g3; \ | |
830 | stxa %g5, [%g3] 0x25; \ | |
831 | retry; \ | |
832 | nop; \ | |
833 | nop; \ | |
834 | nop | |
835 | ||
836 | #define H_T1_Cpu_Mondo_Trap_0x7c | |
837 | #define My_T1_Cpu_Mondo_Trap_0x7c \ | |
838 | mov 0x3c8, %g3; \ | |
839 | ldxa [%g3] 0x25, %g5; \ | |
840 | mov 0x3c0, %g3; \ | |
841 | stxa %g5, [%g3] 0x25; \ | |
842 | retry; \ | |
843 | nop; \ | |
844 | nop; \ | |
845 | nop | |
846 | ||
847 | #define H_T1_Dev_Mondo_Trap_0x7d | |
848 | #define My_T1_Dev_Mondo_Trap_0x7d \ | |
849 | mov 0x3d8, %g3; \ | |
850 | ldxa [%g3] 0x25, %g5; \ | |
851 | mov 0x3d0, %g3; \ | |
852 | stxa %g5, [%g3] 0x25; \ | |
853 | retry; \ | |
854 | nop; \ | |
855 | nop; \ | |
856 | nop | |
857 | ||
858 | #define H_T1_Resumable_Error_0x7e | |
859 | #define My_T1_Resumable_Error_0x7e \ | |
860 | mov 0x3e8, %g3; \ | |
861 | ldxa [%g3] 0x25, %g5; \ | |
862 | mov 0x3e0, %g3; \ | |
863 | stxa %g5, [%g3] 0x25; \ | |
864 | retry; \ | |
865 | nop; \ | |
866 | nop; \ | |
867 | nop | |
868 | ||
869 | #define H_HT0_Reserved_0x7c | |
870 | #define SUN_H_HT0_Reserved_0x7c \ | |
871 | mov 0x3c8, %g3; \ | |
872 | ldxa [%g3] 0x25, %g5; \ | |
873 | mov 0x3c0, %g3; \ | |
874 | stxa %g5, [%g3] 0x25; \ | |
875 | retry; \ | |
876 | nop; \ | |
877 | nop; \ | |
878 | nop | |
879 | ||
880 | #define H_HT0_Reserved_0x7d | |
881 | #define SUN_H_HT0_Reserved_0x7d \ | |
882 | mov 0x3d8, %g3; \ | |
883 | ldxa [%g3] 0x25, %g5; \ | |
884 | mov 0x3d0, %g3; \ | |
885 | stxa %g5, [%g3] 0x25; \ | |
886 | retry; \ | |
887 | nop; \ | |
888 | nop; \ | |
889 | nop | |
890 | ||
891 | #define H_HT0_Reserved_0x7e | |
892 | #define SUN_H_HT0_Reserved_0x7e \ | |
893 | mov 0x3e8, %g3; \ | |
894 | ldxa [%g3] 0x25, %g5; \ | |
895 | mov 0x3e0, %g3; \ | |
896 | stxa %g5, [%g3] 0x25; \ | |
897 | retry; \ | |
898 | nop; \ | |
899 | nop; \ | |
900 | nop | |
901 | # 153 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
902 | !!!!! Hstick-match trap handler | |
903 | # 156 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
904 | #define H_T0_Reserved_0x5e | |
905 | #define My_T0_Reserved_0x5e \ | |
906 | rdhpr %hintp, %g3; \ | |
907 | wrhpr %g3, %g3, %hintp; \ | |
908 | retry; \ | |
909 | nop; \ | |
910 | nop; \ | |
911 | nop; \ | |
912 | nop; \ | |
913 | nop | |
914 | ||
915 | #define H_HT0_Hstick_Match_0x5e | |
916 | #define My_HT0_Hstick_Match_0x5e \ | |
917 | rdhpr %hintp, %g3; \ | |
918 | wrhpr %g3, %g3, %hintp; \ | |
919 | retry; \ | |
920 | nop; \ | |
921 | nop; \ | |
922 | nop; \ | |
923 | nop; \ | |
924 | nop | |
925 | ||
926 | #define H_T0_Reserved_0x5e | |
927 | #define My_T0_Reserved_0x5e \ | |
928 | rdhpr %hintp, %g3; \ | |
929 | wrhpr %g3, %g3, %hintp; \ | |
930 | retry; \ | |
931 | nop; \ | |
932 | nop; \ | |
933 | nop; \ | |
934 | nop; \ | |
935 | nop | |
936 | ||
937 | #define H_T1_Reserved_0x5e | |
938 | #define My_T1_Reserved_0x5e \ | |
939 | rdhpr %hintp, %g3; \ | |
940 | wrhpr %g3, %g3, %hintp; \ | |
941 | retry; \ | |
942 | nop; \ | |
943 | nop; \ | |
944 | nop; \ | |
945 | nop; \ | |
946 | nop | |
947 | # 201 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
948 | !!!!! SW interuupt handlers | |
949 | # 204 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
950 | #define H_T0_Interrupt_Level_14_0x4e | |
951 | #define My_T0_Interrupt_Level_14_0x4e \ | |
952 | rd %softint, %g3; \ | |
953 | sethi %hi(0x14000), %g3; \ | |
954 | or %g3, 0x1, %g3; \ | |
955 | wr %g3, %g0, %clear_softint; \ | |
956 | retry; \ | |
957 | nop; \ | |
958 | nop; \ | |
959 | nop | |
960 | ||
961 | #define H_T0_Interrupt_Level_1_0x41 | |
962 | #define My_T0_Interrupt_Level_1_0x41 \ | |
963 | rd %softint, %g3; \ | |
964 | or %g0, 0x2, %g3; \ | |
965 | wr %g3, %g0, %clear_softint; \ | |
966 | retry; \ | |
967 | nop; \ | |
968 | nop; \ | |
969 | nop; \ | |
970 | nop | |
971 | ||
972 | #define H_T0_Interrupt_Level_2_0x42 | |
973 | #define My_T0_Interrupt_Level_2_0x42 \ | |
974 | rd %softint, %g3; \ | |
975 | or %g0, 0x4, %g3; \ | |
976 | wr %g3, %g0, %clear_softint; \ | |
977 | retry; \ | |
978 | nop; \ | |
979 | nop; \ | |
980 | nop; \ | |
981 | nop | |
982 | ||
983 | #define H_T0_Interrupt_Level_3_0x43 | |
984 | #define My_T0_Interrupt_Level_3_0x43 \ | |
985 | rd %softint, %g3; \ | |
986 | or %g0, 0x8, %g3; \ | |
987 | wr %g3, %g0, %clear_softint; \ | |
988 | retry; \ | |
989 | nop; \ | |
990 | nop; \ | |
991 | nop; \ | |
992 | nop | |
993 | ||
994 | #define H_T0_Interrupt_Level_4_0x44 | |
995 | #define My_T0_Interrupt_Level_4_0x44 \ | |
996 | rd %softint, %g3; \ | |
997 | or %g0, 0x10, %g3; \ | |
998 | wr %g3, %g0, %clear_softint; \ | |
999 | retry; \ | |
1000 | nop; \ | |
1001 | nop; \ | |
1002 | nop; \ | |
1003 | nop | |
1004 | ||
1005 | #define H_T0_Interrupt_Level_5_0x45 | |
1006 | #define My_T0_Interrupt_Level_5_0x45 \ | |
1007 | rd %softint, %g3; \ | |
1008 | or %g0, 0x20, %g3; \ | |
1009 | wr %g3, %g0, %clear_softint; \ | |
1010 | retry; \ | |
1011 | nop; \ | |
1012 | nop; \ | |
1013 | nop; \ | |
1014 | nop | |
1015 | ||
1016 | #define H_T0_Interrupt_Level_6_0x46 | |
1017 | #define My_T0_Interrupt_Level_6_0x46 \ | |
1018 | rd %softint, %g3; \ | |
1019 | or %g0, 0x40, %g3; \ | |
1020 | wr %g3, %g0, %clear_softint; \ | |
1021 | retry; \ | |
1022 | nop; \ | |
1023 | nop; \ | |
1024 | nop; \ | |
1025 | nop | |
1026 | ||
1027 | #define H_T0_Interrupt_Level_7_0x47 | |
1028 | #define My_T0_Interrupt_Level_7_0x47 \ | |
1029 | rd %softint, %g3; \ | |
1030 | or %g0, 0x80, %g3; \ | |
1031 | wr %g3, %g0, %clear_softint; \ | |
1032 | retry; \ | |
1033 | nop; \ | |
1034 | nop; \ | |
1035 | nop; \ | |
1036 | nop | |
1037 | ||
1038 | #define H_T0_Interrupt_Level_8_0x48 | |
1039 | #define My_T0_Interrupt_Level_8_0x48 \ | |
1040 | rd %softint, %g3; \ | |
1041 | or %g0, 0x100, %g3; \ | |
1042 | wr %g3, %g0, %clear_softint; \ | |
1043 | retry; \ | |
1044 | nop; \ | |
1045 | nop; \ | |
1046 | nop; \ | |
1047 | nop | |
1048 | ||
1049 | #define H_T0_Interrupt_Level_9_0x49 | |
1050 | #define My_T0_Interrupt_Level_9_0x49 \ | |
1051 | rd %softint, %g3; \ | |
1052 | or %g0, 0x200, %g3; \ | |
1053 | wr %g3, %g0, %clear_softint; \ | |
1054 | retry; \ | |
1055 | nop; \ | |
1056 | nop; \ | |
1057 | nop; \ | |
1058 | nop | |
1059 | ||
1060 | #define H_T0_Interrupt_Level_10_0x4a | |
1061 | #define My_T0_Interrupt_Level_10_0x4a \ | |
1062 | rd %softint, %g3; \ | |
1063 | or %g0, 0x400, %g3; \ | |
1064 | wr %g3, %g0, %clear_softint; \ | |
1065 | retry; \ | |
1066 | nop; \ | |
1067 | nop; \ | |
1068 | nop; \ | |
1069 | nop | |
1070 | ||
1071 | #define H_T0_Interrupt_Level_11_0x4b | |
1072 | #define My_T0_Interrupt_Level_11_0x4b \ | |
1073 | rd %softint, %g3; \ | |
1074 | or %g0, 0x800, %g3; \ | |
1075 | wr %g3, %g0, %clear_softint; \ | |
1076 | retry; \ | |
1077 | nop; \ | |
1078 | nop; \ | |
1079 | nop; \ | |
1080 | nop | |
1081 | ||
1082 | #define H_T0_Interrupt_Level_12_0x4c | |
1083 | #define My_T0_Interrupt_Level_12_0x4c \ | |
1084 | rd %softint, %g3; \ | |
1085 | sethi %hi(0x1000), %g3; \ | |
1086 | wr %g3, %g0, %clear_softint; \ | |
1087 | retry; \ | |
1088 | nop; \ | |
1089 | nop; \ | |
1090 | nop; \ | |
1091 | nop | |
1092 | ||
1093 | #define H_T0_Interrupt_Level_13_0x4d | |
1094 | #define My_T0_Interrupt_Level_13_0x4d \ | |
1095 | rd %softint, %g3; \ | |
1096 | sethi %hi(0x2000), %g3; \ | |
1097 | wr %g3, %g0, %clear_softint; \ | |
1098 | retry; \ | |
1099 | nop; \ | |
1100 | nop; \ | |
1101 | nop; \ | |
1102 | nop | |
1103 | ||
1104 | #define H_T0_Interrupt_Level_15_0x4f | |
1105 | #define My_T0_Interrupt_Level_15_0x4f \ | |
1106 | sethi %hi(0x8000), %g3; \ | |
1107 | wr %g3, %g0, %clear_softint; \ | |
1108 | wr %g0, %g0, %pic;\ | |
1109 | set 0x1ff8bfff, %g2;\ | |
1110 | wr %g2, %g0, %pcr;\ | |
1111 | retry; | |
1112 | ||
1113 | #define H_T1_Interrupt_Level_14_0x4e | |
1114 | #define My_T1_Interrupt_Level_14_0x4e \ | |
1115 | rd %softint, %g3; \ | |
1116 | sethi %hi(0x14000), %g3; \ | |
1117 | or %g3, 0x1, %g3; \ | |
1118 | wr %g3, %g0, %clear_softint; \ | |
1119 | retry; \ | |
1120 | nop; \ | |
1121 | nop; \ | |
1122 | nop | |
1123 | ||
1124 | #define H_T1_Interrupt_Level_1_0x41 | |
1125 | #define My_T1_Interrupt_Level_1_0x41 \ | |
1126 | rd %softint, %g3; \ | |
1127 | or %g0, 0x2, %g3; \ | |
1128 | wr %g3, %g0, %clear_softint; \ | |
1129 | retry; \ | |
1130 | nop; \ | |
1131 | nop; \ | |
1132 | nop; \ | |
1133 | nop | |
1134 | ||
1135 | #define H_T1_Interrupt_Level_2_0x42 | |
1136 | #define My_T1_Interrupt_Level_2_0x42 \ | |
1137 | rd %softint, %g3; \ | |
1138 | or %g0, 0x4, %g3; \ | |
1139 | wr %g3, %g0, %clear_softint; \ | |
1140 | retry; \ | |
1141 | nop; \ | |
1142 | nop; \ | |
1143 | nop; \ | |
1144 | nop | |
1145 | ||
1146 | #define H_T1_Interrupt_Level_3_0x43 | |
1147 | #define My_T1_Interrupt_Level_3_0x43 \ | |
1148 | rd %softint, %g3; \ | |
1149 | or %g0, 0x8, %g3; \ | |
1150 | wr %g3, %g0, %clear_softint; \ | |
1151 | retry; \ | |
1152 | nop; \ | |
1153 | nop; \ | |
1154 | nop; \ | |
1155 | nop | |
1156 | ||
1157 | #define H_T1_Interrupt_Level_4_0x44 | |
1158 | #define My_T1_Interrupt_Level_4_0x44 \ | |
1159 | rd %softint, %g3; \ | |
1160 | or %g0, 0x10, %g3; \ | |
1161 | wr %g3, %g0, %clear_softint; \ | |
1162 | retry; \ | |
1163 | nop; \ | |
1164 | nop; \ | |
1165 | nop; \ | |
1166 | nop | |
1167 | ||
1168 | #define H_T1_Interrupt_Level_5_0x45 | |
1169 | #define My_T1_Interrupt_Level_5_0x45 \ | |
1170 | rd %softint, %g3; \ | |
1171 | or %g0, 0x20, %g3; \ | |
1172 | wr %g3, %g0, %clear_softint; \ | |
1173 | retry; \ | |
1174 | nop; \ | |
1175 | nop; \ | |
1176 | nop; \ | |
1177 | nop | |
1178 | ||
1179 | #define H_T1_Interrupt_Level_6_0x46 | |
1180 | #define My_T1_Interrupt_Level_6_0x46 \ | |
1181 | rd %softint, %g3; \ | |
1182 | or %g0, 0x40, %g3; \ | |
1183 | wr %g3, %g0, %clear_softint; \ | |
1184 | retry; \ | |
1185 | nop; \ | |
1186 | nop; \ | |
1187 | nop; \ | |
1188 | nop | |
1189 | ||
1190 | #define H_T1_Interrupt_Level_7_0x47 | |
1191 | #define My_T1_Interrupt_Level_7_0x47 \ | |
1192 | rd %softint, %g3; \ | |
1193 | or %g0, 0x80, %g3; \ | |
1194 | wr %g3, %g0, %clear_softint; \ | |
1195 | retry; \ | |
1196 | nop; \ | |
1197 | nop; \ | |
1198 | nop; \ | |
1199 | nop | |
1200 | ||
1201 | #define H_T1_Interrupt_Level_8_0x48 | |
1202 | #define My_T1_Interrupt_Level_8_0x48 \ | |
1203 | rd %softint, %g3; \ | |
1204 | or %g0, 0x100, %g3; \ | |
1205 | wr %g3, %g0, %clear_softint; \ | |
1206 | retry; \ | |
1207 | nop; \ | |
1208 | nop; \ | |
1209 | nop; \ | |
1210 | nop | |
1211 | ||
1212 | #define H_T1_Interrupt_Level_9_0x49 | |
1213 | #define My_T1_Interrupt_Level_9_0x49 \ | |
1214 | rd %softint, %g3; \ | |
1215 | or %g0, 0x200, %g3; \ | |
1216 | wr %g3, %g0, %clear_softint; \ | |
1217 | retry; \ | |
1218 | nop; \ | |
1219 | nop; \ | |
1220 | nop; \ | |
1221 | nop | |
1222 | ||
1223 | #define H_T1_Interrupt_Level_10_0x4a | |
1224 | #define My_T1_Interrupt_Level_10_0x4a \ | |
1225 | rd %softint, %g3; \ | |
1226 | or %g0, 0x400, %g3; \ | |
1227 | wr %g3, %g0, %clear_softint; \ | |
1228 | retry; \ | |
1229 | nop; \ | |
1230 | nop; \ | |
1231 | nop; \ | |
1232 | nop | |
1233 | ||
1234 | #define H_T1_Interrupt_Level_11_0x4b | |
1235 | #define My_T1_Interrupt_Level_11_0x4b \ | |
1236 | rd %softint, %g3; \ | |
1237 | or %g0, 0x800, %g3; \ | |
1238 | wr %g3, %g0, %clear_softint; \ | |
1239 | retry; \ | |
1240 | nop; \ | |
1241 | nop; \ | |
1242 | nop; \ | |
1243 | nop | |
1244 | ||
1245 | #define H_T1_Interrupt_Level_12_0x4c | |
1246 | #define My_T1_Interrupt_Level_12_0x4c \ | |
1247 | rd %softint, %g3; \ | |
1248 | sethi %hi(0x1000), %g3; \ | |
1249 | wr %g3, %g0, %clear_softint; \ | |
1250 | retry; \ | |
1251 | nop; \ | |
1252 | nop; \ | |
1253 | nop; \ | |
1254 | nop | |
1255 | ||
1256 | #define H_T1_Interrupt_Level_13_0x4d | |
1257 | #define My_T1_Interrupt_Level_13_0x4d \ | |
1258 | rd %softint, %g3; \ | |
1259 | sethi %hi(0x2000), %g3; \ | |
1260 | wr %g3, %g0, %clear_softint; \ | |
1261 | retry; \ | |
1262 | nop; \ | |
1263 | nop; \ | |
1264 | nop; \ | |
1265 | nop | |
1266 | ||
1267 | #define H_T1_Interrupt_Level_15_0x4f | |
1268 | #define My_T1_Interrupt_Level_15_0x4f \ | |
1269 | sethi %hi(0x8000), %g3; \ | |
1270 | wr %g3, %g0, %clear_softint; \ | |
1271 | wr %g0, %g0, %pic;\ | |
1272 | set 0x1ff8bfff, %g2;\ | |
1273 | wr %g2, %g0, %pcr;\ | |
1274 | retry; | |
1275 | ||
1276 | #define H_HT0_Interrupt_Level_14_0x4e | |
1277 | #define My_HT0_Interrupt_Level_14_0x4e \ | |
1278 | rd %softint, %g3; \ | |
1279 | sethi %hi(0x14000), %g3; \ | |
1280 | or %g3, 0x1, %g3; \ | |
1281 | wr %g3, %g0, %clear_softint; \ | |
1282 | retry; \ | |
1283 | nop; \ | |
1284 | nop; \ | |
1285 | nop | |
1286 | ||
1287 | #define H_HT0_Interrupt_Level_1_0x41 | |
1288 | #define My_HT0_Interrupt_Level_1_0x41 \ | |
1289 | rd %softint, %g3; \ | |
1290 | or %g0, 0x2, %g3; \ | |
1291 | wr %g3, %g0, %clear_softint; \ | |
1292 | retry; \ | |
1293 | nop; \ | |
1294 | nop; \ | |
1295 | nop; \ | |
1296 | nop | |
1297 | ||
1298 | #define H_HT0_Interrupt_Level_2_0x42 | |
1299 | #define My_HT0_Interrupt_Level_2_0x42 \ | |
1300 | rd %softint, %g3; \ | |
1301 | or %g0, 0x4, %g3; \ | |
1302 | wr %g3, %g0, %clear_softint; \ | |
1303 | retry; \ | |
1304 | nop; \ | |
1305 | nop; \ | |
1306 | nop; \ | |
1307 | nop | |
1308 | ||
1309 | #define H_HT0_Interrupt_Level_3_0x43 | |
1310 | #define My_HT0_Interrupt_Level_3_0x43 \ | |
1311 | rd %softint, %g3; \ | |
1312 | or %g0, 0x8, %g3; \ | |
1313 | wr %g3, %g0, %clear_softint; \ | |
1314 | retry; \ | |
1315 | nop; \ | |
1316 | nop; \ | |
1317 | nop; \ | |
1318 | nop | |
1319 | ||
1320 | #define H_HT0_Interrupt_Level_4_0x44 | |
1321 | #define My_HT0_Interrupt_Level_4_0x44 \ | |
1322 | rd %softint, %g3; \ | |
1323 | or %g0, 0x10, %g3; \ | |
1324 | wr %g3, %g0, %clear_softint; \ | |
1325 | retry; \ | |
1326 | nop; \ | |
1327 | nop; \ | |
1328 | nop; \ | |
1329 | nop | |
1330 | ||
1331 | #define H_HT0_Interrupt_Level_5_0x45 | |
1332 | #define My_HT0_Interrupt_Level_5_0x45 \ | |
1333 | rd %softint, %g3; \ | |
1334 | or %g0, 0x20, %g3; \ | |
1335 | wr %g3, %g0, %clear_softint; \ | |
1336 | retry; \ | |
1337 | nop; \ | |
1338 | nop; \ | |
1339 | nop; \ | |
1340 | nop | |
1341 | ||
1342 | #define H_HT0_Interrupt_Level_6_0x46 | |
1343 | #define My_HT0_Interrupt_Level_6_0x46 \ | |
1344 | rd %softint, %g3; \ | |
1345 | or %g0, 0x40, %g3; \ | |
1346 | wr %g3, %g0, %clear_softint; \ | |
1347 | retry; \ | |
1348 | nop; \ | |
1349 | nop; \ | |
1350 | nop; \ | |
1351 | nop | |
1352 | ||
1353 | #define H_HT0_Interrupt_Level_7_0x47 | |
1354 | #define My_HT0_Interrupt_Level_7_0x47 \ | |
1355 | rd %softint, %g3; \ | |
1356 | or %g0, 0x80, %g3; \ | |
1357 | wr %g3, %g0, %clear_softint; \ | |
1358 | retry; \ | |
1359 | nop; \ | |
1360 | nop; \ | |
1361 | nop; \ | |
1362 | nop | |
1363 | ||
1364 | #define H_HT0_Interrupt_Level_8_0x48 | |
1365 | #define My_HT0_Interrupt_Level_8_0x48 \ | |
1366 | rd %softint, %g3; \ | |
1367 | or %g0, 0x100, %g3; \ | |
1368 | wr %g3, %g0, %clear_softint; \ | |
1369 | retry; \ | |
1370 | nop; \ | |
1371 | nop; \ | |
1372 | nop; \ | |
1373 | nop | |
1374 | ||
1375 | #define H_HT0_Interrupt_Level_9_0x49 | |
1376 | #define My_HT0_Interrupt_Level_9_0x49 \ | |
1377 | rd %softint, %g3; \ | |
1378 | or %g0, 0x200, %g3; \ | |
1379 | wr %g3, %g0, %clear_softint; \ | |
1380 | retry; \ | |
1381 | nop; \ | |
1382 | nop; \ | |
1383 | nop; \ | |
1384 | nop | |
1385 | ||
1386 | #define H_HT0_Interrupt_Level_10_0x4a | |
1387 | #define My_HT0_Interrupt_Level_10_0x4a \ | |
1388 | rd %softint, %g3; \ | |
1389 | or %g0, 0x400, %g3; \ | |
1390 | wr %g3, %g0, %clear_softint; \ | |
1391 | retry; \ | |
1392 | nop; \ | |
1393 | nop; \ | |
1394 | nop; \ | |
1395 | nop | |
1396 | ||
1397 | #define H_HT0_Interrupt_Level_11_0x4b | |
1398 | #define My_HT0_Interrupt_Level_11_0x4b \ | |
1399 | rd %softint, %g3; \ | |
1400 | or %g0, 0x800, %g3; \ | |
1401 | wr %g3, %g0, %clear_softint; \ | |
1402 | retry; \ | |
1403 | nop; \ | |
1404 | nop; \ | |
1405 | nop; \ | |
1406 | nop | |
1407 | ||
1408 | #define H_HT0_Interrupt_Level_12_0x4c | |
1409 | #define My_HT0_Interrupt_Level_12_0x4c \ | |
1410 | rd %softint, %g3; \ | |
1411 | sethi %hi(0x1000), %g3; \ | |
1412 | wr %g3, %g0, %clear_softint; \ | |
1413 | retry; \ | |
1414 | nop; \ | |
1415 | nop; \ | |
1416 | nop; \ | |
1417 | nop | |
1418 | ||
1419 | #define H_HT0_Interrupt_Level_13_0x4d | |
1420 | #define My_HT0_Interrupt_Level_13_0x4d \ | |
1421 | rd %softint, %g3; \ | |
1422 | sethi %hi(0x2000), %g3; \ | |
1423 | wr %g3, %g0, %clear_softint; \ | |
1424 | retry; \ | |
1425 | nop; \ | |
1426 | nop; \ | |
1427 | nop; \ | |
1428 | nop | |
1429 | ||
1430 | #define H_HT0_Interrupt_Level_15_0x4f | |
1431 | #define My_HT0_Interrupt_Level_15_0x4f \ | |
1432 | sethi %hi(0x8000), %g3; \ | |
1433 | wr %g3, %g0, %clear_softint; \ | |
1434 | wr %g0, %g0, %pic;\ | |
1435 | set 0x1ff8bfff, %g2;\ | |
1436 | wr %g2, %g0, %pcr;\ | |
1437 | retry; | |
1438 | # 694 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_intr_handlers.s" | |
1439 | !!!!!!!!!!!!!!!!!!!!!! END of all handlers !!!!!!!!!!!!!!!!!!! | |
1440 | # 262 "diag.j" | |
1441 | !# Steer towards main TBA on these errors .. | |
1442 | !# These are redefines ... | |
1443 | #define SUN_H_HT0_DAE_nc_page_0x16 \ | |
1444 | set 0x120000, %r2;\ | |
1445 | wrpr %r0, %r2, %tba; \ | |
1446 | done;nop | |
1447 | ||
1448 | #define SUN_H_HT0_DAE_nfo_page_0x17 \ | |
1449 | set 0x120000, %r2;\ | |
1450 | wrpr %r0, %r2, %tba; \ | |
1451 | done;nop | |
1452 | ||
1453 | #define SUN_H_HT0_IAE_unauth_access_0x0b \ | |
1454 | set retry_with_base_tba, %g3;\ | |
1455 | jmp %g3;\ | |
1456 | nop | |
1457 | ||
1458 | #define SUN_H_HT0_IAE_nfo_page_0x0c \ | |
1459 | set retry_with_base_tba, %g3;\ | |
1460 | jmp %g3;\ | |
1461 | nop | |
1462 | ||
1463 | #include "hboot.s" | |
1464 | .text | |
1465 | .global main | |
1466 | main: | |
1467 | ||
1468 | ! Set up ld/st area per thread | |
1469 | ta T_RD_THID ! Result in %o1 = r9 | |
1470 | umul %r9, 256, %r31 | |
1471 | setx user_data_start, %r1, %r3 | |
1472 | add %r31, %r3, %r31 | |
1473 | wr %r0, 0x4, %asi | |
1474 | ||
1475 | !Initializing integer registers | |
1476 | ldx [%r31+0], %r0 | |
1477 | ldx [%r31+8], %r1 | |
1478 | ldx [%r31+16], %r2 | |
1479 | ldx [%r31+24], %r3 | |
1480 | ldx [%r31+32], %r4 | |
1481 | ldx [%r31+40], %r5 | |
1482 | ldx [%r31+48], %r6 | |
1483 | ldx [%r31+56], %r7 | |
1484 | ldx [%r31+64], %r8 | |
1485 | ldx [%r31+72], %r9 | |
1486 | ldx [%r31+80], %r10 | |
1487 | ldx [%r31+88], %r11 | |
1488 | ldx [%r31+96], %r12 | |
1489 | ldx [%r31+104], %r13 | |
1490 | ldx [%r31+112], %r14 | |
1491 | mov %r31, %r15 | |
1492 | ldx [%r31+128], %r16 | |
1493 | ldx [%r31+136], %r17 | |
1494 | ldx [%r31+144], %r18 | |
1495 | ldx [%r31+152], %r19 | |
1496 | ldx [%r31+160], %r20 | |
1497 | ldx [%r31+168], %r21 | |
1498 | ldx [%r31+176], %r22 | |
1499 | ldx [%r31+184], %r23 | |
1500 | ldx [%r31+192], %r24 | |
1501 | ldx [%r31+200], %r25 | |
1502 | ldx [%r31+208], %r26 | |
1503 | ldx [%r31+216], %r27 | |
1504 | ldx [%r31+224], %r28 | |
1505 | ldx [%r31+232], %r29 | |
1506 | mov 0x31, %r14 | |
1507 | mov 0xb0, %r30 | |
1508 | save %r31, %r0, %r31 | |
1509 | ldx [%r31+0], %r0 | |
1510 | ldx [%r31+8], %r1 | |
1511 | ldx [%r31+16], %r2 | |
1512 | ldx [%r31+24], %r3 | |
1513 | ldx [%r31+32], %r4 | |
1514 | ldx [%r31+40], %r5 | |
1515 | ldx [%r31+48], %r6 | |
1516 | ldx [%r31+56], %r7 | |
1517 | ldx [%r31+64], %r8 | |
1518 | ldx [%r31+72], %r9 | |
1519 | ldx [%r31+80], %r10 | |
1520 | ldx [%r31+88], %r11 | |
1521 | ldx [%r31+96], %r12 | |
1522 | ldx [%r31+104], %r13 | |
1523 | ldx [%r31+112], %r14 | |
1524 | mov %r31, %r15 | |
1525 | ldx [%r31+128], %r16 | |
1526 | ldx [%r31+136], %r17 | |
1527 | ldx [%r31+144], %r18 | |
1528 | ldx [%r31+152], %r19 | |
1529 | ldx [%r31+160], %r20 | |
1530 | ldx [%r31+168], %r21 | |
1531 | ldx [%r31+176], %r22 | |
1532 | ldx [%r31+184], %r23 | |
1533 | ldx [%r31+192], %r24 | |
1534 | ldx [%r31+200], %r25 | |
1535 | ldx [%r31+208], %r26 | |
1536 | ldx [%r31+216], %r27 | |
1537 | ldx [%r31+224], %r28 | |
1538 | ldx [%r31+232], %r29 | |
1539 | mov 0xb4, %r14 | |
1540 | mov 0xb1, %r30 | |
1541 | save %r31, %r0, %r31 | |
1542 | ldx [%r31+0], %r0 | |
1543 | ldx [%r31+8], %r1 | |
1544 | ldx [%r31+16], %r2 | |
1545 | ldx [%r31+24], %r3 | |
1546 | ldx [%r31+32], %r4 | |
1547 | ldx [%r31+40], %r5 | |
1548 | ldx [%r31+48], %r6 | |
1549 | ldx [%r31+56], %r7 | |
1550 | ldx [%r31+64], %r8 | |
1551 | ldx [%r31+72], %r9 | |
1552 | ldx [%r31+80], %r10 | |
1553 | ldx [%r31+88], %r11 | |
1554 | ldx [%r31+96], %r12 | |
1555 | ldx [%r31+104], %r13 | |
1556 | ldx [%r31+112], %r14 | |
1557 | mov %r31, %r15 | |
1558 | ldx [%r31+128], %r16 | |
1559 | ldx [%r31+136], %r17 | |
1560 | ldx [%r31+144], %r18 | |
1561 | ldx [%r31+152], %r19 | |
1562 | ldx [%r31+160], %r20 | |
1563 | ldx [%r31+168], %r21 | |
1564 | ldx [%r31+176], %r22 | |
1565 | ldx [%r31+184], %r23 | |
1566 | ldx [%r31+192], %r24 | |
1567 | ldx [%r31+200], %r25 | |
1568 | ldx [%r31+208], %r26 | |
1569 | ldx [%r31+216], %r27 | |
1570 | ldx [%r31+224], %r28 | |
1571 | ldx [%r31+232], %r29 | |
1572 | mov 0x35, %r14 | |
1573 | mov 0x35, %r30 | |
1574 | save %r31, %r0, %r31 | |
1575 | ldx [%r31+0], %r0 | |
1576 | ldx [%r31+8], %r1 | |
1577 | ldx [%r31+16], %r2 | |
1578 | ldx [%r31+24], %r3 | |
1579 | ldx [%r31+32], %r4 | |
1580 | ldx [%r31+40], %r5 | |
1581 | ldx [%r31+48], %r6 | |
1582 | ldx [%r31+56], %r7 | |
1583 | ldx [%r31+64], %r8 | |
1584 | ldx [%r31+72], %r9 | |
1585 | ldx [%r31+80], %r10 | |
1586 | ldx [%r31+88], %r11 | |
1587 | ldx [%r31+96], %r12 | |
1588 | ldx [%r31+104], %r13 | |
1589 | ldx [%r31+112], %r14 | |
1590 | mov %r31, %r15 | |
1591 | ldx [%r31+128], %r16 | |
1592 | ldx [%r31+136], %r17 | |
1593 | ldx [%r31+144], %r18 | |
1594 | ldx [%r31+152], %r19 | |
1595 | ldx [%r31+160], %r20 | |
1596 | ldx [%r31+168], %r21 | |
1597 | ldx [%r31+176], %r22 | |
1598 | ldx [%r31+184], %r23 | |
1599 | ldx [%r31+192], %r24 | |
1600 | ldx [%r31+200], %r25 | |
1601 | ldx [%r31+208], %r26 | |
1602 | ldx [%r31+216], %r27 | |
1603 | ldx [%r31+224], %r28 | |
1604 | ldx [%r31+232], %r29 | |
1605 | mov 0xb5, %r14 | |
1606 | mov 0xb3, %r30 | |
1607 | save %r31, %r0, %r31 | |
1608 | ldx [%r31+0], %r0 | |
1609 | ldx [%r31+8], %r1 | |
1610 | ldx [%r31+16], %r2 | |
1611 | ldx [%r31+24], %r3 | |
1612 | ldx [%r31+32], %r4 | |
1613 | ldx [%r31+40], %r5 | |
1614 | ldx [%r31+48], %r6 | |
1615 | ldx [%r31+56], %r7 | |
1616 | ldx [%r31+64], %r8 | |
1617 | ldx [%r31+72], %r9 | |
1618 | ldx [%r31+80], %r10 | |
1619 | ldx [%r31+88], %r11 | |
1620 | ldx [%r31+96], %r12 | |
1621 | ldx [%r31+104], %r13 | |
1622 | ldx [%r31+112], %r14 | |
1623 | mov %r31, %r15 | |
1624 | ldx [%r31+128], %r16 | |
1625 | ldx [%r31+136], %r17 | |
1626 | ldx [%r31+144], %r18 | |
1627 | ldx [%r31+152], %r19 | |
1628 | ldx [%r31+160], %r20 | |
1629 | ldx [%r31+168], %r21 | |
1630 | ldx [%r31+176], %r22 | |
1631 | ldx [%r31+184], %r23 | |
1632 | ldx [%r31+192], %r24 | |
1633 | ldx [%r31+200], %r25 | |
1634 | ldx [%r31+208], %r26 | |
1635 | ldx [%r31+216], %r27 | |
1636 | ldx [%r31+224], %r28 | |
1637 | ldx [%r31+232], %r29 | |
1638 | mov 0x32, %r14 | |
1639 | mov 0x35, %r30 | |
1640 | save %r31, %r0, %r31 | |
1641 | ldx [%r31+0], %r0 | |
1642 | ldx [%r31+8], %r1 | |
1643 | ldx [%r31+16], %r2 | |
1644 | ldx [%r31+24], %r3 | |
1645 | ldx [%r31+32], %r4 | |
1646 | ldx [%r31+40], %r5 | |
1647 | ldx [%r31+48], %r6 | |
1648 | ldx [%r31+56], %r7 | |
1649 | ldx [%r31+64], %r8 | |
1650 | ldx [%r31+72], %r9 | |
1651 | ldx [%r31+80], %r10 | |
1652 | ldx [%r31+88], %r11 | |
1653 | ldx [%r31+96], %r12 | |
1654 | ldx [%r31+104], %r13 | |
1655 | ldx [%r31+112], %r14 | |
1656 | mov %r31, %r15 | |
1657 | ldx [%r31+128], %r16 | |
1658 | ldx [%r31+136], %r17 | |
1659 | ldx [%r31+144], %r18 | |
1660 | ldx [%r31+152], %r19 | |
1661 | ldx [%r31+160], %r20 | |
1662 | ldx [%r31+168], %r21 | |
1663 | ldx [%r31+176], %r22 | |
1664 | ldx [%r31+184], %r23 | |
1665 | ldx [%r31+192], %r24 | |
1666 | ldx [%r31+200], %r25 | |
1667 | ldx [%r31+208], %r26 | |
1668 | ldx [%r31+216], %r27 | |
1669 | ldx [%r31+224], %r28 | |
1670 | ldx [%r31+232], %r29 | |
1671 | mov 0xb0, %r14 | |
1672 | mov 0xb2, %r30 | |
1673 | save %r31, %r0, %r31 | |
1674 | ldx [%r31+0], %r0 | |
1675 | ldx [%r31+8], %r1 | |
1676 | ldx [%r31+16], %r2 | |
1677 | ldx [%r31+24], %r3 | |
1678 | ldx [%r31+32], %r4 | |
1679 | ldx [%r31+40], %r5 | |
1680 | ldx [%r31+48], %r6 | |
1681 | ldx [%r31+56], %r7 | |
1682 | ldx [%r31+64], %r8 | |
1683 | ldx [%r31+72], %r9 | |
1684 | ldx [%r31+80], %r10 | |
1685 | ldx [%r31+88], %r11 | |
1686 | ldx [%r31+96], %r12 | |
1687 | ldx [%r31+104], %r13 | |
1688 | ldx [%r31+112], %r14 | |
1689 | mov %r31, %r15 | |
1690 | ldx [%r31+128], %r16 | |
1691 | ldx [%r31+136], %r17 | |
1692 | ldx [%r31+144], %r18 | |
1693 | ldx [%r31+152], %r19 | |
1694 | ldx [%r31+160], %r20 | |
1695 | ldx [%r31+168], %r21 | |
1696 | ldx [%r31+176], %r22 | |
1697 | ldx [%r31+184], %r23 | |
1698 | ldx [%r31+192], %r24 | |
1699 | ldx [%r31+200], %r25 | |
1700 | ldx [%r31+208], %r26 | |
1701 | ldx [%r31+216], %r27 | |
1702 | ldx [%r31+224], %r28 | |
1703 | ldx [%r31+232], %r29 | |
1704 | mov 0xb3, %r14 | |
1705 | mov 0xb3, %r30 | |
1706 | save %r31, %r0, %r31 | |
1707 | restore | |
1708 | restore | |
1709 | restore | |
1710 | !Initializing float registers | |
1711 | ldd [%r31+0], %f0 | |
1712 | ldd [%r31+16], %f2 | |
1713 | ldd [%r31+32], %f4 | |
1714 | ldd [%r31+48], %f6 | |
1715 | ldd [%r31+64], %f8 | |
1716 | ldd [%r31+80], %f10 | |
1717 | ldd [%r31+96], %f12 | |
1718 | ldd [%r31+112], %f14 | |
1719 | ldd [%r31+128], %f16 | |
1720 | ldd [%r31+144], %f18 | |
1721 | ldd [%r31+160], %f20 | |
1722 | ldd [%r31+176], %f22 | |
1723 | ldd [%r31+192], %f24 | |
1724 | ldd [%r31+208], %f26 | |
1725 | ldd [%r31+224], %f28 | |
1726 | ldd [%r31+240], %f30 | |
1727 | !! Set TPC/TNPC to diag-finish in case we get to a strange TL .. | |
1728 | ta T_CHANGE_HPRIV | |
1729 | setx diag_finish, %r29, %r28 | |
1730 | add %r28, 4, %r29 | |
1731 | wrpr %g0, 1, %tl | |
1732 | wrpr %r28, %tpc | |
1733 | wrpr %r29, %tnpc | |
1734 | wrpr %g0, 2, %tl | |
1735 | wrpr %r28, %tpc | |
1736 | wrpr %r29, %tnpc | |
1737 | wrpr %g0, 3, %tl | |
1738 | wrpr %r28, %tpc | |
1739 | wrpr %r29, %tnpc | |
1740 | wrpr %g0, 4, %tl | |
1741 | wrpr %r28, %tpc | |
1742 | wrpr %r29, %tnpc | |
1743 | wrpr %g0, 5, %tl | |
1744 | wrpr %r28, %tpc | |
1745 | wrpr %r29, %tnpc | |
1746 | wrpr %g0, 6, %tl | |
1747 | wrpr %r28, %tpc | |
1748 | wrpr %r29, %tnpc | |
1749 | wrpr %g0, 0, %tl | |
1750 | ||
1751 | !Initializing Tick Cmprs | |
1752 | mov 1, %g2 | |
1753 | sllx %g2, 63, %g2 | |
1754 | or %g1, %g2, %g1 | |
1755 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
1756 | wr %g1, %g0, %tick_cmpr | |
1757 | wr %g1, %g0, %sys_tick_cmpr | |
1758 | ||
1759 | ! Set up fpr PMU traps | |
1760 | set 0x1ff8bfff, %g2 | |
1761 | wr %g2, %g0, %pcr | |
1762 | ta T_RD_THID | |
1763 | brnz %o1, skip_non0 | |
1764 | setup_cmp: | |
1765 | stw %g0, [%g0] | |
1766 | rd %asi, %r12 | |
1767 | wr %r0, 0x41, %asi | |
1768 | ldxa [0x58]%asi, %r14 | |
1769 | stxa %r14, [0x50]%asi | |
1770 | setup_spu: | |
1771 | wr %g0, 0x40, %asi | |
1772 | !# allocate control word queue (e.g., setup head/tail/first/last registers) | |
1773 | setx CWQ_BASE, %g1, %l6 | |
1774 | ||
1775 | !# write base addr to first, head, and tail ptr | |
1776 | !# first store to first | |
1777 | stxa %l6, [%g0 + ASI_SPU_CWQ_FIRST] %asi !# first store to first | |
1778 | ||
1779 | stxa %l6, [%g0 + ASI_SPU_CWQ_HEAD] %asi !# then to head | |
1780 | stxa %l6, [%g0 + ASI_SPU_CWQ_TAIL] %asi !# then to tail | |
1781 | setx CWQ_LAST, %g1, %l5 !# then end of CWQ region to LAST | |
1782 | stxa %l5, [%g0 + ASI_SPU_CWQ_LAST] %asi | |
1783 | ||
1784 | !# set CWQ data | |
1785 | setx 0x2061000000000000, %l1, %l2 !# Control Word | |
1786 | ||
1787 | !# write CWQ entry (%l6 points to CWQ) | |
1788 | stx %l2, [%l6 + 0x0] | |
1789 | ||
1790 | setx msg, %g1, %l2 | |
1791 | stx %l2, [%l6 + 0x8] !# source address | |
1792 | ||
1793 | stx %g0, [%l6 + 0x10] !# Authentication Key Address (40-bit) | |
1794 | stx %g0, [%l6 + 0x18] !# Authentication IV Address (40-bit) | |
1795 | stx %g0, [%l6 + 0x20] !# Authentication FSAS Address (40-bit) | |
1796 | stx %g0, [%l6 + 0x28] !# Encryption Key Address (40-bit) | |
1797 | stx %g0, [%l6 + 0x30] !# Encryption Initialization Vector Address (40-bit) | |
1798 | ||
1799 | setx results, %g1, %o3 | |
1800 | stx %o3, [%l6 + 0x38] !# Destination Address (40-bit) | |
1801 | ||
1802 | membar #Sync | |
1803 | ||
1804 | ldxa [%g0 + ASI_SPU_CWQ_TAIL] %asi, %l2 | |
1805 | add %l2, 0x40, %l2 | |
1806 | stxa %l2, [%g0 + ASI_SPU_CWQ_TAIL] %asi | |
1807 | ||
1808 | !# Kick off the CWQ operation by writing to the CWQ_CSR | |
1809 | !# Set the enabled bit and reset the other bits | |
1810 | or %g0, 0x1, %g1 | |
1811 | stxa %g1, [%g0 + ASI_SPU_CWQ_CSR] %asi | |
1812 | ||
1813 | wr %r0, %r12, %asi | |
1814 | skip_non0: | |
1815 | ta T_CHANGE_NONHPRIV | |
1816 | ta %icc, T_RD_THID | |
1817 | ! fork: source strm = 0xffffffff; target strm = 0x1 | |
1818 | cmp %o1, 0 | |
1819 | setx fork_lbl_0_1, %g2, %g3 | |
1820 | be,a .+8 | |
1821 | jmp %g3 | |
1822 | nop | |
1823 | ! fork: source strm = 0xffffffff; target strm = 0x2 | |
1824 | cmp %o1, 1 | |
1825 | setx fork_lbl_0_2, %g2, %g3 | |
1826 | be,a .+8 | |
1827 | jmp %g3 | |
1828 | nop | |
1829 | ! fork: source strm = 0xffffffff; target strm = 0x4 | |
1830 | cmp %o1, 2 | |
1831 | setx fork_lbl_0_3, %g2, %g3 | |
1832 | be,a .+8 | |
1833 | jmp %g3 | |
1834 | nop | |
1835 | ! fork: source strm = 0xffffffff; target strm = 0x8 | |
1836 | cmp %o1, 3 | |
1837 | setx fork_lbl_0_4, %g2, %g3 | |
1838 | be,a .+8 | |
1839 | jmp %g3 | |
1840 | nop | |
1841 | ! fork: source strm = 0xffffffff; target strm = 0x10 | |
1842 | cmp %o1, 4 | |
1843 | setx fork_lbl_0_5, %g2, %g3 | |
1844 | be,a .+8 | |
1845 | jmp %g3 | |
1846 | nop | |
1847 | ! fork: source strm = 0xffffffff; target strm = 0x20 | |
1848 | cmp %o1, 5 | |
1849 | setx fork_lbl_0_6, %g2, %g3 | |
1850 | be,a .+8 | |
1851 | jmp %g3 | |
1852 | nop | |
1853 | ! fork: source strm = 0xffffffff; target strm = 0x40 | |
1854 | cmp %o1, 6 | |
1855 | setx fork_lbl_0_7, %g2, %g3 | |
1856 | be,a .+8 | |
1857 | jmp %g3 | |
1858 | nop | |
1859 | ! fork: source strm = 0xffffffff; target strm = 0x80 | |
1860 | cmp %o1, 7 | |
1861 | setx fork_lbl_0_8, %g2, %g3 | |
1862 | be,a .+8 | |
1863 | jmp %g3 | |
1864 | nop | |
1865 | setx join_lbl_0_0, %g1, %g2 | |
1866 | jmp %g2 | |
1867 | nop | |
1868 | setx join_lbl_0_0, %g1, %g2 | |
1869 | jmp %g2 | |
1870 | nop | |
1871 | fork_lbl_0_8: | |
1872 | change_to_randtl_7_0: | |
1873 | ta T_CHANGE_PRIV ! macro | |
1874 | done_change_to_randtl_7_0: | |
1875 | .word 0xd8d7e000 ! 1: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r12 | |
1876 | splash_cmpr_7_1: | |
1877 | setx 0x6b6348b8e6ee2755, %g2, %g1 | |
1878 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
1879 | sub %g1, 100, %g1 | |
1880 | .word 0xb1800001 ! 2: WR_STICK_REG_R wr %r0, %r1, %- | |
1881 | debug_7_2: | |
1882 | nop | |
1883 | mov 0x38, %r18 | |
1884 | .word 0xfef00b12 ! 3: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
1885 | .word 0x87802004 ! 4: WRASI_I wr %r0, 0x0004, %asi | |
1886 | .word 0x879021a7 ! 5: WRPR_TT_I wrpr %r0, 0x01a7, %tt | |
1887 | debug_7_3: | |
1888 | nop | |
1889 | mov 8, %r18 | |
1890 | .word 0xd4f00492 ! 6: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
1891 | cwp_7_4: | |
1892 | set user_data_start, %o7 | |
1893 | .word 0x93902000 ! 7: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
1894 | .word 0x8d9029c7 ! 8: WRPR_PSTATE_I wrpr %r0, 0x09c7, %pstate | |
1895 | splash_cmpr_7_5: | |
1896 | setx 0x0271a7abff6c591c, %g2, %g1 | |
1897 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
1898 | sub %g1, 100, %g1 | |
1899 | .word 0xb1800001 ! 9: WR_STICK_REG_R wr %r0, %r1, %- | |
1900 | cwp_7_6: | |
1901 | set user_data_start, %o7 | |
1902 | .word 0x93902002 ! 10: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
1903 | splash_lsu_7_7: | |
1904 | setx 0xa5b19c96074061df, %r1, %r2 | |
1905 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
1906 | .word 0x3d400001 ! 11: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
1907 | debug_7_8: | |
1908 | nop | |
1909 | mov 0x38, %r18 | |
1910 | .word 0xfef00b12 ! 12: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
1911 | .word 0x38800001 ! 13: BGU bgu,a <label_0x1> | |
1912 | .word 0xd86fe5b9 ! 14: LDSTUB_I ldstub %r12, [%r31 + 0x05b9] | |
1913 | .word 0x91d02034 ! 15: Tcc_I ta icc_or_xcc, %r0 + 52 | |
1914 | .word 0x8d902fff ! 16: WRPR_PSTATE_I wrpr %r0, 0x0fff, %pstate | |
1915 | .word 0x30800001 ! 17: BA ba,a <label_0x1> | |
1916 | .word 0xa1902000 ! 18: WRPR_GL_I wrpr %r0, 0x0000, %- | |
1917 | otherw | |
1918 | mov 0x30, %r30 | |
1919 | .word 0x91d0001e ! 19: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
1920 | .word 0xd897e000 ! 20: LDUHA_I lduha [%r31, + 0x0000] %asi, %r12 | |
1921 | .word 0x8d902249 ! 21: WRPR_PSTATE_I wrpr %r0, 0x0249, %pstate | |
1922 | .word 0x93520000 ! 22: RDPR_PIL rdpr %pil, %r9 | |
1923 | DS_7_9: | |
1924 | .word 0x93a349c0 ! 1: FDIVd fdivd %f44, %f0, %f40 | |
1925 | .word 0xd1350013 ! 1: STQF_R - %f8, [%r19, %r20] | |
1926 | normalw | |
1927 | .word 0xa9458000 ! 23: RD_SOFTINT_REG rd %softint, %r20 | |
1928 | .word 0x87902206 ! 24: WRPR_TT_I wrpr %r0, 0x0206, %tt | |
1929 | donret_7_10: | |
1930 | nop | |
1931 | rd %pc, %r12 | |
1932 | add %r12, (donretarg_7_10-donret_7_10), %r12 | |
1933 | mov 0x38, %r18 | |
1934 | stxa %r12, [%r18]0x58 | |
1935 | add %r12, 0x4, %r11 | |
1936 | wrpr %g0, 0x2, %tl | |
1937 | wrpr %g0, %r12, %tpc | |
1938 | wrpr %g0, %r11, %tnpc | |
1939 | wrpr %g0, %r13, %tstate | |
1940 | wrhpr %g0, %r14, %htstate | |
1941 | retry | |
1942 | donretarg_7_10: | |
1943 | .word 0xd4ffe5b9 ! 25: SWAPA_I swapa %r10, [%r31 + 0x05b9] %asi | |
1944 | .word 0x83d020b4 ! 26: Tcc_I te icc_or_xcc, %r0 + 180 | |
1945 | .word 0xd46fe5b9 ! 27: LDSTUB_I ldstub %r10, [%r31 + 0x05b9] | |
1946 | .word 0x99480000 ! 28: RDHPR_HPSTATE rdhpr %hpstate, %r12 | |
1947 | splash_htba_7_11: | |
1948 | set 0x80000, %r12 | |
1949 | ld [%r12+%r0], %r1 | |
1950 | ta T_CHANGE_HPRIV | |
1951 | set 0x80000, %r12 | |
1952 | .word 0x8b98000c ! 29: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
1953 | .word 0x8d903448 ! 30: WRPR_PSTATE_I wrpr %r0, 0x1448, %pstate | |
1954 | splash_cmpr_7_12: | |
1955 | setx 0xe1867dce68436fa6, %g2, %g1 | |
1956 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
1957 | sub %g1, 100, %g1 | |
1958 | .word 0xb1800001 ! 31: WR_STICK_REG_R wr %r0, %r1, %- | |
1959 | nop | |
1960 | mov 0x80, %g3 | |
1961 | stxa %g3, [%g3] 0x57 | |
1962 | .word 0xe85fc000 ! 32: LDX_R ldx [%r31 + %r0], %r20 | |
1963 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
1964 | ta T_CHANGE_NONHPRIV ! macro | |
1965 | .word 0xa56a326a ! 33: SDIVX_I sdivx %r8, 0xfffff26a, %r18 | |
1966 | nop | |
1967 | mov 0x80, %g3 | |
1968 | stxa %g3, [%g3] 0x57 | |
1969 | .word 0xd45fc000 ! 34: LDX_R ldx [%r31 + %r0], %r10 | |
1970 | .word 0xd4c7e010 ! 35: LDSWA_I ldswa [%r31, + 0x0010] %asi, %r10 | |
1971 | invalw | |
1972 | mov 0xb5, %r30 | |
1973 | .word 0x93d0001e ! 36: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
1974 | debug_7_14: | |
1975 | nop | |
1976 | mov 0x38, %r18 | |
1977 | .word 0xfef00b12 ! 37: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
1978 | .word 0xd48804a0 ! 38: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
1979 | .word 0x83d02035 ! 39: Tcc_I te icc_or_xcc, %r0 + 53 | |
1980 | .word 0xd45feeec ! 40: LDX_I ldx [%r31 + 0x0eec], %r10 | |
1981 | .word 0x91d02035 ! 41: Tcc_I ta icc_or_xcc, %r0 + 53 | |
1982 | DS_7_15: | |
1983 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
1984 | allclean | |
1985 | .word 0x93b48303 ! 42: ALIGNADDRESS alignaddr %r18, %r3, %r9 | |
1986 | debug_7_16: | |
1987 | nop | |
1988 | rd %pc, %r19 | |
1989 | add %r19, (64+32), %r19 | |
1990 | mov 0x38, %r18 | |
1991 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
1992 | ta T_CHANGE_HPRIV | |
1993 | mov (7+1), %r10 | |
1994 | set sync_thr_counter1, %r23 | |
1995 | cas [%r23],%g0,%r10 !lock | |
1996 | brnz %r10, cwq_7_17 | |
1997 | rd %asi, %r12 | |
1998 | wr %g0, 0x40, %asi | |
1999 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2000 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2001 | cmp %l1, 1 | |
2002 | bne cwq_7_17 | |
2003 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2004 | sub %l2, 0x40, %l2 | |
2005 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2006 | wr %r12, %g0, %asi | |
2007 | st %g0, [%r23] | |
2008 | cwq_7_17: | |
2009 | ta T_CHANGE_NONHPRIV | |
2010 | .word 0x99414000 ! 44: RDPC rd %pc, %r12 | |
2011 | invalw | |
2012 | mov 0xb4, %r30 | |
2013 | .word 0x91d0001e ! 45: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2014 | .word 0xa1500000 ! 46: RDPR_TPC <illegal instruction> | |
2015 | invalw | |
2016 | mov 0x31, %r30 | |
2017 | .word 0x93d0001e ! 47: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
2018 | .word 0x8d903ccf ! 48: WRPR_PSTATE_I wrpr %r0, 0x1ccf, %pstate | |
2019 | .word 0xe6d7e020 ! 49: LDSHA_I ldsha [%r31, + 0x0020] %asi, %r19 | |
2020 | splash_cmpr_7_18: | |
2021 | setx 0xcecd68d126fe3657, %g2, %g1 | |
2022 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2023 | sub %g1, 100, %g1 | |
2024 | .word 0xb1800001 ! 50: WR_STICK_REG_R wr %r0, %r1, %- | |
2025 | cwp_7_19: | |
2026 | set user_data_start, %o7 | |
2027 | .word 0x93902001 ! 51: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
2028 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_20) + 16, 16, 16)) -> intp(3,0,22) | |
2029 | intvec_7_20: | |
2030 | .word 0x39400001 ! 52: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2031 | .word 0xe637eeec ! 53: STH_I sth %r19, [%r31 + 0x0eec] | |
2032 | memptr_7_21: | |
2033 | set user_data_start, %r31 | |
2034 | .word 0x8580304a ! 54: WRCCR_I wr %r0, 0x104a, %ccr | |
2035 | splash_hpstate_7_22: | |
2036 | .word 0x81982b0d ! 55: WRHPR_HPSTATE_I wrhpr %r0, 0x0b0d, %hpstate | |
2037 | .word 0x90d98014 ! 56: SMULcc_R smulcc %r6, %r20, %r8 | |
2038 | .word 0xa1a249c4 ! 57: FDIVd fdivd %f40, %f4, %f16 | |
2039 | memptr_7_23: | |
2040 | set 0x60740000, %r31 | |
2041 | .word 0x8581f9af ! 58: WRCCR_I wr %r7, 0x19af, %ccr | |
2042 | .word 0xd4d00e40 ! 59: LDSHA_R ldsha [%r0, %r0] 0x72, %r10 | |
2043 | invalw | |
2044 | mov 0x31, %r30 | |
2045 | .word 0x91d0001e ! 60: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2046 | splash_hpstate_7_24: | |
2047 | .word 0x81982be5 ! 61: WRHPR_HPSTATE_I wrhpr %r0, 0x0be5, %hpstate | |
2048 | change_to_randtl_7_25: | |
2049 | ta T_CHANGE_HPRIV ! macro | |
2050 | done_change_to_randtl_7_25: | |
2051 | .word 0x8f902001 ! 62: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2052 | .word 0x87802014 ! 63: WRASI_I wr %r0, 0x0014, %asi | |
2053 | tagged_7_26: | |
2054 | tsubcctv %r8, 0x1b6f, %r23 | |
2055 | .word 0xd407ee0f ! 64: LDUW_I lduw [%r31 + 0x0e0f], %r10 | |
2056 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2057 | ta T_CHANGE_NONHPRIV ! macro | |
2058 | .word 0xa569ab10 ! 65: SDIVX_I sdivx %r6, 0x0b10, %r18 | |
2059 | .word 0x8780201c ! 66: WRASI_I wr %r0, 0x001c, %asi | |
2060 | memptr_7_28: | |
2061 | set 0x60140000, %r31 | |
2062 | .word 0x8584e458 ! 67: WRCCR_I wr %r19, 0x0458, %ccr | |
2063 | setx 0xe9ba0ed4353b968f, %r1, %r28 | |
2064 | stxa %r28, [%g0] 0x73 | |
2065 | intvec_7_29: | |
2066 | .word 0x39400001 ! 68: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2067 | splash_cmpr_7_30: | |
2068 | setx 0x553ba146dacf5627, %g2, %g1 | |
2069 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2070 | sub %g1, 100, %g1 | |
2071 | .word 0xb1800001 ! 69: WR_STICK_REG_R wr %r0, %r1, %- | |
2072 | intveclr_7_31: | |
2073 | setx 0x86b160c2200ae6c0, %r1, %r28 | |
2074 | stxa %r28, [%g0] 0x72 | |
2075 | .word 0x25400001 ! 70: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2076 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_32) + 48, 16, 16)) -> intp(4,0,1) | |
2077 | intvec_7_32: | |
2078 | .word 0x39400001 ! 71: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2079 | .word 0xda6ffb07 ! 72: LDSTUB_I ldstub %r13, [%r31 + 0xfffffb07] | |
2080 | .word 0xdadfe000 ! 73: LDXA_I ldxa [%r31, + 0x0000] %asi, %r13 | |
2081 | .word 0xda27fb07 ! 74: STW_I stw %r13, [%r31 + 0xfffffb07] | |
2082 | donret_7_33: | |
2083 | nop | |
2084 | rd %pc, %r12 | |
2085 | add %r12, (donretarg_7_33-donret_7_33-4), %r12 | |
2086 | mov 0x38, %r18 | |
2087 | stxa %r12, [%r18]0x58 | |
2088 | add %r12, 0x4, %r11 | |
2089 | wrpr %g0, 0x1, %tl | |
2090 | wrpr %g0, %r12, %tpc | |
2091 | wrpr %g0, %r11, %tnpc | |
2092 | wrpr %g0, %r13, %tstate | |
2093 | wrhpr %g0, %r14, %htstate | |
2094 | done | |
2095 | donretarg_7_33: | |
2096 | .word 0xdafffb07 ! 75: SWAPA_I swapa %r13, [%r31 + 0xfffffb07] %asi | |
2097 | ta T_CHANGE_HPRIV | |
2098 | mov (7+1), %r10 | |
2099 | set sync_thr_counter1, %r23 | |
2100 | cas [%r23],%g0,%r10 !lock | |
2101 | brnz %r10, cwq_7_34 | |
2102 | rd %asi, %r12 | |
2103 | wr %g0, 0x40, %asi | |
2104 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2105 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2106 | cmp %l1, 1 | |
2107 | bne cwq_7_34 | |
2108 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2109 | sub %l2, 0x40, %l2 | |
2110 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2111 | wr %r12, %g0, %asi | |
2112 | st %g0, [%r23] | |
2113 | cwq_7_34: | |
2114 | ta T_CHANGE_NONHPRIV | |
2115 | .word 0x97414000 ! 76: RDPC rd %pc, %r11 | |
2116 | otherw | |
2117 | mov 0x32, %r30 | |
2118 | .word 0x91d0001e ! 77: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2119 | .word 0x95540000 ! 78: RDPR_GL rdpr %-, %r10 | |
2120 | setx 0x692a217ebe5963fd, %r1, %r28 | |
2121 | stxa %r28, [%g0] 0x73 | |
2122 | intvec_7_35: | |
2123 | .word 0x39400001 ! 79: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2124 | .word 0xd4dfe020 ! 80: LDXA_I ldxa [%r31, + 0x0020] %asi, %r10 | |
2125 | DS_7_36: | |
2126 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
2127 | .word 0xbfe7c000 ! 81: SAVE_R save %r31, %r0, %r31 | |
2128 | nop | |
2129 | mov 0x80, %g3 | |
2130 | stxa %g3, [%g3] 0x57 | |
2131 | .word 0xd45fc000 ! 82: LDX_R ldx [%r31 + %r0], %r10 | |
2132 | splash_lsu_7_37: | |
2133 | setx 0x3009c22214252d49, %r1, %r2 | |
2134 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2135 | .word 0x3d400001 ! 83: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2136 | .word 0x97500000 ! 84: RDPR_TPC rdpr %tpc, %r11 | |
2137 | .word 0x9b450000 ! 85: RD_SET_SOFTINT rd %set_softint, %r13 | |
2138 | debug_7_38: | |
2139 | nop | |
2140 | mov 0x38, %r18 | |
2141 | .word 0xfef00b12 ! 86: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2142 | nop | |
2143 | mov 0x80, %g3 | |
2144 | stxa %g3, [%g3] 0x57 | |
2145 | .word 0xe25fc000 ! 87: LDX_R ldx [%r31 + %r0], %r17 | |
2146 | .word 0xa6faf4a8 ! 88: SDIVcc_I sdivcc %r11, 0xfffff4a8, %r19 | |
2147 | .word 0xab812484 ! 89: WR_CLEAR_SOFTINT_I wr %r4, 0x0484, %clear_softint | |
2148 | .word 0xd0880e60 ! 90: LDUBA_R lduba [%r0, %r0] 0x73, %r8 | |
2149 | debug_7_39: | |
2150 | nop | |
2151 | mov 8, %r18 | |
2152 | .word 0xd2f00492 ! 91: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
2153 | mov (7+1), %r10 | |
2154 | ta T_CHANGE_HPRIV | |
2155 | set sync_thr_counter2, %r23 | |
2156 | cas [%r23],%g0,%r10 !lock | |
2157 | brnz %r10, sma_7_40 | |
2158 | rd %asi, %r12 | |
2159 | wr %g0, 0x40, %asi | |
2160 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2161 | set 0x21fff, %g1 | |
2162 | stxa %g1, [%g0 + 0x80] %asi | |
2163 | wr %r12, %g0, %asi | |
2164 | st %g0, [%r23] | |
2165 | sma_7_40: | |
2166 | ta T_CHANGE_NONHPRIV | |
2167 | .word 0xd1e7e00b ! 92: CASA_R casa [%r31] %asi, %r11, %r8 | |
2168 | cwp_7_41: | |
2169 | set user_data_start, %o7 | |
2170 | .word 0x93902004 ! 93: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
2171 | .word 0xd13fc000 ! 94: STDF_R std %f8, [%r0, %r31] | |
2172 | .word 0x87902074 ! 95: WRPR_TT_I wrpr %r0, 0x0074, %tt | |
2173 | DS_7_42: | |
2174 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
2175 | .word 0xbfefc000 ! 96: RESTORE_R restore %r31, %r0, %r31 | |
2176 | change_to_randtl_7_43: | |
2177 | ta T_CHANGE_HPRIV ! macro | |
2178 | done_change_to_randtl_7_43: | |
2179 | .word 0x8f902000 ! 97: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2180 | .word 0x9f8036fb ! 98: SIR sir 0x16fb | |
2181 | debug_7_44: | |
2182 | nop | |
2183 | mov 0x38, %r18 | |
2184 | .word 0xfef00b12 ! 99: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2185 | debug_7_45: | |
2186 | nop | |
2187 | mov 8, %r18 | |
2188 | .word 0xe0f00492 ! 100: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
2189 | .word 0x20800001 ! 101: BN bn,a <label_0x1> | |
2190 | change_to_randtl_7_46: | |
2191 | ta T_CHANGE_PRIV ! macro | |
2192 | done_change_to_randtl_7_46: | |
2193 | .word 0x8f902001 ! 102: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2194 | .word 0xa150c000 ! 103: RDPR_TT rdpr %tt, %r16 | |
2195 | .word 0x36800001 ! 104: BGE bge,a <label_0x1> | |
2196 | .word 0x87902328 ! 105: WRPR_TT_I wrpr %r0, 0x0328, %tt | |
2197 | .word 0x8d90313c ! 106: WRPR_PSTATE_I wrpr %r0, 0x113c, %pstate | |
2198 | splash_hpstate_7_47: | |
2199 | .word 0x8198215e ! 107: WRHPR_HPSTATE_I wrhpr %r0, 0x015e, %hpstate | |
2200 | invalw | |
2201 | mov 0x31, %r30 | |
2202 | .word 0x83d0001e ! 108: Tcc_R te icc_or_xcc, %r0 + %r30 | |
2203 | .word 0xd0d004a0 ! 109: LDSHA_R ldsha [%r0, %r0] 0x25, %r8 | |
2204 | ta T_CHANGE_HPRIV | |
2205 | mov (7+1), %r10 | |
2206 | set sync_thr_counter1, %r23 | |
2207 | cas [%r23],%g0,%r10 !lock | |
2208 | brnz %r10, cwq_7_48 | |
2209 | rd %asi, %r12 | |
2210 | wr %g0, 0x40, %asi | |
2211 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2212 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2213 | cmp %l1, 1 | |
2214 | bne cwq_7_48 | |
2215 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2216 | sub %l2, 0x40, %l2 | |
2217 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2218 | wr %r12, %g0, %asi | |
2219 | st %g0, [%r23] | |
2220 | cwq_7_48: | |
2221 | ta T_CHANGE_NONHPRIV | |
2222 | .word 0x97414000 ! 110: RDPC rd %pc, %r11 | |
2223 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2224 | ta T_CHANGE_NONHPRIV ! macro | |
2225 | .word 0xa5a01963 ! 111: FqTOd dis not found | |
2226 | ||
2227 | invalw | |
2228 | mov 0x30, %r30 | |
2229 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2230 | invalw | |
2231 | mov 0x34, %r30 | |
2232 | .word 0x91d0001e ! 113: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2233 | .word 0xe28804a0 ! 114: LDUBA_R lduba [%r0, %r0] 0x25, %r17 | |
2234 | .word 0x8d902924 ! 115: WRPR_PSTATE_I wrpr %r0, 0x0924, %pstate | |
2235 | ta T_CHANGE_HPRIV | |
2236 | mov (7+1), %r10 | |
2237 | set sync_thr_counter1, %r23 | |
2238 | cas [%r23],%g0,%r10 !lock | |
2239 | brnz %r10, cwq_7_50 | |
2240 | rd %asi, %r12 | |
2241 | wr %g0, 0x40, %asi | |
2242 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2243 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2244 | cmp %l1, 1 | |
2245 | bne cwq_7_50 | |
2246 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2247 | sub %l2, 0x40, %l2 | |
2248 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2249 | wr %r12, %g0, %asi | |
2250 | st %g0, [%r23] | |
2251 | cwq_7_50: | |
2252 | ta T_CHANGE_NONHPRIV | |
2253 | .word 0x93414000 ! 116: RDPC rd %pc, %r9 | |
2254 | DS_7_51: | |
2255 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
2256 | .word 0xe5350010 ! 1: STQF_R - %f18, [%r16, %r20] | |
2257 | normalw | |
2258 | .word 0x95458000 ! 117: RD_SOFTINT_REG rd %softint, %r10 | |
2259 | .word 0x3a700001 ! 118: BPCC <illegal instruction> | |
2260 | splash_hpstate_7_52: | |
2261 | .word 0x81982b04 ! 119: WRHPR_HPSTATE_I wrhpr %r0, 0x0b04, %hpstate | |
2262 | .word 0xe6d004a0 ! 120: LDSHA_R ldsha [%r0, %r0] 0x25, %r19 | |
2263 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2264 | ta T_CHANGE_NONHPRIV ! macro | |
2265 | .word 0x996b7d78 ! 121: SDIVX_I sdivx %r13, 0xfffffd78, %r12 | |
2266 | .word 0x95540000 ! 122: RDPR_GL rdpr %-, %r10 | |
2267 | DS_7_54: | |
2268 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
2269 | .word 0xbfefc000 ! 123: RESTORE_R restore %r31, %r0, %r31 | |
2270 | mov (7+1), %r10 | |
2271 | ta T_CHANGE_HPRIV | |
2272 | set sync_thr_counter2, %r23 | |
2273 | cas [%r23],%g0,%r10 !lock | |
2274 | brnz %r10, sma_7_55 | |
2275 | rd %asi, %r12 | |
2276 | wr %g0, 0x40, %asi | |
2277 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2278 | set 0x21fff, %g1 | |
2279 | stxa %g1, [%g0 + 0x80] %asi | |
2280 | wr %r12, %g0, %asi | |
2281 | st %g0, [%r23] | |
2282 | sma_7_55: | |
2283 | ta T_CHANGE_NONHPRIV | |
2284 | .word 0xe9e7e007 ! 124: CASA_R casa [%r31] %asi, %r7, %r20 | |
2285 | change_to_randtl_7_56: | |
2286 | ta T_CHANGE_PRIV ! macro | |
2287 | done_change_to_randtl_7_56: | |
2288 | .word 0x8f902002 ! 125: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2289 | .word 0xe8800ba0 ! 126: LDUWA_R lduwa [%r0, %r0] 0x5d, %r20 | |
2290 | .word 0xa8d33fc5 ! 127: UMULcc_I umulcc %r12, 0xffffffc5, %r20 | |
2291 | splash_lsu_7_57: | |
2292 | setx 0x7e623331314c2727, %r1, %r2 | |
2293 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2294 | .word 0x3d400001 ! 128: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2295 | tagged_7_58: | |
2296 | tsubcctv %r25, 0x16bf, %r17 | |
2297 | .word 0xd207ec1f ! 129: LDUW_I lduw [%r31 + 0x0c1f], %r9 | |
2298 | .word 0xd297e000 ! 130: LDUHA_I lduha [%r31, + 0x0000] %asi, %r9 | |
2299 | .word 0x91943d40 ! 131: WRPR_PIL_I wrpr %r16, 0x1d40, %pil | |
2300 | setx 0x187270f4f1697d00, %r1, %r28 | |
2301 | stxa %r28, [%g0] 0x73 | |
2302 | intvec_7_59: | |
2303 | .word 0x39400001 ! 132: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2304 | .word 0x8780201c ! 133: WRASI_I wr %r0, 0x001c, %asi | |
2305 | DS_7_60: | |
2306 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
2307 | .word 0xbfe7c000 ! 134: SAVE_R save %r31, %r0, %r31 | |
2308 | .word 0xd28008a0 ! 135: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
2309 | memptr_7_61: | |
2310 | set 0x60340000, %r31 | |
2311 | .word 0x858360f3 ! 136: WRCCR_I wr %r13, 0x00f3, %ccr | |
2312 | invalw | |
2313 | mov 0xb1, %r30 | |
2314 | .word 0x91d0001e ! 137: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2315 | mov (7+1), %r10 | |
2316 | ta T_CHANGE_HPRIV | |
2317 | set sync_thr_counter2, %r23 | |
2318 | cas [%r23],%g0,%r10 !lock | |
2319 | brnz %r10, sma_7_62 | |
2320 | rd %asi, %r12 | |
2321 | wr %g0, 0x40, %asi | |
2322 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2323 | set 0x21fff, %g1 | |
2324 | stxa %g1, [%g0 + 0x80] %asi | |
2325 | wr %r12, %g0, %asi | |
2326 | st %g0, [%r23] | |
2327 | sma_7_62: | |
2328 | ta T_CHANGE_NONHPRIV | |
2329 | .word 0xd3e7e007 ! 138: CASA_R casa [%r31] %asi, %r7, %r9 | |
2330 | .word 0x87802055 ! 139: WRASI_I wr %r0, 0x0055, %asi | |
2331 | change_to_randtl_7_63: | |
2332 | ta T_CHANGE_HPRIV ! macro | |
2333 | done_change_to_randtl_7_63: | |
2334 | .word 0x8f902000 ! 140: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2335 | invalw | |
2336 | mov 0xb4, %r30 | |
2337 | .word 0x93d0001e ! 141: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
2338 | .word 0xd26feb9a ! 142: LDSTUB_I ldstub %r9, [%r31 + 0x0b9a] | |
2339 | .word 0xa753c000 ! 143: RDPR_FQ <illegal instruction> | |
2340 | .word 0xd6cfe010 ! 144: LDSBA_I ldsba [%r31, + 0x0010] %asi, %r11 | |
2341 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2342 | ta T_CHANGE_NONPRIV ! macro | |
2343 | .word 0x99a01974 ! 145: FqTOd dis not found | |
2344 | ||
2345 | debug_7_65: | |
2346 | nop | |
2347 | mov 0x38, %r18 | |
2348 | .word 0xfef00b12 ! 146: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2349 | mov (7+1), %r10 | |
2350 | ta T_CHANGE_HPRIV | |
2351 | set sync_thr_counter2, %r23 | |
2352 | cas [%r23],%g0,%r10 !lock | |
2353 | brnz %r10, sma_7_66 | |
2354 | rd %asi, %r12 | |
2355 | wr %g0, 0x40, %asi | |
2356 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2357 | set 0x21fff, %g1 | |
2358 | stxa %g1, [%g0 + 0x80] %asi | |
2359 | wr %r12, %g0, %asi | |
2360 | st %g0, [%r23] | |
2361 | sma_7_66: | |
2362 | ta T_CHANGE_NONHPRIV | |
2363 | .word 0xe5e7e013 ! 147: CASA_R casa [%r31] %asi, %r19, %r18 | |
2364 | .word 0x91927658 ! 148: WRPR_PIL_I wrpr %r9, 0x1658, %pil | |
2365 | DS_7_67: | |
2366 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
2367 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
2368 | .word 0xe5118013 ! 1: LDQF_R - [%r6, %r19], %f18 | |
2369 | .word 0x95a28834 ! 149: FADDs fadds %f10, %f20, %f10 | |
2370 | pmu_7_68: | |
2371 | nop | |
2372 | setx 0xfffff1c7fffffdf2, %g1, %g7 | |
2373 | .word 0xa3800007 ! 150: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
2374 | .word 0x38800001 ! 151: BGU bgu,a <label_0x1> | |
2375 | .word 0xe33fc000 ! 152: STDF_R std %f17, [%r0, %r31] | |
2376 | splash_cmpr_7_69: | |
2377 | setx 0x3adacd2a6bf28ea6, %g2, %g1 | |
2378 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
2379 | sub %g1, 100, %g1 | |
2380 | .word 0xb1800001 ! 153: WR_STICK_REG_R wr %r0, %r1, %- | |
2381 | .word 0x9b450000 ! 154: RD_SET_SOFTINT rd %set_softint, %r13 | |
2382 | donret_7_70: | |
2383 | nop | |
2384 | rd %pc, %r12 | |
2385 | add %r12, (donretarg_7_70-donret_7_70), %r12 | |
2386 | mov 0x38, %r18 | |
2387 | stxa %r12, [%r18]0x58 | |
2388 | add %r12, 0x4, %r11 | |
2389 | wrpr %g0, 0x3, %tl | |
2390 | wrpr %g0, %r12, %tpc | |
2391 | wrpr %g0, %r11, %tnpc | |
2392 | wrpr %g0, %r13, %tstate | |
2393 | wrhpr %g0, %r14, %htstate | |
2394 | retry | |
2395 | donretarg_7_70: | |
2396 | .word 0xe4fff6c3 ! 155: SWAPA_I swapa %r18, [%r31 + 0xfffff6c3] %asi | |
2397 | pmu_7_71: | |
2398 | nop | |
2399 | setx 0xffffffb9fffffede, %g1, %g7 | |
2400 | .word 0xa3800007 ! 156: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
2401 | splash_cmpr_7_72: | |
2402 | setx 0x2ac0c99bf761b795, %g2, %g1 | |
2403 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2404 | sub %g1, 100, %g1 | |
2405 | .word 0xb1800001 ! 157: WR_STICK_REG_R wr %r0, %r1, %- | |
2406 | .word 0x8d90337e ! 158: WRPR_PSTATE_I wrpr %r0, 0x137e, %pstate | |
2407 | .word 0xe48fe020 ! 159: LDUBA_I lduba [%r31, + 0x0020] %asi, %r18 | |
2408 | change_to_randtl_7_73: | |
2409 | ta T_CHANGE_HPRIV ! macro | |
2410 | done_change_to_randtl_7_73: | |
2411 | .word 0x8f902002 ! 160: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2412 | .word 0x93d020b3 ! 161: Tcc_I tne icc_or_xcc, %r0 + 179 | |
2413 | splash_tba_7_74: | |
2414 | set 0x120000, %r12 | |
2415 | st %r1, [%r12+%r0] | |
2416 | ta T_CHANGE_PRIV | |
2417 | set 0x120000, %r12 | |
2418 | .word 0x8b90000c ! 162: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2419 | ta T_CHANGE_HPRIV | |
2420 | mov (7+1), %r10 | |
2421 | set sync_thr_counter1, %r23 | |
2422 | cas [%r23],%g0,%r10 !lock | |
2423 | brnz %r10, cwq_7_75 | |
2424 | rd %asi, %r12 | |
2425 | wr %g0, 0x40, %asi | |
2426 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2427 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2428 | cmp %l1, 1 | |
2429 | bne cwq_7_75 | |
2430 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2431 | sub %l2, 0x40, %l2 | |
2432 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2433 | wr %r12, %g0, %asi | |
2434 | st %g0, [%r23] | |
2435 | cwq_7_75: | |
2436 | ta T_CHANGE_NONHPRIV | |
2437 | .word 0x95414000 ! 163: RDPC rd %pc, %r10 | |
2438 | invalw | |
2439 | mov 0x32, %r30 | |
2440 | .word 0x91d0001e ! 164: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2441 | intveclr_7_76: | |
2442 | setx 0x22ea28d44dcdb6ef, %r1, %r28 | |
2443 | stxa %r28, [%g0] 0x72 | |
2444 | .word 0x25400001 ! 165: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2445 | cwp_7_77: | |
2446 | set user_data_start, %o7 | |
2447 | .word 0x93902001 ! 166: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
2448 | .word 0xd68008a0 ! 167: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
2449 | ta T_CHANGE_HPRIV | |
2450 | mov (7+1), %r10 | |
2451 | set sync_thr_counter1, %r23 | |
2452 | cas [%r23],%g0,%r10 !lock | |
2453 | brnz %r10, cwq_7_78 | |
2454 | rd %asi, %r12 | |
2455 | wr %g0, 0x40, %asi | |
2456 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2457 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2458 | cmp %l1, 1 | |
2459 | bne cwq_7_78 | |
2460 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2461 | sub %l2, 0x40, %l2 | |
2462 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2463 | wr %r12, %g0, %asi | |
2464 | st %g0, [%r23] | |
2465 | cwq_7_78: | |
2466 | ta T_CHANGE_NONHPRIV | |
2467 | .word 0x95414000 ! 168: RDPC rd %pc, %r10 | |
2468 | .word 0xa0fb4010 ! 169: SDIVcc_R sdivcc %r13, %r16, %r16 | |
2469 | splash_cmpr_7_79: | |
2470 | setx 0x3b6e932532af97ae, %g2, %g1 | |
2471 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
2472 | sub %g1, 100, %g1 | |
2473 | .word 0xb1800001 ! 170: WR_STICK_REG_R wr %r0, %r1, %- | |
2474 | .word 0x95a00170 ! 171: FABSq dis not found | |
2475 | ||
2476 | .word 0xe097e000 ! 172: LDUHA_I lduha [%r31, + 0x0000] %asi, %r16 | |
2477 | mondo_7_80: | |
2478 | nop | |
2479 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2480 | ||
2481 | stxa %r8, [%r0+0x3e0] %asi | |
2482 | .word 0x9d94800c ! 173: WRPR_WSTATE_R wrpr %r18, %r12, %wstate | |
2483 | .word 0x87802058 ! 174: WRASI_I wr %r0, 0x0058, %asi | |
2484 | .word 0x91d02034 ! 175: Tcc_I ta icc_or_xcc, %r0 + 52 | |
2485 | memptr_7_81: | |
2486 | set user_data_start, %r31 | |
2487 | .word 0x8580ee45 ! 176: WRCCR_I wr %r3, 0x0e45, %ccr | |
2488 | nop | |
2489 | mov 0x80, %g3 | |
2490 | stxa %g3, [%g3] 0x5f | |
2491 | .word 0xe05fc000 ! 177: LDX_R ldx [%r31 + %r0], %r16 | |
2492 | .word 0xe0c804a0 ! 178: LDSBA_R ldsba [%r0, %r0] 0x25, %r16 | |
2493 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2494 | ta T_CHANGE_NONPRIV ! macro | |
2495 | .word 0xa96a29ac ! 179: SDIVX_I sdivx %r8, 0x09ac, %r20 | |
2496 | .word 0x99480000 ! 180: RDHPR_HPSTATE rdhpr %hpstate, %r12 | |
2497 | mov (7+1), %r10 | |
2498 | ta T_CHANGE_HPRIV | |
2499 | set sync_thr_counter2, %r23 | |
2500 | cas [%r23],%g0,%r10 !lock | |
2501 | brnz %r10, sma_7_83 | |
2502 | rd %asi, %r12 | |
2503 | wr %g0, 0x40, %asi | |
2504 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2505 | set 0x21fff, %g1 | |
2506 | stxa %g1, [%g0 + 0x80] %asi | |
2507 | wr %r12, %g0, %asi | |
2508 | st %g0, [%r23] | |
2509 | sma_7_83: | |
2510 | ta T_CHANGE_NONHPRIV | |
2511 | .word 0xd7e7e012 ! 181: CASA_R casa [%r31] %asi, %r18, %r11 | |
2512 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_84) + 0, 16, 16)) -> intp(1,0,2) | |
2513 | intvec_7_84: | |
2514 | .word 0x39400001 ! 182: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2515 | .word 0xd727c000 ! 183: STF_R st %f11, [%r0, %r31] | |
2516 | mondo_7_85: | |
2517 | nop | |
2518 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2519 | ||
2520 | stxa %r17, [%r0+0x3d8] %asi | |
2521 | .word 0x9d948007 ! 184: WRPR_WSTATE_R wrpr %r18, %r7, %wstate | |
2522 | splash_lsu_7_86: | |
2523 | setx 0x60fd7d7ebf26746b, %r1, %r2 | |
2524 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2525 | .word 0x3d400001 ! 185: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2526 | .word 0xd6cfe000 ! 186: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r11 | |
2527 | debug_7_87: | |
2528 | nop | |
2529 | mov 8, %r18 | |
2530 | .word 0xe4f00492 ! 187: STXA_R stxa %r18, [%r0 + %r18] 0x24 | |
2531 | .word 0xd67ff8cc ! 188: SWAP_I swap %r11, [%r31 + 0xfffff8cc] | |
2532 | .word 0x87802004 ! 189: WRASI_I wr %r0, 0x0004, %asi | |
2533 | .word 0x91a049d4 ! 190: FDIVd fdivd %f32, %f20, %f8 | |
2534 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_88) + 24, 16, 16)) -> intp(0,0,2) | |
2535 | intvec_7_88: | |
2536 | .word 0x39400001 ! 191: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2537 | .word 0x87802014 ! 192: WRASI_I wr %r0, 0x0014, %asi | |
2538 | setx 0x1f2515c15368990b, %r1, %r28 | |
2539 | stxa %r28, [%g0] 0x73 | |
2540 | intvec_7_89: | |
2541 | .word 0x39400001 ! 193: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2542 | debug_7_90: | |
2543 | nop | |
2544 | mov 8, %r18 | |
2545 | .word 0xe6f00492 ! 194: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
2546 | splash_lsu_7_91: | |
2547 | setx 0x964ccc4cf9575deb, %r1, %r2 | |
2548 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2549 | .word 0x3d400001 ! 195: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2550 | debug_7_92: | |
2551 | nop | |
2552 | mov 0x38, %r18 | |
2553 | .word 0xfef00b12 ! 196: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2554 | debug_7_93: | |
2555 | nop | |
2556 | mov 8, %r18 | |
2557 | .word 0xd4f00492 ! 197: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
2558 | debug_7_94: | |
2559 | nop | |
2560 | rd %pc, %r19 | |
2561 | add %r19, (64+0), %r19 | |
2562 | mov 0x38, %r18 | |
2563 | .word 0xe6f00b12 ! 198: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2564 | ta T_CHANGE_HPRIV | |
2565 | mov (7+1), %r10 | |
2566 | set sync_thr_counter1, %r23 | |
2567 | cas [%r23],%g0,%r10 !lock | |
2568 | brnz %r10, cwq_7_95 | |
2569 | rd %asi, %r12 | |
2570 | wr %g0, 0x40, %asi | |
2571 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2572 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2573 | cmp %l1, 1 | |
2574 | bne cwq_7_95 | |
2575 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2576 | sub %l2, 0x40, %l2 | |
2577 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2578 | wr %r12, %g0, %asi | |
2579 | st %g0, [%r23] | |
2580 | cwq_7_95: | |
2581 | ta T_CHANGE_NONHPRIV | |
2582 | .word 0xa9414000 ! 199: RDPC rd %pc, %r20 | |
2583 | .word 0xe07ff8cc ! 200: SWAP_I swap %r16, [%r31 + 0xfffff8cc] | |
2584 | .word 0x8d902f81 ! 201: WRPR_PSTATE_I wrpr %r0, 0x0f81, %pstate | |
2585 | tagged_7_96: | |
2586 | tsubcctv %r16, 0x145b, %r22 | |
2587 | .word 0xe007f8cc ! 202: LDUW_I lduw [%r31 + 0xfffff8cc], %r16 | |
2588 | mondo_7_97: | |
2589 | nop | |
2590 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2591 | ||
2592 | stxa %r12, [%r0+0x3d8] %asi | |
2593 | .word 0x9d90c002 ! 203: WRPR_WSTATE_R wrpr %r3, %r2, %wstate | |
2594 | .word 0x99a409d0 ! 204: FDIVd fdivd %f16, %f16, %f12 | |
2595 | .word 0x8d902949 ! 205: WRPR_PSTATE_I wrpr %r0, 0x0949, %pstate | |
2596 | splash_lsu_7_98: | |
2597 | setx 0x112922887b2e5ab3, %r1, %r2 | |
2598 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2599 | .word 0x3d400001 ! 206: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2600 | .word 0xa8d4f3d7 ! 207: UMULcc_I umulcc %r19, 0xfffff3d7, %r20 | |
2601 | .word 0xad81eed6 ! 208: WR_SOFTINT_REG_I wr %r7, 0x0ed6, %softint | |
2602 | .word 0x93a489c3 ! 209: FDIVd fdivd %f18, %f34, %f40 | |
2603 | .word 0x97a00166 ! 210: FABSq dis not found | |
2604 | ||
2605 | .word 0x87802083 ! 211: WRASI_I wr %r0, 0x0083, %asi | |
2606 | debug_7_99: | |
2607 | nop | |
2608 | mov 8, %r18 | |
2609 | .word 0xdaf00492 ! 212: STXA_R stxa %r13, [%r0 + %r18] 0x24 | |
2610 | mov (7+1), %r10 | |
2611 | ta T_CHANGE_HPRIV | |
2612 | set sync_thr_counter2, %r23 | |
2613 | cas [%r23],%g0,%r10 !lock | |
2614 | brnz %r10, sma_7_100 | |
2615 | rd %asi, %r12 | |
2616 | wr %g0, 0x40, %asi | |
2617 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2618 | set 0x21fff, %g1 | |
2619 | stxa %g1, [%g0 + 0x80] %asi | |
2620 | wr %r12, %g0, %asi | |
2621 | st %g0, [%r23] | |
2622 | sma_7_100: | |
2623 | ta T_CHANGE_NONHPRIV | |
2624 | .word 0xe5e7e00b ! 213: CASA_R casa [%r31] %asi, %r11, %r18 | |
2625 | splash_tba_7_101: | |
2626 | set 0x120000, %r12 | |
2627 | ld [%r12+%r0], %r1 | |
2628 | ta T_CHANGE_PRIV | |
2629 | set 0x120000, %r12 | |
2630 | .word 0x8b90000c ! 214: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2631 | nop | |
2632 | mov 0x80, %g3 | |
2633 | stxa %g3, [%g3] 0x57 | |
2634 | .word 0xe45fc000 ! 215: LDX_R ldx [%r31 + %r0], %r18 | |
2635 | splash_cmpr_7_102: | |
2636 | setx 0x4e72cf17dc36e921, %g2, %g1 | |
2637 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2638 | sub %g1, 100, %g1 | |
2639 | .word 0xb1800001 ! 216: WR_STICK_REG_R wr %r0, %r1, %- | |
2640 | .word 0x81460000 ! 217: RD_STICK_REG stbar | |
2641 | .word 0xe49004a0 ! 218: LDUHA_R lduha [%r0, %r0] 0x25, %r18 | |
2642 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2643 | ta T_CHANGE_NONHPRIV ! macro | |
2644 | .word 0x99a01971 ! 219: FqTOd dis not found | |
2645 | ||
2646 | tagged_7_104: | |
2647 | tsubcctv %r17, 0x15e3, %r26 | |
2648 | .word 0xe807e50d ! 220: LDUW_I lduw [%r31 + 0x050d], %r20 | |
2649 | .word 0x9190e3fb ! 221: WRPR_PIL_I wrpr %r3, 0x03fb, %pil | |
2650 | pmu_7_105: | |
2651 | nop | |
2652 | setx 0xfffff15efffff589, %g1, %g7 | |
2653 | .word 0xa3800007 ! 222: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
2654 | intveclr_7_106: | |
2655 | setx 0xa8fbd295435ef6a9, %r1, %r28 | |
2656 | stxa %r28, [%g0] 0x72 | |
2657 | .word 0x25400001 ! 223: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2658 | nop | |
2659 | mov 0x80, %g3 | |
2660 | stxa %g3, [%g3] 0x5f | |
2661 | .word 0xe85fc000 ! 224: LDX_R ldx [%r31 + %r0], %r20 | |
2662 | otherw | |
2663 | mov 0x30, %r30 | |
2664 | .word 0x91d0001e ! 225: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2665 | .word 0xe83fe48b ! 226: STD_I std %r20, [%r31 + 0x048b] | |
2666 | .word 0x8d802000 ! 227: WRFPRS_I wr %r0, 0x0000, %fprs | |
2667 | .word 0x97703dd8 ! 228: POPC_I popc 0x1dd8, %r11 | |
2668 | splash_hpstate_7_107: | |
2669 | .word 0x81982395 ! 229: WRHPR_HPSTATE_I wrhpr %r0, 0x0395, %hpstate | |
2670 | mov (7+1), %r10 | |
2671 | ta T_CHANGE_HPRIV | |
2672 | set sync_thr_counter2, %r23 | |
2673 | cas [%r23],%g0,%r10 !lock | |
2674 | brnz %r10, sma_7_108 | |
2675 | rd %asi, %r12 | |
2676 | wr %g0, 0x40, %asi | |
2677 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2678 | set 0x21fff, %g1 | |
2679 | stxa %g1, [%g0 + 0x80] %asi | |
2680 | wr %r12, %g0, %asi | |
2681 | st %g0, [%r23] | |
2682 | sma_7_108: | |
2683 | ta T_CHANGE_NONHPRIV | |
2684 | .word 0xd1e7e003 ! 230: CASA_R casa [%r31] %asi, %r3, %r8 | |
2685 | .word 0x99480000 ! 231: RDHPR_HPSTATE rdhpr %hpstate, %r12 | |
2686 | splash_htba_7_109: | |
2687 | set 0x80000, %r12 | |
2688 | ld [%r12+%r0], %r1 | |
2689 | ta T_CHANGE_HPRIV | |
2690 | set 0x80000, %r12 | |
2691 | .word 0x8b98000c ! 232: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
2692 | .word 0x8d903fec ! 233: WRPR_PSTATE_I wrpr %r0, 0x1fec, %pstate | |
2693 | debug_7_110: | |
2694 | nop | |
2695 | mov 0x38, %r18 | |
2696 | .word 0xfef00b12 ! 234: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2697 | tagged_7_111: | |
2698 | taddcctv %r16, 0x1837, %r13 | |
2699 | .word 0xd607f25b ! 235: LDUW_I lduw [%r31 + 0xfffff25b], %r11 | |
2700 | cwp_7_112: | |
2701 | set user_data_start, %o7 | |
2702 | .word 0x93902005 ! 236: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
2703 | splash_cmpr_7_113: | |
2704 | setx 0x9347017a235a2a67, %g2, %g1 | |
2705 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
2706 | sub %g1, 100, %g1 | |
2707 | .word 0xb1800001 ! 237: WR_STICK_REG_R wr %r0, %r1, %- | |
2708 | .word 0xd677c000 ! 238: STX_R stx %r11, [%r31 + %r0] | |
2709 | .word 0xa984000d ! 239: WR_SET_SOFTINT_R wr %r16, %r13, %set_softint | |
2710 | memptr_7_114: | |
2711 | set user_data_start, %r31 | |
2712 | .word 0x8581e87a ! 240: WRCCR_I wr %r7, 0x087a, %ccr | |
2713 | debug_7_115: | |
2714 | nop | |
2715 | rd %pc, %r19 | |
2716 | add %r19, (64+32), %r19 | |
2717 | mov 0x38, %r18 | |
2718 | .word 0xe6f00b12 ! 241: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2719 | invalw | |
2720 | mov 0xb4, %r30 | |
2721 | .word 0x91d0001e ! 242: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2722 | intveclr_7_116: | |
2723 | setx 0xb0c0f5aad6a295ef, %r1, %r28 | |
2724 | stxa %r28, [%g0] 0x72 | |
2725 | .word 0x25400001 ! 243: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2726 | .word 0x9f8024eb ! 244: SIR sir 0x04eb | |
2727 | .word 0xab814009 ! 245: WR_CLEAR_SOFTINT_R wr %r5, %r9, %clear_softint | |
2728 | tagged_7_117: | |
2729 | taddcctv %r15, 0x13c5, %r2 | |
2730 | .word 0xd607fea4 ! 246: LDUW_I lduw [%r31 + 0xfffffea4], %r11 | |
2731 | debug_7_118: | |
2732 | nop | |
2733 | rd %pc, %r19 | |
2734 | add %r19, (64+8), %r19 | |
2735 | mov 0x38, %r18 | |
2736 | .word 0xe6f00b12 ! 247: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2737 | mondo_7_119: | |
2738 | nop | |
2739 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2740 | ||
2741 | stxa %r4, [%r0+0x3e0] %asi | |
2742 | .word 0x9d91c004 ! 248: WRPR_WSTATE_R wrpr %r7, %r4, %wstate | |
2743 | .word 0x9b500000 ! 249: RDPR_TPC rdpr %tpc, %r13 | |
2744 | tagged_7_120: | |
2745 | tsubcctv %r7, 0x13f7, %r12 | |
2746 | .word 0xd807fea4 ! 250: LDUW_I lduw [%r31 + 0xfffffea4], %r12 | |
2747 | .word 0x97a00174 ! 251: FABSq dis not found | |
2748 | ||
2749 | .word 0xd6c004a0 ! 252: LDSWA_R ldswa [%r0, %r0] 0x25, %r11 | |
2750 | splash_lsu_7_121: | |
2751 | setx 0xfe879724ccbef801, %r1, %r2 | |
2752 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2753 | .word 0x3d400001 ! 253: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2754 | memptr_7_122: | |
2755 | set 0x60140000, %r31 | |
2756 | .word 0x85822e65 ! 254: WRCCR_I wr %r8, 0x0e65, %ccr | |
2757 | nop | |
2758 | mov 0x80, %g3 | |
2759 | stxa %g3, [%g3] 0x57 | |
2760 | .word 0xd65fc000 ! 255: LDX_R ldx [%r31 + %r0], %r11 | |
2761 | .word 0xd6d7e010 ! 256: LDSHA_I ldsha [%r31, + 0x0010] %asi, %r11 | |
2762 | splash_cmpr_7_123: | |
2763 | setx 0x9333485301844be0, %g2, %g1 | |
2764 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
2765 | sub %g1, 100, %g1 | |
2766 | .word 0xb1800001 ! 257: WR_STICK_REG_R wr %r0, %r1, %- | |
2767 | invalw | |
2768 | mov 0xb5, %r30 | |
2769 | .word 0x91d0001e ! 258: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2770 | .word 0x91500000 ! 259: RDPR_TPC <illegal instruction> | |
2771 | mov (7+1), %r10 | |
2772 | ta T_CHANGE_HPRIV | |
2773 | set sync_thr_counter2, %r23 | |
2774 | cas [%r23],%g0,%r10 !lock | |
2775 | brnz %r10, sma_7_124 | |
2776 | rd %asi, %r12 | |
2777 | wr %g0, 0x40, %asi | |
2778 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2779 | set 0x21fff, %g1 | |
2780 | stxa %g1, [%g0 + 0x80] %asi | |
2781 | wr %r12, %g0, %asi | |
2782 | st %g0, [%r23] | |
2783 | sma_7_124: | |
2784 | ta T_CHANGE_NONHPRIV | |
2785 | .word 0xe3e7e005 ! 260: CASA_R casa [%r31] %asi, %r5, %r17 | |
2786 | nop | |
2787 | mov 0x80, %g3 | |
2788 | stxa %g3, [%g3] 0x5f | |
2789 | .word 0xe25fc000 ! 261: LDX_R ldx [%r31 + %r0], %r17 | |
2790 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2791 | ta T_CHANGE_NONHPRIV ! macro | |
2792 | .word 0x95a01968 ! 262: FqTOd dis not found | |
2793 | ||
2794 | .word 0x8d902d8c ! 263: WRPR_PSTATE_I wrpr %r0, 0x0d8c, %pstate | |
2795 | DS_7_126: | |
2796 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
2797 | .word 0xfb5edb1b ! Random illegal ? | |
2798 | .word 0xa7a00545 ! 1: FSQRTd fsqrt | |
2799 | .word 0x99a10827 ! 264: FADDs fadds %f4, %f7, %f12 | |
2800 | .word 0xd68008a0 ! 265: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
2801 | intveclr_7_127: | |
2802 | setx 0xfbac6a15b04aa3d0, %r1, %r28 | |
2803 | stxa %r28, [%g0] 0x72 | |
2804 | .word 0x25400001 ! 266: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2805 | .word 0x91520000 ! 267: RDPR_PIL rdpr %pil, %r8 | |
2806 | .word 0xab830001 ! 268: WR_CLEAR_SOFTINT_R wr %r12, %r1, %clear_softint | |
2807 | splash_cmpr_7_128: | |
2808 | setx 0x052c471d29035257, %g2, %g1 | |
2809 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2810 | sub %g1, 100, %g1 | |
2811 | .word 0xb1800001 ! 269: WR_STICK_REG_R wr %r0, %r1, %- | |
2812 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2813 | ta T_CHANGE_NONHPRIV ! macro | |
2814 | .word 0x93a0196d ! 270: FqTOd dis not found | |
2815 | ||
2816 | splash_cmpr_7_130: | |
2817 | setx 0xa9972041d541fcd6, %g2, %g1 | |
2818 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2819 | sub %g1, 100, %g1 | |
2820 | .word 0xb1800001 ! 271: WR_STICK_REG_R wr %r0, %r1, %- | |
2821 | ta T_CHANGE_HPRIV | |
2822 | mov (7+1), %r10 | |
2823 | set sync_thr_counter1, %r23 | |
2824 | cas [%r23],%g0,%r10 !lock | |
2825 | brnz %r10, cwq_7_131 | |
2826 | rd %asi, %r12 | |
2827 | wr %g0, 0x40, %asi | |
2828 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2829 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2830 | cmp %l1, 1 | |
2831 | bne cwq_7_131 | |
2832 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2833 | sub %l2, 0x40, %l2 | |
2834 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2835 | wr %r12, %g0, %asi | |
2836 | st %g0, [%r23] | |
2837 | cwq_7_131: | |
2838 | ta T_CHANGE_NONHPRIV | |
2839 | .word 0x9b414000 ! 272: RDPC rd %pc, %r13 | |
2840 | splash_cmpr_7_132: | |
2841 | setx 0x308a63df1b94714b, %g2, %g1 | |
2842 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2843 | sub %g1, 100, %g1 | |
2844 | .word 0xb1800001 ! 273: WR_STICK_REG_R wr %r0, %r1, %- | |
2845 | tagged_7_133: | |
2846 | taddcctv %r15, 0x135b, %r22 | |
2847 | .word 0xda07edb6 ! 274: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
2848 | mondo_7_134: | |
2849 | nop | |
2850 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2851 | ||
2852 | stxa %r20, [%r0+0x3c0] %asi | |
2853 | .word 0x9d948014 ! 275: WRPR_WSTATE_R wrpr %r18, %r20, %wstate | |
2854 | rd %pc, %r19 | |
2855 | add %r19, (ivw_7_135-.+24), %r19 | |
2856 | mov 0x38, %r18 | |
2857 | stxa %r19, [%r18]0x58 | |
2858 | ivw_7_135: | |
2859 | .word 0x91918003 ! 276: WRPR_PIL_R wrpr %r6, %r3, %pil | |
2860 | cwp_7_136: | |
2861 | set user_data_start, %o7 | |
2862 | .word 0x93902005 ! 277: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
2863 | tagged_7_137: | |
2864 | taddcctv %r19, 0x1fd4, %r24 | |
2865 | .word 0xda07edb6 ! 278: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
2866 | cwp_7_138: | |
2867 | set user_data_start, %o7 | |
2868 | .word 0x93902007 ! 279: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
2869 | otherw | |
2870 | mov 0x33, %r30 | |
2871 | .word 0x91d0001e ! 280: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2872 | intveclr_7_139: | |
2873 | setx 0x62270e1cb65689ec, %r1, %r28 | |
2874 | stxa %r28, [%g0] 0x72 | |
2875 | .word 0x25400001 ! 281: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2876 | .word 0x99450000 ! 282: RD_SET_SOFTINT rd %set_softint, %r12 | |
2877 | splash_tba_7_140: | |
2878 | set 0x120000, %r12 | |
2879 | st %r1, [%r12+%r0] | |
2880 | ta T_CHANGE_PRIV | |
2881 | set 0x120000, %r12 | |
2882 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2883 | debug_7_141: | |
2884 | nop | |
2885 | mov 8, %r18 | |
2886 | .word 0xdaf00492 ! 284: STXA_R stxa %r13, [%r0 + %r18] 0x24 | |
2887 | debug_7_142: | |
2888 | nop | |
2889 | rd %pc, %r19 | |
2890 | add %r19, (64+0), %r19 | |
2891 | mov 0x38, %r18 | |
2892 | .word 0xe6f00b12 ! 285: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2893 | .word 0xa190200a ! 286: WRPR_GL_I wrpr %r0, 0x000a, %- | |
2894 | cwp_7_143: | |
2895 | set user_data_start, %o7 | |
2896 | .word 0x93902004 ! 287: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
2897 | .word 0x87902013 ! 288: WRPR_TT_I wrpr %r0, 0x0013, %tt | |
2898 | .word 0x9570359d ! 289: POPC_I popc 0x159d, %r10 | |
2899 | ta T_CHANGE_HPRIV | |
2900 | mov (7+1), %r10 | |
2901 | set sync_thr_counter1, %r23 | |
2902 | cas [%r23],%g0,%r10 !lock | |
2903 | brnz %r10, cwq_7_144 | |
2904 | rd %asi, %r12 | |
2905 | wr %g0, 0x40, %asi | |
2906 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2907 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2908 | cmp %l1, 1 | |
2909 | bne cwq_7_144 | |
2910 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2911 | sub %l2, 0x40, %l2 | |
2912 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2913 | wr %r12, %g0, %asi | |
2914 | st %g0, [%r23] | |
2915 | cwq_7_144: | |
2916 | ta T_CHANGE_NONHPRIV | |
2917 | .word 0x91414000 ! 290: RDPC rd %pc, %r8 | |
2918 | ta T_CHANGE_HPRIV | |
2919 | mov (7+1), %r10 | |
2920 | set sync_thr_counter1, %r23 | |
2921 | cas [%r23],%g0,%r10 !lock | |
2922 | brnz %r10, cwq_7_145 | |
2923 | rd %asi, %r12 | |
2924 | wr %g0, 0x40, %asi | |
2925 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2926 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2927 | cmp %l1, 1 | |
2928 | bne cwq_7_145 | |
2929 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2930 | sub %l2, 0x40, %l2 | |
2931 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2932 | wr %r12, %g0, %asi | |
2933 | st %g0, [%r23] | |
2934 | cwq_7_145: | |
2935 | ta T_CHANGE_NONHPRIV | |
2936 | .word 0xa9414000 ! 291: RDPC rd %pc, %r20 | |
2937 | invalw | |
2938 | mov 0x34, %r30 | |
2939 | .word 0x93d0001e ! 292: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
2940 | .word 0x95a00174 ! 293: FABSq dis not found | |
2941 | ||
2942 | splash_hpstate_7_146: | |
2943 | .word 0x81982e47 ! 294: WRHPR_HPSTATE_I wrhpr %r0, 0x0e47, %hpstate | |
2944 | mondo_7_147: | |
2945 | nop | |
2946 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2947 | ||
2948 | stxa %r19, [%r0+0x3c8] %asi | |
2949 | .word 0x9d944004 ! 295: WRPR_WSTATE_R wrpr %r17, %r4, %wstate | |
2950 | .word 0x81460000 ! 296: RD_STICK_REG stbar | |
2951 | .word 0x87902165 ! 297: WRPR_TT_I wrpr %r0, 0x0165, %tt | |
2952 | tagged_7_148: | |
2953 | tsubcctv %r24, 0x1947, %r14 | |
2954 | .word 0xda07e368 ! 298: LDUW_I lduw [%r31 + 0x0368], %r13 | |
2955 | splash_tba_7_149: | |
2956 | set 0x120000, %r12 | |
2957 | ld [%r12+%r0], %r1 | |
2958 | ta T_CHANGE_PRIV | |
2959 | set 0x120000, %r12 | |
2960 | .word 0x8b90000c ! 299: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2961 | .word 0xda6fe368 ! 300: LDSTUB_I ldstub %r13, [%r31 + 0x0368] | |
2962 | splash_cmpr_7_150: | |
2963 | setx 0x39236eceb14c88ef, %g2, %g1 | |
2964 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2965 | sub %g1, 100, %g1 | |
2966 | .word 0xb1800001 ! 301: WR_STICK_REG_R wr %r0, %r1, %- | |
2967 | .word 0xdabfe368 ! 302: STDA_I stda %r13, [%r31 + 0x0368] %asi | |
2968 | splash_tba_7_151: | |
2969 | set 0x120000, %r12 | |
2970 | ld [%r12+%r0], %r1 | |
2971 | ta T_CHANGE_PRIV | |
2972 | set 0x120000, %r12 | |
2973 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2974 | .word 0x91a00172 ! 304: FABSq dis not found | |
2975 | ||
2976 | .word 0xda47e368 ! 305: LDSW_I ldsw [%r31 + 0x0368], %r13 | |
2977 | .word 0x8d90353d ! 306: WRPR_PSTATE_I wrpr %r0, 0x153d, %pstate | |
2978 | rd %pc, %r19 | |
2979 | add %r19, (ivw_7_152-.+56), %r19 | |
2980 | mov 0x38, %r18 | |
2981 | stxa %r19, [%r18]0x58 | |
2982 | ivw_7_152: | |
2983 | .word 0x9194c004 ! 307: WRPR_PIL_R wrpr %r19, %r4, %pil | |
2984 | DS_7_153: | |
2985 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
2986 | .word 0xa9a4c9c0 ! 1: FDIVd fdivd %f50, %f0, %f20 | |
2987 | normalw | |
2988 | .word 0x93458000 ! 308: RD_SOFTINT_REG rd %softint, %r9 | |
2989 | .word 0xd33fe368 ! 309: STDF_I std %f9, [0x0368, %r31] | |
2990 | .word 0x91d020b2 ! 310: Tcc_I ta icc_or_xcc, %r0 + 178 | |
2991 | .word 0x9b50c000 ! 311: RDPR_TT rdpr %tt, %r13 | |
2992 | mov (7+1), %r10 | |
2993 | ta T_CHANGE_HPRIV | |
2994 | set sync_thr_counter2, %r23 | |
2995 | cas [%r23],%g0,%r10 !lock | |
2996 | brnz %r10, sma_7_154 | |
2997 | rd %asi, %r12 | |
2998 | wr %g0, 0x40, %asi | |
2999 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3000 | set 0x21fff, %g1 | |
3001 | stxa %g1, [%g0 + 0x80] %asi | |
3002 | wr %r12, %g0, %asi | |
3003 | st %g0, [%r23] | |
3004 | sma_7_154: | |
3005 | ta T_CHANGE_NONHPRIV | |
3006 | .word 0xd3e7e00d ! 312: CASA_R casa [%r31] %asi, %r13, %r9 | |
3007 | tagged_7_155: | |
3008 | taddcctv %r11, 0x1751, %r17 | |
3009 | .word 0xd207e368 ! 313: LDUW_I lduw [%r31 + 0x0368], %r9 | |
3010 | DS_7_156: | |
3011 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
3012 | .word 0xbfefc000 ! 314: RESTORE_R restore %r31, %r0, %r31 | |
3013 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3014 | ta T_CHANGE_NONHPRIV ! macro | |
3015 | .word 0xa16d3c7b ! 315: SDIVX_I sdivx %r20, 0xfffffc7b, %r16 | |
3016 | .word 0xe8dfe030 ! 316: LDXA_I ldxa [%r31, + 0x0030] %asi, %r20 | |
3017 | nop | |
3018 | mov 0x80, %g3 | |
3019 | stxa %g3, [%g3] 0x57 | |
3020 | .word 0xe85fc000 ! 317: LDX_R ldx [%r31 + %r0], %r20 | |
3021 | debug_7_158: | |
3022 | nop | |
3023 | mov 0x38, %r18 | |
3024 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3025 | splash_htba_7_159: | |
3026 | set 0x00390000, %r12 | |
3027 | ld [%r12+%r0], %r1 | |
3028 | ta T_CHANGE_HPRIV | |
3029 | set 0x00390000, %r12 | |
3030 | .word 0x8b98000c ! 319: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3031 | ta T_CHANGE_HPRIV | |
3032 | mov (7+1), %r10 | |
3033 | set sync_thr_counter1, %r23 | |
3034 | cas [%r23],%g0,%r10 !lock | |
3035 | brnz %r10, cwq_7_160 | |
3036 | rd %asi, %r12 | |
3037 | wr %g0, 0x40, %asi | |
3038 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3039 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3040 | cmp %l1, 1 | |
3041 | bne cwq_7_160 | |
3042 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3043 | sub %l2, 0x40, %l2 | |
3044 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3045 | wr %r12, %g0, %asi | |
3046 | st %g0, [%r23] | |
3047 | cwq_7_160: | |
3048 | ta T_CHANGE_NONHPRIV | |
3049 | .word 0x93414000 ! 320: RDPC rd %pc, %r9 | |
3050 | .word 0xe537c000 ! 321: STQF_R - %f18, [%r0, %r31] | |
3051 | .word 0x9b464000 ! 322: RD_STICK_CMPR_REG rd %-, %r13 | |
3052 | .word 0x91d020b3 ! 323: Tcc_I ta icc_or_xcc, %r0 + 179 | |
3053 | .word 0xab84c012 ! 324: WR_CLEAR_SOFTINT_R wr %r19, %r18, %clear_softint | |
3054 | .word 0xd28804a0 ! 325: LDUBA_R lduba [%r0, %r0] 0x25, %r9 | |
3055 | splash_cmpr_7_161: | |
3056 | setx 0xe2154ce19e302aa2, %g2, %g1 | |
3057 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
3058 | sub %g1, 100, %g1 | |
3059 | .word 0xb1800001 ! 326: WR_STICK_REG_R wr %r0, %r1, %- | |
3060 | .word 0x99902001 ! 327: WRPR_CLEANWIN_I wrpr %r0, 0x0001, %cleanwin | |
3061 | DS_7_162: | |
3062 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
3063 | .word 0xd55a1663 ! Random illegal ? | |
3064 | .word 0xa5a449d0 ! 1: FDIVd fdivd %f48, %f16, %f18 | |
3065 | .word 0x95a4c830 ! 328: FADDs fadds %f19, %f16, %f10 | |
3066 | .word 0x8d903d98 ! 329: WRPR_PSTATE_I wrpr %r0, 0x1d98, %pstate | |
3067 | nop | |
3068 | mov 0x80, %g3 | |
3069 | stxa %g3, [%g3] 0x57 | |
3070 | .word 0xd05fc000 ! 330: LDX_R ldx [%r31 + %r0], %r8 | |
3071 | .word 0xd08fe030 ! 331: LDUBA_I lduba [%r31, + 0x0030] %asi, %r8 | |
3072 | mondo_7_163: | |
3073 | nop | |
3074 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3075 | ||
3076 | stxa %r6, [%r0+0x3d0] %asi | |
3077 | .word 0x9d900008 ! 332: WRPR_WSTATE_R wrpr %r0, %r8, %wstate | |
3078 | .word 0xa8812b32 ! 333: ADDcc_I addcc %r4, 0x0b32, %r20 | |
3079 | invalw | |
3080 | mov 0xb5, %r30 | |
3081 | .word 0x93d0001e ! 334: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
3082 | splash_hpstate_7_164: | |
3083 | .word 0x819829c4 ! 335: WRHPR_HPSTATE_I wrhpr %r0, 0x09c4, %hpstate | |
3084 | tagged_7_165: | |
3085 | taddcctv %r21, 0x1ed1, %r12 | |
3086 | .word 0xda07fbd4 ! 336: LDUW_I lduw [%r31 + 0xfffffbd4], %r13 | |
3087 | .word 0xa1902002 ! 337: WRPR_GL_I wrpr %r0, 0x0002, %- | |
3088 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_166) + 32, 16, 16)) -> intp(3,0,31) | |
3089 | intvec_7_166: | |
3090 | .word 0x39400001 ! 338: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3091 | splash_decr_7_167: | |
3092 | nop | |
3093 | ta T_CHANGE_HPRIV | |
3094 | mov 8, %r1 | |
3095 | stxa %r9, [%r1] 0x45 | |
3096 | .word 0xa7814010 ! 339: WR_GRAPHICS_STATUS_REG_R wr %r5, %r16, %- | |
3097 | splash_hpstate_7_168: | |
3098 | .word 0x819820c7 ! 340: WRHPR_HPSTATE_I wrhpr %r0, 0x00c7, %hpstate | |
3099 | DS_7_169: | |
3100 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
3101 | .word 0xbfefc000 ! 341: RESTORE_R restore %r31, %r0, %r31 | |
3102 | .word 0x8d902c54 ! 342: WRPR_PSTATE_I wrpr %r0, 0x0c54, %pstate | |
3103 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_170) + 0, 16, 16)) -> intp(5,0,15) | |
3104 | intvec_7_170: | |
3105 | .word 0x39400001 ! 343: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3106 | .word 0x87802016 ! 344: WRASI_I wr %r0, 0x0016, %asi | |
3107 | .word 0xa1902009 ! 345: WRPR_GL_I wrpr %r0, 0x0009, %- | |
3108 | splash_lsu_7_171: | |
3109 | setx 0x831f595a85d0193f, %r1, %r2 | |
3110 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3111 | .word 0x3d400001 ! 346: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3112 | cwp_7_172: | |
3113 | set user_data_start, %o7 | |
3114 | .word 0x93902004 ! 347: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
3115 | splash_cmpr_7_173: | |
3116 | setx 0xcc6c72b0c827ff13, %g2, %g1 | |
3117 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
3118 | sub %g1, 100, %g1 | |
3119 | .word 0xb1800001 ! 348: WR_STICK_REG_R wr %r0, %r1, %- | |
3120 | .word 0xdac804a0 ! 349: LDSBA_R ldsba [%r0, %r0] 0x25, %r13 | |
3121 | .word 0xa3520000 ! 350: RDPR_PIL <illegal instruction> | |
3122 | .word 0xd4c00e60 ! 351: LDSWA_R ldswa [%r0, %r0] 0x73, %r10 | |
3123 | donret_7_174: | |
3124 | nop | |
3125 | rd %pc, %r12 | |
3126 | add %r12, (donretarg_7_174-donret_7_174), %r12 | |
3127 | mov 0x38, %r18 | |
3128 | stxa %r12, [%r18]0x58 | |
3129 | add %r12, 0x4, %r11 | |
3130 | wrpr %g0, 0x1, %tl | |
3131 | wrpr %g0, %r12, %tpc | |
3132 | wrpr %g0, %r11, %tnpc | |
3133 | wrpr %g0, %r13, %tstate | |
3134 | wrhpr %g0, %r14, %htstate | |
3135 | retry | |
3136 | donretarg_7_174: | |
3137 | .word 0xd4fffbd4 ! 352: SWAPA_I swapa %r10, [%r31 + 0xfffffbd4] %asi | |
3138 | intveclr_7_175: | |
3139 | setx 0xaa932ccf2b0a51f4, %r1, %r28 | |
3140 | stxa %r28, [%g0] 0x72 | |
3141 | .word 0x25400001 ! 353: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3142 | DS_7_176: | |
3143 | nop | |
3144 | not %g0, %r12 | |
3145 | jmp %r12 | |
3146 | .word 0x9d902005 ! 354: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
3147 | cwp_7_177: | |
3148 | set user_data_start, %o7 | |
3149 | .word 0x93902007 ! 355: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
3150 | change_to_randtl_7_178: | |
3151 | ta T_CHANGE_PRIV ! macro | |
3152 | done_change_to_randtl_7_178: | |
3153 | .word 0x8f902001 ! 356: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3154 | .word 0xd51fc000 ! 357: LDDF_R ldd [%r31, %r0], %f10 | |
3155 | .word 0x87802055 ! 358: WRASI_I wr %r0, 0x0055, %asi | |
3156 | .word 0xd4c80e60 ! 359: LDSBA_R ldsba [%r0, %r0] 0x73, %r10 | |
3157 | .word 0x91d02032 ! 360: Tcc_I ta icc_or_xcc, %r0 + 50 | |
3158 | .word 0xad81758a ! 361: WR_SOFTINT_REG_I wr %r5, 0x158a, %softint | |
3159 | splash_htba_7_179: | |
3160 | set 0x80000, %r12 | |
3161 | ld [%r12+%r0], %r1 | |
3162 | ta T_CHANGE_HPRIV | |
3163 | set 0x80000, %r12 | |
3164 | .word 0x8b98000c ! 362: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3165 | .word 0xd4c80e80 ! 363: LDSBA_R ldsba [%r0, %r0] 0x74, %r10 | |
3166 | nop | |
3167 | mov 0x80, %g3 | |
3168 | stxa %g3, [%g3] 0x57 | |
3169 | .word 0xd45fc000 ! 364: LDX_R ldx [%r31 + %r0], %r10 | |
3170 | memptr_7_180: | |
3171 | set user_data_start, %r31 | |
3172 | .word 0x8584692d ! 365: WRCCR_I wr %r17, 0x092d, %ccr | |
3173 | debug_7_181: | |
3174 | nop | |
3175 | rd %pc, %r19 | |
3176 | add %r19, (64+0), %r19 | |
3177 | mov 0x38, %r18 | |
3178 | .word 0xe6f00b12 ! 366: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3179 | splash_tba_7_182: | |
3180 | set 0x120000, %r12 | |
3181 | st %r1, [%r12+%r0] | |
3182 | ta T_CHANGE_PRIV | |
3183 | set 0x120000, %r12 | |
3184 | .word 0x8b90000c ! 367: WRPR_TBA_R wrpr %r0, %r12, %tba | |
3185 | splash_htba_7_183: | |
3186 | set 0x00390000, %r12 | |
3187 | ld [%r12+%r0], %r1 | |
3188 | ta T_CHANGE_HPRIV | |
3189 | set 0x00390000, %r12 | |
3190 | .word 0x8b98000c ! 368: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3191 | .word 0xd4d804a0 ! 369: LDXA_R ldxa [%r0, %r0] 0x25, %r10 | |
3192 | debug_7_184: | |
3193 | nop | |
3194 | rd %pc, %r19 | |
3195 | add %r19, (64+48), %r19 | |
3196 | mov 0x38, %r18 | |
3197 | .word 0xe6f00b12 ! 370: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3198 | .word 0xd4c004a0 ! 371: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
3199 | .word 0xd4d004a0 ! 372: LDSHA_R ldsha [%r0, %r0] 0x25, %r10 | |
3200 | splash_lsu_7_185: | |
3201 | setx 0x523d7b4edab7672d, %r1, %r2 | |
3202 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3203 | .word 0x3d400001 ! 373: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3204 | .word 0xa1902008 ! 374: WRPR_GL_I wrpr %r0, 0x0008, %- | |
3205 | nop | |
3206 | mov 0x80, %g3 | |
3207 | stxa %g3, [%g3] 0x57 | |
3208 | .word 0xd45fc000 ! 375: LDX_R ldx [%r31 + %r0], %r10 | |
3209 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_186) + 16, 16, 16)) -> intp(6,0,13) | |
3210 | intvec_7_186: | |
3211 | .word 0x39400001 ! 376: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3212 | .word 0x9f802a6f ! 377: SIR sir 0x0a6f | |
3213 | setx 0xb9aaad45797fa49d, %r1, %r28 | |
3214 | stxa %r28, [%g0] 0x73 | |
3215 | intvec_7_187: | |
3216 | .word 0x39400001 ! 378: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3217 | invalw | |
3218 | mov 0x33, %r30 | |
3219 | .word 0x91d0001e ! 379: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3220 | splash_hpstate_7_188: | |
3221 | .word 0x81982917 ! 380: WRHPR_HPSTATE_I wrhpr %r0, 0x0917, %hpstate | |
3222 | mov (7+1), %r10 | |
3223 | ta T_CHANGE_HPRIV | |
3224 | set sync_thr_counter2, %r23 | |
3225 | cas [%r23],%g0,%r10 !lock | |
3226 | brnz %r10, sma_7_189 | |
3227 | rd %asi, %r12 | |
3228 | wr %g0, 0x40, %asi | |
3229 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3230 | set 0x21fff, %g1 | |
3231 | stxa %g1, [%g0 + 0x80] %asi | |
3232 | wr %r12, %g0, %asi | |
3233 | st %g0, [%r23] | |
3234 | sma_7_189: | |
3235 | ta T_CHANGE_NONHPRIV | |
3236 | .word 0xd5e7e008 ! 381: CASA_R casa [%r31] %asi, %r8, %r10 | |
3237 | debug_7_190: | |
3238 | nop | |
3239 | rd %pc, %r19 | |
3240 | add %r19, (64+40), %r19 | |
3241 | mov 0x38, %r18 | |
3242 | .word 0xe6f00b12 ! 382: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3243 | ta T_CHANGE_HPRIV | |
3244 | mov (7+1), %r10 | |
3245 | set sync_thr_counter1, %r23 | |
3246 | cas [%r23],%g0,%r10 !lock | |
3247 | brnz %r10, cwq_7_191 | |
3248 | rd %asi, %r12 | |
3249 | wr %g0, 0x40, %asi | |
3250 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3251 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3252 | cmp %l1, 1 | |
3253 | bne cwq_7_191 | |
3254 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3255 | sub %l2, 0x40, %l2 | |
3256 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3257 | wr %r12, %g0, %asi | |
3258 | st %g0, [%r23] | |
3259 | cwq_7_191: | |
3260 | ta T_CHANGE_NONHPRIV | |
3261 | .word 0x9b414000 ! 383: RDPC rd %pc, %r13 | |
3262 | .word 0xd6c7e030 ! 384: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r11 | |
3263 | cwp_7_192: | |
3264 | set user_data_start, %o7 | |
3265 | .word 0x93902006 ! 385: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
3266 | .word 0xd68008a0 ! 386: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
3267 | .word 0xd6ffc028 ! 387: SWAPA_R swapa %r11, [%r31 + %r8] 0x01 | |
3268 | mov (7+1), %r10 | |
3269 | ta T_CHANGE_HPRIV | |
3270 | set sync_thr_counter2, %r23 | |
3271 | cas [%r23],%g0,%r10 !lock | |
3272 | brnz %r10, sma_7_193 | |
3273 | rd %asi, %r12 | |
3274 | wr %g0, 0x40, %asi | |
3275 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3276 | set 0x21fff, %g1 | |
3277 | stxa %g1, [%g0 + 0x80] %asi | |
3278 | wr %r12, %g0, %asi | |
3279 | st %g0, [%r23] | |
3280 | sma_7_193: | |
3281 | ta T_CHANGE_NONHPRIV | |
3282 | .word 0xd7e7e008 ! 388: CASA_R casa [%r31] %asi, %r8, %r11 | |
3283 | debug_7_194: | |
3284 | nop | |
3285 | mov 0x38, %r18 | |
3286 | .word 0xfef00b12 ! 389: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3287 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3288 | ta T_CHANGE_NONHPRIV ! macro | |
3289 | .word 0xa5a01973 ! 390: FqTOd dis not found | |
3290 | ||
3291 | splash_hpstate_7_196: | |
3292 | .word 0x8198250f ! 391: WRHPR_HPSTATE_I wrhpr %r0, 0x050f, %hpstate | |
3293 | .word 0x879020ba ! 392: WRPR_TT_I wrpr %r0, 0x00ba, %tt | |
3294 | setx 0x453748b608a41715, %r1, %r28 | |
3295 | stxa %r28, [%g0] 0x73 | |
3296 | intvec_7_197: | |
3297 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3298 | mondo_7_198: | |
3299 | nop | |
3300 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3301 | ||
3302 | stxa %r8, [%r0+0x3c0] %asi | |
3303 | .word 0x9d92c007 ! 394: WRPR_WSTATE_R wrpr %r11, %r7, %wstate | |
3304 | .word 0x9ad47e08 ! 395: UMULcc_I umulcc %r17, 0xfffffe08, %r13 | |
3305 | .word 0xda8804a0 ! 396: LDUBA_R lduba [%r0, %r0] 0x25, %r13 | |
3306 | .word 0x95a509cb ! 397: FDIVd fdivd %f20, %f42, %f10 | |
3307 | splash_cmpr_7_199: | |
3308 | setx 0xb6ff97c12f49e5fe, %g2, %g1 | |
3309 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3310 | sub %g1, 100, %g1 | |
3311 | .word 0xb1800001 ! 398: WR_STICK_REG_R wr %r0, %r1, %- | |
3312 | .word 0x97a00544 ! 399: FSQRTd fsqrt | |
3313 | nop | |
3314 | mov 0x80, %g3 | |
3315 | stxa %g3, [%g3] 0x5f | |
3316 | .word 0xd05fc000 ! 400: LDX_R ldx [%r31 + %r0], %r8 | |
3317 | nop | |
3318 | nop | |
3319 | setx join_lbl_0_0, %g1, %g2 | |
3320 | jmp %g2 | |
3321 | nop | |
3322 | fork_lbl_0_7: | |
3323 | change_to_randtl_6_0: | |
3324 | ta T_CHANGE_PRIV ! macro | |
3325 | done_change_to_randtl_6_0: | |
3326 | .word 0xd8d7e000 ! 1: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r12 | |
3327 | splash_cmpr_6_1: | |
3328 | setx 0xa5333d630970cd70, %g2, %g1 | |
3329 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3330 | sub %g1, 100, %g1 | |
3331 | .word 0xb1800001 ! 2: WR_STICK_REG_R wr %r0, %r1, %- | |
3332 | debug_6_2: | |
3333 | nop | |
3334 | mov 0x38, %r18 | |
3335 | .word 0xfef00b12 ! 3: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3336 | .word 0x8780208b ! 4: WRASI_I wr %r0, 0x008b, %asi | |
3337 | .word 0x87902271 ! 5: WRPR_TT_I wrpr %r0, 0x0271, %tt | |
3338 | debug_6_3: | |
3339 | nop | |
3340 | mov 8, %r18 | |
3341 | .word 0xd2f00492 ! 6: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
3342 | cwp_6_4: | |
3343 | set user_data_start, %o7 | |
3344 | .word 0x93902006 ! 7: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
3345 | .word 0x8d902e62 ! 8: WRPR_PSTATE_I wrpr %r0, 0x0e62, %pstate | |
3346 | splash_cmpr_6_5: | |
3347 | setx 0x905a6e25fecfd57b, %g2, %g1 | |
3348 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
3349 | sub %g1, 100, %g1 | |
3350 | .word 0xb1800001 ! 9: WR_STICK_REG_R wr %r0, %r1, %- | |
3351 | cwp_6_6: | |
3352 | set user_data_start, %o7 | |
3353 | .word 0x93902003 ! 10: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
3354 | splash_lsu_6_7: | |
3355 | setx 0x555629d7ec33db8d, %r1, %r2 | |
3356 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3357 | .word 0x3d400001 ! 11: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3358 | debug_6_8: | |
3359 | nop | |
3360 | mov 0x38, %r18 | |
3361 | .word 0xfef00b12 ! 12: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3362 | .word 0x38800001 ! 13: BGU bgu,a <label_0x1> | |
3363 | .word 0xd86fe5b9 ! 14: LDSTUB_I ldstub %r12, [%r31 + 0x05b9] | |
3364 | .word 0x93d02032 ! 15: Tcc_I tne icc_or_xcc, %r0 + 50 | |
3365 | .word 0x8d903bce ! 16: WRPR_PSTATE_I wrpr %r0, 0x1bce, %pstate | |
3366 | .word 0x30800001 ! 17: BA ba,a <label_0x1> | |
3367 | .word 0xa1902001 ! 18: WRPR_GL_I wrpr %r0, 0x0001, %- | |
3368 | otherw | |
3369 | mov 0x30, %r30 | |
3370 | .word 0x93d0001e ! 19: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
3371 | .word 0xd897e020 ! 20: LDUHA_I lduha [%r31, + 0x0020] %asi, %r12 | |
3372 | .word 0x8d903aef ! 21: WRPR_PSTATE_I wrpr %r0, 0x1aef, %pstate | |
3373 | .word 0x99520000 ! 22: RDPR_PIL rdpr %pil, %r12 | |
3374 | DS_6_9: | |
3375 | .word 0x93a4c9cb ! 1: FDIVd fdivd %f50, %f42, %f40 | |
3376 | .word 0xd734c011 ! 1: STQF_R - %f11, [%r17, %r19] | |
3377 | normalw | |
3378 | .word 0x99458000 ! 23: RD_SOFTINT_REG rd %softint, %r12 | |
3379 | .word 0x879022ca ! 24: WRPR_TT_I wrpr %r0, 0x02ca, %tt | |
3380 | donret_6_10: | |
3381 | nop | |
3382 | rd %pc, %r12 | |
3383 | add %r12, (donretarg_6_10-donret_6_10), %r12 | |
3384 | mov 0x38, %r18 | |
3385 | stxa %r12, [%r18]0x58 | |
3386 | add %r12, 0x4, %r11 | |
3387 | wrpr %g0, 0x2, %tl | |
3388 | wrpr %g0, %r12, %tpc | |
3389 | wrpr %g0, %r11, %tnpc | |
3390 | wrpr %g0, %r13, %tstate | |
3391 | wrhpr %g0, %r14, %htstate | |
3392 | retry | |
3393 | donretarg_6_10: | |
3394 | .word 0xd4ffe5b9 ! 25: SWAPA_I swapa %r10, [%r31 + 0x05b9] %asi | |
3395 | .word 0x91d020b4 ! 26: Tcc_I ta icc_or_xcc, %r0 + 180 | |
3396 | .word 0xd46fe5b9 ! 27: LDSTUB_I ldstub %r10, [%r31 + 0x05b9] | |
3397 | .word 0x93480000 ! 28: RDHPR_HPSTATE rdhpr %hpstate, %r9 | |
3398 | splash_htba_6_11: | |
3399 | set 0x80000, %r12 | |
3400 | ld [%r12+%r0], %r1 | |
3401 | ta T_CHANGE_HPRIV | |
3402 | set 0x80000, %r12 | |
3403 | .word 0x8b98000c ! 29: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3404 | .word 0x8d902840 ! 30: WRPR_PSTATE_I wrpr %r0, 0x0840, %pstate | |
3405 | splash_cmpr_6_12: | |
3406 | setx 0x7abe8dc9e840b71d, %g2, %g1 | |
3407 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3408 | sub %g1, 100, %g1 | |
3409 | .word 0xb1800001 ! 31: WR_STICK_REG_R wr %r0, %r1, %- | |
3410 | nop | |
3411 | mov 0x80, %g3 | |
3412 | stxa %g3, [%g3] 0x57 | |
3413 | .word 0xe85fc000 ! 32: LDX_R ldx [%r31 + %r0], %r20 | |
3414 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3415 | ta T_CHANGE_NONHPRIV ! macro | |
3416 | .word 0xa169e9d4 ! 33: SDIVX_I sdivx %r7, 0x09d4, %r16 | |
3417 | nop | |
3418 | mov 0x80, %g3 | |
3419 | stxa %g3, [%g3] 0x57 | |
3420 | .word 0xd45fc000 ! 34: LDX_R ldx [%r31 + %r0], %r10 | |
3421 | .word 0xd4c7e020 ! 35: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r10 | |
3422 | invalw | |
3423 | mov 0x30, %r30 | |
3424 | .word 0x91d0001e ! 36: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3425 | debug_6_14: | |
3426 | nop | |
3427 | mov 0x38, %r18 | |
3428 | .word 0xfef00b12 ! 37: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3429 | .word 0xd48804a0 ! 38: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
3430 | .word 0x93d02034 ! 39: Tcc_I tne icc_or_xcc, %r0 + 52 | |
3431 | .word 0xd45feeec ! 40: LDX_I ldx [%r31 + 0x0eec], %r10 | |
3432 | .word 0x91d02034 ! 41: Tcc_I ta icc_or_xcc, %r0 + 52 | |
3433 | DS_6_15: | |
3434 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
3435 | allclean | |
3436 | .word 0x99b00309 ! 42: ALIGNADDRESS alignaddr %r0, %r9, %r12 | |
3437 | debug_6_16: | |
3438 | nop | |
3439 | rd %pc, %r19 | |
3440 | add %r19, (64+48), %r19 | |
3441 | mov 0x38, %r18 | |
3442 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3443 | ta T_CHANGE_HPRIV | |
3444 | mov (6+1), %r10 | |
3445 | set sync_thr_counter1, %r23 | |
3446 | cas [%r23],%g0,%r10 !lock | |
3447 | brnz %r10, cwq_6_17 | |
3448 | rd %asi, %r12 | |
3449 | wr %g0, 0x40, %asi | |
3450 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3451 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3452 | cmp %l1, 1 | |
3453 | bne cwq_6_17 | |
3454 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3455 | sub %l2, 0x40, %l2 | |
3456 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3457 | wr %r12, %g0, %asi | |
3458 | st %g0, [%r23] | |
3459 | cwq_6_17: | |
3460 | ta T_CHANGE_NONHPRIV | |
3461 | .word 0x95414000 ! 44: RDPC rd %pc, %r10 | |
3462 | invalw | |
3463 | mov 0x34, %r30 | |
3464 | .word 0x93d0001e ! 45: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
3465 | .word 0xa9500000 ! 46: RDPR_TPC <illegal instruction> | |
3466 | invalw | |
3467 | mov 0x34, %r30 | |
3468 | .word 0x93d0001e ! 47: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
3469 | .word 0x8d903471 ! 48: WRPR_PSTATE_I wrpr %r0, 0x1471, %pstate | |
3470 | .word 0xe6d7e020 ! 49: LDSHA_I ldsha [%r31, + 0x0020] %asi, %r19 | |
3471 | splash_cmpr_6_18: | |
3472 | setx 0xaf20a2b23892d710, %g2, %g1 | |
3473 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3474 | sub %g1, 100, %g1 | |
3475 | .word 0xb1800001 ! 50: WR_STICK_REG_R wr %r0, %r1, %- | |
3476 | cwp_6_19: | |
3477 | set user_data_start, %o7 | |
3478 | .word 0x93902005 ! 51: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
3479 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_20) + 0, 16, 16)) -> intp(7,0,31) | |
3480 | intvec_6_20: | |
3481 | .word 0x39400001 ! 52: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3482 | .word 0xe637eeec ! 53: STH_I sth %r19, [%r31 + 0x0eec] | |
3483 | memptr_6_21: | |
3484 | set user_data_start, %r31 | |
3485 | .word 0x85806ee5 ! 54: WRCCR_I wr %r1, 0x0ee5, %ccr | |
3486 | splash_hpstate_6_22: | |
3487 | .word 0x81982207 ! 55: WRHPR_HPSTATE_I wrhpr %r0, 0x0207, %hpstate | |
3488 | .word 0x94dc0005 ! 56: SMULcc_R smulcc %r16, %r5, %r10 | |
3489 | .word 0xa9a449c5 ! 57: FDIVd fdivd %f48, %f36, %f20 | |
3490 | memptr_6_23: | |
3491 | set 0x60340000, %r31 | |
3492 | .word 0x85802d3a ! 58: WRCCR_I wr %r0, 0x0d3a, %ccr | |
3493 | .word 0xd4d004a0 ! 59: LDSHA_R ldsha [%r0, %r0] 0x25, %r10 | |
3494 | invalw | |
3495 | mov 0x33, %r30 | |
3496 | .word 0x91d0001e ! 60: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3497 | splash_hpstate_6_24: | |
3498 | .word 0x81982697 ! 61: WRHPR_HPSTATE_I wrhpr %r0, 0x0697, %hpstate | |
3499 | change_to_randtl_6_25: | |
3500 | ta T_CHANGE_HPRIV ! macro | |
3501 | done_change_to_randtl_6_25: | |
3502 | .word 0x8f902000 ! 62: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3503 | .word 0x87802014 ! 63: WRASI_I wr %r0, 0x0014, %asi | |
3504 | tagged_6_26: | |
3505 | tsubcctv %r17, 0x16e0, %r21 | |
3506 | .word 0xd407ee0f ! 64: LDUW_I lduw [%r31 + 0x0e0f], %r10 | |
3507 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3508 | ta T_CHANGE_NONHPRIV ! macro | |
3509 | .word 0x996d357c ! 65: SDIVX_I sdivx %r20, 0xfffff57c, %r12 | |
3510 | .word 0x8780201c ! 66: WRASI_I wr %r0, 0x001c, %asi | |
3511 | memptr_6_28: | |
3512 | set 0x60340000, %r31 | |
3513 | .word 0x85843523 ! 67: WRCCR_I wr %r16, 0x1523, %ccr | |
3514 | setx 0x0177d81596a66f42, %r1, %r28 | |
3515 | stxa %r28, [%g0] 0x73 | |
3516 | intvec_6_29: | |
3517 | .word 0x39400001 ! 68: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3518 | splash_cmpr_6_30: | |
3519 | setx 0x0d25709ead66adde, %g2, %g1 | |
3520 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3521 | sub %g1, 100, %g1 | |
3522 | .word 0xb1800001 ! 69: WR_STICK_REG_R wr %r0, %r1, %- | |
3523 | intveclr_6_31: | |
3524 | setx 0x5c9a797ea9d65167, %r1, %r28 | |
3525 | stxa %r28, [%g0] 0x72 | |
3526 | .word 0x25400001 ! 70: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3527 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_32) + 56, 16, 16)) -> intp(5,0,28) | |
3528 | intvec_6_32: | |
3529 | .word 0x39400001 ! 71: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3530 | .word 0xda6ffb07 ! 72: LDSTUB_I ldstub %r13, [%r31 + 0xfffffb07] | |
3531 | .word 0xdadfe030 ! 73: LDXA_I ldxa [%r31, + 0x0030] %asi, %r13 | |
3532 | .word 0xda27fb07 ! 74: STW_I stw %r13, [%r31 + 0xfffffb07] | |
3533 | donret_6_33: | |
3534 | nop | |
3535 | rd %pc, %r12 | |
3536 | add %r12, (donretarg_6_33-donret_6_33-4), %r12 | |
3537 | mov 0x38, %r18 | |
3538 | stxa %r12, [%r18]0x58 | |
3539 | add %r12, 0x4, %r11 | |
3540 | wrpr %g0, 0x1, %tl | |
3541 | wrpr %g0, %r12, %tpc | |
3542 | wrpr %g0, %r11, %tnpc | |
3543 | wrpr %g0, %r13, %tstate | |
3544 | wrhpr %g0, %r14, %htstate | |
3545 | done | |
3546 | donretarg_6_33: | |
3547 | .word 0xdafffb07 ! 75: SWAPA_I swapa %r13, [%r31 + 0xfffffb07] %asi | |
3548 | ta T_CHANGE_HPRIV | |
3549 | mov (6+1), %r10 | |
3550 | set sync_thr_counter1, %r23 | |
3551 | cas [%r23],%g0,%r10 !lock | |
3552 | brnz %r10, cwq_6_34 | |
3553 | rd %asi, %r12 | |
3554 | wr %g0, 0x40, %asi | |
3555 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3556 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3557 | cmp %l1, 1 | |
3558 | bne cwq_6_34 | |
3559 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3560 | sub %l2, 0x40, %l2 | |
3561 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3562 | wr %r12, %g0, %asi | |
3563 | st %g0, [%r23] | |
3564 | cwq_6_34: | |
3565 | ta T_CHANGE_NONHPRIV | |
3566 | .word 0x91414000 ! 76: RDPC rd %pc, %r8 | |
3567 | otherw | |
3568 | mov 0x31, %r30 | |
3569 | .word 0x91d0001e ! 77: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3570 | .word 0x99540000 ! 78: RDPR_GL rdpr %-, %r12 | |
3571 | setx 0xedff9c35941a6dd5, %r1, %r28 | |
3572 | stxa %r28, [%g0] 0x73 | |
3573 | intvec_6_35: | |
3574 | .word 0x39400001 ! 79: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3575 | .word 0xd4dfe010 ! 80: LDXA_I ldxa [%r31, + 0x0010] %asi, %r10 | |
3576 | DS_6_36: | |
3577 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
3578 | .word 0xbfe7c000 ! 81: SAVE_R save %r31, %r0, %r31 | |
3579 | nop | |
3580 | mov 0x80, %g3 | |
3581 | stxa %g3, [%g3] 0x5f | |
3582 | .word 0xd45fc000 ! 82: LDX_R ldx [%r31 + %r0], %r10 | |
3583 | splash_lsu_6_37: | |
3584 | setx 0x146a76281956038d, %r1, %r2 | |
3585 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3586 | .word 0x3d400001 ! 83: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3587 | .word 0x99500000 ! 84: RDPR_TPC rdpr %tpc, %r12 | |
3588 | .word 0x91450000 ! 85: RD_SET_SOFTINT rd %set_softint, %r8 | |
3589 | debug_6_38: | |
3590 | nop | |
3591 | mov 0x38, %r18 | |
3592 | .word 0xfef00b12 ! 86: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3593 | nop | |
3594 | mov 0x80, %g3 | |
3595 | stxa %g3, [%g3] 0x57 | |
3596 | .word 0xe25fc000 ! 87: LDX_R ldx [%r31 + %r0], %r17 | |
3597 | .word 0xa4fa7c5c ! 88: SDIVcc_I sdivcc %r9, 0xfffffc5c, %r18 | |
3598 | .word 0xab82b985 ! 89: WR_CLEAR_SOFTINT_I wr %r10, 0x1985, %clear_softint | |
3599 | .word 0xd0880e40 ! 90: LDUBA_R lduba [%r0, %r0] 0x72, %r8 | |
3600 | debug_6_39: | |
3601 | nop | |
3602 | mov 8, %r18 | |
3603 | .word 0xd4f00492 ! 91: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
3604 | mov (6+1), %r10 | |
3605 | ta T_CHANGE_HPRIV | |
3606 | set sync_thr_counter2, %r23 | |
3607 | cas [%r23],%g0,%r10 !lock | |
3608 | brnz %r10, sma_6_40 | |
3609 | rd %asi, %r12 | |
3610 | wr %g0, 0x40, %asi | |
3611 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3612 | set 0x21fff, %g1 | |
3613 | stxa %g1, [%g0 + 0x80] %asi | |
3614 | wr %r12, %g0, %asi | |
3615 | st %g0, [%r23] | |
3616 | sma_6_40: | |
3617 | ta T_CHANGE_NONHPRIV | |
3618 | .word 0xd1e7e00b ! 92: CASA_R casa [%r31] %asi, %r11, %r8 | |
3619 | cwp_6_41: | |
3620 | set user_data_start, %o7 | |
3621 | .word 0x93902001 ! 93: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
3622 | .word 0xd13fc000 ! 94: STDF_R std %f8, [%r0, %r31] | |
3623 | .word 0x87902085 ! 95: WRPR_TT_I wrpr %r0, 0x0085, %tt | |
3624 | DS_6_42: | |
3625 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
3626 | .word 0xbfefc000 ! 96: RESTORE_R restore %r31, %r0, %r31 | |
3627 | change_to_randtl_6_43: | |
3628 | ta T_CHANGE_HPRIV ! macro | |
3629 | done_change_to_randtl_6_43: | |
3630 | .word 0x8f902002 ! 97: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3631 | .word 0x9f803929 ! 98: SIR sir 0x1929 | |
3632 | debug_6_44: | |
3633 | nop | |
3634 | mov 0x38, %r18 | |
3635 | .word 0xfef00b12 ! 99: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3636 | debug_6_45: | |
3637 | nop | |
3638 | mov 8, %r18 | |
3639 | .word 0xe4f00492 ! 100: STXA_R stxa %r18, [%r0 + %r18] 0x24 | |
3640 | .word 0x20800001 ! 101: BN bn,a <label_0x1> | |
3641 | change_to_randtl_6_46: | |
3642 | ta T_CHANGE_PRIV ! macro | |
3643 | done_change_to_randtl_6_46: | |
3644 | .word 0x8f902000 ! 102: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3645 | .word 0x9b50c000 ! 103: RDPR_TT rdpr %tt, %r13 | |
3646 | .word 0x36800001 ! 104: BGE bge,a <label_0x1> | |
3647 | .word 0x87902037 ! 105: WRPR_TT_I wrpr %r0, 0x0037, %tt | |
3648 | .word 0x8d903f81 ! 106: WRPR_PSTATE_I wrpr %r0, 0x1f81, %pstate | |
3649 | splash_hpstate_6_47: | |
3650 | .word 0x8198234e ! 107: WRHPR_HPSTATE_I wrhpr %r0, 0x034e, %hpstate | |
3651 | invalw | |
3652 | mov 0x30, %r30 | |
3653 | .word 0x91d0001e ! 108: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3654 | .word 0xd0d004a0 ! 109: LDSHA_R ldsha [%r0, %r0] 0x25, %r8 | |
3655 | ta T_CHANGE_HPRIV | |
3656 | mov (6+1), %r10 | |
3657 | set sync_thr_counter1, %r23 | |
3658 | cas [%r23],%g0,%r10 !lock | |
3659 | brnz %r10, cwq_6_48 | |
3660 | rd %asi, %r12 | |
3661 | wr %g0, 0x40, %asi | |
3662 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3663 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3664 | cmp %l1, 1 | |
3665 | bne cwq_6_48 | |
3666 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3667 | sub %l2, 0x40, %l2 | |
3668 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3669 | wr %r12, %g0, %asi | |
3670 | st %g0, [%r23] | |
3671 | cwq_6_48: | |
3672 | ta T_CHANGE_NONHPRIV | |
3673 | .word 0x9b414000 ! 110: RDPC rd %pc, %r13 | |
3674 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3675 | ta T_CHANGE_NONHPRIV ! macro | |
3676 | .word 0xa1a0196a ! 111: FqTOd dis not found | |
3677 | ||
3678 | invalw | |
3679 | mov 0x31, %r30 | |
3680 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3681 | invalw | |
3682 | mov 0xb5, %r30 | |
3683 | .word 0x91d0001e ! 113: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3684 | .word 0xe28804a0 ! 114: LDUBA_R lduba [%r0, %r0] 0x25, %r17 | |
3685 | .word 0x8d903093 ! 115: WRPR_PSTATE_I wrpr %r0, 0x1093, %pstate | |
3686 | ta T_CHANGE_HPRIV | |
3687 | mov (6+1), %r10 | |
3688 | set sync_thr_counter1, %r23 | |
3689 | cas [%r23],%g0,%r10 !lock | |
3690 | brnz %r10, cwq_6_50 | |
3691 | rd %asi, %r12 | |
3692 | wr %g0, 0x40, %asi | |
3693 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3694 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3695 | cmp %l1, 1 | |
3696 | bne cwq_6_50 | |
3697 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3698 | sub %l2, 0x40, %l2 | |
3699 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3700 | wr %r12, %g0, %asi | |
3701 | st %g0, [%r23] | |
3702 | cwq_6_50: | |
3703 | ta T_CHANGE_NONHPRIV | |
3704 | .word 0xa9414000 ! 116: RDPC rd %pc, %r20 | |
3705 | DS_6_51: | |
3706 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
3707 | .word 0xd5310002 ! 1: STQF_R - %f10, [%r2, %r4] | |
3708 | normalw | |
3709 | .word 0xa5458000 ! 117: RD_SOFTINT_REG rd %softint, %r18 | |
3710 | .word 0x3a700001 ! 118: BPCC <illegal instruction> | |
3711 | splash_hpstate_6_52: | |
3712 | .word 0x8198231e ! 119: WRHPR_HPSTATE_I wrhpr %r0, 0x031e, %hpstate | |
3713 | .word 0xe6d004a0 ! 120: LDSHA_R ldsha [%r0, %r0] 0x25, %r19 | |
3714 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3715 | ta T_CHANGE_NONHPRIV ! macro | |
3716 | .word 0x9b6971be ! 121: SDIVX_I sdivx %r5, 0xfffff1be, %r13 | |
3717 | .word 0x97540000 ! 122: RDPR_GL rdpr %-, %r11 | |
3718 | DS_6_54: | |
3719 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
3720 | .word 0xbfefc000 ! 123: RESTORE_R restore %r31, %r0, %r31 | |
3721 | mov (6+1), %r10 | |
3722 | ta T_CHANGE_HPRIV | |
3723 | set sync_thr_counter2, %r23 | |
3724 | cas [%r23],%g0,%r10 !lock | |
3725 | brnz %r10, sma_6_55 | |
3726 | rd %asi, %r12 | |
3727 | wr %g0, 0x40, %asi | |
3728 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3729 | set 0x21fff, %g1 | |
3730 | stxa %g1, [%g0 + 0x80] %asi | |
3731 | wr %r12, %g0, %asi | |
3732 | st %g0, [%r23] | |
3733 | sma_6_55: | |
3734 | ta T_CHANGE_NONHPRIV | |
3735 | .word 0xe9e7e007 ! 124: CASA_R casa [%r31] %asi, %r7, %r20 | |
3736 | change_to_randtl_6_56: | |
3737 | ta T_CHANGE_PRIV ! macro | |
3738 | done_change_to_randtl_6_56: | |
3739 | .word 0x8f902000 ! 125: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3740 | .word 0xe88008a0 ! 126: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
3741 | .word 0x98d0f25d ! 127: UMULcc_I umulcc %r3, 0xfffff25d, %r12 | |
3742 | splash_lsu_6_57: | |
3743 | setx 0x4d39feac835aa019, %r1, %r2 | |
3744 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3745 | .word 0x3d400001 ! 128: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3746 | tagged_6_58: | |
3747 | tsubcctv %r16, 0x1e1f, %r8 | |
3748 | .word 0xd207ec1f ! 129: LDUW_I lduw [%r31 + 0x0c1f], %r9 | |
3749 | .word 0xd297e010 ! 130: LDUHA_I lduha [%r31, + 0x0010] %asi, %r9 | |
3750 | .word 0x9192aa06 ! 131: WRPR_PIL_I wrpr %r10, 0x0a06, %pil | |
3751 | setx 0x83761594839f096a, %r1, %r28 | |
3752 | stxa %r28, [%g0] 0x73 | |
3753 | intvec_6_59: | |
3754 | .word 0x39400001 ! 132: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3755 | .word 0x87802010 ! 133: WRASI_I wr %r0, 0x0010, %asi | |
3756 | DS_6_60: | |
3757 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
3758 | .word 0xbfe7c000 ! 134: SAVE_R save %r31, %r0, %r31 | |
3759 | .word 0xd2800bc0 ! 135: LDUWA_R lduwa [%r0, %r0] 0x5e, %r9 | |
3760 | memptr_6_61: | |
3761 | set 0x60740000, %r31 | |
3762 | .word 0x8581eca1 ! 136: WRCCR_I wr %r7, 0x0ca1, %ccr | |
3763 | invalw | |
3764 | mov 0x32, %r30 | |
3765 | .word 0x83d0001e ! 137: Tcc_R te icc_or_xcc, %r0 + %r30 | |
3766 | mov (6+1), %r10 | |
3767 | ta T_CHANGE_HPRIV | |
3768 | set sync_thr_counter2, %r23 | |
3769 | cas [%r23],%g0,%r10 !lock | |
3770 | brnz %r10, sma_6_62 | |
3771 | rd %asi, %r12 | |
3772 | wr %g0, 0x40, %asi | |
3773 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3774 | set 0x21fff, %g1 | |
3775 | stxa %g1, [%g0 + 0x80] %asi | |
3776 | wr %r12, %g0, %asi | |
3777 | st %g0, [%r23] | |
3778 | sma_6_62: | |
3779 | ta T_CHANGE_NONHPRIV | |
3780 | .word 0xd3e7e007 ! 138: CASA_R casa [%r31] %asi, %r7, %r9 | |
3781 | .word 0x87802080 ! 139: WRASI_I wr %r0, 0x0080, %asi | |
3782 | change_to_randtl_6_63: | |
3783 | ta T_CHANGE_HPRIV ! macro | |
3784 | done_change_to_randtl_6_63: | |
3785 | .word 0x8f902001 ! 140: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3786 | invalw | |
3787 | mov 0xb0, %r30 | |
3788 | .word 0x83d0001e ! 141: Tcc_R te icc_or_xcc, %r0 + %r30 | |
3789 | .word 0xd26feb9a ! 142: LDSTUB_I ldstub %r9, [%r31 + 0x0b9a] | |
3790 | .word 0xa753c000 ! 143: RDPR_FQ <illegal instruction> | |
3791 | .word 0xd6cfe000 ! 144: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r11 | |
3792 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3793 | ta T_CHANGE_NONPRIV ! macro | |
3794 | .word 0xa3a01967 ! 145: FqTOd dis not found | |
3795 | ||
3796 | debug_6_65: | |
3797 | nop | |
3798 | mov 0x38, %r18 | |
3799 | .word 0xfef00b12 ! 146: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3800 | mov (6+1), %r10 | |
3801 | ta T_CHANGE_HPRIV | |
3802 | set sync_thr_counter2, %r23 | |
3803 | cas [%r23],%g0,%r10 !lock | |
3804 | brnz %r10, sma_6_66 | |
3805 | rd %asi, %r12 | |
3806 | wr %g0, 0x40, %asi | |
3807 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3808 | set 0x21fff, %g1 | |
3809 | stxa %g1, [%g0 + 0x80] %asi | |
3810 | wr %r12, %g0, %asi | |
3811 | st %g0, [%r23] | |
3812 | sma_6_66: | |
3813 | ta T_CHANGE_NONHPRIV | |
3814 | .word 0xe5e7e013 ! 147: CASA_R casa [%r31] %asi, %r19, %r18 | |
3815 | .word 0x9191ae1d ! 148: WRPR_PIL_I wrpr %r6, 0x0e1d, %pil | |
3816 | DS_6_67: | |
3817 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
3818 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
3819 | .word 0xe914c011 ! 1: LDQF_R - [%r19, %r17], %f20 | |
3820 | .word 0xa3a2c826 ! 149: FADDs fadds %f11, %f6, %f17 | |
3821 | pmu_6_68: | |
3822 | nop | |
3823 | setx 0xfffff42efffff476, %g1, %g7 | |
3824 | .word 0xa3800007 ! 150: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
3825 | .word 0x38800001 ! 151: BGU bgu,a <label_0x1> | |
3826 | .word 0xe33fc000 ! 152: STDF_R std %f17, [%r0, %r31] | |
3827 | splash_cmpr_6_69: | |
3828 | setx 0x1efe0c1009fb53e6, %g2, %g1 | |
3829 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
3830 | sub %g1, 100, %g1 | |
3831 | .word 0xb1800001 ! 153: WR_STICK_REG_R wr %r0, %r1, %- | |
3832 | .word 0x95450000 ! 154: RD_SET_SOFTINT rd %set_softint, %r10 | |
3833 | donret_6_70: | |
3834 | nop | |
3835 | rd %pc, %r12 | |
3836 | add %r12, (donretarg_6_70-donret_6_70), %r12 | |
3837 | mov 0x38, %r18 | |
3838 | stxa %r12, [%r18]0x58 | |
3839 | add %r12, 0x4, %r11 | |
3840 | wrpr %g0, 0x3, %tl | |
3841 | wrpr %g0, %r12, %tpc | |
3842 | wrpr %g0, %r11, %tnpc | |
3843 | wrpr %g0, %r13, %tstate | |
3844 | wrhpr %g0, %r14, %htstate | |
3845 | retry | |
3846 | donretarg_6_70: | |
3847 | .word 0xe4fff6c3 ! 155: SWAPA_I swapa %r18, [%r31 + 0xfffff6c3] %asi | |
3848 | pmu_6_71: | |
3849 | nop | |
3850 | setx 0xfffff7e9fffff4f7, %g1, %g7 | |
3851 | .word 0xa3800007 ! 156: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
3852 | splash_cmpr_6_72: | |
3853 | setx 0x582aaf782ef07dbc, %g2, %g1 | |
3854 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3855 | sub %g1, 100, %g1 | |
3856 | .word 0xb1800001 ! 157: WR_STICK_REG_R wr %r0, %r1, %- | |
3857 | .word 0x8d90225e ! 158: WRPR_PSTATE_I wrpr %r0, 0x025e, %pstate | |
3858 | .word 0xe48fe010 ! 159: LDUBA_I lduba [%r31, + 0x0010] %asi, %r18 | |
3859 | change_to_randtl_6_73: | |
3860 | ta T_CHANGE_HPRIV ! macro | |
3861 | done_change_to_randtl_6_73: | |
3862 | .word 0x8f902003 ! 160: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
3863 | .word 0x91d02035 ! 161: Tcc_I ta icc_or_xcc, %r0 + 53 | |
3864 | splash_tba_6_74: | |
3865 | set 0x120000, %r12 | |
3866 | st %r1, [%r12+%r0] | |
3867 | ta T_CHANGE_PRIV | |
3868 | set 0x120000, %r12 | |
3869 | .word 0x8b90000c ! 162: WRPR_TBA_R wrpr %r0, %r12, %tba | |
3870 | ta T_CHANGE_HPRIV | |
3871 | mov (6+1), %r10 | |
3872 | set sync_thr_counter1, %r23 | |
3873 | cas [%r23],%g0,%r10 !lock | |
3874 | brnz %r10, cwq_6_75 | |
3875 | rd %asi, %r12 | |
3876 | wr %g0, 0x40, %asi | |
3877 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3878 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3879 | cmp %l1, 1 | |
3880 | bne cwq_6_75 | |
3881 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3882 | sub %l2, 0x40, %l2 | |
3883 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3884 | wr %r12, %g0, %asi | |
3885 | st %g0, [%r23] | |
3886 | cwq_6_75: | |
3887 | ta T_CHANGE_NONHPRIV | |
3888 | .word 0xa7414000 ! 163: RDPC rd %pc, %r19 | |
3889 | invalw | |
3890 | mov 0x35, %r30 | |
3891 | .word 0x91d0001e ! 164: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3892 | intveclr_6_76: | |
3893 | setx 0xeec4f6dc2113da5e, %r1, %r28 | |
3894 | stxa %r28, [%g0] 0x72 | |
3895 | .word 0x25400001 ! 165: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3896 | cwp_6_77: | |
3897 | set user_data_start, %o7 | |
3898 | .word 0x93902005 ! 166: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
3899 | .word 0xd6800ae0 ! 167: LDUWA_R lduwa [%r0, %r0] 0x57, %r11 | |
3900 | ta T_CHANGE_HPRIV | |
3901 | mov (6+1), %r10 | |
3902 | set sync_thr_counter1, %r23 | |
3903 | cas [%r23],%g0,%r10 !lock | |
3904 | brnz %r10, cwq_6_78 | |
3905 | rd %asi, %r12 | |
3906 | wr %g0, 0x40, %asi | |
3907 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3908 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3909 | cmp %l1, 1 | |
3910 | bne cwq_6_78 | |
3911 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3912 | sub %l2, 0x40, %l2 | |
3913 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3914 | wr %r12, %g0, %asi | |
3915 | st %g0, [%r23] | |
3916 | cwq_6_78: | |
3917 | ta T_CHANGE_NONHPRIV | |
3918 | .word 0x9b414000 ! 168: RDPC rd %pc, %r13 | |
3919 | .word 0x96fc8004 ! 169: SDIVcc_R sdivcc %r18, %r4, %r11 | |
3920 | splash_cmpr_6_79: | |
3921 | setx 0xadd5708428f5839f, %g2, %g1 | |
3922 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3923 | sub %g1, 100, %g1 | |
3924 | .word 0xb1800001 ! 170: WR_STICK_REG_R wr %r0, %r1, %- | |
3925 | .word 0x95a00165 ! 171: FABSq dis not found | |
3926 | ||
3927 | .word 0xe097e020 ! 172: LDUHA_I lduha [%r31, + 0x0020] %asi, %r16 | |
3928 | mondo_6_80: | |
3929 | nop | |
3930 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3931 | ||
3932 | stxa %r4, [%r0+0x3e0] %asi | |
3933 | .word 0x9d950001 ! 173: WRPR_WSTATE_R wrpr %r20, %r1, %wstate | |
3934 | .word 0x8780208b ! 174: WRASI_I wr %r0, 0x008b, %asi | |
3935 | .word 0x93d02033 ! 175: Tcc_I tne icc_or_xcc, %r0 + 51 | |
3936 | memptr_6_81: | |
3937 | set user_data_start, %r31 | |
3938 | .word 0x8582e341 ! 176: WRCCR_I wr %r11, 0x0341, %ccr | |
3939 | nop | |
3940 | mov 0x80, %g3 | |
3941 | stxa %g3, [%g3] 0x57 | |
3942 | .word 0xe05fc000 ! 177: LDX_R ldx [%r31 + %r0], %r16 | |
3943 | .word 0xe0c804a0 ! 178: LDSBA_R ldsba [%r0, %r0] 0x25, %r16 | |
3944 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3945 | ta T_CHANGE_NONPRIV ! macro | |
3946 | .word 0x916862d7 ! 179: SDIVX_I sdivx %r1, 0x02d7, %r8 | |
3947 | .word 0xa9480000 ! 180: RDHPR_HPSTATE rdhpr %hpstate, %r20 | |
3948 | mov (6+1), %r10 | |
3949 | ta T_CHANGE_HPRIV | |
3950 | set sync_thr_counter2, %r23 | |
3951 | cas [%r23],%g0,%r10 !lock | |
3952 | brnz %r10, sma_6_83 | |
3953 | rd %asi, %r12 | |
3954 | wr %g0, 0x40, %asi | |
3955 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3956 | set 0x21fff, %g1 | |
3957 | stxa %g1, [%g0 + 0x80] %asi | |
3958 | wr %r12, %g0, %asi | |
3959 | st %g0, [%r23] | |
3960 | sma_6_83: | |
3961 | ta T_CHANGE_NONHPRIV | |
3962 | .word 0xd7e7e012 ! 181: CASA_R casa [%r31] %asi, %r18, %r11 | |
3963 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_84) + 40, 16, 16)) -> intp(0,0,27) | |
3964 | intvec_6_84: | |
3965 | .word 0x39400001 ! 182: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3966 | .word 0xd727c000 ! 183: STF_R st %f11, [%r0, %r31] | |
3967 | mondo_6_85: | |
3968 | nop | |
3969 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3970 | ||
3971 | stxa %r8, [%r0+0x3e8] %asi | |
3972 | .word 0x9d904003 ! 184: WRPR_WSTATE_R wrpr %r1, %r3, %wstate | |
3973 | splash_lsu_6_86: | |
3974 | setx 0xdf326603ae8a3bfd, %r1, %r2 | |
3975 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3976 | .word 0x3d400001 ! 185: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3977 | .word 0xd6cfe020 ! 186: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r11 | |
3978 | debug_6_87: | |
3979 | nop | |
3980 | mov 8, %r18 | |
3981 | .word 0xd4f00492 ! 187: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
3982 | .word 0xd67ff8cc ! 188: SWAP_I swap %r11, [%r31 + 0xfffff8cc] | |
3983 | .word 0x8780208a ! 189: WRASI_I wr %r0, 0x008a, %asi | |
3984 | .word 0x95a009d2 ! 190: FDIVd fdivd %f0, %f18, %f10 | |
3985 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_88) + 24, 16, 16)) -> intp(3,0,21) | |
3986 | intvec_6_88: | |
3987 | .word 0x39400001 ! 191: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3988 | .word 0x87802020 ! 192: WRASI_I wr %r0, 0x0020, %asi | |
3989 | setx 0x334a4c71ce6ed3b5, %r1, %r28 | |
3990 | stxa %r28, [%g0] 0x73 | |
3991 | intvec_6_89: | |
3992 | .word 0x39400001 ! 193: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3993 | debug_6_90: | |
3994 | nop | |
3995 | mov 8, %r18 | |
3996 | .word 0xd8f00492 ! 194: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
3997 | splash_lsu_6_91: | |
3998 | setx 0x80f62b2d86a59881, %r1, %r2 | |
3999 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4000 | .word 0x3d400001 ! 195: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4001 | debug_6_92: | |
4002 | nop | |
4003 | mov 0x38, %r18 | |
4004 | .word 0xfef00b12 ! 196: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4005 | debug_6_93: | |
4006 | nop | |
4007 | mov 8, %r18 | |
4008 | .word 0xe4f00492 ! 197: STXA_R stxa %r18, [%r0 + %r18] 0x24 | |
4009 | debug_6_94: | |
4010 | nop | |
4011 | rd %pc, %r19 | |
4012 | add %r19, (64+32), %r19 | |
4013 | mov 0x38, %r18 | |
4014 | .word 0xe6f00b12 ! 198: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4015 | ta T_CHANGE_HPRIV | |
4016 | mov (6+1), %r10 | |
4017 | set sync_thr_counter1, %r23 | |
4018 | cas [%r23],%g0,%r10 !lock | |
4019 | brnz %r10, cwq_6_95 | |
4020 | rd %asi, %r12 | |
4021 | wr %g0, 0x40, %asi | |
4022 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4023 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4024 | cmp %l1, 1 | |
4025 | bne cwq_6_95 | |
4026 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4027 | sub %l2, 0x40, %l2 | |
4028 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4029 | wr %r12, %g0, %asi | |
4030 | st %g0, [%r23] | |
4031 | cwq_6_95: | |
4032 | ta T_CHANGE_NONHPRIV | |
4033 | .word 0xa5414000 ! 199: RDPC rd %pc, %r18 | |
4034 | .word 0xe07ff8cc ! 200: SWAP_I swap %r16, [%r31 + 0xfffff8cc] | |
4035 | .word 0x8d902ad6 ! 201: WRPR_PSTATE_I wrpr %r0, 0x0ad6, %pstate | |
4036 | tagged_6_96: | |
4037 | tsubcctv %r3, 0x1c4f, %r16 | |
4038 | .word 0xe007f8cc ! 202: LDUW_I lduw [%r31 + 0xfffff8cc], %r16 | |
4039 | mondo_6_97: | |
4040 | nop | |
4041 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4042 | ||
4043 | stxa %r18, [%r0+0x3c0] %asi | |
4044 | .word 0x9d92c003 ! 203: WRPR_WSTATE_R wrpr %r11, %r3, %wstate | |
4045 | .word 0x9ba309d0 ! 204: FDIVd fdivd %f12, %f16, %f44 | |
4046 | .word 0x8d902b75 ! 205: WRPR_PSTATE_I wrpr %r0, 0x0b75, %pstate | |
4047 | splash_lsu_6_98: | |
4048 | setx 0x3e6b0a2bc2c668e9, %r1, %r2 | |
4049 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4050 | .word 0x3d400001 ! 206: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4051 | .word 0xa0d2364c ! 207: UMULcc_I umulcc %r8, 0xfffff64c, %r16 | |
4052 | .word 0xad846bc0 ! 208: WR_SOFTINT_REG_I wr %r17, 0x0bc0, %softint | |
4053 | .word 0xa5a409cc ! 209: FDIVd fdivd %f16, %f12, %f18 | |
4054 | .word 0x93a0016d ! 210: FABSq dis not found | |
4055 | ||
4056 | .word 0x87802004 ! 211: WRASI_I wr %r0, 0x0004, %asi | |
4057 | debug_6_99: | |
4058 | nop | |
4059 | mov 8, %r18 | |
4060 | .word 0xd4f00492 ! 212: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
4061 | mov (6+1), %r10 | |
4062 | ta T_CHANGE_HPRIV | |
4063 | set sync_thr_counter2, %r23 | |
4064 | cas [%r23],%g0,%r10 !lock | |
4065 | brnz %r10, sma_6_100 | |
4066 | rd %asi, %r12 | |
4067 | wr %g0, 0x40, %asi | |
4068 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4069 | set 0x21fff, %g1 | |
4070 | stxa %g1, [%g0 + 0x80] %asi | |
4071 | wr %r12, %g0, %asi | |
4072 | st %g0, [%r23] | |
4073 | sma_6_100: | |
4074 | ta T_CHANGE_NONHPRIV | |
4075 | .word 0xe5e7e00b ! 213: CASA_R casa [%r31] %asi, %r11, %r18 | |
4076 | splash_tba_6_101: | |
4077 | set 0x120000, %r12 | |
4078 | ld [%r12+%r0], %r1 | |
4079 | ta T_CHANGE_PRIV | |
4080 | set 0x120000, %r12 | |
4081 | .word 0x8b90000c ! 214: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4082 | nop | |
4083 | mov 0x80, %g3 | |
4084 | stxa %g3, [%g3] 0x57 | |
4085 | .word 0xe45fc000 ! 215: LDX_R ldx [%r31 + %r0], %r18 | |
4086 | splash_cmpr_6_102: | |
4087 | setx 0x1218fb080915ae0b, %g2, %g1 | |
4088 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4089 | sub %g1, 100, %g1 | |
4090 | .word 0xb1800001 ! 216: WR_STICK_REG_R wr %r0, %r1, %- | |
4091 | .word 0x81460000 ! 217: RD_STICK_REG stbar | |
4092 | .word 0xe49004a0 ! 218: LDUHA_R lduha [%r0, %r0] 0x25, %r18 | |
4093 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4094 | ta T_CHANGE_NONHPRIV ! macro | |
4095 | .word 0x91a01971 ! 219: FqTOd dis not found | |
4096 | ||
4097 | tagged_6_104: | |
4098 | tsubcctv %r25, 0x1434, %r22 | |
4099 | .word 0xe807e50d ! 220: LDUW_I lduw [%r31 + 0x050d], %r20 | |
4100 | .word 0x91906305 ! 221: WRPR_PIL_I wrpr %r1, 0x0305, %pil | |
4101 | pmu_6_105: | |
4102 | nop | |
4103 | setx 0xfffffee7fffffcab, %g1, %g7 | |
4104 | .word 0xa3800007 ! 222: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
4105 | intveclr_6_106: | |
4106 | setx 0x69f73a10f1ba90b9, %r1, %r28 | |
4107 | stxa %r28, [%g0] 0x72 | |
4108 | .word 0x25400001 ! 223: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4109 | nop | |
4110 | mov 0x80, %g3 | |
4111 | stxa %g3, [%g3] 0x57 | |
4112 | .word 0xe85fc000 ! 224: LDX_R ldx [%r31 + %r0], %r20 | |
4113 | otherw | |
4114 | mov 0x31, %r30 | |
4115 | .word 0x91d0001e ! 225: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4116 | .word 0xe83fe48b ! 226: STD_I std %r20, [%r31 + 0x048b] | |
4117 | .word 0x8d802000 ! 227: WRFPRS_I wr %r0, 0x0000, %fprs | |
4118 | .word 0xa77023f6 ! 228: POPC_I popc 0x03f6, %r19 | |
4119 | splash_hpstate_6_107: | |
4120 | .word 0x81982dc6 ! 229: WRHPR_HPSTATE_I wrhpr %r0, 0x0dc6, %hpstate | |
4121 | mov (6+1), %r10 | |
4122 | ta T_CHANGE_HPRIV | |
4123 | set sync_thr_counter2, %r23 | |
4124 | cas [%r23],%g0,%r10 !lock | |
4125 | brnz %r10, sma_6_108 | |
4126 | rd %asi, %r12 | |
4127 | wr %g0, 0x40, %asi | |
4128 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4129 | set 0x21fff, %g1 | |
4130 | stxa %g1, [%g0 + 0x80] %asi | |
4131 | wr %r12, %g0, %asi | |
4132 | st %g0, [%r23] | |
4133 | sma_6_108: | |
4134 | ta T_CHANGE_NONHPRIV | |
4135 | .word 0xd1e7e003 ! 230: CASA_R casa [%r31] %asi, %r3, %r8 | |
4136 | .word 0x99480000 ! 231: RDHPR_HPSTATE rdhpr %hpstate, %r12 | |
4137 | splash_htba_6_109: | |
4138 | set 0x80000, %r12 | |
4139 | ld [%r12+%r0], %r1 | |
4140 | ta T_CHANGE_HPRIV | |
4141 | set 0x80000, %r12 | |
4142 | .word 0x8b98000c ! 232: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
4143 | .word 0x8d902c4a ! 233: WRPR_PSTATE_I wrpr %r0, 0x0c4a, %pstate | |
4144 | debug_6_110: | |
4145 | nop | |
4146 | mov 0x38, %r18 | |
4147 | .word 0xfef00b12 ! 234: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4148 | tagged_6_111: | |
4149 | taddcctv %r17, 0x126d, %r20 | |
4150 | .word 0xd607f25b ! 235: LDUW_I lduw [%r31 + 0xfffff25b], %r11 | |
4151 | cwp_6_112: | |
4152 | set user_data_start, %o7 | |
4153 | .word 0x93902000 ! 236: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
4154 | splash_cmpr_6_113: | |
4155 | setx 0xa5299b4e041f51e1, %g2, %g1 | |
4156 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
4157 | sub %g1, 100, %g1 | |
4158 | .word 0xb1800001 ! 237: WR_STICK_REG_R wr %r0, %r1, %- | |
4159 | .word 0xd677c000 ! 238: STX_R stx %r11, [%r31 + %r0] | |
4160 | .word 0xa980000c ! 239: WR_SET_SOFTINT_R wr %r0, %r12, %set_softint | |
4161 | memptr_6_114: | |
4162 | set user_data_start, %r31 | |
4163 | .word 0x85853f8f ! 240: WRCCR_I wr %r20, 0x1f8f, %ccr | |
4164 | debug_6_115: | |
4165 | nop | |
4166 | rd %pc, %r19 | |
4167 | add %r19, (64+56), %r19 | |
4168 | mov 0x38, %r18 | |
4169 | .word 0xe6f00b12 ! 241: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4170 | invalw | |
4171 | mov 0x30, %r30 | |
4172 | .word 0x83d0001e ! 242: Tcc_R te icc_or_xcc, %r0 + %r30 | |
4173 | intveclr_6_116: | |
4174 | setx 0xa8dc237d21e45864, %r1, %r28 | |
4175 | stxa %r28, [%g0] 0x72 | |
4176 | .word 0x25400001 ! 243: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4177 | .word 0x9f8021be ! 244: SIR sir 0x01be | |
4178 | .word 0xab820010 ! 245: WR_CLEAR_SOFTINT_R wr %r8, %r16, %clear_softint | |
4179 | tagged_6_117: | |
4180 | taddcctv %r5, 0x11e1, %r3 | |
4181 | .word 0xd607fea4 ! 246: LDUW_I lduw [%r31 + 0xfffffea4], %r11 | |
4182 | debug_6_118: | |
4183 | nop | |
4184 | rd %pc, %r19 | |
4185 | add %r19, (64+0), %r19 | |
4186 | mov 0x38, %r18 | |
4187 | .word 0xe6f00b12 ! 247: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4188 | mondo_6_119: | |
4189 | nop | |
4190 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4191 | ||
4192 | stxa %r12, [%r0+0x3d0] %asi | |
4193 | .word 0x9d940004 ! 248: WRPR_WSTATE_R wrpr %r16, %r4, %wstate | |
4194 | .word 0x99500000 ! 249: RDPR_TPC rdpr %tpc, %r12 | |
4195 | tagged_6_120: | |
4196 | tsubcctv %r26, 0x1f2e, %r15 | |
4197 | .word 0xd807fea4 ! 250: LDUW_I lduw [%r31 + 0xfffffea4], %r12 | |
4198 | .word 0x97a00173 ! 251: FABSq dis not found | |
4199 | ||
4200 | .word 0xd6c00e60 ! 252: LDSWA_R ldswa [%r0, %r0] 0x73, %r11 | |
4201 | splash_lsu_6_121: | |
4202 | setx 0xa3338da6ac6e6953, %r1, %r2 | |
4203 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4204 | .word 0x3d400001 ! 253: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4205 | memptr_6_122: | |
4206 | set 0x60140000, %r31 | |
4207 | .word 0x858376dd ! 254: WRCCR_I wr %r13, 0x16dd, %ccr | |
4208 | nop | |
4209 | mov 0x80, %g3 | |
4210 | stxa %g3, [%g3] 0x57 | |
4211 | .word 0xd65fc000 ! 255: LDX_R ldx [%r31 + %r0], %r11 | |
4212 | .word 0xd6d7e020 ! 256: LDSHA_I ldsha [%r31, + 0x0020] %asi, %r11 | |
4213 | splash_cmpr_6_123: | |
4214 | setx 0x688978c1f801849e, %g2, %g1 | |
4215 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
4216 | sub %g1, 100, %g1 | |
4217 | .word 0xb1800001 ! 257: WR_STICK_REG_R wr %r0, %r1, %- | |
4218 | invalw | |
4219 | mov 0x33, %r30 | |
4220 | .word 0x91d0001e ! 258: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4221 | .word 0x97500000 ! 259: RDPR_TPC <illegal instruction> | |
4222 | mov (6+1), %r10 | |
4223 | ta T_CHANGE_HPRIV | |
4224 | set sync_thr_counter2, %r23 | |
4225 | cas [%r23],%g0,%r10 !lock | |
4226 | brnz %r10, sma_6_124 | |
4227 | rd %asi, %r12 | |
4228 | wr %g0, 0x40, %asi | |
4229 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4230 | set 0x21fff, %g1 | |
4231 | stxa %g1, [%g0 + 0x80] %asi | |
4232 | wr %r12, %g0, %asi | |
4233 | st %g0, [%r23] | |
4234 | sma_6_124: | |
4235 | ta T_CHANGE_NONHPRIV | |
4236 | .word 0xe3e7e005 ! 260: CASA_R casa [%r31] %asi, %r5, %r17 | |
4237 | nop | |
4238 | mov 0x80, %g3 | |
4239 | stxa %g3, [%g3] 0x5f | |
4240 | .word 0xe25fc000 ! 261: LDX_R ldx [%r31 + %r0], %r17 | |
4241 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4242 | ta T_CHANGE_NONHPRIV ! macro | |
4243 | .word 0xa3a01967 ! 262: FqTOd dis not found | |
4244 | ||
4245 | .word 0x8d903a65 ! 263: WRPR_PSTATE_I wrpr %r0, 0x1a65, %pstate | |
4246 | DS_6_126: | |
4247 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
4248 | .word 0xbb4baf2b ! Random illegal ? | |
4249 | .word 0xa3a00548 ! 1: FSQRTd fsqrt | |
4250 | .word 0x93a24834 ! 264: FADDs fadds %f9, %f20, %f9 | |
4251 | .word 0xd68008a0 ! 265: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
4252 | intveclr_6_127: | |
4253 | setx 0x074e2b35ab0ed1f9, %r1, %r28 | |
4254 | stxa %r28, [%g0] 0x72 | |
4255 | .word 0x25400001 ! 266: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4256 | .word 0xa1520000 ! 267: RDPR_PIL rdpr %pil, %r16 | |
4257 | .word 0xab848014 ! 268: WR_CLEAR_SOFTINT_R wr %r18, %r20, %clear_softint | |
4258 | splash_cmpr_6_128: | |
4259 | setx 0x54929f13a5f4b329, %g2, %g1 | |
4260 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4261 | sub %g1, 100, %g1 | |
4262 | .word 0xb1800001 ! 269: WR_STICK_REG_R wr %r0, %r1, %- | |
4263 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4264 | ta T_CHANGE_NONHPRIV ! macro | |
4265 | .word 0xa3a01964 ! 270: FqTOd dis not found | |
4266 | ||
4267 | splash_cmpr_6_130: | |
4268 | setx 0x8c52120c806aa09e, %g2, %g1 | |
4269 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4270 | sub %g1, 100, %g1 | |
4271 | .word 0xb1800001 ! 271: WR_STICK_REG_R wr %r0, %r1, %- | |
4272 | ta T_CHANGE_HPRIV | |
4273 | mov (6+1), %r10 | |
4274 | set sync_thr_counter1, %r23 | |
4275 | cas [%r23],%g0,%r10 !lock | |
4276 | brnz %r10, cwq_6_131 | |
4277 | rd %asi, %r12 | |
4278 | wr %g0, 0x40, %asi | |
4279 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4280 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4281 | cmp %l1, 1 | |
4282 | bne cwq_6_131 | |
4283 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4284 | sub %l2, 0x40, %l2 | |
4285 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4286 | wr %r12, %g0, %asi | |
4287 | st %g0, [%r23] | |
4288 | cwq_6_131: | |
4289 | ta T_CHANGE_NONHPRIV | |
4290 | .word 0x91414000 ! 272: RDPC rd %pc, %r8 | |
4291 | splash_cmpr_6_132: | |
4292 | setx 0x8e6420828cb613e6, %g2, %g1 | |
4293 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4294 | sub %g1, 100, %g1 | |
4295 | .word 0xb1800001 ! 273: WR_STICK_REG_R wr %r0, %r1, %- | |
4296 | tagged_6_133: | |
4297 | taddcctv %r25, 0x1566, %r14 | |
4298 | .word 0xda07edb6 ! 274: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
4299 | mondo_6_134: | |
4300 | nop | |
4301 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4302 | ||
4303 | stxa %r18, [%r0+0x3c0] %asi | |
4304 | .word 0x9d91000b ! 275: WRPR_WSTATE_R wrpr %r4, %r11, %wstate | |
4305 | rd %pc, %r19 | |
4306 | add %r19, (ivw_6_135-.+48), %r19 | |
4307 | mov 0x38, %r18 | |
4308 | stxa %r19, [%r18]0x58 | |
4309 | ivw_6_135: | |
4310 | .word 0x9190800c ! 276: WRPR_PIL_R wrpr %r2, %r12, %pil | |
4311 | cwp_6_136: | |
4312 | set user_data_start, %o7 | |
4313 | .word 0x93902004 ! 277: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
4314 | tagged_6_137: | |
4315 | taddcctv %r23, 0x17cd, %r23 | |
4316 | .word 0xda07edb6 ! 278: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
4317 | cwp_6_138: | |
4318 | set user_data_start, %o7 | |
4319 | .word 0x93902007 ! 279: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
4320 | otherw | |
4321 | mov 0x33, %r30 | |
4322 | .word 0x83d0001e ! 280: Tcc_R te icc_or_xcc, %r0 + %r30 | |
4323 | intveclr_6_139: | |
4324 | setx 0x772dc6d661f92480, %r1, %r28 | |
4325 | stxa %r28, [%g0] 0x72 | |
4326 | .word 0x25400001 ! 281: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4327 | .word 0xa3450000 ! 282: RD_SET_SOFTINT rd %set_softint, %r17 | |
4328 | splash_tba_6_140: | |
4329 | set 0x120000, %r12 | |
4330 | st %r1, [%r12+%r0] | |
4331 | ta T_CHANGE_PRIV | |
4332 | set 0x120000, %r12 | |
4333 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4334 | debug_6_141: | |
4335 | nop | |
4336 | mov 8, %r18 | |
4337 | .word 0xdaf00492 ! 284: STXA_R stxa %r13, [%r0 + %r18] 0x24 | |
4338 | debug_6_142: | |
4339 | nop | |
4340 | rd %pc, %r19 | |
4341 | add %r19, (64+0), %r19 | |
4342 | mov 0x38, %r18 | |
4343 | .word 0xe6f00b12 ! 285: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4344 | .word 0xa1902005 ! 286: WRPR_GL_I wrpr %r0, 0x0005, %- | |
4345 | cwp_6_143: | |
4346 | set user_data_start, %o7 | |
4347 | .word 0x93902001 ! 287: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
4348 | .word 0x879021e7 ! 288: WRPR_TT_I wrpr %r0, 0x01e7, %tt | |
4349 | .word 0xa17039a3 ! 289: POPC_I popc 0x19a3, %r16 | |
4350 | ta T_CHANGE_HPRIV | |
4351 | mov (6+1), %r10 | |
4352 | set sync_thr_counter1, %r23 | |
4353 | cas [%r23],%g0,%r10 !lock | |
4354 | brnz %r10, cwq_6_144 | |
4355 | rd %asi, %r12 | |
4356 | wr %g0, 0x40, %asi | |
4357 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4358 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4359 | cmp %l1, 1 | |
4360 | bne cwq_6_144 | |
4361 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4362 | sub %l2, 0x40, %l2 | |
4363 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4364 | wr %r12, %g0, %asi | |
4365 | st %g0, [%r23] | |
4366 | cwq_6_144: | |
4367 | ta T_CHANGE_NONHPRIV | |
4368 | .word 0x9b414000 ! 290: RDPC rd %pc, %r13 | |
4369 | ta T_CHANGE_HPRIV | |
4370 | mov (6+1), %r10 | |
4371 | set sync_thr_counter1, %r23 | |
4372 | cas [%r23],%g0,%r10 !lock | |
4373 | brnz %r10, cwq_6_145 | |
4374 | rd %asi, %r12 | |
4375 | wr %g0, 0x40, %asi | |
4376 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4377 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4378 | cmp %l1, 1 | |
4379 | bne cwq_6_145 | |
4380 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4381 | sub %l2, 0x40, %l2 | |
4382 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4383 | wr %r12, %g0, %asi | |
4384 | st %g0, [%r23] | |
4385 | cwq_6_145: | |
4386 | ta T_CHANGE_NONHPRIV | |
4387 | .word 0x9b414000 ! 291: RDPC rd %pc, %r13 | |
4388 | invalw | |
4389 | mov 0x34, %r30 | |
4390 | .word 0x91d0001e ! 292: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4391 | .word 0xa9a00168 ! 293: FABSq dis not found | |
4392 | ||
4393 | splash_hpstate_6_146: | |
4394 | .word 0x8198295d ! 294: WRHPR_HPSTATE_I wrhpr %r0, 0x095d, %hpstate | |
4395 | mondo_6_147: | |
4396 | nop | |
4397 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4398 | ||
4399 | stxa %r9, [%r0+0x3e8] %asi | |
4400 | .word 0x9d944008 ! 295: WRPR_WSTATE_R wrpr %r17, %r8, %wstate | |
4401 | .word 0x81460000 ! 296: RD_STICK_REG stbar | |
4402 | .word 0x879021b3 ! 297: WRPR_TT_I wrpr %r0, 0x01b3, %tt | |
4403 | tagged_6_148: | |
4404 | tsubcctv %r13, 0x1e9b, %r16 | |
4405 | .word 0xda07e368 ! 298: LDUW_I lduw [%r31 + 0x0368], %r13 | |
4406 | splash_tba_6_149: | |
4407 | set 0x120000, %r12 | |
4408 | ld [%r12+%r0], %r1 | |
4409 | ta T_CHANGE_PRIV | |
4410 | set 0x120000, %r12 | |
4411 | .word 0x8b90000c ! 299: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4412 | .word 0xda6fe368 ! 300: LDSTUB_I ldstub %r13, [%r31 + 0x0368] | |
4413 | splash_cmpr_6_150: | |
4414 | setx 0xe3623b9627a09a96, %g2, %g1 | |
4415 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4416 | sub %g1, 100, %g1 | |
4417 | .word 0xb1800001 ! 301: WR_STICK_REG_R wr %r0, %r1, %- | |
4418 | .word 0xdabfe368 ! 302: STDA_I stda %r13, [%r31 + 0x0368] %asi | |
4419 | splash_tba_6_151: | |
4420 | set 0x120000, %r12 | |
4421 | ld [%r12+%r0], %r1 | |
4422 | ta T_CHANGE_PRIV | |
4423 | set 0x120000, %r12 | |
4424 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4425 | .word 0xa9a00170 ! 304: FABSq dis not found | |
4426 | ||
4427 | .word 0xda47e368 ! 305: LDSW_I ldsw [%r31 + 0x0368], %r13 | |
4428 | .word 0x8d903ff0 ! 306: WRPR_PSTATE_I wrpr %r0, 0x1ff0, %pstate | |
4429 | rd %pc, %r19 | |
4430 | add %r19, (ivw_6_152-.+16), %r19 | |
4431 | mov 0x38, %r18 | |
4432 | stxa %r19, [%r18]0x58 | |
4433 | ivw_6_152: | |
4434 | .word 0x9194000a ! 307: WRPR_PIL_R wrpr %r16, %r10, %pil | |
4435 | DS_6_153: | |
4436 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
4437 | .word 0x9ba049cd ! 1: FDIVd fdivd %f32, %f44, %f44 | |
4438 | normalw | |
4439 | .word 0x95458000 ! 308: RD_SOFTINT_REG rd %softint, %r10 | |
4440 | .word 0xd33fe368 ! 309: STDF_I std %f9, [0x0368, %r31] | |
4441 | .word 0x91d02034 ! 310: Tcc_I ta icc_or_xcc, %r0 + 52 | |
4442 | .word 0x9b50c000 ! 311: RDPR_TT rdpr %tt, %r13 | |
4443 | mov (6+1), %r10 | |
4444 | ta T_CHANGE_HPRIV | |
4445 | set sync_thr_counter2, %r23 | |
4446 | cas [%r23],%g0,%r10 !lock | |
4447 | brnz %r10, sma_6_154 | |
4448 | rd %asi, %r12 | |
4449 | wr %g0, 0x40, %asi | |
4450 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4451 | set 0x21fff, %g1 | |
4452 | stxa %g1, [%g0 + 0x80] %asi | |
4453 | wr %r12, %g0, %asi | |
4454 | st %g0, [%r23] | |
4455 | sma_6_154: | |
4456 | ta T_CHANGE_NONHPRIV | |
4457 | .word 0xd3e7e00d ! 312: CASA_R casa [%r31] %asi, %r13, %r9 | |
4458 | tagged_6_155: | |
4459 | taddcctv %r11, 0x1e3c, %r7 | |
4460 | .word 0xd207e368 ! 313: LDUW_I lduw [%r31 + 0x0368], %r9 | |
4461 | DS_6_156: | |
4462 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
4463 | .word 0xbfefc000 ! 314: RESTORE_R restore %r31, %r0, %r31 | |
4464 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4465 | ta T_CHANGE_NONHPRIV ! macro | |
4466 | .word 0xa7697723 ! 315: SDIVX_I sdivx %r5, 0xfffff723, %r19 | |
4467 | .word 0xe8dfe010 ! 316: LDXA_I ldxa [%r31, + 0x0010] %asi, %r20 | |
4468 | nop | |
4469 | mov 0x80, %g3 | |
4470 | stxa %g3, [%g3] 0x57 | |
4471 | .word 0xe85fc000 ! 317: LDX_R ldx [%r31 + %r0], %r20 | |
4472 | debug_6_158: | |
4473 | nop | |
4474 | mov 0x38, %r18 | |
4475 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4476 | splash_htba_6_159: | |
4477 | set 0x003a0000, %r12 | |
4478 | ld [%r12+%r0], %r1 | |
4479 | ta T_CHANGE_HPRIV | |
4480 | set 0x003a0000, %r12 | |
4481 | .word 0x8b98000c ! 319: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
4482 | ta T_CHANGE_HPRIV | |
4483 | mov (6+1), %r10 | |
4484 | set sync_thr_counter1, %r23 | |
4485 | cas [%r23],%g0,%r10 !lock | |
4486 | brnz %r10, cwq_6_160 | |
4487 | rd %asi, %r12 | |
4488 | wr %g0, 0x40, %asi | |
4489 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4490 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4491 | cmp %l1, 1 | |
4492 | bne cwq_6_160 | |
4493 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4494 | sub %l2, 0x40, %l2 | |
4495 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4496 | wr %r12, %g0, %asi | |
4497 | st %g0, [%r23] | |
4498 | cwq_6_160: | |
4499 | ta T_CHANGE_NONHPRIV | |
4500 | .word 0x99414000 ! 320: RDPC rd %pc, %r12 | |
4501 | .word 0xe537c000 ! 321: STQF_R - %f18, [%r0, %r31] | |
4502 | .word 0x99464000 ! 322: RD_STICK_CMPR_REG rd %-, %r12 | |
4503 | .word 0x93d02034 ! 323: Tcc_I tne icc_or_xcc, %r0 + 52 | |
4504 | .word 0xab848012 ! 324: WR_CLEAR_SOFTINT_R wr %r18, %r18, %clear_softint | |
4505 | .word 0xd28804a0 ! 325: LDUBA_R lduba [%r0, %r0] 0x25, %r9 | |
4506 | splash_cmpr_6_161: | |
4507 | setx 0xfc13e30332fe9ea4, %g2, %g1 | |
4508 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
4509 | sub %g1, 100, %g1 | |
4510 | .word 0xb1800001 ! 326: WR_STICK_REG_R wr %r0, %r1, %- | |
4511 | .word 0x99902003 ! 327: WRPR_CLEANWIN_I wrpr %r0, 0x0003, %cleanwin | |
4512 | DS_6_162: | |
4513 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
4514 | .word 0xcd43af28 ! Random illegal ? | |
4515 | .word 0x93a109c9 ! 1: FDIVd fdivd %f4, %f40, %f40 | |
4516 | .word 0xa9a20831 ! 328: FADDs fadds %f8, %f17, %f20 | |
4517 | .word 0x8d90290d ! 329: WRPR_PSTATE_I wrpr %r0, 0x090d, %pstate | |
4518 | nop | |
4519 | mov 0x80, %g3 | |
4520 | stxa %g3, [%g3] 0x57 | |
4521 | .word 0xd05fc000 ! 330: LDX_R ldx [%r31 + %r0], %r8 | |
4522 | .word 0xd08fe000 ! 331: LDUBA_I lduba [%r31, + 0x0000] %asi, %r8 | |
4523 | mondo_6_163: | |
4524 | nop | |
4525 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4526 | ||
4527 | stxa %r13, [%r0+0x3d0] %asi | |
4528 | .word 0x9d914006 ! 332: WRPR_WSTATE_R wrpr %r5, %r6, %wstate | |
4529 | .word 0xa2852683 ! 333: ADDcc_I addcc %r20, 0x0683, %r17 | |
4530 | invalw | |
4531 | mov 0xb5, %r30 | |
4532 | .word 0x91d0001e ! 334: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4533 | splash_hpstate_6_164: | |
4534 | .word 0x81982b0d ! 335: WRHPR_HPSTATE_I wrhpr %r0, 0x0b0d, %hpstate | |
4535 | tagged_6_165: | |
4536 | taddcctv %r13, 0x1945, %r4 | |
4537 | .word 0xda07fbd4 ! 336: LDUW_I lduw [%r31 + 0xfffffbd4], %r13 | |
4538 | .word 0xa1902003 ! 337: WRPR_GL_I wrpr %r0, 0x0003, %- | |
4539 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_166) + 24, 16, 16)) -> intp(1,0,8) | |
4540 | intvec_6_166: | |
4541 | .word 0x39400001 ! 338: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4542 | splash_decr_6_167: | |
4543 | nop | |
4544 | ta T_CHANGE_HPRIV | |
4545 | mov 8, %r1 | |
4546 | stxa %r8, [%r1] 0x45 | |
4547 | .word 0xa7818000 ! 339: WR_GRAPHICS_STATUS_REG_R wr %r6, %r0, %- | |
4548 | splash_hpstate_6_168: | |
4549 | .word 0x8198284f ! 340: WRHPR_HPSTATE_I wrhpr %r0, 0x084f, %hpstate | |
4550 | DS_6_169: | |
4551 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
4552 | .word 0xbfefc000 ! 341: RESTORE_R restore %r31, %r0, %r31 | |
4553 | .word 0x8d902dc2 ! 342: WRPR_PSTATE_I wrpr %r0, 0x0dc2, %pstate | |
4554 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_170) + 40, 16, 16)) -> intp(3,0,3) | |
4555 | intvec_6_170: | |
4556 | .word 0x39400001 ! 343: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4557 | .word 0x87802058 ! 344: WRASI_I wr %r0, 0x0058, %asi | |
4558 | .word 0xa1902005 ! 345: WRPR_GL_I wrpr %r0, 0x0005, %- | |
4559 | splash_lsu_6_171: | |
4560 | setx 0x01058fd7a95cf82f, %r1, %r2 | |
4561 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4562 | .word 0x3d400001 ! 346: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4563 | cwp_6_172: | |
4564 | set user_data_start, %o7 | |
4565 | .word 0x93902005 ! 347: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
4566 | splash_cmpr_6_173: | |
4567 | setx 0x8b7876790a6fc799, %g2, %g1 | |
4568 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
4569 | sub %g1, 100, %g1 | |
4570 | .word 0xb1800001 ! 348: WR_STICK_REG_R wr %r0, %r1, %- | |
4571 | .word 0xdac804a0 ! 349: LDSBA_R ldsba [%r0, %r0] 0x25, %r13 | |
4572 | .word 0x97520000 ! 350: RDPR_PIL <illegal instruction> | |
4573 | .word 0xd4c004a0 ! 351: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
4574 | donret_6_174: | |
4575 | nop | |
4576 | rd %pc, %r12 | |
4577 | add %r12, (donretarg_6_174-donret_6_174), %r12 | |
4578 | mov 0x38, %r18 | |
4579 | stxa %r12, [%r18]0x58 | |
4580 | add %r12, 0x4, %r11 | |
4581 | wrpr %g0, 0x1, %tl | |
4582 | wrpr %g0, %r12, %tpc | |
4583 | wrpr %g0, %r11, %tnpc | |
4584 | wrpr %g0, %r13, %tstate | |
4585 | wrhpr %g0, %r14, %htstate | |
4586 | retry | |
4587 | donretarg_6_174: | |
4588 | .word 0xd4fffbd4 ! 352: SWAPA_I swapa %r10, [%r31 + 0xfffffbd4] %asi | |
4589 | intveclr_6_175: | |
4590 | setx 0x1ffabc922c1601bf, %r1, %r28 | |
4591 | stxa %r28, [%g0] 0x72 | |
4592 | .word 0x25400001 ! 353: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4593 | DS_6_176: | |
4594 | nop | |
4595 | not %g0, %r12 | |
4596 | jmp %r12 | |
4597 | .word 0x9d902000 ! 354: WRPR_WSTATE_I wrpr %r0, 0x0000, %wstate | |
4598 | cwp_6_177: | |
4599 | set user_data_start, %o7 | |
4600 | .word 0x93902007 ! 355: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
4601 | change_to_randtl_6_178: | |
4602 | ta T_CHANGE_PRIV ! macro | |
4603 | done_change_to_randtl_6_178: | |
4604 | .word 0x8f902000 ! 356: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4605 | .word 0xd51fc000 ! 357: LDDF_R ldd [%r31, %r0], %f10 | |
4606 | .word 0x8780201c ! 358: WRASI_I wr %r0, 0x001c, %asi | |
4607 | .word 0xd4c80e60 ! 359: LDSBA_R ldsba [%r0, %r0] 0x73, %r10 | |
4608 | .word 0x93d02033 ! 360: Tcc_I tne icc_or_xcc, %r0 + 51 | |
4609 | .word 0xad802270 ! 361: WR_SOFTINT_REG_I wr %r0, 0x0270, %softint | |
4610 | splash_htba_6_179: | |
4611 | set 0x80000, %r12 | |
4612 | ld [%r12+%r0], %r1 | |
4613 | ta T_CHANGE_HPRIV | |
4614 | set 0x80000, %r12 | |
4615 | .word 0x8b98000c ! 362: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
4616 | .word 0xd4c804a0 ! 363: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
4617 | nop | |
4618 | mov 0x80, %g3 | |
4619 | stxa %g3, [%g3] 0x57 | |
4620 | .word 0xd45fc000 ! 364: LDX_R ldx [%r31 + %r0], %r10 | |
4621 | memptr_6_180: | |
4622 | set user_data_start, %r31 | |
4623 | .word 0x8582b29c ! 365: WRCCR_I wr %r10, 0x129c, %ccr | |
4624 | debug_6_181: | |
4625 | nop | |
4626 | rd %pc, %r19 | |
4627 | add %r19, (64+16), %r19 | |
4628 | mov 0x38, %r18 | |
4629 | .word 0xe6f00b12 ! 366: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4630 | splash_tba_6_182: | |
4631 | set 0x120000, %r12 | |
4632 | st %r1, [%r12+%r0] | |
4633 | ta T_CHANGE_PRIV | |
4634 | set 0x120000, %r12 | |
4635 | .word 0x8b90000c ! 367: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4636 | splash_htba_6_183: | |
4637 | set 0x003a0000, %r12 | |
4638 | ld [%r12+%r0], %r1 | |
4639 | ta T_CHANGE_HPRIV | |
4640 | set 0x003a0000, %r12 | |
4641 | .word 0x8b98000c ! 368: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
4642 | .word 0xd4d80e40 ! 369: LDXA_R ldxa [%r0, %r0] 0x72, %r10 | |
4643 | debug_6_184: | |
4644 | nop | |
4645 | rd %pc, %r19 | |
4646 | add %r19, (64+8), %r19 | |
4647 | mov 0x38, %r18 | |
4648 | .word 0xe6f00b12 ! 370: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4649 | .word 0xd4c004a0 ! 371: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
4650 | .word 0xd4d00e60 ! 372: LDSHA_R ldsha [%r0, %r0] 0x73, %r10 | |
4651 | splash_lsu_6_185: | |
4652 | setx 0xcbfb994eef08fd55, %r1, %r2 | |
4653 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4654 | .word 0x3d400001 ! 373: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4655 | .word 0xa1902006 ! 374: WRPR_GL_I wrpr %r0, 0x0006, %- | |
4656 | nop | |
4657 | mov 0x80, %g3 | |
4658 | stxa %g3, [%g3] 0x57 | |
4659 | .word 0xd45fc000 ! 375: LDX_R ldx [%r31 + %r0], %r10 | |
4660 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_186) + 56, 16, 16)) -> intp(6,0,14) | |
4661 | intvec_6_186: | |
4662 | .word 0x39400001 ! 376: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4663 | .word 0x9f80233b ! 377: SIR sir 0x033b | |
4664 | setx 0xd35605bc0945090a, %r1, %r28 | |
4665 | stxa %r28, [%g0] 0x73 | |
4666 | intvec_6_187: | |
4667 | .word 0x39400001 ! 378: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4668 | invalw | |
4669 | mov 0x35, %r30 | |
4670 | .word 0x93d0001e ! 379: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
4671 | splash_hpstate_6_188: | |
4672 | .word 0x81982b9f ! 380: WRHPR_HPSTATE_I wrhpr %r0, 0x0b9f, %hpstate | |
4673 | mov (6+1), %r10 | |
4674 | ta T_CHANGE_HPRIV | |
4675 | set sync_thr_counter2, %r23 | |
4676 | cas [%r23],%g0,%r10 !lock | |
4677 | brnz %r10, sma_6_189 | |
4678 | rd %asi, %r12 | |
4679 | wr %g0, 0x40, %asi | |
4680 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4681 | set 0x21fff, %g1 | |
4682 | stxa %g1, [%g0 + 0x80] %asi | |
4683 | wr %r12, %g0, %asi | |
4684 | st %g0, [%r23] | |
4685 | sma_6_189: | |
4686 | ta T_CHANGE_NONHPRIV | |
4687 | .word 0xd5e7e008 ! 381: CASA_R casa [%r31] %asi, %r8, %r10 | |
4688 | debug_6_190: | |
4689 | nop | |
4690 | rd %pc, %r19 | |
4691 | add %r19, (64+24), %r19 | |
4692 | mov 0x38, %r18 | |
4693 | .word 0xe6f00b12 ! 382: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4694 | ta T_CHANGE_HPRIV | |
4695 | mov (6+1), %r10 | |
4696 | set sync_thr_counter1, %r23 | |
4697 | cas [%r23],%g0,%r10 !lock | |
4698 | brnz %r10, cwq_6_191 | |
4699 | rd %asi, %r12 | |
4700 | wr %g0, 0x40, %asi | |
4701 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4702 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4703 | cmp %l1, 1 | |
4704 | bne cwq_6_191 | |
4705 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4706 | sub %l2, 0x40, %l2 | |
4707 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4708 | wr %r12, %g0, %asi | |
4709 | st %g0, [%r23] | |
4710 | cwq_6_191: | |
4711 | ta T_CHANGE_NONHPRIV | |
4712 | .word 0xa1414000 ! 383: RDPC rd %pc, %r16 | |
4713 | .word 0xd6c7e020 ! 384: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r11 | |
4714 | cwp_6_192: | |
4715 | set user_data_start, %o7 | |
4716 | .word 0x93902005 ! 385: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
4717 | .word 0xd68008a0 ! 386: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
4718 | .word 0xd6ffc028 ! 387: SWAPA_R swapa %r11, [%r31 + %r8] 0x01 | |
4719 | mov (6+1), %r10 | |
4720 | ta T_CHANGE_HPRIV | |
4721 | set sync_thr_counter2, %r23 | |
4722 | cas [%r23],%g0,%r10 !lock | |
4723 | brnz %r10, sma_6_193 | |
4724 | rd %asi, %r12 | |
4725 | wr %g0, 0x40, %asi | |
4726 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4727 | set 0x21fff, %g1 | |
4728 | stxa %g1, [%g0 + 0x80] %asi | |
4729 | wr %r12, %g0, %asi | |
4730 | st %g0, [%r23] | |
4731 | sma_6_193: | |
4732 | ta T_CHANGE_NONHPRIV | |
4733 | .word 0xd7e7e008 ! 388: CASA_R casa [%r31] %asi, %r8, %r11 | |
4734 | debug_6_194: | |
4735 | nop | |
4736 | mov 0x38, %r18 | |
4737 | .word 0xfef00b12 ! 389: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4738 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4739 | ta T_CHANGE_NONHPRIV ! macro | |
4740 | .word 0x95a01971 ! 390: FqTOd dis not found | |
4741 | ||
4742 | splash_hpstate_6_196: | |
4743 | .word 0x81982cc5 ! 391: WRHPR_HPSTATE_I wrhpr %r0, 0x0cc5, %hpstate | |
4744 | .word 0x879023c1 ! 392: WRPR_TT_I wrpr %r0, 0x03c1, %tt | |
4745 | setx 0x34181950bc6e11e1, %r1, %r28 | |
4746 | stxa %r28, [%g0] 0x73 | |
4747 | intvec_6_197: | |
4748 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4749 | mondo_6_198: | |
4750 | nop | |
4751 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4752 | ||
4753 | stxa %r7, [%r0+0x3d8] %asi | |
4754 | .word 0x9d948001 ! 394: WRPR_WSTATE_R wrpr %r18, %r1, %wstate | |
4755 | .word 0x92d13f21 ! 395: UMULcc_I umulcc %r4, 0xffffff21, %r9 | |
4756 | .word 0xda8804a0 ! 396: LDUBA_R lduba [%r0, %r0] 0x25, %r13 | |
4757 | .word 0x9ba1c9c6 ! 397: FDIVd fdivd %f38, %f6, %f44 | |
4758 | splash_cmpr_6_199: | |
4759 | setx 0x4cdc9d5364dc4007, %g2, %g1 | |
4760 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
4761 | sub %g1, 100, %g1 | |
4762 | .word 0xb1800001 ! 398: WR_STICK_REG_R wr %r0, %r1, %- | |
4763 | .word 0x99a00553 ! 399: FSQRTd fsqrt | |
4764 | nop | |
4765 | mov 0x80, %g3 | |
4766 | stxa %g3, [%g3] 0x57 | |
4767 | .word 0xd05fc000 ! 400: LDX_R ldx [%r31 + %r0], %r8 | |
4768 | nop | |
4769 | nop | |
4770 | setx join_lbl_0_0, %g1, %g2 | |
4771 | jmp %g2 | |
4772 | nop | |
4773 | fork_lbl_0_6: | |
4774 | change_to_randtl_5_0: | |
4775 | ta T_CHANGE_PRIV ! macro | |
4776 | done_change_to_randtl_5_0: | |
4777 | .word 0xd8d7e000 ! 1: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r12 | |
4778 | splash_cmpr_5_1: | |
4779 | setx 0x409ba533be621fe9, %g2, %g1 | |
4780 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
4781 | sub %g1, 100, %g1 | |
4782 | .word 0xb1800001 ! 2: WR_STICK_REG_R wr %r0, %r1, %- | |
4783 | debug_5_2: | |
4784 | nop | |
4785 | mov 0x38, %r18 | |
4786 | .word 0xfef00b12 ! 3: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4787 | .word 0x8780201c ! 4: WRASI_I wr %r0, 0x001c, %asi | |
4788 | .word 0x879021f1 ! 5: WRPR_TT_I wrpr %r0, 0x01f1, %tt | |
4789 | debug_5_3: | |
4790 | nop | |
4791 | mov 8, %r18 | |
4792 | .word 0xdaf00492 ! 6: STXA_R stxa %r13, [%r0 + %r18] 0x24 | |
4793 | cwp_5_4: | |
4794 | set user_data_start, %o7 | |
4795 | .word 0x93902007 ! 7: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
4796 | .word 0x8d903d41 ! 8: WRPR_PSTATE_I wrpr %r0, 0x1d41, %pstate | |
4797 | splash_cmpr_5_5: | |
4798 | setx 0x5120d335fb58166d, %g2, %g1 | |
4799 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
4800 | sub %g1, 100, %g1 | |
4801 | .word 0xb1800001 ! 9: WR_STICK_REG_R wr %r0, %r1, %- | |
4802 | cwp_5_6: | |
4803 | set user_data_start, %o7 | |
4804 | .word 0x93902000 ! 10: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
4805 | splash_lsu_5_7: | |
4806 | setx 0xa9bb0dee2bb424db, %r1, %r2 | |
4807 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4808 | .word 0x3d400001 ! 11: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4809 | debug_5_8: | |
4810 | nop | |
4811 | mov 0x38, %r18 | |
4812 | .word 0xfef00b12 ! 12: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4813 | .word 0x38800001 ! 13: BGU bgu,a <label_0x1> | |
4814 | .word 0xd86fe5b9 ! 14: LDSTUB_I ldstub %r12, [%r31 + 0x05b9] | |
4815 | .word 0x91d02033 ! 15: Tcc_I ta icc_or_xcc, %r0 + 51 | |
4816 | .word 0x8d902f9e ! 16: WRPR_PSTATE_I wrpr %r0, 0x0f9e, %pstate | |
4817 | .word 0x30800001 ! 17: BA ba,a <label_0x1> | |
4818 | .word 0xa190200b ! 18: WRPR_GL_I wrpr %r0, 0x000b, %- | |
4819 | otherw | |
4820 | mov 0x30, %r30 | |
4821 | .word 0x91d0001e ! 19: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4822 | .word 0xd897e030 ! 20: LDUHA_I lduha [%r31, + 0x0030] %asi, %r12 | |
4823 | .word 0x8d902898 ! 21: WRPR_PSTATE_I wrpr %r0, 0x0898, %pstate | |
4824 | .word 0xa7520000 ! 22: RDPR_PIL rdpr %pil, %r19 | |
4825 | DS_5_9: | |
4826 | .word 0x9ba449d2 ! 1: FDIVd fdivd %f48, %f18, %f44 | |
4827 | .word 0xe7328007 ! 1: STQF_R - %f19, [%r7, %r10] | |
4828 | normalw | |
4829 | .word 0xa5458000 ! 23: RD_SOFTINT_REG rd %softint, %r18 | |
4830 | .word 0x8790234d ! 24: WRPR_TT_I wrpr %r0, 0x034d, %tt | |
4831 | donret_5_10: | |
4832 | nop | |
4833 | rd %pc, %r12 | |
4834 | add %r12, (donretarg_5_10-donret_5_10), %r12 | |
4835 | mov 0x38, %r18 | |
4836 | stxa %r12, [%r18]0x58 | |
4837 | add %r12, 0x4, %r11 | |
4838 | wrpr %g0, 0x1, %tl | |
4839 | wrpr %g0, %r12, %tpc | |
4840 | wrpr %g0, %r11, %tnpc | |
4841 | wrpr %g0, %r13, %tstate | |
4842 | wrhpr %g0, %r14, %htstate | |
4843 | retry | |
4844 | donretarg_5_10: | |
4845 | .word 0xd4ffe5b9 ! 25: SWAPA_I swapa %r10, [%r31 + 0x05b9] %asi | |
4846 | .word 0x93d02032 ! 26: Tcc_I tne icc_or_xcc, %r0 + 50 | |
4847 | .word 0xd46fe5b9 ! 27: LDSTUB_I ldstub %r10, [%r31 + 0x05b9] | |
4848 | .word 0xa3480000 ! 28: RDHPR_HPSTATE rdhpr %hpstate, %r17 | |
4849 | splash_htba_5_11: | |
4850 | set 0x80000, %r12 | |
4851 | ld [%r12+%r0], %r1 | |
4852 | ta T_CHANGE_HPRIV | |
4853 | set 0x80000, %r12 | |
4854 | .word 0x8b98000c ! 29: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
4855 | .word 0x8d9024d4 ! 30: WRPR_PSTATE_I wrpr %r0, 0x04d4, %pstate | |
4856 | splash_cmpr_5_12: | |
4857 | setx 0x1df849ded481e2fd, %g2, %g1 | |
4858 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4859 | sub %g1, 100, %g1 | |
4860 | .word 0xb1800001 ! 31: WR_STICK_REG_R wr %r0, %r1, %- | |
4861 | nop | |
4862 | mov 0x80, %g3 | |
4863 | stxa %g3, [%g3] 0x57 | |
4864 | .word 0xe85fc000 ! 32: LDX_R ldx [%r31 + %r0], %r20 | |
4865 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4866 | ta T_CHANGE_NONHPRIV ! macro | |
4867 | .word 0x956c651b ! 33: SDIVX_I sdivx %r17, 0x051b, %r10 | |
4868 | nop | |
4869 | mov 0x80, %g3 | |
4870 | stxa %g3, [%g3] 0x57 | |
4871 | .word 0xd45fc000 ! 34: LDX_R ldx [%r31 + %r0], %r10 | |
4872 | .word 0xd4c7e030 ! 35: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r10 | |
4873 | invalw | |
4874 | mov 0x30, %r30 | |
4875 | .word 0x93d0001e ! 36: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
4876 | debug_5_14: | |
4877 | nop | |
4878 | mov 0x38, %r18 | |
4879 | .word 0xfef00b12 ! 37: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4880 | .word 0xd48804a0 ! 38: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
4881 | .word 0x91d020b5 ! 39: Tcc_I ta icc_or_xcc, %r0 + 181 | |
4882 | .word 0xd45feeec ! 40: LDX_I ldx [%r31 + 0x0eec], %r10 | |
4883 | .word 0x83d02034 ! 41: Tcc_I te icc_or_xcc, %r0 + 52 | |
4884 | DS_5_15: | |
4885 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
4886 | allclean | |
4887 | .word 0x93b4430d ! 42: ALIGNADDRESS alignaddr %r17, %r13, %r9 | |
4888 | debug_5_16: | |
4889 | nop | |
4890 | rd %pc, %r19 | |
4891 | add %r19, (64+8), %r19 | |
4892 | mov 0x38, %r18 | |
4893 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4894 | ta T_CHANGE_HPRIV | |
4895 | mov (5+1), %r10 | |
4896 | set sync_thr_counter1, %r23 | |
4897 | cas [%r23],%g0,%r10 !lock | |
4898 | brnz %r10, cwq_5_17 | |
4899 | rd %asi, %r12 | |
4900 | wr %g0, 0x40, %asi | |
4901 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4902 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4903 | cmp %l1, 1 | |
4904 | bne cwq_5_17 | |
4905 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4906 | sub %l2, 0x40, %l2 | |
4907 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4908 | wr %r12, %g0, %asi | |
4909 | st %g0, [%r23] | |
4910 | cwq_5_17: | |
4911 | ta T_CHANGE_NONHPRIV | |
4912 | .word 0xa9414000 ! 44: RDPC rd %pc, %r20 | |
4913 | invalw | |
4914 | mov 0x30, %r30 | |
4915 | .word 0x91d0001e ! 45: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4916 | .word 0x95500000 ! 46: RDPR_TPC <illegal instruction> | |
4917 | invalw | |
4918 | mov 0xb1, %r30 | |
4919 | .word 0x91d0001e ! 47: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4920 | .word 0x8d902428 ! 48: WRPR_PSTATE_I wrpr %r0, 0x0428, %pstate | |
4921 | .word 0xe6d7e000 ! 49: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r19 | |
4922 | splash_cmpr_5_18: | |
4923 | setx 0xcde53e59a6f0b5a8, %g2, %g1 | |
4924 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4925 | sub %g1, 100, %g1 | |
4926 | .word 0xb1800001 ! 50: WR_STICK_REG_R wr %r0, %r1, %- | |
4927 | cwp_5_19: | |
4928 | set user_data_start, %o7 | |
4929 | .word 0x93902005 ! 51: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
4930 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_20) + 56, 16, 16)) -> intp(6,0,22) | |
4931 | intvec_5_20: | |
4932 | .word 0x39400001 ! 52: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4933 | .word 0xe637eeec ! 53: STH_I sth %r19, [%r31 + 0x0eec] | |
4934 | memptr_5_21: | |
4935 | set user_data_start, %r31 | |
4936 | .word 0x8581ad5f ! 54: WRCCR_I wr %r6, 0x0d5f, %ccr | |
4937 | splash_hpstate_5_22: | |
4938 | .word 0x819823cd ! 55: WRHPR_HPSTATE_I wrhpr %r0, 0x03cd, %hpstate | |
4939 | .word 0x98dcc005 ! 56: SMULcc_R smulcc %r19, %r5, %r12 | |
4940 | .word 0x9ba109c4 ! 57: FDIVd fdivd %f4, %f4, %f44 | |
4941 | memptr_5_23: | |
4942 | set 0x60540000, %r31 | |
4943 | .word 0x85807df0 ! 58: WRCCR_I wr %r1, 0x1df0, %ccr | |
4944 | .word 0xd4d004a0 ! 59: LDSHA_R ldsha [%r0, %r0] 0x25, %r10 | |
4945 | invalw | |
4946 | mov 0xb2, %r30 | |
4947 | .word 0x91d0001e ! 60: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4948 | splash_hpstate_5_24: | |
4949 | .word 0x8198262d ! 61: WRHPR_HPSTATE_I wrhpr %r0, 0x062d, %hpstate | |
4950 | change_to_randtl_5_25: | |
4951 | ta T_CHANGE_HPRIV ! macro | |
4952 | done_change_to_randtl_5_25: | |
4953 | .word 0x8f902002 ! 62: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4954 | .word 0x87802083 ! 63: WRASI_I wr %r0, 0x0083, %asi | |
4955 | tagged_5_26: | |
4956 | tsubcctv %r21, 0x1668, %r11 | |
4957 | .word 0xd407ee0f ! 64: LDUW_I lduw [%r31 + 0x0e0f], %r10 | |
4958 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4959 | ta T_CHANGE_NONHPRIV ! macro | |
4960 | .word 0x936c2ff4 ! 65: SDIVX_I sdivx %r16, 0x0ff4, %r9 | |
4961 | .word 0x87802088 ! 66: WRASI_I wr %r0, 0x0088, %asi | |
4962 | memptr_5_28: | |
4963 | set 0x60740000, %r31 | |
4964 | .word 0x8580a669 ! 67: WRCCR_I wr %r2, 0x0669, %ccr | |
4965 | setx 0x390a9ed648adf255, %r1, %r28 | |
4966 | stxa %r28, [%g0] 0x73 | |
4967 | intvec_5_29: | |
4968 | .word 0x39400001 ! 68: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4969 | splash_cmpr_5_30: | |
4970 | setx 0x01bae7f9df3a7137, %g2, %g1 | |
4971 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4972 | sub %g1, 100, %g1 | |
4973 | .word 0xb1800001 ! 69: WR_STICK_REG_R wr %r0, %r1, %- | |
4974 | intveclr_5_31: | |
4975 | setx 0x3ef00475b70b7907, %r1, %r28 | |
4976 | stxa %r28, [%g0] 0x72 | |
4977 | .word 0x25400001 ! 70: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4978 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_32) + 8, 16, 16)) -> intp(3,0,11) | |
4979 | intvec_5_32: | |
4980 | .word 0x39400001 ! 71: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4981 | .word 0xda6ffb07 ! 72: LDSTUB_I ldstub %r13, [%r31 + 0xfffffb07] | |
4982 | .word 0xdadfe010 ! 73: LDXA_I ldxa [%r31, + 0x0010] %asi, %r13 | |
4983 | .word 0xda27fb07 ! 74: STW_I stw %r13, [%r31 + 0xfffffb07] | |
4984 | donret_5_33: | |
4985 | nop | |
4986 | rd %pc, %r12 | |
4987 | add %r12, (donretarg_5_33-donret_5_33-4), %r12 | |
4988 | mov 0x38, %r18 | |
4989 | stxa %r12, [%r18]0x58 | |
4990 | add %r12, 0x4, %r11 | |
4991 | wrpr %g0, 0x2, %tl | |
4992 | wrpr %g0, %r12, %tpc | |
4993 | wrpr %g0, %r11, %tnpc | |
4994 | wrpr %g0, %r13, %tstate | |
4995 | wrhpr %g0, %r14, %htstate | |
4996 | done | |
4997 | donretarg_5_33: | |
4998 | .word 0xdafffb07 ! 75: SWAPA_I swapa %r13, [%r31 + 0xfffffb07] %asi | |
4999 | ta T_CHANGE_HPRIV | |
5000 | mov (5+1), %r10 | |
5001 | set sync_thr_counter1, %r23 | |
5002 | cas [%r23],%g0,%r10 !lock | |
5003 | brnz %r10, cwq_5_34 | |
5004 | rd %asi, %r12 | |
5005 | wr %g0, 0x40, %asi | |
5006 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5007 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5008 | cmp %l1, 1 | |
5009 | bne cwq_5_34 | |
5010 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5011 | sub %l2, 0x40, %l2 | |
5012 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5013 | wr %r12, %g0, %asi | |
5014 | st %g0, [%r23] | |
5015 | cwq_5_34: | |
5016 | ta T_CHANGE_NONHPRIV | |
5017 | .word 0x97414000 ! 76: RDPC rd %pc, %r11 | |
5018 | otherw | |
5019 | mov 0x30, %r30 | |
5020 | .word 0x91d0001e ! 77: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5021 | .word 0x91540000 ! 78: RDPR_GL rdpr %-, %r8 | |
5022 | setx 0x503b9b24eda5caca, %r1, %r28 | |
5023 | stxa %r28, [%g0] 0x73 | |
5024 | intvec_5_35: | |
5025 | .word 0x39400001 ! 79: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5026 | .word 0xd4dfe020 ! 80: LDXA_I ldxa [%r31, + 0x0020] %asi, %r10 | |
5027 | DS_5_36: | |
5028 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
5029 | .word 0xbfe7c000 ! 81: SAVE_R save %r31, %r0, %r31 | |
5030 | nop | |
5031 | mov 0x80, %g3 | |
5032 | stxa %g3, [%g3] 0x5f | |
5033 | .word 0xd45fc000 ! 82: LDX_R ldx [%r31 + %r0], %r10 | |
5034 | splash_lsu_5_37: | |
5035 | setx 0xcfbb125674321b55, %r1, %r2 | |
5036 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5037 | .word 0x3d400001 ! 83: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5038 | .word 0x9b500000 ! 84: RDPR_TPC rdpr %tpc, %r13 | |
5039 | .word 0x93450000 ! 85: RD_SET_SOFTINT rd %set_softint, %r9 | |
5040 | debug_5_38: | |
5041 | nop | |
5042 | mov 0x38, %r18 | |
5043 | .word 0xfef00b12 ! 86: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5044 | nop | |
5045 | mov 0x80, %g3 | |
5046 | stxa %g3, [%g3] 0x5f | |
5047 | .word 0xe25fc000 ! 87: LDX_R ldx [%r31 + %r0], %r17 | |
5048 | .word 0xa6f8ebff ! 88: SDIVcc_I sdivcc %r3, 0x0bff, %r19 | |
5049 | .word 0xab84765b ! 89: WR_CLEAR_SOFTINT_I wr %r17, 0x165b, %clear_softint | |
5050 | .word 0xd08804a0 ! 90: LDUBA_R lduba [%r0, %r0] 0x25, %r8 | |
5051 | debug_5_39: | |
5052 | nop | |
5053 | mov 8, %r18 | |
5054 | .word 0xd0f00492 ! 91: STXA_R stxa %r8, [%r0 + %r18] 0x24 | |
5055 | mov (5+1), %r10 | |
5056 | ta T_CHANGE_HPRIV | |
5057 | set sync_thr_counter2, %r23 | |
5058 | cas [%r23],%g0,%r10 !lock | |
5059 | brnz %r10, sma_5_40 | |
5060 | rd %asi, %r12 | |
5061 | wr %g0, 0x40, %asi | |
5062 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5063 | set 0x21fff, %g1 | |
5064 | stxa %g1, [%g0 + 0x80] %asi | |
5065 | wr %r12, %g0, %asi | |
5066 | st %g0, [%r23] | |
5067 | sma_5_40: | |
5068 | ta T_CHANGE_NONHPRIV | |
5069 | .word 0xd1e7e00b ! 92: CASA_R casa [%r31] %asi, %r11, %r8 | |
5070 | cwp_5_41: | |
5071 | set user_data_start, %o7 | |
5072 | .word 0x93902002 ! 93: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
5073 | .word 0xd13fc000 ! 94: STDF_R std %f8, [%r0, %r31] | |
5074 | .word 0x8790217b ! 95: WRPR_TT_I wrpr %r0, 0x017b, %tt | |
5075 | DS_5_42: | |
5076 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
5077 | .word 0xbfefc000 ! 96: RESTORE_R restore %r31, %r0, %r31 | |
5078 | change_to_randtl_5_43: | |
5079 | ta T_CHANGE_HPRIV ! macro | |
5080 | done_change_to_randtl_5_43: | |
5081 | .word 0x8f902000 ! 97: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5082 | .word 0x9f802226 ! 98: SIR sir 0x0226 | |
5083 | debug_5_44: | |
5084 | nop | |
5085 | mov 0x38, %r18 | |
5086 | .word 0xfef00b12 ! 99: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5087 | debug_5_45: | |
5088 | nop | |
5089 | mov 8, %r18 | |
5090 | .word 0xd2f00492 ! 100: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
5091 | .word 0x20800001 ! 101: BN bn,a <label_0x1> | |
5092 | change_to_randtl_5_46: | |
5093 | ta T_CHANGE_PRIV ! macro | |
5094 | done_change_to_randtl_5_46: | |
5095 | .word 0x8f902001 ! 102: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5096 | .word 0x9350c000 ! 103: RDPR_TT rdpr %tt, %r9 | |
5097 | .word 0x36800001 ! 104: BGE bge,a <label_0x1> | |
5098 | .word 0x87902231 ! 105: WRPR_TT_I wrpr %r0, 0x0231, %tt | |
5099 | .word 0x8d90332d ! 106: WRPR_PSTATE_I wrpr %r0, 0x132d, %pstate | |
5100 | splash_hpstate_5_47: | |
5101 | .word 0x81982a4c ! 107: WRHPR_HPSTATE_I wrhpr %r0, 0x0a4c, %hpstate | |
5102 | invalw | |
5103 | mov 0x35, %r30 | |
5104 | .word 0x91d0001e ! 108: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5105 | .word 0xd0d004a0 ! 109: LDSHA_R ldsha [%r0, %r0] 0x25, %r8 | |
5106 | ta T_CHANGE_HPRIV | |
5107 | mov (5+1), %r10 | |
5108 | set sync_thr_counter1, %r23 | |
5109 | cas [%r23],%g0,%r10 !lock | |
5110 | brnz %r10, cwq_5_48 | |
5111 | rd %asi, %r12 | |
5112 | wr %g0, 0x40, %asi | |
5113 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5114 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5115 | cmp %l1, 1 | |
5116 | bne cwq_5_48 | |
5117 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5118 | sub %l2, 0x40, %l2 | |
5119 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5120 | wr %r12, %g0, %asi | |
5121 | st %g0, [%r23] | |
5122 | cwq_5_48: | |
5123 | ta T_CHANGE_NONHPRIV | |
5124 | .word 0xa3414000 ! 110: RDPC rd %pc, %r17 | |
5125 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5126 | ta T_CHANGE_NONHPRIV ! macro | |
5127 | .word 0x93a01971 ! 111: FqTOd dis not found | |
5128 | ||
5129 | invalw | |
5130 | mov 0x30, %r30 | |
5131 | .word 0x93d0001e ! 112: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
5132 | invalw | |
5133 | mov 0x35, %r30 | |
5134 | .word 0x91d0001e ! 113: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5135 | .word 0xe28804a0 ! 114: LDUBA_R lduba [%r0, %r0] 0x25, %r17 | |
5136 | .word 0x8d9027c0 ! 115: WRPR_PSTATE_I wrpr %r0, 0x07c0, %pstate | |
5137 | ta T_CHANGE_HPRIV | |
5138 | mov (5+1), %r10 | |
5139 | set sync_thr_counter1, %r23 | |
5140 | cas [%r23],%g0,%r10 !lock | |
5141 | brnz %r10, cwq_5_50 | |
5142 | rd %asi, %r12 | |
5143 | wr %g0, 0x40, %asi | |
5144 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5145 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5146 | cmp %l1, 1 | |
5147 | bne cwq_5_50 | |
5148 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5149 | sub %l2, 0x40, %l2 | |
5150 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5151 | wr %r12, %g0, %asi | |
5152 | st %g0, [%r23] | |
5153 | cwq_5_50: | |
5154 | ta T_CHANGE_NONHPRIV | |
5155 | .word 0x93414000 ! 116: RDPC rd %pc, %r9 | |
5156 | DS_5_51: | |
5157 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
5158 | .word 0xdb34c003 ! 1: STQF_R - %f13, [%r3, %r19] | |
5159 | normalw | |
5160 | .word 0xa3458000 ! 117: RD_SOFTINT_REG rd %softint, %r17 | |
5161 | .word 0x3a700001 ! 118: BPCC <illegal instruction> | |
5162 | splash_hpstate_5_52: | |
5163 | .word 0x8198230f ! 119: WRHPR_HPSTATE_I wrhpr %r0, 0x030f, %hpstate | |
5164 | .word 0xe6d004a0 ! 120: LDSHA_R ldsha [%r0, %r0] 0x25, %r19 | |
5165 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5166 | ta T_CHANGE_NONHPRIV ! macro | |
5167 | .word 0x9768e976 ! 121: SDIVX_I sdivx %r3, 0x0976, %r11 | |
5168 | .word 0x9b540000 ! 122: RDPR_GL rdpr %-, %r13 | |
5169 | DS_5_54: | |
5170 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
5171 | .word 0xbfefc000 ! 123: RESTORE_R restore %r31, %r0, %r31 | |
5172 | mov (5+1), %r10 | |
5173 | ta T_CHANGE_HPRIV | |
5174 | set sync_thr_counter2, %r23 | |
5175 | cas [%r23],%g0,%r10 !lock | |
5176 | brnz %r10, sma_5_55 | |
5177 | rd %asi, %r12 | |
5178 | wr %g0, 0x40, %asi | |
5179 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5180 | set 0x21fff, %g1 | |
5181 | stxa %g1, [%g0 + 0x80] %asi | |
5182 | wr %r12, %g0, %asi | |
5183 | st %g0, [%r23] | |
5184 | sma_5_55: | |
5185 | ta T_CHANGE_NONHPRIV | |
5186 | .word 0xe9e7e007 ! 124: CASA_R casa [%r31] %asi, %r7, %r20 | |
5187 | change_to_randtl_5_56: | |
5188 | ta T_CHANGE_PRIV ! macro | |
5189 | done_change_to_randtl_5_56: | |
5190 | .word 0x8f902000 ! 125: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5191 | .word 0xe88008a0 ! 126: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
5192 | .word 0x96d4a398 ! 127: UMULcc_I umulcc %r18, 0x0398, %r11 | |
5193 | splash_lsu_5_57: | |
5194 | setx 0xecd96188d5624995, %r1, %r2 | |
5195 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5196 | .word 0x3d400001 ! 128: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5197 | tagged_5_58: | |
5198 | tsubcctv %r21, 0x1e5c, %r7 | |
5199 | .word 0xd207ec1f ! 129: LDUW_I lduw [%r31 + 0x0c1f], %r9 | |
5200 | .word 0xd297e030 ! 130: LDUHA_I lduha [%r31, + 0x0030] %asi, %r9 | |
5201 | .word 0x91927b04 ! 131: WRPR_PIL_I wrpr %r9, 0x1b04, %pil | |
5202 | setx 0xb2a38899928dc9e1, %r1, %r28 | |
5203 | stxa %r28, [%g0] 0x73 | |
5204 | intvec_5_59: | |
5205 | .word 0x39400001 ! 132: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5206 | .word 0x87802020 ! 133: WRASI_I wr %r0, 0x0020, %asi | |
5207 | DS_5_60: | |
5208 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
5209 | .word 0xbfe7c000 ! 134: SAVE_R save %r31, %r0, %r31 | |
5210 | .word 0xd2800b60 ! 135: LDUWA_R lduwa [%r0, %r0] 0x5b, %r9 | |
5211 | memptr_5_61: | |
5212 | set 0x60340000, %r31 | |
5213 | .word 0x85823b3a ! 136: WRCCR_I wr %r8, 0x1b3a, %ccr | |
5214 | invalw | |
5215 | mov 0x30, %r30 | |
5216 | .word 0x91d0001e ! 137: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5217 | mov (5+1), %r10 | |
5218 | ta T_CHANGE_HPRIV | |
5219 | set sync_thr_counter2, %r23 | |
5220 | cas [%r23],%g0,%r10 !lock | |
5221 | brnz %r10, sma_5_62 | |
5222 | rd %asi, %r12 | |
5223 | wr %g0, 0x40, %asi | |
5224 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5225 | set 0x21fff, %g1 | |
5226 | stxa %g1, [%g0 + 0x80] %asi | |
5227 | wr %r12, %g0, %asi | |
5228 | st %g0, [%r23] | |
5229 | sma_5_62: | |
5230 | ta T_CHANGE_NONHPRIV | |
5231 | .word 0xd3e7e007 ! 138: CASA_R casa [%r31] %asi, %r7, %r9 | |
5232 | .word 0x8780208a ! 139: WRASI_I wr %r0, 0x008a, %asi | |
5233 | change_to_randtl_5_63: | |
5234 | ta T_CHANGE_HPRIV ! macro | |
5235 | done_change_to_randtl_5_63: | |
5236 | .word 0x8f902000 ! 140: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5237 | invalw | |
5238 | mov 0x35, %r30 | |
5239 | .word 0x91d0001e ! 141: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5240 | .word 0xd26feb9a ! 142: LDSTUB_I ldstub %r9, [%r31 + 0x0b9a] | |
5241 | .word 0x9153c000 ! 143: RDPR_FQ <illegal instruction> | |
5242 | .word 0xd6cfe020 ! 144: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r11 | |
5243 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
5244 | ta T_CHANGE_NONPRIV ! macro | |
5245 | .word 0xa3a01971 ! 145: FqTOd dis not found | |
5246 | ||
5247 | debug_5_65: | |
5248 | nop | |
5249 | mov 0x38, %r18 | |
5250 | .word 0xfef00b12 ! 146: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5251 | mov (5+1), %r10 | |
5252 | ta T_CHANGE_HPRIV | |
5253 | set sync_thr_counter2, %r23 | |
5254 | cas [%r23],%g0,%r10 !lock | |
5255 | brnz %r10, sma_5_66 | |
5256 | rd %asi, %r12 | |
5257 | wr %g0, 0x40, %asi | |
5258 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5259 | set 0x21fff, %g1 | |
5260 | stxa %g1, [%g0 + 0x80] %asi | |
5261 | wr %r12, %g0, %asi | |
5262 | st %g0, [%r23] | |
5263 | sma_5_66: | |
5264 | ta T_CHANGE_NONHPRIV | |
5265 | .word 0xe5e7e013 ! 147: CASA_R casa [%r31] %asi, %r19, %r18 | |
5266 | .word 0x91937867 ! 148: WRPR_PIL_I wrpr %r13, 0x1867, %pil | |
5267 | DS_5_67: | |
5268 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
5269 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
5270 | .word 0xe1108014 ! 1: LDQF_R - [%r2, %r20], %f16 | |
5271 | .word 0x97a4c832 ! 149: FADDs fadds %f19, %f18, %f11 | |
5272 | pmu_5_68: | |
5273 | nop | |
5274 | setx 0xfffff990fffff9d5, %g1, %g7 | |
5275 | .word 0xa3800007 ! 150: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
5276 | .word 0x38800001 ! 151: BGU bgu,a <label_0x1> | |
5277 | .word 0xe33fc000 ! 152: STDF_R std %f17, [%r0, %r31] | |
5278 | splash_cmpr_5_69: | |
5279 | setx 0x30075572a9b6bead, %g2, %g1 | |
5280 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
5281 | sub %g1, 100, %g1 | |
5282 | .word 0xb1800001 ! 153: WR_STICK_REG_R wr %r0, %r1, %- | |
5283 | .word 0x99450000 ! 154: RD_SET_SOFTINT rd %set_softint, %r12 | |
5284 | donret_5_70: | |
5285 | nop | |
5286 | rd %pc, %r12 | |
5287 | add %r12, (donretarg_5_70-donret_5_70), %r12 | |
5288 | mov 0x38, %r18 | |
5289 | stxa %r12, [%r18]0x58 | |
5290 | add %r12, 0x4, %r11 | |
5291 | wrpr %g0, 0x2, %tl | |
5292 | wrpr %g0, %r12, %tpc | |
5293 | wrpr %g0, %r11, %tnpc | |
5294 | wrpr %g0, %r13, %tstate | |
5295 | wrhpr %g0, %r14, %htstate | |
5296 | retry | |
5297 | donretarg_5_70: | |
5298 | .word 0xe4fff6c3 ! 155: SWAPA_I swapa %r18, [%r31 + 0xfffff6c3] %asi | |
5299 | pmu_5_71: | |
5300 | nop | |
5301 | setx 0xfffffb71fffff19a, %g1, %g7 | |
5302 | .word 0xa3800007 ! 156: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
5303 | splash_cmpr_5_72: | |
5304 | setx 0x9ec8bd0e6d54310b, %g2, %g1 | |
5305 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5306 | sub %g1, 100, %g1 | |
5307 | .word 0xb1800001 ! 157: WR_STICK_REG_R wr %r0, %r1, %- | |
5308 | .word 0x8d902a1d ! 158: WRPR_PSTATE_I wrpr %r0, 0x0a1d, %pstate | |
5309 | .word 0xe48fe000 ! 159: LDUBA_I lduba [%r31, + 0x0000] %asi, %r18 | |
5310 | change_to_randtl_5_73: | |
5311 | ta T_CHANGE_HPRIV ! macro | |
5312 | done_change_to_randtl_5_73: | |
5313 | .word 0x8f902000 ! 160: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5314 | .word 0x91d02034 ! 161: Tcc_I ta icc_or_xcc, %r0 + 52 | |
5315 | splash_tba_5_74: | |
5316 | set 0x120000, %r12 | |
5317 | st %r1, [%r12+%r0] | |
5318 | ta T_CHANGE_PRIV | |
5319 | set 0x120000, %r12 | |
5320 | .word 0x8b90000c ! 162: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5321 | ta T_CHANGE_HPRIV | |
5322 | mov (5+1), %r10 | |
5323 | set sync_thr_counter1, %r23 | |
5324 | cas [%r23],%g0,%r10 !lock | |
5325 | brnz %r10, cwq_5_75 | |
5326 | rd %asi, %r12 | |
5327 | wr %g0, 0x40, %asi | |
5328 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5329 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5330 | cmp %l1, 1 | |
5331 | bne cwq_5_75 | |
5332 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5333 | sub %l2, 0x40, %l2 | |
5334 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5335 | wr %r12, %g0, %asi | |
5336 | st %g0, [%r23] | |
5337 | cwq_5_75: | |
5338 | ta T_CHANGE_NONHPRIV | |
5339 | .word 0x91414000 ! 163: RDPC rd %pc, %r8 | |
5340 | invalw | |
5341 | mov 0x32, %r30 | |
5342 | .word 0x91d0001e ! 164: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5343 | intveclr_5_76: | |
5344 | setx 0x45b563d176b21e5e, %r1, %r28 | |
5345 | stxa %r28, [%g0] 0x72 | |
5346 | .word 0x25400001 ! 165: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5347 | cwp_5_77: | |
5348 | set user_data_start, %o7 | |
5349 | .word 0x93902004 ! 166: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
5350 | .word 0xd68008a0 ! 167: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
5351 | ta T_CHANGE_HPRIV | |
5352 | mov (5+1), %r10 | |
5353 | set sync_thr_counter1, %r23 | |
5354 | cas [%r23],%g0,%r10 !lock | |
5355 | brnz %r10, cwq_5_78 | |
5356 | rd %asi, %r12 | |
5357 | wr %g0, 0x40, %asi | |
5358 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5359 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5360 | cmp %l1, 1 | |
5361 | bne cwq_5_78 | |
5362 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5363 | sub %l2, 0x40, %l2 | |
5364 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5365 | wr %r12, %g0, %asi | |
5366 | st %g0, [%r23] | |
5367 | cwq_5_78: | |
5368 | ta T_CHANGE_NONHPRIV | |
5369 | .word 0xa9414000 ! 168: RDPC rd %pc, %r20 | |
5370 | .word 0x96f9400c ! 169: SDIVcc_R sdivcc %r5, %r12, %r11 | |
5371 | splash_cmpr_5_79: | |
5372 | setx 0x9580fbdef9185e3d, %g2, %g1 | |
5373 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5374 | sub %g1, 100, %g1 | |
5375 | .word 0xb1800001 ! 170: WR_STICK_REG_R wr %r0, %r1, %- | |
5376 | .word 0xa3a00171 ! 171: FABSq dis not found | |
5377 | ||
5378 | .word 0xe097e020 ! 172: LDUHA_I lduha [%r31, + 0x0020] %asi, %r16 | |
5379 | mondo_5_80: | |
5380 | nop | |
5381 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5382 | ||
5383 | stxa %r8, [%r0+0x3e0] %asi | |
5384 | .word 0x9d950000 ! 173: WRPR_WSTATE_R wrpr %r20, %r0, %wstate | |
5385 | .word 0x8780208a ! 174: WRASI_I wr %r0, 0x008a, %asi | |
5386 | .word 0x93d02033 ! 175: Tcc_I tne icc_or_xcc, %r0 + 51 | |
5387 | memptr_5_81: | |
5388 | set user_data_start, %r31 | |
5389 | .word 0x85837bfb ! 176: WRCCR_I wr %r13, 0x1bfb, %ccr | |
5390 | nop | |
5391 | mov 0x80, %g3 | |
5392 | stxa %g3, [%g3] 0x57 | |
5393 | .word 0xe05fc000 ! 177: LDX_R ldx [%r31 + %r0], %r16 | |
5394 | .word 0xe0c80e60 ! 178: LDSBA_R ldsba [%r0, %r0] 0x73, %r16 | |
5395 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5396 | ta T_CHANGE_NONPRIV ! macro | |
5397 | .word 0x956af206 ! 179: SDIVX_I sdivx %r11, 0xfffff206, %r10 | |
5398 | .word 0x9b480000 ! 180: RDHPR_HPSTATE rdhpr %hpstate, %r13 | |
5399 | mov (5+1), %r10 | |
5400 | ta T_CHANGE_HPRIV | |
5401 | set sync_thr_counter2, %r23 | |
5402 | cas [%r23],%g0,%r10 !lock | |
5403 | brnz %r10, sma_5_83 | |
5404 | rd %asi, %r12 | |
5405 | wr %g0, 0x40, %asi | |
5406 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5407 | set 0x21fff, %g1 | |
5408 | stxa %g1, [%g0 + 0x80] %asi | |
5409 | wr %r12, %g0, %asi | |
5410 | st %g0, [%r23] | |
5411 | sma_5_83: | |
5412 | ta T_CHANGE_NONHPRIV | |
5413 | .word 0xd7e7e012 ! 181: CASA_R casa [%r31] %asi, %r18, %r11 | |
5414 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_84) + 40, 16, 16)) -> intp(7,0,17) | |
5415 | intvec_5_84: | |
5416 | .word 0x39400001 ! 182: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5417 | .word 0xd727c000 ! 183: STF_R st %f11, [%r0, %r31] | |
5418 | mondo_5_85: | |
5419 | nop | |
5420 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5421 | ||
5422 | stxa %r16, [%r0+0x3e0] %asi | |
5423 | .word 0x9d940009 ! 184: WRPR_WSTATE_R wrpr %r16, %r9, %wstate | |
5424 | splash_lsu_5_86: | |
5425 | setx 0xb56e0d70cca6072b, %r1, %r2 | |
5426 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5427 | .word 0x3d400001 ! 185: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5428 | .word 0xd6cfe020 ! 186: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r11 | |
5429 | debug_5_87: | |
5430 | nop | |
5431 | mov 8, %r18 | |
5432 | .word 0xe4f00492 ! 187: STXA_R stxa %r18, [%r0 + %r18] 0x24 | |
5433 | .word 0xd67ff8cc ! 188: SWAP_I swap %r11, [%r31 + 0xfffff8cc] | |
5434 | .word 0x87802004 ! 189: WRASI_I wr %r0, 0x0004, %asi | |
5435 | .word 0x9ba209c6 ! 190: FDIVd fdivd %f8, %f6, %f44 | |
5436 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_88) + 8, 16, 16)) -> intp(7,0,8) | |
5437 | intvec_5_88: | |
5438 | .word 0x39400001 ! 191: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5439 | .word 0x87802058 ! 192: WRASI_I wr %r0, 0x0058, %asi | |
5440 | setx 0x9c52823646d58165, %r1, %r28 | |
5441 | stxa %r28, [%g0] 0x73 | |
5442 | intvec_5_89: | |
5443 | .word 0x39400001 ! 193: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5444 | debug_5_90: | |
5445 | nop | |
5446 | mov 8, %r18 | |
5447 | .word 0xe8f00492 ! 194: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
5448 | splash_lsu_5_91: | |
5449 | setx 0xd992848f92b40a8d, %r1, %r2 | |
5450 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5451 | .word 0x3d400001 ! 195: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5452 | debug_5_92: | |
5453 | nop | |
5454 | mov 0x38, %r18 | |
5455 | .word 0xfef00b12 ! 196: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5456 | debug_5_93: | |
5457 | nop | |
5458 | mov 8, %r18 | |
5459 | .word 0xe6f00492 ! 197: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
5460 | debug_5_94: | |
5461 | nop | |
5462 | rd %pc, %r19 | |
5463 | add %r19, (64+24), %r19 | |
5464 | mov 0x38, %r18 | |
5465 | .word 0xe6f00b12 ! 198: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5466 | ta T_CHANGE_HPRIV | |
5467 | mov (5+1), %r10 | |
5468 | set sync_thr_counter1, %r23 | |
5469 | cas [%r23],%g0,%r10 !lock | |
5470 | brnz %r10, cwq_5_95 | |
5471 | rd %asi, %r12 | |
5472 | wr %g0, 0x40, %asi | |
5473 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5474 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5475 | cmp %l1, 1 | |
5476 | bne cwq_5_95 | |
5477 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5478 | sub %l2, 0x40, %l2 | |
5479 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5480 | wr %r12, %g0, %asi | |
5481 | st %g0, [%r23] | |
5482 | cwq_5_95: | |
5483 | ta T_CHANGE_NONHPRIV | |
5484 | .word 0xa1414000 ! 199: RDPC rd %pc, %r16 | |
5485 | .word 0xe07ff8cc ! 200: SWAP_I swap %r16, [%r31 + 0xfffff8cc] | |
5486 | .word 0x8d903c9a ! 201: WRPR_PSTATE_I wrpr %r0, 0x1c9a, %pstate | |
5487 | tagged_5_96: | |
5488 | tsubcctv %r24, 0x1f2a, %r12 | |
5489 | .word 0xe007f8cc ! 202: LDUW_I lduw [%r31 + 0xfffff8cc], %r16 | |
5490 | mondo_5_97: | |
5491 | nop | |
5492 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5493 | ||
5494 | stxa %r6, [%r0+0x3c0] %asi | |
5495 | .word 0x9d950007 ! 203: WRPR_WSTATE_R wrpr %r20, %r7, %wstate | |
5496 | .word 0x95a249c2 ! 204: FDIVd fdivd %f40, %f2, %f10 | |
5497 | .word 0x8d903fce ! 205: WRPR_PSTATE_I wrpr %r0, 0x1fce, %pstate | |
5498 | splash_lsu_5_98: | |
5499 | setx 0x60b2a32512e0ad95, %r1, %r2 | |
5500 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5501 | .word 0x3d400001 ! 206: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5502 | .word 0x92d46c7f ! 207: UMULcc_I umulcc %r17, 0x0c7f, %r9 | |
5503 | .word 0xad81f0ef ! 208: WR_SOFTINT_REG_I wr %r7, 0x10ef, %softint | |
5504 | .word 0xa7a289c6 ! 209: FDIVd fdivd %f10, %f6, %f50 | |
5505 | .word 0x91a00169 ! 210: FABSq dis not found | |
5506 | ||
5507 | .word 0x87802088 ! 211: WRASI_I wr %r0, 0x0088, %asi | |
5508 | debug_5_99: | |
5509 | nop | |
5510 | mov 8, %r18 | |
5511 | .word 0xe0f00492 ! 212: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
5512 | mov (5+1), %r10 | |
5513 | ta T_CHANGE_HPRIV | |
5514 | set sync_thr_counter2, %r23 | |
5515 | cas [%r23],%g0,%r10 !lock | |
5516 | brnz %r10, sma_5_100 | |
5517 | rd %asi, %r12 | |
5518 | wr %g0, 0x40, %asi | |
5519 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5520 | set 0x21fff, %g1 | |
5521 | stxa %g1, [%g0 + 0x80] %asi | |
5522 | wr %r12, %g0, %asi | |
5523 | st %g0, [%r23] | |
5524 | sma_5_100: | |
5525 | ta T_CHANGE_NONHPRIV | |
5526 | .word 0xe5e7e00b ! 213: CASA_R casa [%r31] %asi, %r11, %r18 | |
5527 | splash_tba_5_101: | |
5528 | set 0x120000, %r12 | |
5529 | ld [%r12+%r0], %r1 | |
5530 | ta T_CHANGE_PRIV | |
5531 | set 0x120000, %r12 | |
5532 | .word 0x8b90000c ! 214: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5533 | nop | |
5534 | mov 0x80, %g3 | |
5535 | stxa %g3, [%g3] 0x57 | |
5536 | .word 0xe45fc000 ! 215: LDX_R ldx [%r31 + %r0], %r18 | |
5537 | splash_cmpr_5_102: | |
5538 | setx 0x86711e5f5cb1f2e8, %g2, %g1 | |
5539 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5540 | sub %g1, 100, %g1 | |
5541 | .word 0xb1800001 ! 216: WR_STICK_REG_R wr %r0, %r1, %- | |
5542 | .word 0x81460000 ! 217: RD_STICK_REG stbar | |
5543 | .word 0xe4900e40 ! 218: LDUHA_R lduha [%r0, %r0] 0x72, %r18 | |
5544 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5545 | ta T_CHANGE_NONHPRIV ! macro | |
5546 | .word 0x9ba01962 ! 219: FqTOd dis not found | |
5547 | ||
5548 | tagged_5_104: | |
5549 | tsubcctv %r18, 0x13c9, %r8 | |
5550 | .word 0xe807e50d ! 220: LDUW_I lduw [%r31 + 0x050d], %r20 | |
5551 | .word 0x919429aa ! 221: WRPR_PIL_I wrpr %r16, 0x09aa, %pil | |
5552 | pmu_5_105: | |
5553 | nop | |
5554 | setx 0xfffffc04fffff6a2, %g1, %g7 | |
5555 | .word 0xa3800007 ! 222: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
5556 | intveclr_5_106: | |
5557 | setx 0x1f529f641630fb2e, %r1, %r28 | |
5558 | stxa %r28, [%g0] 0x72 | |
5559 | .word 0x25400001 ! 223: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5560 | nop | |
5561 | mov 0x80, %g3 | |
5562 | stxa %g3, [%g3] 0x57 | |
5563 | .word 0xe85fc000 ! 224: LDX_R ldx [%r31 + %r0], %r20 | |
5564 | otherw | |
5565 | mov 0xb1, %r30 | |
5566 | .word 0x91d0001e ! 225: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5567 | .word 0xe83fe48b ! 226: STD_I std %r20, [%r31 + 0x048b] | |
5568 | .word 0x8d802000 ! 227: WRFPRS_I wr %r0, 0x0000, %fprs | |
5569 | .word 0x99703e8b ! 228: POPC_I popc 0x1e8b, %r12 | |
5570 | splash_hpstate_5_107: | |
5571 | .word 0x81982904 ! 229: WRHPR_HPSTATE_I wrhpr %r0, 0x0904, %hpstate | |
5572 | mov (5+1), %r10 | |
5573 | ta T_CHANGE_HPRIV | |
5574 | set sync_thr_counter2, %r23 | |
5575 | cas [%r23],%g0,%r10 !lock | |
5576 | brnz %r10, sma_5_108 | |
5577 | rd %asi, %r12 | |
5578 | wr %g0, 0x40, %asi | |
5579 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5580 | set 0x21fff, %g1 | |
5581 | stxa %g1, [%g0 + 0x80] %asi | |
5582 | wr %r12, %g0, %asi | |
5583 | st %g0, [%r23] | |
5584 | sma_5_108: | |
5585 | ta T_CHANGE_NONHPRIV | |
5586 | .word 0xd1e7e003 ! 230: CASA_R casa [%r31] %asi, %r3, %r8 | |
5587 | .word 0x97480000 ! 231: RDHPR_HPSTATE rdhpr %hpstate, %r11 | |
5588 | splash_htba_5_109: | |
5589 | set 0x80000, %r12 | |
5590 | ld [%r12+%r0], %r1 | |
5591 | ta T_CHANGE_HPRIV | |
5592 | set 0x80000, %r12 | |
5593 | .word 0x8b98000c ! 232: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
5594 | .word 0x8d9026ea ! 233: WRPR_PSTATE_I wrpr %r0, 0x06ea, %pstate | |
5595 | debug_5_110: | |
5596 | nop | |
5597 | mov 0x38, %r18 | |
5598 | .word 0xfef00b12 ! 234: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5599 | tagged_5_111: | |
5600 | taddcctv %r21, 0x17f6, %r12 | |
5601 | .word 0xd607f25b ! 235: LDUW_I lduw [%r31 + 0xfffff25b], %r11 | |
5602 | cwp_5_112: | |
5603 | set user_data_start, %o7 | |
5604 | .word 0x93902001 ! 236: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
5605 | splash_cmpr_5_113: | |
5606 | setx 0x980fae57b3998973, %g2, %g1 | |
5607 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5608 | sub %g1, 100, %g1 | |
5609 | .word 0xb1800001 ! 237: WR_STICK_REG_R wr %r0, %r1, %- | |
5610 | .word 0xd677c000 ! 238: STX_R stx %r11, [%r31 + %r0] | |
5611 | .word 0xa9840003 ! 239: WR_SET_SOFTINT_R wr %r16, %r3, %set_softint | |
5612 | memptr_5_114: | |
5613 | set user_data_start, %r31 | |
5614 | .word 0x85823074 ! 240: WRCCR_I wr %r8, 0x1074, %ccr | |
5615 | debug_5_115: | |
5616 | nop | |
5617 | rd %pc, %r19 | |
5618 | add %r19, (64+16), %r19 | |
5619 | mov 0x38, %r18 | |
5620 | .word 0xe6f00b12 ! 241: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5621 | invalw | |
5622 | mov 0x30, %r30 | |
5623 | .word 0x91d0001e ! 242: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5624 | intveclr_5_116: | |
5625 | setx 0x1c9c00c46794bd48, %r1, %r28 | |
5626 | stxa %r28, [%g0] 0x72 | |
5627 | .word 0x25400001 ! 243: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5628 | .word 0x9f802138 ! 244: SIR sir 0x0138 | |
5629 | .word 0xab848006 ! 245: WR_CLEAR_SOFTINT_R wr %r18, %r6, %clear_softint | |
5630 | tagged_5_117: | |
5631 | taddcctv %r14, 0x16e3, %r15 | |
5632 | .word 0xd607fea4 ! 246: LDUW_I lduw [%r31 + 0xfffffea4], %r11 | |
5633 | debug_5_118: | |
5634 | nop | |
5635 | rd %pc, %r19 | |
5636 | add %r19, (64+48), %r19 | |
5637 | mov 0x38, %r18 | |
5638 | .word 0xe6f00b12 ! 247: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5639 | mondo_5_119: | |
5640 | nop | |
5641 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5642 | ||
5643 | stxa %r11, [%r0+0x3c0] %asi | |
5644 | .word 0x9d924011 ! 248: WRPR_WSTATE_R wrpr %r9, %r17, %wstate | |
5645 | .word 0xa7500000 ! 249: RDPR_TPC rdpr %tpc, %r19 | |
5646 | tagged_5_120: | |
5647 | tsubcctv %r4, 0x1d0b, %r25 | |
5648 | .word 0xd807fea4 ! 250: LDUW_I lduw [%r31 + 0xfffffea4], %r12 | |
5649 | .word 0x95a0016d ! 251: FABSq dis not found | |
5650 | ||
5651 | .word 0xd6c004a0 ! 252: LDSWA_R ldswa [%r0, %r0] 0x25, %r11 | |
5652 | splash_lsu_5_121: | |
5653 | setx 0xec3fe3129d8d22a9, %r1, %r2 | |
5654 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5655 | .word 0x3d400001 ! 253: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5656 | memptr_5_122: | |
5657 | set 0x60140000, %r31 | |
5658 | .word 0x8584a97a ! 254: WRCCR_I wr %r18, 0x097a, %ccr | |
5659 | nop | |
5660 | mov 0x80, %g3 | |
5661 | stxa %g3, [%g3] 0x5f | |
5662 | .word 0xd65fc000 ! 255: LDX_R ldx [%r31 + %r0], %r11 | |
5663 | .word 0xd6d7e030 ! 256: LDSHA_I ldsha [%r31, + 0x0030] %asi, %r11 | |
5664 | splash_cmpr_5_123: | |
5665 | setx 0xc821ac096af9c555, %g2, %g1 | |
5666 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
5667 | sub %g1, 100, %g1 | |
5668 | .word 0xb1800001 ! 257: WR_STICK_REG_R wr %r0, %r1, %- | |
5669 | invalw | |
5670 | mov 0x33, %r30 | |
5671 | .word 0x91d0001e ! 258: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5672 | .word 0x91500000 ! 259: RDPR_TPC <illegal instruction> | |
5673 | mov (5+1), %r10 | |
5674 | ta T_CHANGE_HPRIV | |
5675 | set sync_thr_counter2, %r23 | |
5676 | cas [%r23],%g0,%r10 !lock | |
5677 | brnz %r10, sma_5_124 | |
5678 | rd %asi, %r12 | |
5679 | wr %g0, 0x40, %asi | |
5680 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5681 | set 0x21fff, %g1 | |
5682 | stxa %g1, [%g0 + 0x80] %asi | |
5683 | wr %r12, %g0, %asi | |
5684 | st %g0, [%r23] | |
5685 | sma_5_124: | |
5686 | ta T_CHANGE_NONHPRIV | |
5687 | .word 0xe3e7e005 ! 260: CASA_R casa [%r31] %asi, %r5, %r17 | |
5688 | nop | |
5689 | mov 0x80, %g3 | |
5690 | stxa %g3, [%g3] 0x57 | |
5691 | .word 0xe25fc000 ! 261: LDX_R ldx [%r31 + %r0], %r17 | |
5692 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
5693 | ta T_CHANGE_NONHPRIV ! macro | |
5694 | .word 0xa1a01969 ! 262: FqTOd dis not found | |
5695 | ||
5696 | .word 0x8d903150 ! 263: WRPR_PSTATE_I wrpr %r0, 0x1150, %pstate | |
5697 | DS_5_126: | |
5698 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
5699 | .word 0xb17747f3 ! Random illegal ? | |
5700 | .word 0x91a00547 ! 1: FSQRTd fsqrt | |
5701 | .word 0x95a14826 ! 264: FADDs fadds %f5, %f6, %f10 | |
5702 | .word 0xd68008a0 ! 265: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
5703 | intveclr_5_127: | |
5704 | setx 0x8c08cc799337db92, %r1, %r28 | |
5705 | stxa %r28, [%g0] 0x72 | |
5706 | .word 0x25400001 ! 266: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5707 | .word 0x99520000 ! 267: RDPR_PIL rdpr %pil, %r12 | |
5708 | .word 0xab83000a ! 268: WR_CLEAR_SOFTINT_R wr %r12, %r10, %clear_softint | |
5709 | splash_cmpr_5_128: | |
5710 | setx 0x3a738854439a9241, %g2, %g1 | |
5711 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5712 | sub %g1, 100, %g1 | |
5713 | .word 0xb1800001 ! 269: WR_STICK_REG_R wr %r0, %r1, %- | |
5714 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5715 | ta T_CHANGE_NONHPRIV ! macro | |
5716 | .word 0x99a01973 ! 270: FqTOd dis not found | |
5717 | ||
5718 | splash_cmpr_5_130: | |
5719 | setx 0xa7cb7b628dcfb7d7, %g2, %g1 | |
5720 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5721 | sub %g1, 100, %g1 | |
5722 | .word 0xb1800001 ! 271: WR_STICK_REG_R wr %r0, %r1, %- | |
5723 | ta T_CHANGE_HPRIV | |
5724 | mov (5+1), %r10 | |
5725 | set sync_thr_counter1, %r23 | |
5726 | cas [%r23],%g0,%r10 !lock | |
5727 | brnz %r10, cwq_5_131 | |
5728 | rd %asi, %r12 | |
5729 | wr %g0, 0x40, %asi | |
5730 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5731 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5732 | cmp %l1, 1 | |
5733 | bne cwq_5_131 | |
5734 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5735 | sub %l2, 0x40, %l2 | |
5736 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5737 | wr %r12, %g0, %asi | |
5738 | st %g0, [%r23] | |
5739 | cwq_5_131: | |
5740 | ta T_CHANGE_NONHPRIV | |
5741 | .word 0x99414000 ! 272: RDPC rd %pc, %r12 | |
5742 | splash_cmpr_5_132: | |
5743 | setx 0x00cb308422a7cacb, %g2, %g1 | |
5744 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5745 | sub %g1, 100, %g1 | |
5746 | .word 0xb1800001 ! 273: WR_STICK_REG_R wr %r0, %r1, %- | |
5747 | tagged_5_133: | |
5748 | taddcctv %r14, 0x1723, %r1 | |
5749 | .word 0xda07edb6 ! 274: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
5750 | mondo_5_134: | |
5751 | nop | |
5752 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5753 | ||
5754 | stxa %r11, [%r0+0x3c0] %asi | |
5755 | .word 0x9d948005 ! 275: WRPR_WSTATE_R wrpr %r18, %r5, %wstate | |
5756 | rd %pc, %r19 | |
5757 | add %r19, (ivw_5_135-.+16), %r19 | |
5758 | mov 0x38, %r18 | |
5759 | stxa %r19, [%r18]0x58 | |
5760 | ivw_5_135: | |
5761 | .word 0x91900006 ! 276: WRPR_PIL_R wrpr %r0, %r6, %pil | |
5762 | cwp_5_136: | |
5763 | set user_data_start, %o7 | |
5764 | .word 0x93902003 ! 277: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
5765 | tagged_5_137: | |
5766 | taddcctv %r1, 0x1c70, %r25 | |
5767 | .word 0xda07edb6 ! 278: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
5768 | cwp_5_138: | |
5769 | set user_data_start, %o7 | |
5770 | .word 0x93902004 ! 279: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
5771 | otherw | |
5772 | mov 0x30, %r30 | |
5773 | .word 0x93d0001e ! 280: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
5774 | intveclr_5_139: | |
5775 | setx 0xfdd5a1124a26b774, %r1, %r28 | |
5776 | stxa %r28, [%g0] 0x72 | |
5777 | .word 0x25400001 ! 281: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5778 | .word 0x93450000 ! 282: RD_SET_SOFTINT rd %set_softint, %r9 | |
5779 | splash_tba_5_140: | |
5780 | set 0x120000, %r12 | |
5781 | st %r1, [%r12+%r0] | |
5782 | ta T_CHANGE_PRIV | |
5783 | set 0x120000, %r12 | |
5784 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5785 | debug_5_141: | |
5786 | nop | |
5787 | mov 8, %r18 | |
5788 | .word 0xdef00492 ! 284: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
5789 | debug_5_142: | |
5790 | nop | |
5791 | rd %pc, %r19 | |
5792 | add %r19, (64+24), %r19 | |
5793 | mov 0x38, %r18 | |
5794 | .word 0xe6f00b12 ! 285: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5795 | .word 0xa1902008 ! 286: WRPR_GL_I wrpr %r0, 0x0008, %- | |
5796 | cwp_5_143: | |
5797 | set user_data_start, %o7 | |
5798 | .word 0x93902000 ! 287: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
5799 | .word 0x8790225e ! 288: WRPR_TT_I wrpr %r0, 0x025e, %tt | |
5800 | .word 0x997034c3 ! 289: POPC_I popc 0x14c3, %r12 | |
5801 | ta T_CHANGE_HPRIV | |
5802 | mov (5+1), %r10 | |
5803 | set sync_thr_counter1, %r23 | |
5804 | cas [%r23],%g0,%r10 !lock | |
5805 | brnz %r10, cwq_5_144 | |
5806 | rd %asi, %r12 | |
5807 | wr %g0, 0x40, %asi | |
5808 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5809 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5810 | cmp %l1, 1 | |
5811 | bne cwq_5_144 | |
5812 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5813 | sub %l2, 0x40, %l2 | |
5814 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5815 | wr %r12, %g0, %asi | |
5816 | st %g0, [%r23] | |
5817 | cwq_5_144: | |
5818 | ta T_CHANGE_NONHPRIV | |
5819 | .word 0xa5414000 ! 290: RDPC rd %pc, %r18 | |
5820 | ta T_CHANGE_HPRIV | |
5821 | mov (5+1), %r10 | |
5822 | set sync_thr_counter1, %r23 | |
5823 | cas [%r23],%g0,%r10 !lock | |
5824 | brnz %r10, cwq_5_145 | |
5825 | rd %asi, %r12 | |
5826 | wr %g0, 0x40, %asi | |
5827 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5828 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5829 | cmp %l1, 1 | |
5830 | bne cwq_5_145 | |
5831 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5832 | sub %l2, 0x40, %l2 | |
5833 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5834 | wr %r12, %g0, %asi | |
5835 | st %g0, [%r23] | |
5836 | cwq_5_145: | |
5837 | ta T_CHANGE_NONHPRIV | |
5838 | .word 0x99414000 ! 291: RDPC rd %pc, %r12 | |
5839 | invalw | |
5840 | mov 0xb2, %r30 | |
5841 | .word 0x91d0001e ! 292: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5842 | .word 0xa7a00166 ! 293: FABSq dis not found | |
5843 | ||
5844 | splash_hpstate_5_146: | |
5845 | .word 0x819821d5 ! 294: WRHPR_HPSTATE_I wrhpr %r0, 0x01d5, %hpstate | |
5846 | mondo_5_147: | |
5847 | nop | |
5848 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5849 | ||
5850 | stxa %r19, [%r0+0x3c0] %asi | |
5851 | .word 0x9d94c004 ! 295: WRPR_WSTATE_R wrpr %r19, %r4, %wstate | |
5852 | .word 0x81460000 ! 296: RD_STICK_REG stbar | |
5853 | .word 0x8790210a ! 297: WRPR_TT_I wrpr %r0, 0x010a, %tt | |
5854 | tagged_5_148: | |
5855 | tsubcctv %r2, 0x1f2b, %r7 | |
5856 | .word 0xda07e368 ! 298: LDUW_I lduw [%r31 + 0x0368], %r13 | |
5857 | splash_tba_5_149: | |
5858 | set 0x120000, %r12 | |
5859 | ld [%r12+%r0], %r1 | |
5860 | ta T_CHANGE_PRIV | |
5861 | set 0x120000, %r12 | |
5862 | .word 0x8b90000c ! 299: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5863 | .word 0xda6fe368 ! 300: LDSTUB_I ldstub %r13, [%r31 + 0x0368] | |
5864 | splash_cmpr_5_150: | |
5865 | setx 0x96f81b07547a3ad1, %g2, %g1 | |
5866 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5867 | sub %g1, 100, %g1 | |
5868 | .word 0xb1800001 ! 301: WR_STICK_REG_R wr %r0, %r1, %- | |
5869 | .word 0xdabfe368 ! 302: STDA_I stda %r13, [%r31 + 0x0368] %asi | |
5870 | splash_tba_5_151: | |
5871 | set 0x120000, %r12 | |
5872 | ld [%r12+%r0], %r1 | |
5873 | ta T_CHANGE_PRIV | |
5874 | set 0x120000, %r12 | |
5875 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5876 | .word 0x95a00171 ! 304: FABSq dis not found | |
5877 | ||
5878 | .word 0xda47e368 ! 305: LDSW_I ldsw [%r31 + 0x0368], %r13 | |
5879 | .word 0x8d902000 ! 306: WRPR_PSTATE_I wrpr %r0, 0x0000, %pstate | |
5880 | rd %pc, %r19 | |
5881 | add %r19, (ivw_5_152-.+16), %r19 | |
5882 | mov 0x38, %r18 | |
5883 | stxa %r19, [%r18]0x58 | |
5884 | ivw_5_152: | |
5885 | .word 0x9190800b ! 307: WRPR_PIL_R wrpr %r2, %r11, %pil | |
5886 | DS_5_153: | |
5887 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
5888 | .word 0x9ba089d2 ! 1: FDIVd fdivd %f2, %f18, %f44 | |
5889 | normalw | |
5890 | .word 0xa3458000 ! 308: RD_SOFTINT_REG rd %softint, %r17 | |
5891 | .word 0xd33fe368 ! 309: STDF_I std %f9, [0x0368, %r31] | |
5892 | .word 0x91d02032 ! 310: Tcc_I ta icc_or_xcc, %r0 + 50 | |
5893 | .word 0xa750c000 ! 311: RDPR_TT rdpr %tt, %r19 | |
5894 | mov (5+1), %r10 | |
5895 | ta T_CHANGE_HPRIV | |
5896 | set sync_thr_counter2, %r23 | |
5897 | cas [%r23],%g0,%r10 !lock | |
5898 | brnz %r10, sma_5_154 | |
5899 | rd %asi, %r12 | |
5900 | wr %g0, 0x40, %asi | |
5901 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5902 | set 0x21fff, %g1 | |
5903 | stxa %g1, [%g0 + 0x80] %asi | |
5904 | wr %r12, %g0, %asi | |
5905 | st %g0, [%r23] | |
5906 | sma_5_154: | |
5907 | ta T_CHANGE_NONHPRIV | |
5908 | .word 0xd3e7e00d ! 312: CASA_R casa [%r31] %asi, %r13, %r9 | |
5909 | tagged_5_155: | |
5910 | taddcctv %r16, 0x1a01, %r7 | |
5911 | .word 0xd207e368 ! 313: LDUW_I lduw [%r31 + 0x0368], %r9 | |
5912 | DS_5_156: | |
5913 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
5914 | .word 0xbfefc000 ! 314: RESTORE_R restore %r31, %r0, %r31 | |
5915 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5916 | ta T_CHANGE_NONHPRIV ! macro | |
5917 | .word 0x9b6d310a ! 315: SDIVX_I sdivx %r20, 0xfffff10a, %r13 | |
5918 | .word 0xe8dfe010 ! 316: LDXA_I ldxa [%r31, + 0x0010] %asi, %r20 | |
5919 | nop | |
5920 | mov 0x80, %g3 | |
5921 | stxa %g3, [%g3] 0x57 | |
5922 | .word 0xe85fc000 ! 317: LDX_R ldx [%r31 + %r0], %r20 | |
5923 | debug_5_158: | |
5924 | nop | |
5925 | mov 0x38, %r18 | |
5926 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5927 | splash_htba_5_159: | |
5928 | set 0x003b0000, %r12 | |
5929 | ld [%r12+%r0], %r1 | |
5930 | ta T_CHANGE_HPRIV | |
5931 | set 0x003b0000, %r12 | |
5932 | .word 0x8b98000c ! 319: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
5933 | ta T_CHANGE_HPRIV | |
5934 | mov (5+1), %r10 | |
5935 | set sync_thr_counter1, %r23 | |
5936 | cas [%r23],%g0,%r10 !lock | |
5937 | brnz %r10, cwq_5_160 | |
5938 | rd %asi, %r12 | |
5939 | wr %g0, 0x40, %asi | |
5940 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5941 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5942 | cmp %l1, 1 | |
5943 | bne cwq_5_160 | |
5944 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5945 | sub %l2, 0x40, %l2 | |
5946 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5947 | wr %r12, %g0, %asi | |
5948 | st %g0, [%r23] | |
5949 | cwq_5_160: | |
5950 | ta T_CHANGE_NONHPRIV | |
5951 | .word 0x93414000 ! 320: RDPC rd %pc, %r9 | |
5952 | .word 0xe537c000 ! 321: STQF_R - %f18, [%r0, %r31] | |
5953 | .word 0x9b464000 ! 322: RD_STICK_CMPR_REG rd %-, %r13 | |
5954 | .word 0x93d020b4 ! 323: Tcc_I tne icc_or_xcc, %r0 + 180 | |
5955 | .word 0xab80c000 ! 324: WR_CLEAR_SOFTINT_R wr %r3, %r0, %clear_softint | |
5956 | .word 0xd28804a0 ! 325: LDUBA_R lduba [%r0, %r0] 0x25, %r9 | |
5957 | splash_cmpr_5_161: | |
5958 | setx 0xc353a6583e537fd8, %g2, %g1 | |
5959 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
5960 | sub %g1, 100, %g1 | |
5961 | .word 0xb1800001 ! 326: WR_STICK_REG_R wr %r0, %r1, %- | |
5962 | .word 0x99902001 ! 327: WRPR_CLEANWIN_I wrpr %r0, 0x0001, %cleanwin | |
5963 | DS_5_162: | |
5964 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
5965 | .word 0xc14bc367 ! Random illegal ? | |
5966 | .word 0x95a209c3 ! 1: FDIVd fdivd %f8, %f34, %f10 | |
5967 | .word 0xa1a00830 ! 328: FADDs fadds %f0, %f16, %f16 | |
5968 | .word 0x8d902358 ! 329: WRPR_PSTATE_I wrpr %r0, 0x0358, %pstate | |
5969 | nop | |
5970 | mov 0x80, %g3 | |
5971 | stxa %g3, [%g3] 0x57 | |
5972 | .word 0xd05fc000 ! 330: LDX_R ldx [%r31 + %r0], %r8 | |
5973 | .word 0xd08fe020 ! 331: LDUBA_I lduba [%r31, + 0x0020] %asi, %r8 | |
5974 | mondo_5_163: | |
5975 | nop | |
5976 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5977 | ||
5978 | stxa %r6, [%r0+0x3c0] %asi | |
5979 | .word 0x9d940009 ! 332: WRPR_WSTATE_R wrpr %r16, %r9, %wstate | |
5980 | .word 0xa684ef3b ! 333: ADDcc_I addcc %r19, 0x0f3b, %r19 | |
5981 | invalw | |
5982 | mov 0xb2, %r30 | |
5983 | .word 0x91d0001e ! 334: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5984 | splash_hpstate_5_164: | |
5985 | .word 0x8198201e ! 335: WRHPR_HPSTATE_I wrhpr %r0, 0x001e, %hpstate | |
5986 | tagged_5_165: | |
5987 | taddcctv %r1, 0x1850, %r5 | |
5988 | .word 0xda07fbd4 ! 336: LDUW_I lduw [%r31 + 0xfffffbd4], %r13 | |
5989 | .word 0xa1902002 ! 337: WRPR_GL_I wrpr %r0, 0x0002, %- | |
5990 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_166) + 16, 16, 16)) -> intp(5,0,2) | |
5991 | intvec_5_166: | |
5992 | .word 0x39400001 ! 338: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5993 | .word 0xa784c014 ! 339: WR_GRAPHICS_STATUS_REG_R wr %r19, %r20, %- | |
5994 | splash_hpstate_5_168: | |
5995 | .word 0x81982b9f ! 340: WRHPR_HPSTATE_I wrhpr %r0, 0x0b9f, %hpstate | |
5996 | DS_5_169: | |
5997 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
5998 | .word 0xbfefc000 ! 341: RESTORE_R restore %r31, %r0, %r31 | |
5999 | .word 0x8d903a2d ! 342: WRPR_PSTATE_I wrpr %r0, 0x1a2d, %pstate | |
6000 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_170) + 0, 16, 16)) -> intp(1,0,1) | |
6001 | intvec_5_170: | |
6002 | .word 0x39400001 ! 343: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6003 | .word 0x8780201c ! 344: WRASI_I wr %r0, 0x001c, %asi | |
6004 | .word 0xa1902001 ! 345: WRPR_GL_I wrpr %r0, 0x0001, %- | |
6005 | splash_lsu_5_171: | |
6006 | setx 0xb76a2377deb05c65, %r1, %r2 | |
6007 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6008 | .word 0x3d400001 ! 346: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6009 | cwp_5_172: | |
6010 | set user_data_start, %o7 | |
6011 | .word 0x93902003 ! 347: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
6012 | splash_cmpr_5_173: | |
6013 | setx 0x6f146532edc3daa2, %g2, %g1 | |
6014 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
6015 | sub %g1, 100, %g1 | |
6016 | .word 0xb1800001 ! 348: WR_STICK_REG_R wr %r0, %r1, %- | |
6017 | .word 0xdac804a0 ! 349: LDSBA_R ldsba [%r0, %r0] 0x25, %r13 | |
6018 | .word 0x91520000 ! 350: RDPR_PIL <illegal instruction> | |
6019 | .word 0xd4c004a0 ! 351: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
6020 | donret_5_174: | |
6021 | nop | |
6022 | rd %pc, %r12 | |
6023 | add %r12, (donretarg_5_174-donret_5_174), %r12 | |
6024 | mov 0x38, %r18 | |
6025 | stxa %r12, [%r18]0x58 | |
6026 | add %r12, 0x4, %r11 | |
6027 | wrpr %g0, 0x3, %tl | |
6028 | wrpr %g0, %r12, %tpc | |
6029 | wrpr %g0, %r11, %tnpc | |
6030 | wrpr %g0, %r13, %tstate | |
6031 | wrhpr %g0, %r14, %htstate | |
6032 | retry | |
6033 | donretarg_5_174: | |
6034 | .word 0xd4fffbd4 ! 352: SWAPA_I swapa %r10, [%r31 + 0xfffffbd4] %asi | |
6035 | intveclr_5_175: | |
6036 | setx 0xca3840603b14aa59, %r1, %r28 | |
6037 | stxa %r28, [%g0] 0x72 | |
6038 | .word 0x25400001 ! 353: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6039 | DS_5_176: | |
6040 | nop | |
6041 | not %g0, %r12 | |
6042 | jmp %r12 | |
6043 | .word 0x9d902002 ! 354: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
6044 | cwp_5_177: | |
6045 | set user_data_start, %o7 | |
6046 | .word 0x93902004 ! 355: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
6047 | change_to_randtl_5_178: | |
6048 | ta T_CHANGE_PRIV ! macro | |
6049 | done_change_to_randtl_5_178: | |
6050 | .word 0x8f902001 ! 356: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6051 | .word 0xd51fc000 ! 357: LDDF_R ldd [%r31, %r0], %f10 | |
6052 | .word 0x87802004 ! 358: WRASI_I wr %r0, 0x0004, %asi | |
6053 | .word 0xd4c804a0 ! 359: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
6054 | .word 0x91d02034 ! 360: Tcc_I ta icc_or_xcc, %r0 + 52 | |
6055 | .word 0xad84f7dc ! 361: WR_SOFTINT_REG_I wr %r19, 0x17dc, %softint | |
6056 | splash_htba_5_179: | |
6057 | set 0x80000, %r12 | |
6058 | ld [%r12+%r0], %r1 | |
6059 | ta T_CHANGE_HPRIV | |
6060 | set 0x80000, %r12 | |
6061 | .word 0x8b98000c ! 362: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
6062 | .word 0xd4c804a0 ! 363: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
6063 | nop | |
6064 | mov 0x80, %g3 | |
6065 | stxa %g3, [%g3] 0x5f | |
6066 | .word 0xd45fc000 ! 364: LDX_R ldx [%r31 + %r0], %r10 | |
6067 | memptr_5_180: | |
6068 | set user_data_start, %r31 | |
6069 | .word 0x8580fdef ! 365: WRCCR_I wr %r3, 0x1def, %ccr | |
6070 | debug_5_181: | |
6071 | nop | |
6072 | rd %pc, %r19 | |
6073 | add %r19, (64+40), %r19 | |
6074 | mov 0x38, %r18 | |
6075 | .word 0xe6f00b12 ! 366: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6076 | splash_tba_5_182: | |
6077 | set 0x120000, %r12 | |
6078 | st %r1, [%r12+%r0] | |
6079 | ta T_CHANGE_PRIV | |
6080 | set 0x120000, %r12 | |
6081 | .word 0x8b90000c ! 367: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6082 | splash_htba_5_183: | |
6083 | set 0x003b0000, %r12 | |
6084 | ld [%r12+%r0], %r1 | |
6085 | ta T_CHANGE_HPRIV | |
6086 | set 0x003b0000, %r12 | |
6087 | .word 0x8b98000c ! 368: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
6088 | .word 0xd4d80e40 ! 369: LDXA_R ldxa [%r0, %r0] 0x72, %r10 | |
6089 | debug_5_184: | |
6090 | nop | |
6091 | rd %pc, %r19 | |
6092 | add %r19, (64+16), %r19 | |
6093 | mov 0x38, %r18 | |
6094 | .word 0xe6f00b12 ! 370: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6095 | .word 0xd4c004a0 ! 371: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
6096 | .word 0xd4d004a0 ! 372: LDSHA_R ldsha [%r0, %r0] 0x25, %r10 | |
6097 | splash_lsu_5_185: | |
6098 | setx 0xa382cc25b0688da5, %r1, %r2 | |
6099 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6100 | .word 0x3d400001 ! 373: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6101 | .word 0xa190200c ! 374: WRPR_GL_I wrpr %r0, 0x000c, %- | |
6102 | nop | |
6103 | mov 0x80, %g3 | |
6104 | stxa %g3, [%g3] 0x5f | |
6105 | .word 0xd45fc000 ! 375: LDX_R ldx [%r31 + %r0], %r10 | |
6106 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_186) + 32, 16, 16)) -> intp(7,0,7) | |
6107 | intvec_5_186: | |
6108 | .word 0x39400001 ! 376: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6109 | .word 0x9f802a55 ! 377: SIR sir 0x0a55 | |
6110 | setx 0x61763d43d0eda829, %r1, %r28 | |
6111 | stxa %r28, [%g0] 0x73 | |
6112 | intvec_5_187: | |
6113 | .word 0x39400001 ! 378: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6114 | invalw | |
6115 | mov 0x31, %r30 | |
6116 | .word 0x93d0001e ! 379: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
6117 | splash_hpstate_5_188: | |
6118 | .word 0x819820dc ! 380: WRHPR_HPSTATE_I wrhpr %r0, 0x00dc, %hpstate | |
6119 | mov (5+1), %r10 | |
6120 | ta T_CHANGE_HPRIV | |
6121 | set sync_thr_counter2, %r23 | |
6122 | cas [%r23],%g0,%r10 !lock | |
6123 | brnz %r10, sma_5_189 | |
6124 | rd %asi, %r12 | |
6125 | wr %g0, 0x40, %asi | |
6126 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6127 | set 0x21fff, %g1 | |
6128 | stxa %g1, [%g0 + 0x80] %asi | |
6129 | wr %r12, %g0, %asi | |
6130 | st %g0, [%r23] | |
6131 | sma_5_189: | |
6132 | ta T_CHANGE_NONHPRIV | |
6133 | .word 0xd5e7e008 ! 381: CASA_R casa [%r31] %asi, %r8, %r10 | |
6134 | debug_5_190: | |
6135 | nop | |
6136 | rd %pc, %r19 | |
6137 | add %r19, (64+40), %r19 | |
6138 | mov 0x38, %r18 | |
6139 | .word 0xe6f00b12 ! 382: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6140 | ta T_CHANGE_HPRIV | |
6141 | mov (5+1), %r10 | |
6142 | set sync_thr_counter1, %r23 | |
6143 | cas [%r23],%g0,%r10 !lock | |
6144 | brnz %r10, cwq_5_191 | |
6145 | rd %asi, %r12 | |
6146 | wr %g0, 0x40, %asi | |
6147 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6148 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6149 | cmp %l1, 1 | |
6150 | bne cwq_5_191 | |
6151 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6152 | sub %l2, 0x40, %l2 | |
6153 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6154 | wr %r12, %g0, %asi | |
6155 | st %g0, [%r23] | |
6156 | cwq_5_191: | |
6157 | ta T_CHANGE_NONHPRIV | |
6158 | .word 0xa7414000 ! 383: RDPC rd %pc, %r19 | |
6159 | .word 0xd6c7e000 ! 384: LDSWA_I ldswa [%r31, + 0x0000] %asi, %r11 | |
6160 | cwp_5_192: | |
6161 | set user_data_start, %o7 | |
6162 | .word 0x93902004 ! 385: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
6163 | .word 0xd6800b40 ! 386: LDUWA_R lduwa [%r0, %r0] 0x5a, %r11 | |
6164 | .word 0xd6ffc028 ! 387: SWAPA_R swapa %r11, [%r31 + %r8] 0x01 | |
6165 | mov (5+1), %r10 | |
6166 | ta T_CHANGE_HPRIV | |
6167 | set sync_thr_counter2, %r23 | |
6168 | cas [%r23],%g0,%r10 !lock | |
6169 | brnz %r10, sma_5_193 | |
6170 | rd %asi, %r12 | |
6171 | wr %g0, 0x40, %asi | |
6172 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6173 | set 0x21fff, %g1 | |
6174 | stxa %g1, [%g0 + 0x80] %asi | |
6175 | wr %r12, %g0, %asi | |
6176 | st %g0, [%r23] | |
6177 | sma_5_193: | |
6178 | ta T_CHANGE_NONHPRIV | |
6179 | .word 0xd7e7e008 ! 388: CASA_R casa [%r31] %asi, %r8, %r11 | |
6180 | debug_5_194: | |
6181 | nop | |
6182 | mov 0x38, %r18 | |
6183 | .word 0xfef00b12 ! 389: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6184 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6185 | ta T_CHANGE_NONHPRIV ! macro | |
6186 | .word 0x99a01967 ! 390: FqTOd dis not found | |
6187 | ||
6188 | splash_hpstate_5_196: | |
6189 | .word 0x819825d5 ! 391: WRHPR_HPSTATE_I wrhpr %r0, 0x05d5, %hpstate | |
6190 | .word 0x87902265 ! 392: WRPR_TT_I wrpr %r0, 0x0265, %tt | |
6191 | setx 0x3228fc56c3b56015, %r1, %r28 | |
6192 | stxa %r28, [%g0] 0x73 | |
6193 | intvec_5_197: | |
6194 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6195 | mondo_5_198: | |
6196 | nop | |
6197 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6198 | ||
6199 | stxa %r0, [%r0+0x3e8] %asi | |
6200 | .word 0x9d930007 ! 394: WRPR_WSTATE_R wrpr %r12, %r7, %wstate | |
6201 | .word 0x9ad16ae5 ! 395: UMULcc_I umulcc %r5, 0x0ae5, %r13 | |
6202 | .word 0xda8804a0 ! 396: LDUBA_R lduba [%r0, %r0] 0x25, %r13 | |
6203 | .word 0x9ba2c9cd ! 397: FDIVd fdivd %f42, %f44, %f44 | |
6204 | splash_cmpr_5_199: | |
6205 | setx 0x7770c83c62b573e8, %g2, %g1 | |
6206 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
6207 | sub %g1, 100, %g1 | |
6208 | .word 0xb1800001 ! 398: WR_STICK_REG_R wr %r0, %r1, %- | |
6209 | .word 0x9ba00553 ! 399: FSQRTd fsqrt | |
6210 | nop | |
6211 | mov 0x80, %g3 | |
6212 | stxa %g3, [%g3] 0x57 | |
6213 | .word 0xd05fc000 ! 400: LDX_R ldx [%r31 + %r0], %r8 | |
6214 | nop | |
6215 | nop | |
6216 | setx join_lbl_0_0, %g1, %g2 | |
6217 | jmp %g2 | |
6218 | nop | |
6219 | fork_lbl_0_5: | |
6220 | change_to_randtl_4_0: | |
6221 | ta T_CHANGE_PRIV ! macro | |
6222 | done_change_to_randtl_4_0: | |
6223 | .word 0xd8d7e020 ! 1: LDSHA_I ldsha [%r31, + 0x0020] %asi, %r12 | |
6224 | splash_cmpr_4_1: | |
6225 | setx 0xea38e50f757c5635, %g2, %g1 | |
6226 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
6227 | sub %g1, 100, %g1 | |
6228 | .word 0xb1800001 ! 2: WR_STICK_REG_R wr %r0, %r1, %- | |
6229 | debug_4_2: | |
6230 | nop | |
6231 | mov 0x38, %r18 | |
6232 | .word 0xfef00b12 ! 3: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6233 | .word 0x87802016 ! 4: WRASI_I wr %r0, 0x0016, %asi | |
6234 | .word 0x8790220e ! 5: WRPR_TT_I wrpr %r0, 0x020e, %tt | |
6235 | debug_4_3: | |
6236 | nop | |
6237 | mov 8, %r18 | |
6238 | ta T_CHANGE_HPRIV | |
6239 | rd %asi, %r12 | |
6240 | wr %r0, 0x41, %asi | |
6241 | set sync_thr_counter, %r23 | |
6242 | debug_startwait4_3: | |
6243 | mov 0x4, %r16 | |
6244 | cas [%r23],%g0,%r16 !lock | |
6245 | brz,a %r16, continue_debug_4_3 | |
6246 | nop | |
6247 | debug_wait4_3: | |
6248 | ld [%r23], %r16 | |
6249 | brnz %r16, debug_wait4_3 | |
6250 | nop | |
6251 | ba,a debug_startwait4_3 | |
6252 | continue_debug_4_3: | |
6253 | mov 0xe0, %r16 | |
6254 | ldxa [0x50]%asi, %r13 !Running_rw | |
6255 | ldxa [0x58]%asi, %r15 !Running_status | |
6256 | wait_for_stat_4_3: | |
6257 | cmp %r13, %r15 | |
6258 | bne,a wait_for_stat_4_3 | |
6259 | ldxa [0x58]%asi, %r15 !Running_status | |
6260 | stxa %r16, [0x68]%asi | |
6261 | ldxa [0x50]%asi, %r14 !Running_rw | |
6262 | wait_for_debug_4_3: | |
6263 | ldxa [0x58]%asi, %r15 !Running_status | |
6264 | cmp %r14, %r15 | |
6265 | bne,a wait_for_debug_4_3 | |
6266 | ldxa [0x50]%asi, %r14 !Running_rw | |
6267 | stxa %10, [%r18]0x42 | |
6268 | stxa %r13, [0x50] %asi ! Running_rw | |
6269 | st %g0, [%r23] !clear lock | |
6270 | wr %r0, %r12, %asi ! restore %asi | |
6271 | .word 0xd4f00492 ! 6: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
6272 | cwp_4_4: | |
6273 | set user_data_start, %o7 | |
6274 | .word 0x93902000 ! 7: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
6275 | .word 0x8d90368a ! 8: WRPR_PSTATE_I wrpr %r0, 0x168a, %pstate | |
6276 | splash_cmpr_4_5: | |
6277 | setx 0xc666c374a5bd86dc, %g2, %g1 | |
6278 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
6279 | sub %g1, 100, %g1 | |
6280 | .word 0xb1800001 ! 9: WR_STICK_REG_R wr %r0, %r1, %- | |
6281 | cwp_4_6: | |
6282 | set user_data_start, %o7 | |
6283 | .word 0x93902007 ! 10: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
6284 | splash_lsu_4_7: | |
6285 | setx 0xf33af197bbed4f39, %r1, %r2 | |
6286 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6287 | .word 0x3d400001 ! 11: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6288 | debug_4_8: | |
6289 | nop | |
6290 | mov 0x38, %r18 | |
6291 | .word 0xfef00b12 ! 12: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6292 | .word 0x38800001 ! 13: BGU bgu,a <label_0x1> | |
6293 | .word 0xd86fe5b9 ! 14: LDSTUB_I ldstub %r12, [%r31 + 0x05b9] | |
6294 | .word 0x91d020b5 ! 15: Tcc_I ta icc_or_xcc, %r0 + 181 | |
6295 | .word 0x8d902641 ! 16: WRPR_PSTATE_I wrpr %r0, 0x0641, %pstate | |
6296 | .word 0x30800001 ! 17: BA ba,a <label_0x1> | |
6297 | .word 0xa1902004 ! 18: WRPR_GL_I wrpr %r0, 0x0004, %- | |
6298 | otherw | |
6299 | mov 0xb5, %r30 | |
6300 | .word 0x91d0001e ! 19: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6301 | .word 0xd897e030 ! 20: LDUHA_I lduha [%r31, + 0x0030] %asi, %r12 | |
6302 | .word 0x8d903de8 ! 21: WRPR_PSTATE_I wrpr %r0, 0x1de8, %pstate | |
6303 | .word 0xa3520000 ! 22: RDPR_PIL <illegal instruction> | |
6304 | DS_4_9: | |
6305 | .word 0x99a509d2 ! 1: FDIVd fdivd %f20, %f18, %f12 | |
6306 | .word 0xd330c000 ! 1: STQF_R - %f9, [%r0, %r3] | |
6307 | normalw | |
6308 | .word 0xa3458000 ! 23: RD_SOFTINT_REG rd %softint, %r17 | |
6309 | .word 0x87902036 ! 24: WRPR_TT_I wrpr %r0, 0x0036, %tt | |
6310 | donret_4_10: | |
6311 | nop | |
6312 | rd %pc, %r12 | |
6313 | add %r12, (donretarg_4_10-donret_4_10), %r12 | |
6314 | mov 0x38, %r18 | |
6315 | stxa %r12, [%r18]0x58 | |
6316 | add %r12, 0x4, %r11 | |
6317 | wrpr %g0, 0x2, %tl | |
6318 | wrpr %g0, %r12, %tpc | |
6319 | wrpr %g0, %r11, %tnpc | |
6320 | wrpr %g0, %r13, %tstate | |
6321 | wrhpr %g0, %r14, %htstate | |
6322 | retry | |
6323 | donretarg_4_10: | |
6324 | .word 0xd4ffe5b9 ! 25: SWAPA_I swapa %r10, [%r31 + 0x05b9] %asi | |
6325 | .word 0x91d02035 ! 26: Tcc_I ta icc_or_xcc, %r0 + 53 | |
6326 | .word 0xd46fe5b9 ! 27: LDSTUB_I ldstub %r10, [%r31 + 0x05b9] | |
6327 | .word 0x91480000 ! 28: RDHPR_HPSTATE rdhpr %hpstate, %r8 | |
6328 | splash_htba_4_11: | |
6329 | set 0x80000, %r12 | |
6330 | ld [%r12+%r0], %r1 | |
6331 | ta T_CHANGE_HPRIV | |
6332 | set 0x80000, %r12 | |
6333 | .word 0x8b98000c ! 29: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
6334 | .word 0x8d902492 ! 30: WRPR_PSTATE_I wrpr %r0, 0x0492, %pstate | |
6335 | splash_cmpr_4_12: | |
6336 | setx 0xce9b206cb5581480, %g2, %g1 | |
6337 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
6338 | sub %g1, 100, %g1 | |
6339 | .word 0xb1800001 ! 31: WR_STICK_REG_R wr %r0, %r1, %- | |
6340 | nop | |
6341 | mov 0x80, %g3 | |
6342 | stxa %g3, [%g3] 0x57 | |
6343 | .word 0xe85fc000 ! 32: LDX_R ldx [%r31 + %r0], %r20 | |
6344 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6345 | ta T_CHANGE_NONHPRIV ! macro | |
6346 | .word 0x9b68a42c ! 33: SDIVX_I sdivx %r2, 0x042c, %r13 | |
6347 | nop | |
6348 | mov 0x80, %g3 | |
6349 | stxa %g3, [%g3] 0x57 | |
6350 | .word 0xd45fc000 ! 34: LDX_R ldx [%r31 + %r0], %r10 | |
6351 | .word 0xd4c7e030 ! 35: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r10 | |
6352 | invalw | |
6353 | mov 0x30, %r30 | |
6354 | .word 0x91d0001e ! 36: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6355 | debug_4_14: | |
6356 | nop | |
6357 | mov 0x38, %r18 | |
6358 | .word 0xfef00b12 ! 37: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6359 | .word 0xd48804a0 ! 38: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
6360 | .word 0x91d020b5 ! 39: Tcc_I ta icc_or_xcc, %r0 + 181 | |
6361 | .word 0xd45feeec ! 40: LDX_I ldx [%r31 + 0x0eec], %r10 | |
6362 | .word 0x91d02035 ! 41: Tcc_I ta icc_or_xcc, %r0 + 53 | |
6363 | DS_4_15: | |
6364 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
6365 | allclean | |
6366 | .word 0x9bb4c312 ! 42: ALIGNADDRESS alignaddr %r19, %r18, %r13 | |
6367 | debug_4_16: | |
6368 | nop | |
6369 | rd %pc, %r19 | |
6370 | add %r19, (64+56), %r19 | |
6371 | mov 0x38, %r18 | |
6372 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6373 | ta T_CHANGE_HPRIV | |
6374 | mov (4+1), %r10 | |
6375 | set sync_thr_counter1, %r23 | |
6376 | cas [%r23],%g0,%r10 !lock | |
6377 | brnz %r10, cwq_4_17 | |
6378 | rd %asi, %r12 | |
6379 | wr %g0, 0x40, %asi | |
6380 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6381 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6382 | cmp %l1, 1 | |
6383 | bne cwq_4_17 | |
6384 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6385 | sub %l2, 0x40, %l2 | |
6386 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6387 | wr %r12, %g0, %asi | |
6388 | st %g0, [%r23] | |
6389 | cwq_4_17: | |
6390 | ta T_CHANGE_NONHPRIV | |
6391 | .word 0xa7414000 ! 44: RDPC rd %pc, %r19 | |
6392 | invalw | |
6393 | mov 0x30, %r30 | |
6394 | .word 0x91d0001e ! 45: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6395 | .word 0xa3500000 ! 46: RDPR_TPC <illegal instruction> | |
6396 | invalw | |
6397 | mov 0x33, %r30 | |
6398 | .word 0x93d0001e ! 47: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
6399 | .word 0x8d903f64 ! 48: WRPR_PSTATE_I wrpr %r0, 0x1f64, %pstate | |
6400 | .word 0xe6d7e030 ! 49: LDSHA_I ldsha [%r31, + 0x0030] %asi, %r19 | |
6401 | splash_cmpr_4_18: | |
6402 | setx 0x8976e70e78b085b2, %g2, %g1 | |
6403 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
6404 | sub %g1, 100, %g1 | |
6405 | .word 0xb1800001 ! 50: WR_STICK_REG_R wr %r0, %r1, %- | |
6406 | cwp_4_19: | |
6407 | set user_data_start, %o7 | |
6408 | .word 0x93902001 ! 51: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
6409 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_20) + 40, 16, 16)) -> intp(4,0,30) | |
6410 | intvec_4_20: | |
6411 | .word 0x39400001 ! 52: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6412 | .word 0xe637eeec ! 53: STH_I sth %r19, [%r31 + 0x0eec] | |
6413 | memptr_4_21: | |
6414 | set user_data_start, %r31 | |
6415 | .word 0x8580bb56 ! 54: WRCCR_I wr %r2, 0x1b56, %ccr | |
6416 | splash_hpstate_4_22: | |
6417 | .word 0x8198220d ! 55: WRHPR_HPSTATE_I wrhpr %r0, 0x020d, %hpstate | |
6418 | .word 0x96dcc013 ! 56: SMULcc_R smulcc %r19, %r19, %r11 | |
6419 | .word 0x91a209c3 ! 57: FDIVd fdivd %f8, %f34, %f8 | |
6420 | memptr_4_23: | |
6421 | set 0x60540000, %r31 | |
6422 | .word 0x8583379d ! 58: WRCCR_I wr %r12, 0x179d, %ccr | |
6423 | .word 0xd4d004a0 ! 59: LDSHA_R ldsha [%r0, %r0] 0x25, %r10 | |
6424 | invalw | |
6425 | mov 0xb2, %r30 | |
6426 | .word 0x83d0001e ! 60: Tcc_R te icc_or_xcc, %r0 + %r30 | |
6427 | splash_hpstate_4_24: | |
6428 | .word 0x81982b9f ! 61: WRHPR_HPSTATE_I wrhpr %r0, 0x0b9f, %hpstate | |
6429 | change_to_randtl_4_25: | |
6430 | ta T_CHANGE_HPRIV ! macro | |
6431 | done_change_to_randtl_4_25: | |
6432 | .word 0x8f902000 ! 62: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6433 | .word 0x87802080 ! 63: WRASI_I wr %r0, 0x0080, %asi | |
6434 | tagged_4_26: | |
6435 | tsubcctv %r8, 0x12ab, %r17 | |
6436 | .word 0xd407ee0f ! 64: LDUW_I lduw [%r31 + 0x0e0f], %r10 | |
6437 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6438 | ta T_CHANGE_NONHPRIV ! macro | |
6439 | .word 0x956c7527 ! 65: SDIVX_I sdivx %r17, 0xfffff527, %r10 | |
6440 | .word 0x87802016 ! 66: WRASI_I wr %r0, 0x0016, %asi | |
6441 | memptr_4_28: | |
6442 | set 0x60740000, %r31 | |
6443 | .word 0x858465b0 ! 67: WRCCR_I wr %r17, 0x05b0, %ccr | |
6444 | setx 0x644d3a852f78e8da, %r1, %r28 | |
6445 | stxa %r28, [%g0] 0x73 | |
6446 | intvec_4_29: | |
6447 | .word 0x39400001 ! 68: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6448 | splash_cmpr_4_30: | |
6449 | setx 0x7819f9f47b9468b9, %g2, %g1 | |
6450 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
6451 | sub %g1, 100, %g1 | |
6452 | .word 0xb1800001 ! 69: WR_STICK_REG_R wr %r0, %r1, %- | |
6453 | intveclr_4_31: | |
6454 | setx 0x63748d07f6a9aef9, %r1, %r28 | |
6455 | stxa %r28, [%g0] 0x72 | |
6456 | .word 0x25400001 ! 70: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6457 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_32) + 24, 16, 16)) -> intp(7,0,25) | |
6458 | intvec_4_32: | |
6459 | .word 0x39400001 ! 71: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6460 | .word 0xda6ffb07 ! 72: LDSTUB_I ldstub %r13, [%r31 + 0xfffffb07] | |
6461 | .word 0xdadfe000 ! 73: LDXA_I ldxa [%r31, + 0x0000] %asi, %r13 | |
6462 | .word 0xda27fb07 ! 74: STW_I stw %r13, [%r31 + 0xfffffb07] | |
6463 | donret_4_33: | |
6464 | nop | |
6465 | rd %pc, %r12 | |
6466 | add %r12, (donretarg_4_33-donret_4_33-4), %r12 | |
6467 | mov 0x38, %r18 | |
6468 | stxa %r12, [%r18]0x58 | |
6469 | add %r12, 0x4, %r11 | |
6470 | wrpr %g0, 0x3, %tl | |
6471 | wrpr %g0, %r12, %tpc | |
6472 | wrpr %g0, %r11, %tnpc | |
6473 | wrpr %g0, %r13, %tstate | |
6474 | wrhpr %g0, %r14, %htstate | |
6475 | done | |
6476 | donretarg_4_33: | |
6477 | .word 0xdafffb07 ! 75: SWAPA_I swapa %r13, [%r31 + 0xfffffb07] %asi | |
6478 | ta T_CHANGE_HPRIV | |
6479 | mov (4+1), %r10 | |
6480 | set sync_thr_counter1, %r23 | |
6481 | cas [%r23],%g0,%r10 !lock | |
6482 | brnz %r10, cwq_4_34 | |
6483 | rd %asi, %r12 | |
6484 | wr %g0, 0x40, %asi | |
6485 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6486 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6487 | cmp %l1, 1 | |
6488 | bne cwq_4_34 | |
6489 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6490 | sub %l2, 0x40, %l2 | |
6491 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6492 | wr %r12, %g0, %asi | |
6493 | st %g0, [%r23] | |
6494 | cwq_4_34: | |
6495 | ta T_CHANGE_NONHPRIV | |
6496 | .word 0x93414000 ! 76: RDPC rd %pc, %r9 | |
6497 | otherw | |
6498 | mov 0x30, %r30 | |
6499 | .word 0x83d0001e ! 77: Tcc_R te icc_or_xcc, %r0 + %r30 | |
6500 | .word 0x99540000 ! 78: RDPR_GL rdpr %-, %r12 | |
6501 | setx 0xe8ebfc027da4b38f, %r1, %r28 | |
6502 | stxa %r28, [%g0] 0x73 | |
6503 | intvec_4_35: | |
6504 | .word 0x39400001 ! 79: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6505 | .word 0xd4dfe020 ! 80: LDXA_I ldxa [%r31, + 0x0020] %asi, %r10 | |
6506 | DS_4_36: | |
6507 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
6508 | .word 0xbfe7c000 ! 81: SAVE_R save %r31, %r0, %r31 | |
6509 | nop | |
6510 | mov 0x80, %g3 | |
6511 | stxa %g3, [%g3] 0x57 | |
6512 | .word 0xd45fc000 ! 82: LDX_R ldx [%r31 + %r0], %r10 | |
6513 | splash_lsu_4_37: | |
6514 | setx 0x157bd6c121a909a7, %r1, %r2 | |
6515 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6516 | .word 0x3d400001 ! 83: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6517 | .word 0xa3500000 ! 84: RDPR_TPC rdpr %tpc, %r17 | |
6518 | .word 0xa3450000 ! 85: RD_SET_SOFTINT rd %set_softint, %r17 | |
6519 | debug_4_38: | |
6520 | nop | |
6521 | mov 0x38, %r18 | |
6522 | .word 0xfef00b12 ! 86: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6523 | nop | |
6524 | mov 0x80, %g3 | |
6525 | stxa %g3, [%g3] 0x57 | |
6526 | .word 0xe25fc000 ! 87: LDX_R ldx [%r31 + %r0], %r17 | |
6527 | .word 0x98fa7618 ! 88: SDIVcc_I sdivcc %r9, 0xfffff618, %r12 | |
6528 | .word 0xab85339a ! 89: WR_CLEAR_SOFTINT_I wr %r20, 0x139a, %clear_softint | |
6529 | .word 0xd0880e80 ! 90: LDUBA_R lduba [%r0, %r0] 0x74, %r8 | |
6530 | debug_4_39: | |
6531 | nop | |
6532 | mov 8, %r18 | |
6533 | ta T_CHANGE_HPRIV | |
6534 | rd %asi, %r12 | |
6535 | wr %r0, 0x41, %asi | |
6536 | set sync_thr_counter, %r23 | |
6537 | debug_startwait4_39: | |
6538 | mov 0x4, %r16 | |
6539 | cas [%r23],%g0,%r16 !lock | |
6540 | brz,a %r16, continue_debug_4_39 | |
6541 | nop | |
6542 | debug_wait4_39: | |
6543 | ld [%r23], %r16 | |
6544 | brnz %r16, debug_wait4_39 | |
6545 | nop | |
6546 | ba,a debug_startwait4_39 | |
6547 | continue_debug_4_39: | |
6548 | mov 0xe0, %r16 | |
6549 | ldxa [0x50]%asi, %r13 !Running_rw | |
6550 | ldxa [0x58]%asi, %r15 !Running_status | |
6551 | wait_for_stat_4_39: | |
6552 | cmp %r13, %r15 | |
6553 | bne,a wait_for_stat_4_39 | |
6554 | ldxa [0x58]%asi, %r15 !Running_status | |
6555 | stxa %r16, [0x68]%asi | |
6556 | ldxa [0x50]%asi, %r14 !Running_rw | |
6557 | wait_for_debug_4_39: | |
6558 | ldxa [0x58]%asi, %r15 !Running_status | |
6559 | cmp %r14, %r15 | |
6560 | bne,a wait_for_debug_4_39 | |
6561 | ldxa [0x50]%asi, %r14 !Running_rw | |
6562 | stxa %11, [%r18]0x42 | |
6563 | stxa %r13, [0x50] %asi ! Running_rw | |
6564 | st %g0, [%r23] !clear lock | |
6565 | wr %r0, %r12, %asi ! restore %asi | |
6566 | .word 0xe0f00492 ! 91: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
6567 | mov (4+1), %r10 | |
6568 | ta T_CHANGE_HPRIV | |
6569 | set sync_thr_counter2, %r23 | |
6570 | cas [%r23],%g0,%r10 !lock | |
6571 | brnz %r10, sma_4_40 | |
6572 | rd %asi, %r12 | |
6573 | wr %g0, 0x40, %asi | |
6574 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6575 | set 0x21fff, %g1 | |
6576 | stxa %g1, [%g0 + 0x80] %asi | |
6577 | wr %r12, %g0, %asi | |
6578 | st %g0, [%r23] | |
6579 | sma_4_40: | |
6580 | ta T_CHANGE_NONHPRIV | |
6581 | .word 0xd1e7e00b ! 92: CASA_R casa [%r31] %asi, %r11, %r8 | |
6582 | cwp_4_41: | |
6583 | set user_data_start, %o7 | |
6584 | .word 0x93902003 ! 93: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
6585 | .word 0xd13fc000 ! 94: STDF_R std %f8, [%r0, %r31] | |
6586 | .word 0x879022a5 ! 95: WRPR_TT_I wrpr %r0, 0x02a5, %tt | |
6587 | DS_4_42: | |
6588 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
6589 | .word 0xbfefc000 ! 96: RESTORE_R restore %r31, %r0, %r31 | |
6590 | change_to_randtl_4_43: | |
6591 | ta T_CHANGE_HPRIV ! macro | |
6592 | done_change_to_randtl_4_43: | |
6593 | .word 0x8f902002 ! 97: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6594 | .word 0x9f803eb3 ! 98: SIR sir 0x1eb3 | |
6595 | debug_4_44: | |
6596 | nop | |
6597 | mov 0x38, %r18 | |
6598 | .word 0xfef00b12 ! 99: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6599 | debug_4_45: | |
6600 | nop | |
6601 | mov 8, %r18 | |
6602 | ta T_CHANGE_HPRIV | |
6603 | rd %asi, %r12 | |
6604 | wr %r0, 0x41, %asi | |
6605 | set sync_thr_counter, %r23 | |
6606 | debug_startwait4_45: | |
6607 | mov 0x4, %r16 | |
6608 | cas [%r23],%g0,%r16 !lock | |
6609 | brz,a %r16, continue_debug_4_45 | |
6610 | nop | |
6611 | debug_wait4_45: | |
6612 | ld [%r23], %r16 | |
6613 | brnz %r16, debug_wait4_45 | |
6614 | nop | |
6615 | ba,a debug_startwait4_45 | |
6616 | continue_debug_4_45: | |
6617 | mov 0xe0, %r16 | |
6618 | ldxa [0x50]%asi, %r13 !Running_rw | |
6619 | ldxa [0x58]%asi, %r15 !Running_status | |
6620 | wait_for_stat_4_45: | |
6621 | cmp %r13, %r15 | |
6622 | bne,a wait_for_stat_4_45 | |
6623 | ldxa [0x58]%asi, %r15 !Running_status | |
6624 | stxa %r16, [0x68]%asi | |
6625 | ldxa [0x50]%asi, %r14 !Running_rw | |
6626 | wait_for_debug_4_45: | |
6627 | ldxa [0x58]%asi, %r15 !Running_status | |
6628 | cmp %r14, %r15 | |
6629 | bne,a wait_for_debug_4_45 | |
6630 | ldxa [0x50]%asi, %r14 !Running_rw | |
6631 | stxa %15, [%r18]0x42 | |
6632 | stxa %r13, [0x50] %asi ! Running_rw | |
6633 | st %g0, [%r23] !clear lock | |
6634 | wr %r0, %r12, %asi ! restore %asi | |
6635 | .word 0xdaf00492 ! 100: STXA_R stxa %r13, [%r0 + %r18] 0x24 | |
6636 | .word 0x20800001 ! 101: BN bn,a <label_0x1> | |
6637 | change_to_randtl_4_46: | |
6638 | ta T_CHANGE_PRIV ! macro | |
6639 | done_change_to_randtl_4_46: | |
6640 | .word 0x8f902002 ! 102: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6641 | .word 0xa950c000 ! 103: RDPR_TT rdpr %tt, %r20 | |
6642 | .word 0x36800001 ! 104: BGE bge,a <label_0x1> | |
6643 | .word 0x879020ad ! 105: WRPR_TT_I wrpr %r0, 0x00ad, %tt | |
6644 | .word 0x8d9025d2 ! 106: WRPR_PSTATE_I wrpr %r0, 0x05d2, %pstate | |
6645 | splash_hpstate_4_47: | |
6646 | .word 0x8198200d ! 107: WRHPR_HPSTATE_I wrhpr %r0, 0x000d, %hpstate | |
6647 | invalw | |
6648 | mov 0xb5, %r30 | |
6649 | .word 0x91d0001e ! 108: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6650 | .word 0xd0d004a0 ! 109: LDSHA_R ldsha [%r0, %r0] 0x25, %r8 | |
6651 | ta T_CHANGE_HPRIV | |
6652 | mov (4+1), %r10 | |
6653 | set sync_thr_counter1, %r23 | |
6654 | cas [%r23],%g0,%r10 !lock | |
6655 | brnz %r10, cwq_4_48 | |
6656 | rd %asi, %r12 | |
6657 | wr %g0, 0x40, %asi | |
6658 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6659 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6660 | cmp %l1, 1 | |
6661 | bne cwq_4_48 | |
6662 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6663 | sub %l2, 0x40, %l2 | |
6664 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6665 | wr %r12, %g0, %asi | |
6666 | st %g0, [%r23] | |
6667 | cwq_4_48: | |
6668 | ta T_CHANGE_NONHPRIV | |
6669 | .word 0x91414000 ! 110: RDPC rd %pc, %r8 | |
6670 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6671 | ta T_CHANGE_NONHPRIV ! macro | |
6672 | .word 0xa3a01974 ! 111: FqTOd dis not found | |
6673 | ||
6674 | invalw | |
6675 | mov 0x30, %r30 | |
6676 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6677 | invalw | |
6678 | mov 0x33, %r30 | |
6679 | .word 0x91d0001e ! 113: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6680 | .word 0xe28804a0 ! 114: LDUBA_R lduba [%r0, %r0] 0x25, %r17 | |
6681 | .word 0x8d903a27 ! 115: WRPR_PSTATE_I wrpr %r0, 0x1a27, %pstate | |
6682 | ta T_CHANGE_HPRIV | |
6683 | mov (4+1), %r10 | |
6684 | set sync_thr_counter1, %r23 | |
6685 | cas [%r23],%g0,%r10 !lock | |
6686 | brnz %r10, cwq_4_50 | |
6687 | rd %asi, %r12 | |
6688 | wr %g0, 0x40, %asi | |
6689 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6690 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6691 | cmp %l1, 1 | |
6692 | bne cwq_4_50 | |
6693 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6694 | sub %l2, 0x40, %l2 | |
6695 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6696 | wr %r12, %g0, %asi | |
6697 | st %g0, [%r23] | |
6698 | cwq_4_50: | |
6699 | ta T_CHANGE_NONHPRIV | |
6700 | .word 0x99414000 ! 116: RDPC rd %pc, %r12 | |
6701 | DS_4_51: | |
6702 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
6703 | .word 0xd331c013 ! 1: STQF_R - %f9, [%r19, %r7] | |
6704 | normalw | |
6705 | .word 0xa1458000 ! 117: RD_SOFTINT_REG rd %softint, %r16 | |
6706 | .word 0x3a700001 ! 118: BPCC <illegal instruction> | |
6707 | splash_hpstate_4_52: | |
6708 | .word 0x81982406 ! 119: WRHPR_HPSTATE_I wrhpr %r0, 0x0406, %hpstate | |
6709 | .word 0xe6d004a0 ! 120: LDSHA_R ldsha [%r0, %r0] 0x25, %r19 | |
6710 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6711 | ta T_CHANGE_NONHPRIV ! macro | |
6712 | .word 0x956b3ed8 ! 121: SDIVX_I sdivx %r12, 0xfffffed8, %r10 | |
6713 | .word 0xa9540000 ! 122: RDPR_GL rdpr %-, %r20 | |
6714 | DS_4_54: | |
6715 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
6716 | .word 0xbfefc000 ! 123: RESTORE_R restore %r31, %r0, %r31 | |
6717 | mov (4+1), %r10 | |
6718 | ta T_CHANGE_HPRIV | |
6719 | set sync_thr_counter2, %r23 | |
6720 | cas [%r23],%g0,%r10 !lock | |
6721 | brnz %r10, sma_4_55 | |
6722 | rd %asi, %r12 | |
6723 | wr %g0, 0x40, %asi | |
6724 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6725 | set 0x21fff, %g1 | |
6726 | stxa %g1, [%g0 + 0x80] %asi | |
6727 | wr %r12, %g0, %asi | |
6728 | st %g0, [%r23] | |
6729 | sma_4_55: | |
6730 | ta T_CHANGE_NONHPRIV | |
6731 | .word 0xe9e7e007 ! 124: CASA_R casa [%r31] %asi, %r7, %r20 | |
6732 | change_to_randtl_4_56: | |
6733 | ta T_CHANGE_PRIV ! macro | |
6734 | done_change_to_randtl_4_56: | |
6735 | .word 0x8f902001 ! 125: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6736 | .word 0xe8800b00 ! 126: LDUWA_R lduwa [%r0, %r0] 0x58, %r20 | |
6737 | .word 0x94d36571 ! 127: UMULcc_I umulcc %r13, 0x0571, %r10 | |
6738 | splash_lsu_4_57: | |
6739 | setx 0x1f329f0b823c3921, %r1, %r2 | |
6740 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6741 | .word 0x3d400001 ! 128: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6742 | tagged_4_58: | |
6743 | tsubcctv %r8, 0x1303, %r18 | |
6744 | .word 0xd207ec1f ! 129: LDUW_I lduw [%r31 + 0x0c1f], %r9 | |
6745 | .word 0xd297e030 ! 130: LDUHA_I lduha [%r31, + 0x0030] %asi, %r9 | |
6746 | .word 0x9191ef63 ! 131: WRPR_PIL_I wrpr %r7, 0x0f63, %pil | |
6747 | setx 0xf41f91219a8bc9d6, %r1, %r28 | |
6748 | stxa %r28, [%g0] 0x73 | |
6749 | intvec_4_59: | |
6750 | .word 0x39400001 ! 132: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6751 | .word 0x87802014 ! 133: WRASI_I wr %r0, 0x0014, %asi | |
6752 | DS_4_60: | |
6753 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
6754 | .word 0xbfe7c000 ! 134: SAVE_R save %r31, %r0, %r31 | |
6755 | .word 0xd28008a0 ! 135: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
6756 | memptr_4_61: | |
6757 | set 0x60740000, %r31 | |
6758 | .word 0x8584eceb ! 136: WRCCR_I wr %r19, 0x0ceb, %ccr | |
6759 | invalw | |
6760 | mov 0xb3, %r30 | |
6761 | .word 0x93d0001e ! 137: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
6762 | mov (4+1), %r10 | |
6763 | ta T_CHANGE_HPRIV | |
6764 | set sync_thr_counter2, %r23 | |
6765 | cas [%r23],%g0,%r10 !lock | |
6766 | brnz %r10, sma_4_62 | |
6767 | rd %asi, %r12 | |
6768 | wr %g0, 0x40, %asi | |
6769 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6770 | set 0x21fff, %g1 | |
6771 | stxa %g1, [%g0 + 0x80] %asi | |
6772 | wr %r12, %g0, %asi | |
6773 | st %g0, [%r23] | |
6774 | sma_4_62: | |
6775 | ta T_CHANGE_NONHPRIV | |
6776 | .word 0xd3e7e007 ! 138: CASA_R casa [%r31] %asi, %r7, %r9 | |
6777 | .word 0x8780208b ! 139: WRASI_I wr %r0, 0x008b, %asi | |
6778 | change_to_randtl_4_63: | |
6779 | ta T_CHANGE_HPRIV ! macro | |
6780 | done_change_to_randtl_4_63: | |
6781 | .word 0x8f902001 ! 140: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6782 | invalw | |
6783 | mov 0x31, %r30 | |
6784 | .word 0x83d0001e ! 141: Tcc_R te icc_or_xcc, %r0 + %r30 | |
6785 | .word 0xd26feb9a ! 142: LDSTUB_I ldstub %r9, [%r31 + 0x0b9a] | |
6786 | .word 0x9153c000 ! 143: RDPR_FQ <illegal instruction> | |
6787 | .word 0xd6cfe020 ! 144: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r11 | |
6788 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6789 | ta T_CHANGE_NONPRIV ! macro | |
6790 | .word 0x93a01972 ! 145: FqTOd dis not found | |
6791 | ||
6792 | debug_4_65: | |
6793 | nop | |
6794 | mov 0x38, %r18 | |
6795 | .word 0xfef00b12 ! 146: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6796 | mov (4+1), %r10 | |
6797 | ta T_CHANGE_HPRIV | |
6798 | set sync_thr_counter2, %r23 | |
6799 | cas [%r23],%g0,%r10 !lock | |
6800 | brnz %r10, sma_4_66 | |
6801 | rd %asi, %r12 | |
6802 | wr %g0, 0x40, %asi | |
6803 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6804 | set 0x21fff, %g1 | |
6805 | stxa %g1, [%g0 + 0x80] %asi | |
6806 | wr %r12, %g0, %asi | |
6807 | st %g0, [%r23] | |
6808 | sma_4_66: | |
6809 | ta T_CHANGE_NONHPRIV | |
6810 | .word 0xe5e7e013 ! 147: CASA_R casa [%r31] %asi, %r19, %r18 | |
6811 | .word 0x919134bd ! 148: WRPR_PIL_I wrpr %r4, 0x14bd, %pil | |
6812 | DS_4_67: | |
6813 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
6814 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
6815 | .word 0xd9100010 ! 1: LDQF_R - [%r0, %r16], %f12 | |
6816 | .word 0xa3a4882a ! 149: FADDs fadds %f18, %f10, %f17 | |
6817 | pmu_4_68: | |
6818 | nop | |
6819 | setx 0xfffffde9fffff172, %g1, %g7 | |
6820 | .word 0xa3800007 ! 150: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
6821 | .word 0x38800001 ! 151: BGU bgu,a <label_0x1> | |
6822 | .word 0xe33fc000 ! 152: STDF_R std %f17, [%r0, %r31] | |
6823 | splash_cmpr_4_69: | |
6824 | setx 0xba96d46760921418, %g2, %g1 | |
6825 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
6826 | sub %g1, 100, %g1 | |
6827 | .word 0xb1800001 ! 153: WR_STICK_REG_R wr %r0, %r1, %- | |
6828 | .word 0xa5450000 ! 154: RD_SET_SOFTINT rd %set_softint, %r18 | |
6829 | donret_4_70: | |
6830 | nop | |
6831 | rd %pc, %r12 | |
6832 | add %r12, (donretarg_4_70-donret_4_70), %r12 | |
6833 | mov 0x38, %r18 | |
6834 | stxa %r12, [%r18]0x58 | |
6835 | add %r12, 0x4, %r11 | |
6836 | wrpr %g0, 0x1, %tl | |
6837 | wrpr %g0, %r12, %tpc | |
6838 | wrpr %g0, %r11, %tnpc | |
6839 | wrpr %g0, %r13, %tstate | |
6840 | wrhpr %g0, %r14, %htstate | |
6841 | retry | |
6842 | donretarg_4_70: | |
6843 | .word 0xe4fff6c3 ! 155: SWAPA_I swapa %r18, [%r31 + 0xfffff6c3] %asi | |
6844 | pmu_4_71: | |
6845 | nop | |
6846 | setx 0xfffff108ffffff38, %g1, %g7 | |
6847 | .word 0xa3800007 ! 156: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
6848 | splash_cmpr_4_72: | |
6849 | setx 0x87ce5d96c33f255c, %g2, %g1 | |
6850 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
6851 | sub %g1, 100, %g1 | |
6852 | .word 0xb1800001 ! 157: WR_STICK_REG_R wr %r0, %r1, %- | |
6853 | .word 0x8d903048 ! 158: WRPR_PSTATE_I wrpr %r0, 0x1048, %pstate | |
6854 | .word 0xe48fe010 ! 159: LDUBA_I lduba [%r31, + 0x0010] %asi, %r18 | |
6855 | change_to_randtl_4_73: | |
6856 | ta T_CHANGE_HPRIV ! macro | |
6857 | done_change_to_randtl_4_73: | |
6858 | .word 0x8f902000 ! 160: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6859 | .word 0x91d02032 ! 161: Tcc_I ta icc_or_xcc, %r0 + 50 | |
6860 | splash_tba_4_74: | |
6861 | set 0x120000, %r12 | |
6862 | st %r1, [%r12+%r0] | |
6863 | ta T_CHANGE_PRIV | |
6864 | set 0x120000, %r12 | |
6865 | .word 0x8b90000c ! 162: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6866 | ta T_CHANGE_HPRIV | |
6867 | mov (4+1), %r10 | |
6868 | set sync_thr_counter1, %r23 | |
6869 | cas [%r23],%g0,%r10 !lock | |
6870 | brnz %r10, cwq_4_75 | |
6871 | rd %asi, %r12 | |
6872 | wr %g0, 0x40, %asi | |
6873 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6874 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6875 | cmp %l1, 1 | |
6876 | bne cwq_4_75 | |
6877 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6878 | sub %l2, 0x40, %l2 | |
6879 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6880 | wr %r12, %g0, %asi | |
6881 | st %g0, [%r23] | |
6882 | cwq_4_75: | |
6883 | ta T_CHANGE_NONHPRIV | |
6884 | .word 0xa1414000 ! 163: RDPC rd %pc, %r16 | |
6885 | invalw | |
6886 | mov 0xb3, %r30 | |
6887 | .word 0x91d0001e ! 164: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6888 | intveclr_4_76: | |
6889 | setx 0xec8bef6988d9fa5d, %r1, %r28 | |
6890 | stxa %r28, [%g0] 0x72 | |
6891 | .word 0x25400001 ! 165: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6892 | cwp_4_77: | |
6893 | set user_data_start, %o7 | |
6894 | .word 0x93902003 ! 166: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
6895 | .word 0xd6800ba0 ! 167: LDUWA_R lduwa [%r0, %r0] 0x5d, %r11 | |
6896 | ta T_CHANGE_HPRIV | |
6897 | mov (4+1), %r10 | |
6898 | set sync_thr_counter1, %r23 | |
6899 | cas [%r23],%g0,%r10 !lock | |
6900 | brnz %r10, cwq_4_78 | |
6901 | rd %asi, %r12 | |
6902 | wr %g0, 0x40, %asi | |
6903 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6904 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6905 | cmp %l1, 1 | |
6906 | bne cwq_4_78 | |
6907 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6908 | sub %l2, 0x40, %l2 | |
6909 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6910 | wr %r12, %g0, %asi | |
6911 | st %g0, [%r23] | |
6912 | cwq_4_78: | |
6913 | ta T_CHANGE_NONHPRIV | |
6914 | .word 0xa3414000 ! 168: RDPC rd %pc, %r17 | |
6915 | .word 0x96fcc00b ! 169: SDIVcc_R sdivcc %r19, %r11, %r11 | |
6916 | splash_cmpr_4_79: | |
6917 | setx 0xfa5f99d54acf394f, %g2, %g1 | |
6918 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
6919 | sub %g1, 100, %g1 | |
6920 | .word 0xb1800001 ! 170: WR_STICK_REG_R wr %r0, %r1, %- | |
6921 | .word 0x9ba00164 ! 171: FABSq dis not found | |
6922 | ||
6923 | .word 0xe097e010 ! 172: LDUHA_I lduha [%r31, + 0x0010] %asi, %r16 | |
6924 | mondo_4_80: | |
6925 | nop | |
6926 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6927 | ||
6928 | stxa %r17, [%r0+0x3d0] %asi | |
6929 | .word 0x9d914001 ! 173: WRPR_WSTATE_R wrpr %r5, %r1, %wstate | |
6930 | .word 0x87802055 ! 174: WRASI_I wr %r0, 0x0055, %asi | |
6931 | .word 0x93d02034 ! 175: Tcc_I tne icc_or_xcc, %r0 + 52 | |
6932 | memptr_4_81: | |
6933 | set user_data_start, %r31 | |
6934 | .word 0x858220ac ! 176: WRCCR_I wr %r8, 0x00ac, %ccr | |
6935 | nop | |
6936 | mov 0x80, %g3 | |
6937 | stxa %g3, [%g3] 0x5f | |
6938 | .word 0xe05fc000 ! 177: LDX_R ldx [%r31 + %r0], %r16 | |
6939 | .word 0xe0c804a0 ! 178: LDSBA_R ldsba [%r0, %r0] 0x25, %r16 | |
6940 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6941 | ta T_CHANGE_NONPRIV ! macro | |
6942 | .word 0xa769794b ! 179: SDIVX_I sdivx %r5, 0xfffff94b, %r19 | |
6943 | .word 0x95480000 ! 180: RDHPR_HPSTATE rdhpr %hpstate, %r10 | |
6944 | mov (4+1), %r10 | |
6945 | ta T_CHANGE_HPRIV | |
6946 | set sync_thr_counter2, %r23 | |
6947 | cas [%r23],%g0,%r10 !lock | |
6948 | brnz %r10, sma_4_83 | |
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_4_83: | |
6957 | ta T_CHANGE_NONHPRIV | |
6958 | .word 0xd7e7e012 ! 181: CASA_R casa [%r31] %asi, %r18, %r11 | |
6959 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_84) + 8, 16, 16)) -> intp(2,0,24) | |
6960 | intvec_4_84: | |
6961 | .word 0x39400001 ! 182: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6962 | .word 0xd727c000 ! 183: STF_R st %f11, [%r0, %r31] | |
6963 | mondo_4_85: | |
6964 | nop | |
6965 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6966 | ||
6967 | stxa %r19, [%r0+0x3e8] %asi | |
6968 | .word 0x9d910003 ! 184: WRPR_WSTATE_R wrpr %r4, %r3, %wstate | |
6969 | splash_lsu_4_86: | |
6970 | setx 0x8b08a270d62bbeb1, %r1, %r2 | |
6971 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6972 | .word 0x3d400001 ! 185: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6973 | .word 0xd6cfe010 ! 186: LDSBA_I ldsba [%r31, + 0x0010] %asi, %r11 | |
6974 | debug_4_87: | |
6975 | nop | |
6976 | mov 8, %r18 | |
6977 | ta T_CHANGE_HPRIV | |
6978 | rd %asi, %r12 | |
6979 | wr %r0, 0x41, %asi | |
6980 | set sync_thr_counter, %r23 | |
6981 | debug_startwait4_87: | |
6982 | mov 0x4, %r16 | |
6983 | cas [%r23],%g0,%r16 !lock | |
6984 | brz,a %r16, continue_debug_4_87 | |
6985 | nop | |
6986 | debug_wait4_87: | |
6987 | ld [%r23], %r16 | |
6988 | brnz %r16, debug_wait4_87 | |
6989 | nop | |
6990 | ba,a debug_startwait4_87 | |
6991 | continue_debug_4_87: | |
6992 | mov 0xe0, %r16 | |
6993 | ldxa [0x50]%asi, %r13 !Running_rw | |
6994 | ldxa [0x58]%asi, %r15 !Running_status | |
6995 | wait_for_stat_4_87: | |
6996 | cmp %r13, %r15 | |
6997 | bne,a wait_for_stat_4_87 | |
6998 | ldxa [0x58]%asi, %r15 !Running_status | |
6999 | stxa %r16, [0x68]%asi | |
7000 | ldxa [0x50]%asi, %r14 !Running_rw | |
7001 | wait_for_debug_4_87: | |
7002 | ldxa [0x58]%asi, %r15 !Running_status | |
7003 | cmp %r14, %r15 | |
7004 | bne,a wait_for_debug_4_87 | |
7005 | ldxa [0x50]%asi, %r14 !Running_rw | |
7006 | stxa %12, [%r18]0x42 | |
7007 | stxa %r13, [0x50] %asi ! Running_rw | |
7008 | st %g0, [%r23] !clear lock | |
7009 | wr %r0, %r12, %asi ! restore %asi | |
7010 | .word 0xd8f00492 ! 187: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
7011 | .word 0xd67ff8cc ! 188: SWAP_I swap %r11, [%r31 + 0xfffff8cc] | |
7012 | .word 0x87802055 ! 189: WRASI_I wr %r0, 0x0055, %asi | |
7013 | .word 0x97a449cb ! 190: FDIVd fdivd %f48, %f42, %f42 | |
7014 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_88) + 0, 16, 16)) -> intp(5,0,25) | |
7015 | intvec_4_88: | |
7016 | .word 0x39400001 ! 191: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7017 | .word 0x87802020 ! 192: WRASI_I wr %r0, 0x0020, %asi | |
7018 | setx 0xa9185399d5275d56, %r1, %r28 | |
7019 | stxa %r28, [%g0] 0x73 | |
7020 | intvec_4_89: | |
7021 | .word 0x39400001 ! 193: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7022 | debug_4_90: | |
7023 | nop | |
7024 | mov 8, %r18 | |
7025 | ta T_CHANGE_HPRIV | |
7026 | rd %asi, %r12 | |
7027 | wr %r0, 0x41, %asi | |
7028 | set sync_thr_counter, %r23 | |
7029 | debug_startwait4_90: | |
7030 | mov 0x4, %r16 | |
7031 | cas [%r23],%g0,%r16 !lock | |
7032 | brz,a %r16, continue_debug_4_90 | |
7033 | nop | |
7034 | debug_wait4_90: | |
7035 | ld [%r23], %r16 | |
7036 | brnz %r16, debug_wait4_90 | |
7037 | nop | |
7038 | ba,a debug_startwait4_90 | |
7039 | continue_debug_4_90: | |
7040 | mov 0xe0, %r16 | |
7041 | ldxa [0x50]%asi, %r13 !Running_rw | |
7042 | ldxa [0x58]%asi, %r15 !Running_status | |
7043 | wait_for_stat_4_90: | |
7044 | cmp %r13, %r15 | |
7045 | bne,a wait_for_stat_4_90 | |
7046 | ldxa [0x58]%asi, %r15 !Running_status | |
7047 | stxa %r16, [0x68]%asi | |
7048 | ldxa [0x50]%asi, %r14 !Running_rw | |
7049 | wait_for_debug_4_90: | |
7050 | ldxa [0x58]%asi, %r15 !Running_status | |
7051 | cmp %r14, %r15 | |
7052 | bne,a wait_for_debug_4_90 | |
7053 | ldxa [0x50]%asi, %r14 !Running_rw | |
7054 | stxa %15, [%r18]0x42 | |
7055 | stxa %r13, [0x50] %asi ! Running_rw | |
7056 | st %g0, [%r23] !clear lock | |
7057 | wr %r0, %r12, %asi ! restore %asi | |
7058 | .word 0xdcf00492 ! 194: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
7059 | splash_lsu_4_91: | |
7060 | setx 0x40e015b75dc71121, %r1, %r2 | |
7061 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7062 | .word 0x3d400001 ! 195: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7063 | debug_4_92: | |
7064 | nop | |
7065 | mov 0x38, %r18 | |
7066 | .word 0xfef00b12 ! 196: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7067 | debug_4_93: | |
7068 | nop | |
7069 | mov 8, %r18 | |
7070 | ta T_CHANGE_HPRIV | |
7071 | rd %asi, %r12 | |
7072 | wr %r0, 0x41, %asi | |
7073 | set sync_thr_counter, %r23 | |
7074 | debug_startwait4_93: | |
7075 | mov 0x4, %r16 | |
7076 | cas [%r23],%g0,%r16 !lock | |
7077 | brz,a %r16, continue_debug_4_93 | |
7078 | nop | |
7079 | debug_wait4_93: | |
7080 | ld [%r23], %r16 | |
7081 | brnz %r16, debug_wait4_93 | |
7082 | nop | |
7083 | ba,a debug_startwait4_93 | |
7084 | continue_debug_4_93: | |
7085 | mov 0xe0, %r16 | |
7086 | ldxa [0x50]%asi, %r13 !Running_rw | |
7087 | ldxa [0x58]%asi, %r15 !Running_status | |
7088 | wait_for_stat_4_93: | |
7089 | cmp %r13, %r15 | |
7090 | bne,a wait_for_stat_4_93 | |
7091 | ldxa [0x58]%asi, %r15 !Running_status | |
7092 | stxa %r16, [0x68]%asi | |
7093 | ldxa [0x50]%asi, %r14 !Running_rw | |
7094 | wait_for_debug_4_93: | |
7095 | ldxa [0x58]%asi, %r15 !Running_status | |
7096 | cmp %r14, %r15 | |
7097 | bne,a wait_for_debug_4_93 | |
7098 | ldxa [0x50]%asi, %r14 !Running_rw | |
7099 | stxa %15, [%r18]0x42 | |
7100 | stxa %r13, [0x50] %asi ! Running_rw | |
7101 | st %g0, [%r23] !clear lock | |
7102 | wr %r0, %r12, %asi ! restore %asi | |
7103 | .word 0xe6f00492 ! 197: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
7104 | debug_4_94: | |
7105 | nop | |
7106 | rd %pc, %r19 | |
7107 | add %r19, (64+48), %r19 | |
7108 | mov 0x38, %r18 | |
7109 | .word 0xe6f00b12 ! 198: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7110 | ta T_CHANGE_HPRIV | |
7111 | mov (4+1), %r10 | |
7112 | set sync_thr_counter1, %r23 | |
7113 | cas [%r23],%g0,%r10 !lock | |
7114 | brnz %r10, cwq_4_95 | |
7115 | rd %asi, %r12 | |
7116 | wr %g0, 0x40, %asi | |
7117 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7118 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7119 | cmp %l1, 1 | |
7120 | bne cwq_4_95 | |
7121 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7122 | sub %l2, 0x40, %l2 | |
7123 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7124 | wr %r12, %g0, %asi | |
7125 | st %g0, [%r23] | |
7126 | cwq_4_95: | |
7127 | ta T_CHANGE_NONHPRIV | |
7128 | .word 0x91414000 ! 199: RDPC rd %pc, %r8 | |
7129 | .word 0xe07ff8cc ! 200: SWAP_I swap %r16, [%r31 + 0xfffff8cc] | |
7130 | .word 0x8d902e95 ! 201: WRPR_PSTATE_I wrpr %r0, 0x0e95, %pstate | |
7131 | tagged_4_96: | |
7132 | tsubcctv %r18, 0x12a4, %r3 | |
7133 | .word 0xe007f8cc ! 202: LDUW_I lduw [%r31 + 0xfffff8cc], %r16 | |
7134 | mondo_4_97: | |
7135 | nop | |
7136 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7137 | ||
7138 | stxa %r7, [%r0+0x3c0] %asi | |
7139 | .word 0x9d908007 ! 203: WRPR_WSTATE_R wrpr %r2, %r7, %wstate | |
7140 | .word 0x95a449c5 ! 204: FDIVd fdivd %f48, %f36, %f10 | |
7141 | .word 0x8d903774 ! 205: WRPR_PSTATE_I wrpr %r0, 0x1774, %pstate | |
7142 | splash_lsu_4_98: | |
7143 | setx 0x090167ca37f03045, %r1, %r2 | |
7144 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7145 | .word 0x3d400001 ! 206: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7146 | .word 0x9ad1bfdb ! 207: UMULcc_I umulcc %r6, 0xffffffdb, %r13 | |
7147 | .word 0xad8420a4 ! 208: WR_SOFTINT_REG_I wr %r16, 0x00a4, %softint | |
7148 | .word 0x95a189d3 ! 209: FDIVd fdivd %f6, %f50, %f10 | |
7149 | .word 0x99a00173 ! 210: FABSq dis not found | |
7150 | ||
7151 | .word 0x87802058 ! 211: WRASI_I wr %r0, 0x0058, %asi | |
7152 | debug_4_99: | |
7153 | nop | |
7154 | mov 8, %r18 | |
7155 | ta T_CHANGE_HPRIV | |
7156 | rd %asi, %r12 | |
7157 | wr %r0, 0x41, %asi | |
7158 | set sync_thr_counter, %r23 | |
7159 | debug_startwait4_99: | |
7160 | mov 0x4, %r16 | |
7161 | cas [%r23],%g0,%r16 !lock | |
7162 | brz,a %r16, continue_debug_4_99 | |
7163 | nop | |
7164 | debug_wait4_99: | |
7165 | ld [%r23], %r16 | |
7166 | brnz %r16, debug_wait4_99 | |
7167 | nop | |
7168 | ba,a debug_startwait4_99 | |
7169 | continue_debug_4_99: | |
7170 | mov 0xe0, %r16 | |
7171 | ldxa [0x50]%asi, %r13 !Running_rw | |
7172 | ldxa [0x58]%asi, %r15 !Running_status | |
7173 | wait_for_stat_4_99: | |
7174 | cmp %r13, %r15 | |
7175 | bne,a wait_for_stat_4_99 | |
7176 | ldxa [0x58]%asi, %r15 !Running_status | |
7177 | stxa %r16, [0x68]%asi | |
7178 | ldxa [0x50]%asi, %r14 !Running_rw | |
7179 | wait_for_debug_4_99: | |
7180 | ldxa [0x58]%asi, %r15 !Running_status | |
7181 | cmp %r14, %r15 | |
7182 | bne,a wait_for_debug_4_99 | |
7183 | ldxa [0x50]%asi, %r14 !Running_rw | |
7184 | stxa %19, [%r18]0x42 | |
7185 | stxa %r13, [0x50] %asi ! Running_rw | |
7186 | st %g0, [%r23] !clear lock | |
7187 | wr %r0, %r12, %asi ! restore %asi | |
7188 | .word 0xe8f00492 ! 212: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
7189 | mov (4+1), %r10 | |
7190 | ta T_CHANGE_HPRIV | |
7191 | set sync_thr_counter2, %r23 | |
7192 | cas [%r23],%g0,%r10 !lock | |
7193 | brnz %r10, sma_4_100 | |
7194 | rd %asi, %r12 | |
7195 | wr %g0, 0x40, %asi | |
7196 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
7197 | set 0x21fff, %g1 | |
7198 | stxa %g1, [%g0 + 0x80] %asi | |
7199 | wr %r12, %g0, %asi | |
7200 | st %g0, [%r23] | |
7201 | sma_4_100: | |
7202 | ta T_CHANGE_NONHPRIV | |
7203 | .word 0xe5e7e00b ! 213: CASA_R casa [%r31] %asi, %r11, %r18 | |
7204 | splash_tba_4_101: | |
7205 | set 0x120000, %r12 | |
7206 | ld [%r12+%r0], %r1 | |
7207 | ta T_CHANGE_PRIV | |
7208 | set 0x120000, %r12 | |
7209 | .word 0x8b90000c ! 214: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7210 | nop | |
7211 | mov 0x80, %g3 | |
7212 | stxa %g3, [%g3] 0x57 | |
7213 | .word 0xe45fc000 ! 215: LDX_R ldx [%r31 + %r0], %r18 | |
7214 | splash_cmpr_4_102: | |
7215 | setx 0x0b3444736c8774e7, %g2, %g1 | |
7216 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7217 | sub %g1, 100, %g1 | |
7218 | .word 0xb1800001 ! 216: WR_STICK_REG_R wr %r0, %r1, %- | |
7219 | .word 0x81460000 ! 217: RD_STICK_REG stbar | |
7220 | .word 0xe49004a0 ! 218: LDUHA_R lduha [%r0, %r0] 0x25, %r18 | |
7221 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
7222 | ta T_CHANGE_NONHPRIV ! macro | |
7223 | .word 0x93a01969 ! 219: FqTOd dis not found | |
7224 | ||
7225 | tagged_4_104: | |
7226 | tsubcctv %r6, 0x13df, %r14 | |
7227 | .word 0xe807e50d ! 220: LDUW_I lduw [%r31 + 0x050d], %r20 | |
7228 | .word 0x9194bb25 ! 221: WRPR_PIL_I wrpr %r18, 0x1b25, %pil | |
7229 | pmu_4_105: | |
7230 | nop | |
7231 | setx 0xfffffb01fffffc7f, %g1, %g7 | |
7232 | .word 0xa3800007 ! 222: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
7233 | intveclr_4_106: | |
7234 | setx 0x8dd705d2df903027, %r1, %r28 | |
7235 | stxa %r28, [%g0] 0x72 | |
7236 | .word 0x25400001 ! 223: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7237 | nop | |
7238 | mov 0x80, %g3 | |
7239 | stxa %g3, [%g3] 0x5f | |
7240 | .word 0xe85fc000 ! 224: LDX_R ldx [%r31 + %r0], %r20 | |
7241 | otherw | |
7242 | mov 0x32, %r30 | |
7243 | .word 0x83d0001e ! 225: Tcc_R te icc_or_xcc, %r0 + %r30 | |
7244 | .word 0xe83fe48b ! 226: STD_I std %r20, [%r31 + 0x048b] | |
7245 | .word 0x8d802000 ! 227: WRFPRS_I wr %r0, 0x0000, %fprs | |
7246 | .word 0xa3702c92 ! 228: POPC_I popc 0x0c92, %r17 | |
7247 | splash_hpstate_4_107: | |
7248 | .word 0x81982f96 ! 229: WRHPR_HPSTATE_I wrhpr %r0, 0x0f96, %hpstate | |
7249 | mov (4+1), %r10 | |
7250 | ta T_CHANGE_HPRIV | |
7251 | set sync_thr_counter2, %r23 | |
7252 | cas [%r23],%g0,%r10 !lock | |
7253 | brnz %r10, sma_4_108 | |
7254 | rd %asi, %r12 | |
7255 | wr %g0, 0x40, %asi | |
7256 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
7257 | set 0x21fff, %g1 | |
7258 | stxa %g1, [%g0 + 0x80] %asi | |
7259 | wr %r12, %g0, %asi | |
7260 | st %g0, [%r23] | |
7261 | sma_4_108: | |
7262 | ta T_CHANGE_NONHPRIV | |
7263 | .word 0xd1e7e003 ! 230: CASA_R casa [%r31] %asi, %r3, %r8 | |
7264 | .word 0x99480000 ! 231: RDHPR_HPSTATE rdhpr %hpstate, %r12 | |
7265 | splash_htba_4_109: | |
7266 | set 0x80000, %r12 | |
7267 | ld [%r12+%r0], %r1 | |
7268 | ta T_CHANGE_HPRIV | |
7269 | set 0x80000, %r12 | |
7270 | .word 0x8b98000c ! 232: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
7271 | .word 0x8d9036e7 ! 233: WRPR_PSTATE_I wrpr %r0, 0x16e7, %pstate | |
7272 | debug_4_110: | |
7273 | nop | |
7274 | mov 0x38, %r18 | |
7275 | .word 0xfef00b12 ! 234: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7276 | tagged_4_111: | |
7277 | taddcctv %r1, 0x10d7, %r24 | |
7278 | .word 0xd607f25b ! 235: LDUW_I lduw [%r31 + 0xfffff25b], %r11 | |
7279 | cwp_4_112: | |
7280 | set user_data_start, %o7 | |
7281 | .word 0x93902003 ! 236: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
7282 | splash_cmpr_4_113: | |
7283 | setx 0xb429b9f436b7882d, %g2, %g1 | |
7284 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
7285 | sub %g1, 100, %g1 | |
7286 | .word 0xb1800001 ! 237: WR_STICK_REG_R wr %r0, %r1, %- | |
7287 | .word 0xd677c000 ! 238: STX_R stx %r11, [%r31 + %r0] | |
7288 | .word 0xa9850014 ! 239: WR_SET_SOFTINT_R wr %r20, %r20, %set_softint | |
7289 | memptr_4_114: | |
7290 | set user_data_start, %r31 | |
7291 | .word 0x858537d7 ! 240: WRCCR_I wr %r20, 0x17d7, %ccr | |
7292 | debug_4_115: | |
7293 | nop | |
7294 | rd %pc, %r19 | |
7295 | add %r19, (64+32), %r19 | |
7296 | mov 0x38, %r18 | |
7297 | .word 0xe6f00b12 ! 241: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7298 | invalw | |
7299 | mov 0xb3, %r30 | |
7300 | .word 0x91d0001e ! 242: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
7301 | intveclr_4_116: | |
7302 | setx 0x58571a9571fb8457, %r1, %r28 | |
7303 | stxa %r28, [%g0] 0x72 | |
7304 | .word 0x25400001 ! 243: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7305 | .word 0x9f802038 ! 244: SIR sir 0x0038 | |
7306 | .word 0xab840014 ! 245: WR_CLEAR_SOFTINT_R wr %r16, %r20, %clear_softint | |
7307 | tagged_4_117: | |
7308 | taddcctv %r12, 0x144e, %r3 | |
7309 | .word 0xd607fea4 ! 246: LDUW_I lduw [%r31 + 0xfffffea4], %r11 | |
7310 | debug_4_118: | |
7311 | nop | |
7312 | rd %pc, %r19 | |
7313 | add %r19, (64+56), %r19 | |
7314 | mov 0x38, %r18 | |
7315 | .word 0xe6f00b12 ! 247: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7316 | mondo_4_119: | |
7317 | nop | |
7318 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7319 | ||
7320 | stxa %r16, [%r0+0x3d8] %asi | |
7321 | .word 0x9d908010 ! 248: WRPR_WSTATE_R wrpr %r2, %r16, %wstate | |
7322 | .word 0x9b500000 ! 249: RDPR_TPC <illegal instruction> | |
7323 | tagged_4_120: | |
7324 | tsubcctv %r8, 0x1030, %r20 | |
7325 | .word 0xd807fea4 ! 250: LDUW_I lduw [%r31 + 0xfffffea4], %r12 | |
7326 | .word 0x91a00172 ! 251: FABSq dis not found | |
7327 | ||
7328 | .word 0xd6c004a0 ! 252: LDSWA_R ldswa [%r0, %r0] 0x25, %r11 | |
7329 | splash_lsu_4_121: | |
7330 | setx 0xd93e5f526bcd9111, %r1, %r2 | |
7331 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7332 | .word 0x3d400001 ! 253: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7333 | memptr_4_122: | |
7334 | set 0x60740000, %r31 | |
7335 | .word 0x8582f779 ! 254: WRCCR_I wr %r11, 0x1779, %ccr | |
7336 | nop | |
7337 | mov 0x80, %g3 | |
7338 | stxa %g3, [%g3] 0x5f | |
7339 | .word 0xd65fc000 ! 255: LDX_R ldx [%r31 + %r0], %r11 | |
7340 | .word 0xd6d7e010 ! 256: LDSHA_I ldsha [%r31, + 0x0010] %asi, %r11 | |
7341 | splash_cmpr_4_123: | |
7342 | setx 0xf44608fd3617807f, %g2, %g1 | |
7343 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
7344 | sub %g1, 100, %g1 | |
7345 | .word 0xb1800001 ! 257: WR_STICK_REG_R wr %r0, %r1, %- | |
7346 | invalw | |
7347 | mov 0x30, %r30 | |
7348 | .word 0x91d0001e ! 258: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
7349 | .word 0x95500000 ! 259: RDPR_TPC <illegal instruction> | |
7350 | mov (4+1), %r10 | |
7351 | ta T_CHANGE_HPRIV | |
7352 | set sync_thr_counter2, %r23 | |
7353 | cas [%r23],%g0,%r10 !lock | |
7354 | brnz %r10, sma_4_124 | |
7355 | rd %asi, %r12 | |
7356 | wr %g0, 0x40, %asi | |
7357 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
7358 | set 0x21fff, %g1 | |
7359 | stxa %g1, [%g0 + 0x80] %asi | |
7360 | wr %r12, %g0, %asi | |
7361 | st %g0, [%r23] | |
7362 | sma_4_124: | |
7363 | ta T_CHANGE_NONHPRIV | |
7364 | .word 0xe3e7e005 ! 260: CASA_R casa [%r31] %asi, %r5, %r17 | |
7365 | nop | |
7366 | mov 0x80, %g3 | |
7367 | stxa %g3, [%g3] 0x57 | |
7368 | .word 0xe25fc000 ! 261: LDX_R ldx [%r31 + %r0], %r17 | |
7369 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7370 | ta T_CHANGE_NONHPRIV ! macro | |
7371 | .word 0x99a0196c ! 262: FqTOd dis not found | |
7372 | ||
7373 | .word 0x8d9030ae ! 263: WRPR_PSTATE_I wrpr %r0, 0x10ae, %pstate | |
7374 | DS_4_126: | |
7375 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
7376 | .word 0xc95b4462 ! Random illegal ? | |
7377 | .word 0x91a00554 ! 1: FSQRTd fsqrt | |
7378 | .word 0x95a4c82c ! 264: FADDs fadds %f19, %f12, %f10 | |
7379 | .word 0xd6800a60 ! 265: LDUWA_R lduwa [%r0, %r0] 0x53, %r11 | |
7380 | intveclr_4_127: | |
7381 | setx 0x25b46d0465a7d10c, %r1, %r28 | |
7382 | stxa %r28, [%g0] 0x72 | |
7383 | .word 0x25400001 ! 266: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7384 | .word 0x9b520000 ! 267: RDPR_PIL rdpr %pil, %r13 | |
7385 | .word 0xab84c014 ! 268: WR_CLEAR_SOFTINT_R wr %r19, %r20, %clear_softint | |
7386 | splash_cmpr_4_128: | |
7387 | setx 0x88f4b2adff7c0a59, %g2, %g1 | |
7388 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7389 | sub %g1, 100, %g1 | |
7390 | .word 0xb1800001 ! 269: WR_STICK_REG_R wr %r0, %r1, %- | |
7391 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
7392 | ta T_CHANGE_NONHPRIV ! macro | |
7393 | .word 0x97a01966 ! 270: FqTOd dis not found | |
7394 | ||
7395 | splash_cmpr_4_130: | |
7396 | setx 0xda76a8c45ed490a4, %g2, %g1 | |
7397 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7398 | sub %g1, 100, %g1 | |
7399 | .word 0xb1800001 ! 271: WR_STICK_REG_R wr %r0, %r1, %- | |
7400 | ta T_CHANGE_HPRIV | |
7401 | mov (4+1), %r10 | |
7402 | set sync_thr_counter1, %r23 | |
7403 | cas [%r23],%g0,%r10 !lock | |
7404 | brnz %r10, cwq_4_131 | |
7405 | rd %asi, %r12 | |
7406 | wr %g0, 0x40, %asi | |
7407 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7408 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7409 | cmp %l1, 1 | |
7410 | bne cwq_4_131 | |
7411 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7412 | sub %l2, 0x40, %l2 | |
7413 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7414 | wr %r12, %g0, %asi | |
7415 | st %g0, [%r23] | |
7416 | cwq_4_131: | |
7417 | ta T_CHANGE_NONHPRIV | |
7418 | .word 0x95414000 ! 272: RDPC rd %pc, %r10 | |
7419 | splash_cmpr_4_132: | |
7420 | setx 0x6b86c79dfe81a627, %g2, %g1 | |
7421 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7422 | sub %g1, 100, %g1 | |
7423 | .word 0xb1800001 ! 273: WR_STICK_REG_R wr %r0, %r1, %- | |
7424 | tagged_4_133: | |
7425 | taddcctv %r10, 0x15b9, %r21 | |
7426 | .word 0xda07edb6 ! 274: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
7427 | mondo_4_134: | |
7428 | nop | |
7429 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7430 | ||
7431 | stxa %r0, [%r0+0x3c8] %asi | |
7432 | .word 0x9d90c00b ! 275: WRPR_WSTATE_R wrpr %r3, %r11, %wstate | |
7433 | rd %pc, %r19 | |
7434 | add %r19, (ivw_4_135-.+8), %r19 | |
7435 | mov 0x38, %r18 | |
7436 | stxa %r19, [%r18]0x58 | |
7437 | ivw_4_135: | |
7438 | .word 0x91944002 ! 276: WRPR_PIL_R wrpr %r17, %r2, %pil | |
7439 | cwp_4_136: | |
7440 | set user_data_start, %o7 | |
7441 | .word 0x93902006 ! 277: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
7442 | tagged_4_137: | |
7443 | taddcctv %r19, 0x116d, %r7 | |
7444 | .word 0xda07edb6 ! 278: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
7445 | cwp_4_138: | |
7446 | set user_data_start, %o7 | |
7447 | .word 0x93902002 ! 279: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
7448 | otherw | |
7449 | mov 0x31, %r30 | |
7450 | .word 0x91d0001e ! 280: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
7451 | intveclr_4_139: | |
7452 | setx 0x09754e67138b7a8a, %r1, %r28 | |
7453 | stxa %r28, [%g0] 0x72 | |
7454 | .word 0x25400001 ! 281: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7455 | .word 0x93450000 ! 282: RD_SET_SOFTINT rd %set_softint, %r9 | |
7456 | splash_tba_4_140: | |
7457 | set 0x120000, %r12 | |
7458 | st %r1, [%r12+%r0] | |
7459 | ta T_CHANGE_PRIV | |
7460 | set 0x120000, %r12 | |
7461 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7462 | debug_4_141: | |
7463 | nop | |
7464 | mov 8, %r18 | |
7465 | ta T_CHANGE_HPRIV | |
7466 | rd %asi, %r12 | |
7467 | wr %r0, 0x41, %asi | |
7468 | set sync_thr_counter, %r23 | |
7469 | debug_startwait4_141: | |
7470 | mov 0x4, %r16 | |
7471 | cas [%r23],%g0,%r16 !lock | |
7472 | brz,a %r16, continue_debug_4_141 | |
7473 | nop | |
7474 | debug_wait4_141: | |
7475 | ld [%r23], %r16 | |
7476 | brnz %r16, debug_wait4_141 | |
7477 | nop | |
7478 | ba,a debug_startwait4_141 | |
7479 | continue_debug_4_141: | |
7480 | mov 0xe0, %r16 | |
7481 | ldxa [0x50]%asi, %r13 !Running_rw | |
7482 | ldxa [0x58]%asi, %r15 !Running_status | |
7483 | wait_for_stat_4_141: | |
7484 | cmp %r13, %r15 | |
7485 | bne,a wait_for_stat_4_141 | |
7486 | ldxa [0x58]%asi, %r15 !Running_status | |
7487 | stxa %r16, [0x68]%asi | |
7488 | ldxa [0x50]%asi, %r14 !Running_rw | |
7489 | wait_for_debug_4_141: | |
7490 | ldxa [0x58]%asi, %r15 !Running_status | |
7491 | cmp %r14, %r15 | |
7492 | bne,a wait_for_debug_4_141 | |
7493 | ldxa [0x50]%asi, %r14 !Running_rw | |
7494 | stxa %18, [%r18]0x42 | |
7495 | stxa %r13, [0x50] %asi ! Running_rw | |
7496 | st %g0, [%r23] !clear lock | |
7497 | wr %r0, %r12, %asi ! restore %asi | |
7498 | .word 0xe0f00492 ! 284: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
7499 | debug_4_142: | |
7500 | nop | |
7501 | rd %pc, %r19 | |
7502 | add %r19, (64+40), %r19 | |
7503 | mov 0x38, %r18 | |
7504 | .word 0xe6f00b12 ! 285: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7505 | .word 0xa1902001 ! 286: WRPR_GL_I wrpr %r0, 0x0001, %- | |
7506 | cwp_4_143: | |
7507 | set user_data_start, %o7 | |
7508 | .word 0x93902003 ! 287: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
7509 | .word 0x87902352 ! 288: WRPR_TT_I wrpr %r0, 0x0352, %tt | |
7510 | .word 0x91702b63 ! 289: POPC_I popc 0x0b63, %r8 | |
7511 | ta T_CHANGE_HPRIV | |
7512 | mov (4+1), %r10 | |
7513 | set sync_thr_counter1, %r23 | |
7514 | cas [%r23],%g0,%r10 !lock | |
7515 | brnz %r10, cwq_4_144 | |
7516 | rd %asi, %r12 | |
7517 | wr %g0, 0x40, %asi | |
7518 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7519 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7520 | cmp %l1, 1 | |
7521 | bne cwq_4_144 | |
7522 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7523 | sub %l2, 0x40, %l2 | |
7524 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7525 | wr %r12, %g0, %asi | |
7526 | st %g0, [%r23] | |
7527 | cwq_4_144: | |
7528 | ta T_CHANGE_NONHPRIV | |
7529 | .word 0xa5414000 ! 290: RDPC rd %pc, %r18 | |
7530 | ta T_CHANGE_HPRIV | |
7531 | mov (4+1), %r10 | |
7532 | set sync_thr_counter1, %r23 | |
7533 | cas [%r23],%g0,%r10 !lock | |
7534 | brnz %r10, cwq_4_145 | |
7535 | rd %asi, %r12 | |
7536 | wr %g0, 0x40, %asi | |
7537 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7538 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7539 | cmp %l1, 1 | |
7540 | bne cwq_4_145 | |
7541 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7542 | sub %l2, 0x40, %l2 | |
7543 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7544 | wr %r12, %g0, %asi | |
7545 | st %g0, [%r23] | |
7546 | cwq_4_145: | |
7547 | ta T_CHANGE_NONHPRIV | |
7548 | .word 0x99414000 ! 291: RDPC rd %pc, %r12 | |
7549 | invalw | |
7550 | mov 0x34, %r30 | |
7551 | .word 0x91d0001e ! 292: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
7552 | .word 0x93a0016a ! 293: FABSq dis not found | |
7553 | ||
7554 | splash_hpstate_4_146: | |
7555 | .word 0x81982d04 ! 294: WRHPR_HPSTATE_I wrhpr %r0, 0x0d04, %hpstate | |
7556 | mondo_4_147: | |
7557 | nop | |
7558 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7559 | ||
7560 | stxa %r20, [%r0+0x3d8] %asi | |
7561 | .word 0x9d940005 ! 295: WRPR_WSTATE_R wrpr %r16, %r5, %wstate | |
7562 | .word 0x81460000 ! 296: RD_STICK_REG stbar | |
7563 | .word 0x87902003 ! 297: WRPR_TT_I wrpr %r0, 0x0003, %tt | |
7564 | tagged_4_148: | |
7565 | tsubcctv %r4, 0x1fc6, %r8 | |
7566 | .word 0xda07e368 ! 298: LDUW_I lduw [%r31 + 0x0368], %r13 | |
7567 | splash_tba_4_149: | |
7568 | set 0x120000, %r12 | |
7569 | ld [%r12+%r0], %r1 | |
7570 | ta T_CHANGE_PRIV | |
7571 | set 0x120000, %r12 | |
7572 | .word 0x8b90000c ! 299: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7573 | .word 0xda6fe368 ! 300: LDSTUB_I ldstub %r13, [%r31 + 0x0368] | |
7574 | splash_cmpr_4_150: | |
7575 | setx 0xf5582fe5e118e232, %g2, %g1 | |
7576 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7577 | sub %g1, 100, %g1 | |
7578 | .word 0xb1800001 ! 301: WR_STICK_REG_R wr %r0, %r1, %- | |
7579 | .word 0xdabfe368 ! 302: STDA_I stda %r13, [%r31 + 0x0368] %asi | |
7580 | splash_tba_4_151: | |
7581 | set 0x120000, %r12 | |
7582 | ld [%r12+%r0], %r1 | |
7583 | ta T_CHANGE_PRIV | |
7584 | set 0x120000, %r12 | |
7585 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7586 | .word 0xa1a00162 ! 304: FABSq dis not found | |
7587 | ||
7588 | .word 0xda47e368 ! 305: LDSW_I ldsw [%r31 + 0x0368], %r13 | |
7589 | .word 0x8d903a00 ! 306: WRPR_PSTATE_I wrpr %r0, 0x1a00, %pstate | |
7590 | rd %pc, %r19 | |
7591 | add %r19, (ivw_4_152-.+40), %r19 | |
7592 | mov 0x38, %r18 | |
7593 | stxa %r19, [%r18]0x58 | |
7594 | ivw_4_152: | |
7595 | .word 0x91920001 ! 307: WRPR_PIL_R wrpr %r8, %r1, %pil | |
7596 | DS_4_153: | |
7597 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
7598 | .word 0x93a449c5 ! 1: FDIVd fdivd %f48, %f36, %f40 | |
7599 | normalw | |
7600 | .word 0x99458000 ! 308: RD_SOFTINT_REG rd %softint, %r12 | |
7601 | .word 0xd33fe368 ! 309: STDF_I std %f9, [0x0368, %r31] | |
7602 | .word 0x91d02034 ! 310: Tcc_I ta icc_or_xcc, %r0 + 52 | |
7603 | .word 0xa750c000 ! 311: RDPR_TT <illegal instruction> | |
7604 | mov (4+1), %r10 | |
7605 | ta T_CHANGE_HPRIV | |
7606 | set sync_thr_counter2, %r23 | |
7607 | cas [%r23],%g0,%r10 !lock | |
7608 | brnz %r10, sma_4_154 | |
7609 | rd %asi, %r12 | |
7610 | wr %g0, 0x40, %asi | |
7611 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
7612 | set 0x21fff, %g1 | |
7613 | stxa %g1, [%g0 + 0x80] %asi | |
7614 | wr %r12, %g0, %asi | |
7615 | st %g0, [%r23] | |
7616 | sma_4_154: | |
7617 | ta T_CHANGE_NONHPRIV | |
7618 | .word 0xd3e7e00d ! 312: CASA_R casa [%r31] %asi, %r13, %r9 | |
7619 | tagged_4_155: | |
7620 | taddcctv %r2, 0x1517, %r7 | |
7621 | .word 0xd207e368 ! 313: LDUW_I lduw [%r31 + 0x0368], %r9 | |
7622 | DS_4_156: | |
7623 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
7624 | .word 0xbfefc000 ! 314: RESTORE_R restore %r31, %r0, %r31 | |
7625 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
7626 | ta T_CHANGE_NONHPRIV ! macro | |
7627 | .word 0x976ae86a ! 315: SDIVX_I sdivx %r11, 0x086a, %r11 | |
7628 | .word 0xe8dfe010 ! 316: LDXA_I ldxa [%r31, + 0x0010] %asi, %r20 | |
7629 | nop | |
7630 | mov 0x80, %g3 | |
7631 | stxa %g3, [%g3] 0x57 | |
7632 | .word 0xe85fc000 ! 317: LDX_R ldx [%r31 + %r0], %r20 | |
7633 | debug_4_158: | |
7634 | nop | |
7635 | mov 0x38, %r18 | |
7636 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7637 | splash_htba_4_159: | |
7638 | set 0x00380000, %r12 | |
7639 | ld [%r12+%r0], %r1 | |
7640 | ta T_CHANGE_HPRIV | |
7641 | set 0x00380000, %r12 | |
7642 | .word 0x8b98000c ! 319: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
7643 | ta T_CHANGE_HPRIV | |
7644 | mov (4+1), %r10 | |
7645 | set sync_thr_counter1, %r23 | |
7646 | cas [%r23],%g0,%r10 !lock | |
7647 | brnz %r10, cwq_4_160 | |
7648 | rd %asi, %r12 | |
7649 | wr %g0, 0x40, %asi | |
7650 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7651 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7652 | cmp %l1, 1 | |
7653 | bne cwq_4_160 | |
7654 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7655 | sub %l2, 0x40, %l2 | |
7656 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7657 | wr %r12, %g0, %asi | |
7658 | st %g0, [%r23] | |
7659 | cwq_4_160: | |
7660 | ta T_CHANGE_NONHPRIV | |
7661 | .word 0x91414000 ! 320: RDPC rd %pc, %r8 | |
7662 | .word 0xe537c000 ! 321: STQF_R - %f18, [%r0, %r31] | |
7663 | .word 0x99464000 ! 322: RD_STICK_CMPR_REG rd %-, %r12 | |
7664 | .word 0x91d02033 ! 323: Tcc_I ta icc_or_xcc, %r0 + 51 | |
7665 | .word 0xab850002 ! 324: WR_CLEAR_SOFTINT_R wr %r20, %r2, %clear_softint | |
7666 | .word 0xd28804a0 ! 325: LDUBA_R lduba [%r0, %r0] 0x25, %r9 | |
7667 | splash_cmpr_4_161: | |
7668 | setx 0x69f73f6955f2d44d, %g2, %g1 | |
7669 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
7670 | sub %g1, 100, %g1 | |
7671 | .word 0xb1800001 ! 326: WR_STICK_REG_R wr %r0, %r1, %- | |
7672 | .word 0x99902001 ! 327: WRPR_CLEANWIN_I wrpr %r0, 0x0001, %cleanwin | |
7673 | DS_4_162: | |
7674 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
7675 | .word 0x975617b9 ! Random illegal ? | |
7676 | .word 0x9ba209c2 ! 1: FDIVd fdivd %f8, %f2, %f44 | |
7677 | .word 0x99a1c833 ! 328: FADDs fadds %f7, %f19, %f12 | |
7678 | .word 0x8d9033da ! 329: WRPR_PSTATE_I wrpr %r0, 0x13da, %pstate | |
7679 | nop | |
7680 | mov 0x80, %g3 | |
7681 | stxa %g3, [%g3] 0x57 | |
7682 | .word 0xd05fc000 ! 330: LDX_R ldx [%r31 + %r0], %r8 | |
7683 | .word 0xd08fe000 ! 331: LDUBA_I lduba [%r31, + 0x0000] %asi, %r8 | |
7684 | mondo_4_163: | |
7685 | nop | |
7686 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7687 | ||
7688 | stxa %r10, [%r0+0x3d0] %asi | |
7689 | .word 0x9d91800b ! 332: WRPR_WSTATE_R wrpr %r6, %r11, %wstate | |
7690 | .word 0x98837ae4 ! 333: ADDcc_I addcc %r13, 0xfffffae4, %r12 | |
7691 | invalw | |
7692 | mov 0x32, %r30 | |
7693 | .word 0x93d0001e ! 334: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
7694 | splash_hpstate_4_164: | |
7695 | .word 0x81982d5e ! 335: WRHPR_HPSTATE_I wrhpr %r0, 0x0d5e, %hpstate | |
7696 | tagged_4_165: | |
7697 | taddcctv %r16, 0x1342, %r7 | |
7698 | .word 0xda07fbd4 ! 336: LDUW_I lduw [%r31 + 0xfffffbd4], %r13 | |
7699 | .word 0xa1902005 ! 337: WRPR_GL_I wrpr %r0, 0x0005, %- | |
7700 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_166) + 32, 16, 16)) -> intp(7,0,26) | |
7701 | intvec_4_166: | |
7702 | .word 0x39400001 ! 338: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7703 | .word 0xa783400a ! 339: WR_GRAPHICS_STATUS_REG_R wr %r13, %r10, %- | |
7704 | splash_hpstate_4_168: | |
7705 | .word 0x819821f4 ! 340: WRHPR_HPSTATE_I wrhpr %r0, 0x01f4, %hpstate | |
7706 | DS_4_169: | |
7707 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
7708 | .word 0xbfefc000 ! 341: RESTORE_R restore %r31, %r0, %r31 | |
7709 | .word 0x8d903ea2 ! 342: WRPR_PSTATE_I wrpr %r0, 0x1ea2, %pstate | |
7710 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_170) + 24, 16, 16)) -> intp(4,0,12) | |
7711 | intvec_4_170: | |
7712 | .word 0x39400001 ! 343: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7713 | .word 0x8780208b ! 344: WRASI_I wr %r0, 0x008b, %asi | |
7714 | .word 0xa1902001 ! 345: WRPR_GL_I wrpr %r0, 0x0001, %- | |
7715 | splash_lsu_4_171: | |
7716 | setx 0x12f14dd3b3c9bb23, %r1, %r2 | |
7717 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7718 | .word 0x3d400001 ! 346: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7719 | cwp_4_172: | |
7720 | set user_data_start, %o7 | |
7721 | .word 0x93902004 ! 347: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
7722 | splash_cmpr_4_173: | |
7723 | setx 0x0c74122870e9f238, %g2, %g1 | |
7724 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
7725 | sub %g1, 100, %g1 | |
7726 | .word 0xb1800001 ! 348: WR_STICK_REG_R wr %r0, %r1, %- | |
7727 | .word 0xdac804a0 ! 349: LDSBA_R ldsba [%r0, %r0] 0x25, %r13 | |
7728 | .word 0x99520000 ! 350: RDPR_PIL <illegal instruction> | |
7729 | .word 0xd4c004a0 ! 351: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
7730 | donret_4_174: | |
7731 | nop | |
7732 | rd %pc, %r12 | |
7733 | add %r12, (donretarg_4_174-donret_4_174), %r12 | |
7734 | mov 0x38, %r18 | |
7735 | stxa %r12, [%r18]0x58 | |
7736 | add %r12, 0x4, %r11 | |
7737 | wrpr %g0, 0x3, %tl | |
7738 | wrpr %g0, %r12, %tpc | |
7739 | wrpr %g0, %r11, %tnpc | |
7740 | wrpr %g0, %r13, %tstate | |
7741 | wrhpr %g0, %r14, %htstate | |
7742 | retry | |
7743 | donretarg_4_174: | |
7744 | .word 0xd4fffbd4 ! 352: SWAPA_I swapa %r10, [%r31 + 0xfffffbd4] %asi | |
7745 | intveclr_4_175: | |
7746 | setx 0xc4fe28cb4a1a7198, %r1, %r28 | |
7747 | stxa %r28, [%g0] 0x72 | |
7748 | .word 0x25400001 ! 353: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7749 | DS_4_176: | |
7750 | nop | |
7751 | not %g0, %r12 | |
7752 | jmp %r12 | |
7753 | .word 0x9d902005 ! 354: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
7754 | cwp_4_177: | |
7755 | set user_data_start, %o7 | |
7756 | .word 0x93902001 ! 355: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
7757 | change_to_randtl_4_178: | |
7758 | ta T_CHANGE_PRIV ! macro | |
7759 | done_change_to_randtl_4_178: | |
7760 | .word 0x8f902000 ! 356: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
7761 | .word 0xd51fc000 ! 357: LDDF_R ldd [%r31, %r0], %f10 | |
7762 | .word 0x87802014 ! 358: WRASI_I wr %r0, 0x0014, %asi | |
7763 | .word 0xd4c804a0 ! 359: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
7764 | .word 0x91d02034 ! 360: Tcc_I ta icc_or_xcc, %r0 + 52 | |
7765 | .word 0xad82ae27 ! 361: WR_SOFTINT_REG_I wr %r10, 0x0e27, %softint | |
7766 | splash_htba_4_179: | |
7767 | set 0x80000, %r12 | |
7768 | ld [%r12+%r0], %r1 | |
7769 | ta T_CHANGE_HPRIV | |
7770 | set 0x80000, %r12 | |
7771 | .word 0x8b98000c ! 362: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
7772 | .word 0xd4c804a0 ! 363: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
7773 | nop | |
7774 | mov 0x80, %g3 | |
7775 | stxa %g3, [%g3] 0x57 | |
7776 | .word 0xd45fc000 ! 364: LDX_R ldx [%r31 + %r0], %r10 | |
7777 | memptr_4_180: | |
7778 | set user_data_start, %r31 | |
7779 | .word 0x8581f151 ! 365: WRCCR_I wr %r7, 0x1151, %ccr | |
7780 | debug_4_181: | |
7781 | nop | |
7782 | rd %pc, %r19 | |
7783 | add %r19, (64+8), %r19 | |
7784 | mov 0x38, %r18 | |
7785 | .word 0xe6f00b12 ! 366: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7786 | splash_tba_4_182: | |
7787 | set 0x120000, %r12 | |
7788 | st %r1, [%r12+%r0] | |
7789 | ta T_CHANGE_PRIV | |
7790 | set 0x120000, %r12 | |
7791 | .word 0x8b90000c ! 367: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7792 | splash_htba_4_183: | |
7793 | set 0x00380000, %r12 | |
7794 | ld [%r12+%r0], %r1 | |
7795 | ta T_CHANGE_HPRIV | |
7796 | set 0x00380000, %r12 | |
7797 | .word 0x8b98000c ! 368: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
7798 | .word 0xd4d804a0 ! 369: LDXA_R ldxa [%r0, %r0] 0x25, %r10 | |
7799 | debug_4_184: | |
7800 | nop | |
7801 | rd %pc, %r19 | |
7802 | add %r19, (64+32), %r19 | |
7803 | mov 0x38, %r18 | |
7804 | .word 0xe6f00b12 ! 370: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7805 | .word 0xd4c004a0 ! 371: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
7806 | .word 0xd4d00e60 ! 372: LDSHA_R ldsha [%r0, %r0] 0x73, %r10 | |
7807 | splash_lsu_4_185: | |
7808 | setx 0x3f6ab1d34917cd57, %r1, %r2 | |
7809 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7810 | .word 0x3d400001 ! 373: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7811 | .word 0xa190200d ! 374: WRPR_GL_I wrpr %r0, 0x000d, %- | |
7812 | nop | |
7813 | mov 0x80, %g3 | |
7814 | stxa %g3, [%g3] 0x57 | |
7815 | .word 0xd45fc000 ! 375: LDX_R ldx [%r31 + %r0], %r10 | |
7816 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_186) + 56, 16, 16)) -> intp(6,0,20) | |
7817 | intvec_4_186: | |
7818 | .word 0x39400001 ! 376: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7819 | .word 0x9f803d64 ! 377: SIR sir 0x1d64 | |
7820 | setx 0x0f1cc19668b0abd9, %r1, %r28 | |
7821 | stxa %r28, [%g0] 0x73 | |
7822 | intvec_4_187: | |
7823 | .word 0x39400001 ! 378: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7824 | invalw | |
7825 | mov 0x32, %r30 | |
7826 | .word 0x83d0001e ! 379: Tcc_R te icc_or_xcc, %r0 + %r30 | |
7827 | splash_hpstate_4_188: | |
7828 | .word 0x8198215c ! 380: WRHPR_HPSTATE_I wrhpr %r0, 0x015c, %hpstate | |
7829 | mov (4+1), %r10 | |
7830 | ta T_CHANGE_HPRIV | |
7831 | set sync_thr_counter2, %r23 | |
7832 | cas [%r23],%g0,%r10 !lock | |
7833 | brnz %r10, sma_4_189 | |
7834 | rd %asi, %r12 | |
7835 | wr %g0, 0x40, %asi | |
7836 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
7837 | set 0x21fff, %g1 | |
7838 | stxa %g1, [%g0 + 0x80] %asi | |
7839 | wr %r12, %g0, %asi | |
7840 | st %g0, [%r23] | |
7841 | sma_4_189: | |
7842 | ta T_CHANGE_NONHPRIV | |
7843 | .word 0xd5e7e008 ! 381: CASA_R casa [%r31] %asi, %r8, %r10 | |
7844 | debug_4_190: | |
7845 | nop | |
7846 | rd %pc, %r19 | |
7847 | add %r19, (64+16), %r19 | |
7848 | mov 0x38, %r18 | |
7849 | .word 0xe6f00b12 ! 382: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7850 | ta T_CHANGE_HPRIV | |
7851 | mov (4+1), %r10 | |
7852 | set sync_thr_counter1, %r23 | |
7853 | cas [%r23],%g0,%r10 !lock | |
7854 | brnz %r10, cwq_4_191 | |
7855 | rd %asi, %r12 | |
7856 | wr %g0, 0x40, %asi | |
7857 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7858 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7859 | cmp %l1, 1 | |
7860 | bne cwq_4_191 | |
7861 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7862 | sub %l2, 0x40, %l2 | |
7863 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7864 | wr %r12, %g0, %asi | |
7865 | st %g0, [%r23] | |
7866 | cwq_4_191: | |
7867 | ta T_CHANGE_NONHPRIV | |
7868 | .word 0x91414000 ! 383: RDPC rd %pc, %r8 | |
7869 | .word 0xd6c7e030 ! 384: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r11 | |
7870 | cwp_4_192: | |
7871 | set user_data_start, %o7 | |
7872 | .word 0x93902000 ! 385: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
7873 | .word 0xd6800b40 ! 386: LDUWA_R lduwa [%r0, %r0] 0x5a, %r11 | |
7874 | .word 0xd6ffc028 ! 387: SWAPA_R swapa %r11, [%r31 + %r8] 0x01 | |
7875 | mov (4+1), %r10 | |
7876 | ta T_CHANGE_HPRIV | |
7877 | set sync_thr_counter2, %r23 | |
7878 | cas [%r23],%g0,%r10 !lock | |
7879 | brnz %r10, sma_4_193 | |
7880 | rd %asi, %r12 | |
7881 | wr %g0, 0x40, %asi | |
7882 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
7883 | set 0x21fff, %g1 | |
7884 | stxa %g1, [%g0 + 0x80] %asi | |
7885 | wr %r12, %g0, %asi | |
7886 | st %g0, [%r23] | |
7887 | sma_4_193: | |
7888 | ta T_CHANGE_NONHPRIV | |
7889 | .word 0xd7e7e008 ! 388: CASA_R casa [%r31] %asi, %r8, %r11 | |
7890 | debug_4_194: | |
7891 | nop | |
7892 | mov 0x38, %r18 | |
7893 | .word 0xfef00b12 ! 389: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7894 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7895 | ta T_CHANGE_NONHPRIV ! macro | |
7896 | .word 0xa9a01974 ! 390: FqTOd dis not found | |
7897 | ||
7898 | splash_hpstate_4_196: | |
7899 | .word 0x819825cf ! 391: WRHPR_HPSTATE_I wrhpr %r0, 0x05cf, %hpstate | |
7900 | .word 0x8790233c ! 392: WRPR_TT_I wrpr %r0, 0x033c, %tt | |
7901 | setx 0x43baf33d6ccd5888, %r1, %r28 | |
7902 | stxa %r28, [%g0] 0x73 | |
7903 | intvec_4_197: | |
7904 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7905 | mondo_4_198: | |
7906 | nop | |
7907 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7908 | ||
7909 | stxa %r9, [%r0+0x3c0] %asi | |
7910 | .word 0x9d948013 ! 394: WRPR_WSTATE_R wrpr %r18, %r19, %wstate | |
7911 | .word 0x9ad2a489 ! 395: UMULcc_I umulcc %r10, 0x0489, %r13 | |
7912 | .word 0xda880e80 ! 396: LDUBA_R lduba [%r0, %r0] 0x74, %r13 | |
7913 | .word 0xa1a009ca ! 397: FDIVd fdivd %f0, %f10, %f16 | |
7914 | splash_cmpr_4_199: | |
7915 | setx 0x08ebacc40b40d039, %g2, %g1 | |
7916 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
7917 | sub %g1, 100, %g1 | |
7918 | .word 0xb1800001 ! 398: WR_STICK_REG_R wr %r0, %r1, %- | |
7919 | .word 0xa9a00543 ! 399: FSQRTd fsqrt | |
7920 | nop | |
7921 | mov 0x80, %g3 | |
7922 | stxa %g3, [%g3] 0x57 | |
7923 | .word 0xd05fc000 ! 400: LDX_R ldx [%r31 + %r0], %r8 | |
7924 | nop | |
7925 | nop | |
7926 | setx join_lbl_0_0, %g1, %g2 | |
7927 | jmp %g2 | |
7928 | nop | |
7929 | fork_lbl_0_4: | |
7930 | change_to_randtl_3_0: | |
7931 | ta T_CHANGE_PRIV ! macro | |
7932 | done_change_to_randtl_3_0: | |
7933 | .word 0xd8d7e020 ! 1: LDSHA_I ldsha [%r31, + 0x0020] %asi, %r12 | |
7934 | splash_cmpr_3_1: | |
7935 | setx 0x36177baa5286bc0c, %g2, %g1 | |
7936 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
7937 | sub %g1, 100, %g1 | |
7938 | .word 0xb1800001 ! 2: WR_STICK_REG_R wr %r0, %r1, %- | |
7939 | debug_3_2: | |
7940 | nop | |
7941 | mov 0x38, %r18 | |
7942 | .word 0xfef00b12 ! 3: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7943 | .word 0x87802020 ! 4: WRASI_I wr %r0, 0x0020, %asi | |
7944 | .word 0x87902392 ! 5: WRPR_TT_I wrpr %r0, 0x0392, %tt | |
7945 | debug_3_3: | |
7946 | nop | |
7947 | mov 8, %r18 | |
7948 | .word 0xe8f00492 ! 6: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
7949 | cwp_3_4: | |
7950 | set user_data_start, %o7 | |
7951 | .word 0x93902007 ! 7: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
7952 | .word 0x8d902418 ! 8: WRPR_PSTATE_I wrpr %r0, 0x0418, %pstate | |
7953 | splash_cmpr_3_5: | |
7954 | setx 0xd2780ab3c7db9470, %g2, %g1 | |
7955 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
7956 | sub %g1, 100, %g1 | |
7957 | .word 0xb1800001 ! 9: WR_STICK_REG_R wr %r0, %r1, %- | |
7958 | cwp_3_6: | |
7959 | set user_data_start, %o7 | |
7960 | .word 0x93902005 ! 10: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
7961 | splash_lsu_3_7: | |
7962 | setx 0xe4e1ecf416ea9aef, %r1, %r2 | |
7963 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7964 | .word 0x3d400001 ! 11: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7965 | debug_3_8: | |
7966 | nop | |
7967 | mov 0x38, %r18 | |
7968 | .word 0xfef00b12 ! 12: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7969 | .word 0x38800001 ! 13: BGU bgu,a <label_0x1> | |
7970 | .word 0xd86fe5b9 ! 14: LDSTUB_I ldstub %r12, [%r31 + 0x05b9] | |
7971 | .word 0x83d02034 ! 15: Tcc_I te icc_or_xcc, %r0 + 52 | |
7972 | .word 0x8d9036a2 ! 16: WRPR_PSTATE_I wrpr %r0, 0x16a2, %pstate | |
7973 | .word 0x30800001 ! 17: BA ba,a <label_0x1> | |
7974 | .word 0xa1902003 ! 18: WRPR_GL_I wrpr %r0, 0x0003, %- | |
7975 | otherw | |
7976 | mov 0x34, %r30 | |
7977 | .word 0x91d0001e ! 19: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
7978 | .word 0xd897e000 ! 20: LDUHA_I lduha [%r31, + 0x0000] %asi, %r12 | |
7979 | .word 0x8d903a1a ! 21: WRPR_PSTATE_I wrpr %r0, 0x1a1a, %pstate | |
7980 | .word 0x9b520000 ! 22: RDPR_PIL <illegal instruction> | |
7981 | DS_3_9: | |
7982 | .word 0x93a049c7 ! 1: FDIVd fdivd %f32, %f38, %f40 | |
7983 | .word 0xe930800a ! 1: STQF_R - %f20, [%r10, %r2] | |
7984 | normalw | |
7985 | .word 0x93458000 ! 23: RD_SOFTINT_REG rd %softint, %r9 | |
7986 | .word 0x879023ca ! 24: WRPR_TT_I wrpr %r0, 0x03ca, %tt | |
7987 | donret_3_10: | |
7988 | nop | |
7989 | rd %pc, %r12 | |
7990 | add %r12, (donretarg_3_10-donret_3_10), %r12 | |
7991 | mov 0x38, %r18 | |
7992 | stxa %r12, [%r18]0x58 | |
7993 | add %r12, 0x4, %r11 | |
7994 | wrpr %g0, 0x2, %tl | |
7995 | wrpr %g0, %r12, %tpc | |
7996 | wrpr %g0, %r11, %tnpc | |
7997 | wrpr %g0, %r13, %tstate | |
7998 | wrhpr %g0, %r14, %htstate | |
7999 | retry | |
8000 | donretarg_3_10: | |
8001 | .word 0xd4ffe5b9 ! 25: SWAPA_I swapa %r10, [%r31 + 0x05b9] %asi | |
8002 | .word 0x91d02035 ! 26: Tcc_I ta icc_or_xcc, %r0 + 53 | |
8003 | .word 0xd46fe5b9 ! 27: LDSTUB_I ldstub %r10, [%r31 + 0x05b9] | |
8004 | .word 0x99480000 ! 28: RDHPR_HPSTATE rdhpr %hpstate, %r12 | |
8005 | splash_htba_3_11: | |
8006 | set 0x80000, %r12 | |
8007 | ld [%r12+%r0], %r1 | |
8008 | ta T_CHANGE_HPRIV | |
8009 | set 0x80000, %r12 | |
8010 | .word 0x8b98000c ! 29: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
8011 | .word 0x8d9027b1 ! 30: WRPR_PSTATE_I wrpr %r0, 0x07b1, %pstate | |
8012 | splash_cmpr_3_12: | |
8013 | setx 0x329cf229dd77c048, %g2, %g1 | |
8014 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8015 | sub %g1, 100, %g1 | |
8016 | .word 0xb1800001 ! 31: WR_STICK_REG_R wr %r0, %r1, %- | |
8017 | nop | |
8018 | mov 0x80, %g3 | |
8019 | stxa %g3, [%g3] 0x57 | |
8020 | .word 0xe85fc000 ! 32: LDX_R ldx [%r31 + %r0], %r20 | |
8021 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8022 | ta T_CHANGE_NONHPRIV ! macro | |
8023 | .word 0xa76aeeba ! 33: SDIVX_I sdivx %r11, 0x0eba, %r19 | |
8024 | nop | |
8025 | mov 0x80, %g3 | |
8026 | stxa %g3, [%g3] 0x57 | |
8027 | .word 0xd45fc000 ! 34: LDX_R ldx [%r31 + %r0], %r10 | |
8028 | .word 0xd4c7e010 ! 35: LDSWA_I ldswa [%r31, + 0x0010] %asi, %r10 | |
8029 | invalw | |
8030 | mov 0x34, %r30 | |
8031 | .word 0x83d0001e ! 36: Tcc_R te icc_or_xcc, %r0 + %r30 | |
8032 | debug_3_14: | |
8033 | nop | |
8034 | mov 0x38, %r18 | |
8035 | .word 0xfef00b12 ! 37: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8036 | .word 0xd48804a0 ! 38: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
8037 | .word 0x91d02035 ! 39: Tcc_I ta icc_or_xcc, %r0 + 53 | |
8038 | .word 0xd45feeec ! 40: LDX_I ldx [%r31 + 0x0eec], %r10 | |
8039 | .word 0x83d020b3 ! 41: Tcc_I te icc_or_xcc, %r0 + 179 | |
8040 | DS_3_15: | |
8041 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
8042 | allclean | |
8043 | .word 0x97b10305 ! 42: ALIGNADDRESS alignaddr %r4, %r5, %r11 | |
8044 | debug_3_16: | |
8045 | nop | |
8046 | rd %pc, %r19 | |
8047 | add %r19, (64+48), %r19 | |
8048 | mov 0x38, %r18 | |
8049 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8050 | ta T_CHANGE_HPRIV | |
8051 | mov (3+1), %r10 | |
8052 | set sync_thr_counter1, %r23 | |
8053 | cas [%r23],%g0,%r10 !lock | |
8054 | brnz %r10, cwq_3_17 | |
8055 | rd %asi, %r12 | |
8056 | wr %g0, 0x40, %asi | |
8057 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8058 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8059 | cmp %l1, 1 | |
8060 | bne cwq_3_17 | |
8061 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8062 | sub %l2, 0x40, %l2 | |
8063 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8064 | wr %r12, %g0, %asi | |
8065 | st %g0, [%r23] | |
8066 | cwq_3_17: | |
8067 | ta T_CHANGE_NONHPRIV | |
8068 | .word 0xa5414000 ! 44: RDPC rd %pc, %r18 | |
8069 | invalw | |
8070 | mov 0xb0, %r30 | |
8071 | .word 0x93d0001e ! 45: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
8072 | .word 0xa9500000 ! 46: RDPR_TPC <illegal instruction> | |
8073 | invalw | |
8074 | mov 0x32, %r30 | |
8075 | .word 0x91d0001e ! 47: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8076 | .word 0x8d902b40 ! 48: WRPR_PSTATE_I wrpr %r0, 0x0b40, %pstate | |
8077 | .word 0xe6d7e030 ! 49: LDSHA_I ldsha [%r31, + 0x0030] %asi, %r19 | |
8078 | splash_cmpr_3_18: | |
8079 | setx 0x9c723cb9569ed475, %g2, %g1 | |
8080 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8081 | sub %g1, 100, %g1 | |
8082 | .word 0xb1800001 ! 50: WR_STICK_REG_R wr %r0, %r1, %- | |
8083 | cwp_3_19: | |
8084 | set user_data_start, %o7 | |
8085 | .word 0x93902001 ! 51: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
8086 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_20) + 0, 16, 16)) -> intp(4,0,30) | |
8087 | intvec_3_20: | |
8088 | .word 0x39400001 ! 52: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8089 | .word 0xe637eeec ! 53: STH_I sth %r19, [%r31 + 0x0eec] | |
8090 | memptr_3_21: | |
8091 | set user_data_start, %r31 | |
8092 | .word 0x8580adda ! 54: WRCCR_I wr %r2, 0x0dda, %ccr | |
8093 | splash_hpstate_3_22: | |
8094 | .word 0x81982c46 ! 55: WRHPR_HPSTATE_I wrhpr %r0, 0x0c46, %hpstate | |
8095 | .word 0xa0d9c00b ! 56: SMULcc_R smulcc %r7, %r11, %r16 | |
8096 | .word 0x97a049cb ! 57: FDIVd fdivd %f32, %f42, %f42 | |
8097 | memptr_3_23: | |
8098 | set 0x60740000, %r31 | |
8099 | .word 0x85816d18 ! 58: WRCCR_I wr %r5, 0x0d18, %ccr | |
8100 | .word 0xd4d004a0 ! 59: LDSHA_R ldsha [%r0, %r0] 0x25, %r10 | |
8101 | invalw | |
8102 | mov 0xb3, %r30 | |
8103 | .word 0x91d0001e ! 60: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8104 | splash_hpstate_3_24: | |
8105 | .word 0x81982067 ! 61: WRHPR_HPSTATE_I wrhpr %r0, 0x0067, %hpstate | |
8106 | change_to_randtl_3_25: | |
8107 | ta T_CHANGE_HPRIV ! macro | |
8108 | done_change_to_randtl_3_25: | |
8109 | .word 0x8f902001 ! 62: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8110 | .word 0x87802080 ! 63: WRASI_I wr %r0, 0x0080, %asi | |
8111 | tagged_3_26: | |
8112 | tsubcctv %r21, 0x1b43, %r2 | |
8113 | .word 0xd407ee0f ! 64: LDUW_I lduw [%r31 + 0x0e0f], %r10 | |
8114 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8115 | ta T_CHANGE_NONHPRIV ! macro | |
8116 | .word 0xa969bcf4 ! 65: SDIVX_I sdivx %r6, 0xfffffcf4, %r20 | |
8117 | .word 0x87802058 ! 66: WRASI_I wr %r0, 0x0058, %asi | |
8118 | memptr_3_28: | |
8119 | set 0x60540000, %r31 | |
8120 | .word 0x85826765 ! 67: WRCCR_I wr %r9, 0x0765, %ccr | |
8121 | setx 0x189312c8d236650f, %r1, %r28 | |
8122 | stxa %r28, [%g0] 0x73 | |
8123 | intvec_3_29: | |
8124 | .word 0x39400001 ! 68: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8125 | splash_cmpr_3_30: | |
8126 | setx 0xa7de39dbef451dd6, %g2, %g1 | |
8127 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8128 | sub %g1, 100, %g1 | |
8129 | .word 0xb1800001 ! 69: WR_STICK_REG_R wr %r0, %r1, %- | |
8130 | intveclr_3_31: | |
8131 | setx 0xa7975a267f3a72ec, %r1, %r28 | |
8132 | stxa %r28, [%g0] 0x72 | |
8133 | .word 0x25400001 ! 70: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8134 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_32) + 32, 16, 16)) -> intp(3,0,14) | |
8135 | intvec_3_32: | |
8136 | .word 0x39400001 ! 71: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8137 | .word 0xda6ffb07 ! 72: LDSTUB_I ldstub %r13, [%r31 + 0xfffffb07] | |
8138 | .word 0xdadfe010 ! 73: LDXA_I ldxa [%r31, + 0x0010] %asi, %r13 | |
8139 | .word 0xda27fb07 ! 74: STW_I stw %r13, [%r31 + 0xfffffb07] | |
8140 | donret_3_33: | |
8141 | nop | |
8142 | rd %pc, %r12 | |
8143 | add %r12, (donretarg_3_33-donret_3_33-4), %r12 | |
8144 | mov 0x38, %r18 | |
8145 | stxa %r12, [%r18]0x58 | |
8146 | add %r12, 0x4, %r11 | |
8147 | wrpr %g0, 0x3, %tl | |
8148 | wrpr %g0, %r12, %tpc | |
8149 | wrpr %g0, %r11, %tnpc | |
8150 | wrpr %g0, %r13, %tstate | |
8151 | wrhpr %g0, %r14, %htstate | |
8152 | done | |
8153 | donretarg_3_33: | |
8154 | .word 0xdafffb07 ! 75: SWAPA_I swapa %r13, [%r31 + 0xfffffb07] %asi | |
8155 | ta T_CHANGE_HPRIV | |
8156 | mov (3+1), %r10 | |
8157 | set sync_thr_counter1, %r23 | |
8158 | cas [%r23],%g0,%r10 !lock | |
8159 | brnz %r10, cwq_3_34 | |
8160 | rd %asi, %r12 | |
8161 | wr %g0, 0x40, %asi | |
8162 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8163 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8164 | cmp %l1, 1 | |
8165 | bne cwq_3_34 | |
8166 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8167 | sub %l2, 0x40, %l2 | |
8168 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8169 | wr %r12, %g0, %asi | |
8170 | st %g0, [%r23] | |
8171 | cwq_3_34: | |
8172 | ta T_CHANGE_NONHPRIV | |
8173 | .word 0xa3414000 ! 76: RDPC rd %pc, %r17 | |
8174 | otherw | |
8175 | mov 0x32, %r30 | |
8176 | .word 0x91d0001e ! 77: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8177 | .word 0x93540000 ! 78: RDPR_GL rdpr %-, %r9 | |
8178 | setx 0xfb490cb3f033504a, %r1, %r28 | |
8179 | stxa %r28, [%g0] 0x73 | |
8180 | intvec_3_35: | |
8181 | .word 0x39400001 ! 79: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8182 | .word 0xd4dfe020 ! 80: LDXA_I ldxa [%r31, + 0x0020] %asi, %r10 | |
8183 | DS_3_36: | |
8184 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
8185 | .word 0xbfe7c000 ! 81: SAVE_R save %r31, %r0, %r31 | |
8186 | nop | |
8187 | mov 0x80, %g3 | |
8188 | stxa %g3, [%g3] 0x5f | |
8189 | .word 0xd45fc000 ! 82: LDX_R ldx [%r31 + %r0], %r10 | |
8190 | splash_lsu_3_37: | |
8191 | setx 0x425afbbde53bffef, %r1, %r2 | |
8192 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8193 | .word 0x3d400001 ! 83: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8194 | .word 0x97500000 ! 84: RDPR_TPC <illegal instruction> | |
8195 | .word 0xa3450000 ! 85: RD_SET_SOFTINT rd %set_softint, %r17 | |
8196 | debug_3_38: | |
8197 | nop | |
8198 | mov 0x38, %r18 | |
8199 | .word 0xfef00b12 ! 86: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8200 | nop | |
8201 | mov 0x80, %g3 | |
8202 | stxa %g3, [%g3] 0x5f | |
8203 | .word 0xe25fc000 ! 87: LDX_R ldx [%r31 + %r0], %r17 | |
8204 | .word 0xa0faaf26 ! 88: SDIVcc_I sdivcc %r10, 0x0f26, %r16 | |
8205 | .word 0xab84ba4b ! 89: WR_CLEAR_SOFTINT_I wr %r18, 0x1a4b, %clear_softint | |
8206 | .word 0xd08804a0 ! 90: LDUBA_R lduba [%r0, %r0] 0x25, %r8 | |
8207 | debug_3_39: | |
8208 | nop | |
8209 | mov 8, %r18 | |
8210 | .word 0xe6f00492 ! 91: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
8211 | mov (3+1), %r10 | |
8212 | ta T_CHANGE_HPRIV | |
8213 | set sync_thr_counter2, %r23 | |
8214 | cas [%r23],%g0,%r10 !lock | |
8215 | brnz %r10, sma_3_40 | |
8216 | rd %asi, %r12 | |
8217 | wr %g0, 0x40, %asi | |
8218 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8219 | set 0x21fff, %g1 | |
8220 | stxa %g1, [%g0 + 0x80] %asi | |
8221 | wr %r12, %g0, %asi | |
8222 | st %g0, [%r23] | |
8223 | sma_3_40: | |
8224 | ta T_CHANGE_NONHPRIV | |
8225 | .word 0xd1e7e00b ! 92: CASA_R casa [%r31] %asi, %r11, %r8 | |
8226 | cwp_3_41: | |
8227 | set user_data_start, %o7 | |
8228 | .word 0x93902005 ! 93: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
8229 | .word 0xd13fc000 ! 94: STDF_R std %f8, [%r0, %r31] | |
8230 | .word 0x87902233 ! 95: WRPR_TT_I wrpr %r0, 0x0233, %tt | |
8231 | DS_3_42: | |
8232 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
8233 | .word 0xbfefc000 ! 96: RESTORE_R restore %r31, %r0, %r31 | |
8234 | change_to_randtl_3_43: | |
8235 | ta T_CHANGE_HPRIV ! macro | |
8236 | done_change_to_randtl_3_43: | |
8237 | .word 0x8f902003 ! 97: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
8238 | .word 0x9f80263f ! 98: SIR sir 0x063f | |
8239 | debug_3_44: | |
8240 | nop | |
8241 | mov 0x38, %r18 | |
8242 | .word 0xfef00b12 ! 99: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8243 | debug_3_45: | |
8244 | nop | |
8245 | mov 8, %r18 | |
8246 | .word 0xe6f00492 ! 100: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
8247 | .word 0x20800001 ! 101: BN bn,a <label_0x1> | |
8248 | change_to_randtl_3_46: | |
8249 | ta T_CHANGE_PRIV ! macro | |
8250 | done_change_to_randtl_3_46: | |
8251 | .word 0x8f902000 ! 102: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8252 | .word 0x9350c000 ! 103: RDPR_TT <illegal instruction> | |
8253 | .word 0x36800001 ! 104: BGE bge,a <label_0x1> | |
8254 | .word 0x879020b4 ! 105: WRPR_TT_I wrpr %r0, 0x00b4, %tt | |
8255 | .word 0x8d903881 ! 106: WRPR_PSTATE_I wrpr %r0, 0x1881, %pstate | |
8256 | splash_hpstate_3_47: | |
8257 | .word 0x819826c6 ! 107: WRHPR_HPSTATE_I wrhpr %r0, 0x06c6, %hpstate | |
8258 | invalw | |
8259 | mov 0xb3, %r30 | |
8260 | .word 0x91d0001e ! 108: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8261 | .word 0xd0d004a0 ! 109: LDSHA_R ldsha [%r0, %r0] 0x25, %r8 | |
8262 | ta T_CHANGE_HPRIV | |
8263 | mov (3+1), %r10 | |
8264 | set sync_thr_counter1, %r23 | |
8265 | cas [%r23],%g0,%r10 !lock | |
8266 | brnz %r10, cwq_3_48 | |
8267 | rd %asi, %r12 | |
8268 | wr %g0, 0x40, %asi | |
8269 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8270 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8271 | cmp %l1, 1 | |
8272 | bne cwq_3_48 | |
8273 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8274 | sub %l2, 0x40, %l2 | |
8275 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8276 | wr %r12, %g0, %asi | |
8277 | st %g0, [%r23] | |
8278 | cwq_3_48: | |
8279 | ta T_CHANGE_NONHPRIV | |
8280 | .word 0x91414000 ! 110: RDPC rd %pc, %r8 | |
8281 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8282 | ta T_CHANGE_NONHPRIV ! macro | |
8283 | .word 0x93a01973 ! 111: FqTOd dis not found | |
8284 | ||
8285 | invalw | |
8286 | mov 0x34, %r30 | |
8287 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8288 | invalw | |
8289 | mov 0x30, %r30 | |
8290 | .word 0x91d0001e ! 113: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8291 | .word 0xe2880e40 ! 114: LDUBA_R lduba [%r0, %r0] 0x72, %r17 | |
8292 | .word 0x8d9034ea ! 115: WRPR_PSTATE_I wrpr %r0, 0x14ea, %pstate | |
8293 | ta T_CHANGE_HPRIV | |
8294 | mov (3+1), %r10 | |
8295 | set sync_thr_counter1, %r23 | |
8296 | cas [%r23],%g0,%r10 !lock | |
8297 | brnz %r10, cwq_3_50 | |
8298 | rd %asi, %r12 | |
8299 | wr %g0, 0x40, %asi | |
8300 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8301 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8302 | cmp %l1, 1 | |
8303 | bne cwq_3_50 | |
8304 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8305 | sub %l2, 0x40, %l2 | |
8306 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8307 | wr %r12, %g0, %asi | |
8308 | st %g0, [%r23] | |
8309 | cwq_3_50: | |
8310 | ta T_CHANGE_NONHPRIV | |
8311 | .word 0x95414000 ! 116: RDPC rd %pc, %r10 | |
8312 | DS_3_51: | |
8313 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
8314 | .word 0xd7308002 ! 1: STQF_R - %f11, [%r2, %r2] | |
8315 | normalw | |
8316 | .word 0x95458000 ! 117: RD_SOFTINT_REG rd %softint, %r10 | |
8317 | .word 0x3a700001 ! 118: BPCC <illegal instruction> | |
8318 | splash_hpstate_3_52: | |
8319 | .word 0x81982d04 ! 119: WRHPR_HPSTATE_I wrhpr %r0, 0x0d04, %hpstate | |
8320 | .word 0xe6d00e80 ! 120: LDSHA_R ldsha [%r0, %r0] 0x74, %r19 | |
8321 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8322 | ta T_CHANGE_NONHPRIV ! macro | |
8323 | .word 0xa96ce2f7 ! 121: SDIVX_I sdivx %r19, 0x02f7, %r20 | |
8324 | .word 0x93540000 ! 122: RDPR_GL <illegal instruction> | |
8325 | DS_3_54: | |
8326 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
8327 | .word 0xbfefc000 ! 123: RESTORE_R restore %r31, %r0, %r31 | |
8328 | mov (3+1), %r10 | |
8329 | ta T_CHANGE_HPRIV | |
8330 | set sync_thr_counter2, %r23 | |
8331 | cas [%r23],%g0,%r10 !lock | |
8332 | brnz %r10, sma_3_55 | |
8333 | rd %asi, %r12 | |
8334 | wr %g0, 0x40, %asi | |
8335 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8336 | set 0x21fff, %g1 | |
8337 | stxa %g1, [%g0 + 0x80] %asi | |
8338 | wr %r12, %g0, %asi | |
8339 | st %g0, [%r23] | |
8340 | sma_3_55: | |
8341 | ta T_CHANGE_NONHPRIV | |
8342 | .word 0xe9e7e007 ! 124: CASA_R casa [%r31] %asi, %r7, %r20 | |
8343 | change_to_randtl_3_56: | |
8344 | ta T_CHANGE_PRIV ! macro | |
8345 | done_change_to_randtl_3_56: | |
8346 | .word 0x8f902000 ! 125: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8347 | .word 0xe88008a0 ! 126: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
8348 | .word 0xa6d4fa2d ! 127: UMULcc_I umulcc %r19, 0xfffffa2d, %r19 | |
8349 | splash_lsu_3_57: | |
8350 | setx 0x141e50f2a38b1267, %r1, %r2 | |
8351 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8352 | .word 0x3d400001 ! 128: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8353 | tagged_3_58: | |
8354 | tsubcctv %r11, 0x1e5b, %r4 | |
8355 | .word 0xd207ec1f ! 129: LDUW_I lduw [%r31 + 0x0c1f], %r9 | |
8356 | .word 0xd297e030 ! 130: LDUHA_I lduha [%r31, + 0x0030] %asi, %r9 | |
8357 | .word 0x9190f31e ! 131: WRPR_PIL_I wrpr %r3, 0x131e, %pil | |
8358 | setx 0x07f5dc271cad6290, %r1, %r28 | |
8359 | stxa %r28, [%g0] 0x73 | |
8360 | intvec_3_59: | |
8361 | .word 0x39400001 ! 132: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8362 | .word 0x87802058 ! 133: WRASI_I wr %r0, 0x0058, %asi | |
8363 | DS_3_60: | |
8364 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
8365 | .word 0xbfe7c000 ! 134: SAVE_R save %r31, %r0, %r31 | |
8366 | .word 0xd2800aa0 ! 135: LDUWA_R lduwa [%r0, %r0] 0x55, %r9 | |
8367 | memptr_3_61: | |
8368 | set 0x60740000, %r31 | |
8369 | .word 0x8582abfe ! 136: WRCCR_I wr %r10, 0x0bfe, %ccr | |
8370 | invalw | |
8371 | mov 0xb0, %r30 | |
8372 | .word 0x91d0001e ! 137: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8373 | mov (3+1), %r10 | |
8374 | ta T_CHANGE_HPRIV | |
8375 | set sync_thr_counter2, %r23 | |
8376 | cas [%r23],%g0,%r10 !lock | |
8377 | brnz %r10, sma_3_62 | |
8378 | rd %asi, %r12 | |
8379 | wr %g0, 0x40, %asi | |
8380 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8381 | set 0x21fff, %g1 | |
8382 | stxa %g1, [%g0 + 0x80] %asi | |
8383 | wr %r12, %g0, %asi | |
8384 | st %g0, [%r23] | |
8385 | sma_3_62: | |
8386 | ta T_CHANGE_NONHPRIV | |
8387 | .word 0xd3e7e007 ! 138: CASA_R casa [%r31] %asi, %r7, %r9 | |
8388 | .word 0x87802089 ! 139: WRASI_I wr %r0, 0x0089, %asi | |
8389 | change_to_randtl_3_63: | |
8390 | ta T_CHANGE_HPRIV ! macro | |
8391 | done_change_to_randtl_3_63: | |
8392 | .word 0x8f902000 ! 140: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8393 | invalw | |
8394 | mov 0xb3, %r30 | |
8395 | .word 0x91d0001e ! 141: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8396 | .word 0xd26feb9a ! 142: LDSTUB_I ldstub %r9, [%r31 + 0x0b9a] | |
8397 | .word 0x9553c000 ! 143: RDPR_FQ <illegal instruction> | |
8398 | .word 0xd6cfe000 ! 144: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r11 | |
8399 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8400 | ta T_CHANGE_NONPRIV ! macro | |
8401 | .word 0x99a01970 ! 145: FqTOd dis not found | |
8402 | ||
8403 | debug_3_65: | |
8404 | nop | |
8405 | mov 0x38, %r18 | |
8406 | .word 0xfef00b12 ! 146: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8407 | mov (3+1), %r10 | |
8408 | ta T_CHANGE_HPRIV | |
8409 | set sync_thr_counter2, %r23 | |
8410 | cas [%r23],%g0,%r10 !lock | |
8411 | brnz %r10, sma_3_66 | |
8412 | rd %asi, %r12 | |
8413 | wr %g0, 0x40, %asi | |
8414 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8415 | set 0x21fff, %g1 | |
8416 | stxa %g1, [%g0 + 0x80] %asi | |
8417 | wr %r12, %g0, %asi | |
8418 | st %g0, [%r23] | |
8419 | sma_3_66: | |
8420 | ta T_CHANGE_NONHPRIV | |
8421 | .word 0xe5e7e013 ! 147: CASA_R casa [%r31] %asi, %r19, %r18 | |
8422 | .word 0x9190b528 ! 148: WRPR_PIL_I wrpr %r2, 0x1528, %pil | |
8423 | DS_3_67: | |
8424 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
8425 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
8426 | .word 0xd9148014 ! 1: LDQF_R - [%r18, %r20], %f12 | |
8427 | .word 0x93a18827 ! 149: FADDs fadds %f6, %f7, %f9 | |
8428 | pmu_3_68: | |
8429 | nop | |
8430 | setx 0xfffff5b0fffff8d1, %g1, %g7 | |
8431 | .word 0xa3800007 ! 150: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
8432 | .word 0x38800001 ! 151: BGU bgu,a <label_0x1> | |
8433 | .word 0xe33fc000 ! 152: STDF_R std %f17, [%r0, %r31] | |
8434 | splash_cmpr_3_69: | |
8435 | setx 0x298f78e9a87900ed, %g2, %g1 | |
8436 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
8437 | sub %g1, 100, %g1 | |
8438 | .word 0xb1800001 ! 153: WR_STICK_REG_R wr %r0, %r1, %- | |
8439 | .word 0xa3450000 ! 154: RD_SET_SOFTINT rd %set_softint, %r17 | |
8440 | donret_3_70: | |
8441 | nop | |
8442 | rd %pc, %r12 | |
8443 | add %r12, (donretarg_3_70-donret_3_70), %r12 | |
8444 | mov 0x38, %r18 | |
8445 | stxa %r12, [%r18]0x58 | |
8446 | add %r12, 0x4, %r11 | |
8447 | wrpr %g0, 0x1, %tl | |
8448 | wrpr %g0, %r12, %tpc | |
8449 | wrpr %g0, %r11, %tnpc | |
8450 | wrpr %g0, %r13, %tstate | |
8451 | wrhpr %g0, %r14, %htstate | |
8452 | retry | |
8453 | donretarg_3_70: | |
8454 | .word 0xe4fff6c3 ! 155: SWAPA_I swapa %r18, [%r31 + 0xfffff6c3] %asi | |
8455 | pmu_3_71: | |
8456 | nop | |
8457 | setx 0xfffffe64fffffb11, %g1, %g7 | |
8458 | .word 0xa3800007 ! 156: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
8459 | splash_cmpr_3_72: | |
8460 | setx 0xc4cd43e2d8d72ded, %g2, %g1 | |
8461 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8462 | sub %g1, 100, %g1 | |
8463 | .word 0xb1800001 ! 157: WR_STICK_REG_R wr %r0, %r1, %- | |
8464 | .word 0x8d903508 ! 158: WRPR_PSTATE_I wrpr %r0, 0x1508, %pstate | |
8465 | .word 0xe48fe030 ! 159: LDUBA_I lduba [%r31, + 0x0030] %asi, %r18 | |
8466 | change_to_randtl_3_73: | |
8467 | ta T_CHANGE_HPRIV ! macro | |
8468 | done_change_to_randtl_3_73: | |
8469 | .word 0x8f902001 ! 160: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8470 | .word 0x91d02035 ! 161: Tcc_I ta icc_or_xcc, %r0 + 53 | |
8471 | splash_tba_3_74: | |
8472 | set 0x120000, %r12 | |
8473 | st %r1, [%r12+%r0] | |
8474 | ta T_CHANGE_PRIV | |
8475 | set 0x120000, %r12 | |
8476 | .word 0x8b90000c ! 162: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8477 | ta T_CHANGE_HPRIV | |
8478 | mov (3+1), %r10 | |
8479 | set sync_thr_counter1, %r23 | |
8480 | cas [%r23],%g0,%r10 !lock | |
8481 | brnz %r10, cwq_3_75 | |
8482 | rd %asi, %r12 | |
8483 | wr %g0, 0x40, %asi | |
8484 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8485 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8486 | cmp %l1, 1 | |
8487 | bne cwq_3_75 | |
8488 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8489 | sub %l2, 0x40, %l2 | |
8490 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8491 | wr %r12, %g0, %asi | |
8492 | st %g0, [%r23] | |
8493 | cwq_3_75: | |
8494 | ta T_CHANGE_NONHPRIV | |
8495 | .word 0x99414000 ! 163: RDPC rd %pc, %r12 | |
8496 | invalw | |
8497 | mov 0x32, %r30 | |
8498 | .word 0x91d0001e ! 164: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8499 | intveclr_3_76: | |
8500 | setx 0x06da3ddbc6db99c2, %r1, %r28 | |
8501 | stxa %r28, [%g0] 0x72 | |
8502 | .word 0x25400001 ! 165: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8503 | cwp_3_77: | |
8504 | set user_data_start, %o7 | |
8505 | .word 0x93902000 ! 166: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
8506 | .word 0xd68008a0 ! 167: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
8507 | ta T_CHANGE_HPRIV | |
8508 | mov (3+1), %r10 | |
8509 | set sync_thr_counter1, %r23 | |
8510 | cas [%r23],%g0,%r10 !lock | |
8511 | brnz %r10, cwq_3_78 | |
8512 | rd %asi, %r12 | |
8513 | wr %g0, 0x40, %asi | |
8514 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8515 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8516 | cmp %l1, 1 | |
8517 | bne cwq_3_78 | |
8518 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8519 | sub %l2, 0x40, %l2 | |
8520 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8521 | wr %r12, %g0, %asi | |
8522 | st %g0, [%r23] | |
8523 | cwq_3_78: | |
8524 | ta T_CHANGE_NONHPRIV | |
8525 | .word 0x93414000 ! 168: RDPC rd %pc, %r9 | |
8526 | .word 0xa6fc0011 ! 169: SDIVcc_R sdivcc %r16, %r17, %r19 | |
8527 | splash_cmpr_3_79: | |
8528 | setx 0xeebf250b708a4b00, %g2, %g1 | |
8529 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
8530 | sub %g1, 100, %g1 | |
8531 | .word 0xb1800001 ! 170: WR_STICK_REG_R wr %r0, %r1, %- | |
8532 | .word 0x91a00161 ! 171: FABSq dis not found | |
8533 | ||
8534 | .word 0xe097e000 ! 172: LDUHA_I lduha [%r31, + 0x0000] %asi, %r16 | |
8535 | mondo_3_80: | |
8536 | nop | |
8537 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8538 | ||
8539 | stxa %r11, [%r0+0x3d8] %asi | |
8540 | .word 0x9d94000d ! 173: WRPR_WSTATE_R wrpr %r16, %r13, %wstate | |
8541 | .word 0x87802014 ! 174: WRASI_I wr %r0, 0x0014, %asi | |
8542 | .word 0x93d020b3 ! 175: Tcc_I tne icc_or_xcc, %r0 + 179 | |
8543 | memptr_3_81: | |
8544 | set user_data_start, %r31 | |
8545 | .word 0x858422c9 ! 176: WRCCR_I wr %r16, 0x02c9, %ccr | |
8546 | nop | |
8547 | mov 0x80, %g3 | |
8548 | stxa %g3, [%g3] 0x57 | |
8549 | .word 0xe05fc000 ! 177: LDX_R ldx [%r31 + %r0], %r16 | |
8550 | .word 0xe0c804a0 ! 178: LDSBA_R ldsba [%r0, %r0] 0x25, %r16 | |
8551 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8552 | ta T_CHANGE_NONPRIV ! macro | |
8553 | .word 0xa36935da ! 179: SDIVX_I sdivx %r4, 0xfffff5da, %r17 | |
8554 | .word 0x97480000 ! 180: RDHPR_HPSTATE rdhpr %hpstate, %r11 | |
8555 | mov (3+1), %r10 | |
8556 | ta T_CHANGE_HPRIV | |
8557 | set sync_thr_counter2, %r23 | |
8558 | cas [%r23],%g0,%r10 !lock | |
8559 | brnz %r10, sma_3_83 | |
8560 | rd %asi, %r12 | |
8561 | wr %g0, 0x40, %asi | |
8562 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8563 | set 0x21fff, %g1 | |
8564 | stxa %g1, [%g0 + 0x80] %asi | |
8565 | wr %r12, %g0, %asi | |
8566 | st %g0, [%r23] | |
8567 | sma_3_83: | |
8568 | ta T_CHANGE_NONHPRIV | |
8569 | .word 0xd7e7e012 ! 181: CASA_R casa [%r31] %asi, %r18, %r11 | |
8570 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_84) + 48, 16, 16)) -> intp(5,0,13) | |
8571 | intvec_3_84: | |
8572 | .word 0x39400001 ! 182: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8573 | .word 0xd727c000 ! 183: STF_R st %f11, [%r0, %r31] | |
8574 | mondo_3_85: | |
8575 | nop | |
8576 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8577 | ||
8578 | stxa %r17, [%r0+0x3e0] %asi | |
8579 | .word 0x9d90400a ! 184: WRPR_WSTATE_R wrpr %r1, %r10, %wstate | |
8580 | splash_lsu_3_86: | |
8581 | setx 0x49505733aef2d27f, %r1, %r2 | |
8582 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8583 | .word 0x3d400001 ! 185: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8584 | .word 0xd6cfe000 ! 186: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r11 | |
8585 | debug_3_87: | |
8586 | nop | |
8587 | mov 8, %r18 | |
8588 | .word 0xe2f00492 ! 187: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
8589 | .word 0xd67ff8cc ! 188: SWAP_I swap %r11, [%r31 + 0xfffff8cc] | |
8590 | .word 0x8780201c ! 189: WRASI_I wr %r0, 0x001c, %asi | |
8591 | .word 0x99a1c9c8 ! 190: FDIVd fdivd %f38, %f8, %f12 | |
8592 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_88) + 16, 16, 16)) -> intp(6,0,6) | |
8593 | intvec_3_88: | |
8594 | .word 0x39400001 ! 191: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8595 | .word 0x87802004 ! 192: WRASI_I wr %r0, 0x0004, %asi | |
8596 | setx 0x4b2edd9059950867, %r1, %r28 | |
8597 | stxa %r28, [%g0] 0x73 | |
8598 | intvec_3_89: | |
8599 | .word 0x39400001 ! 193: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8600 | debug_3_90: | |
8601 | nop | |
8602 | mov 8, %r18 | |
8603 | .word 0xe6f00492 ! 194: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
8604 | splash_lsu_3_91: | |
8605 | setx 0xcdd97fa451e55fc5, %r1, %r2 | |
8606 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8607 | .word 0x3d400001 ! 195: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8608 | debug_3_92: | |
8609 | nop | |
8610 | mov 0x38, %r18 | |
8611 | .word 0xfef00b12 ! 196: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8612 | debug_3_93: | |
8613 | nop | |
8614 | mov 8, %r18 | |
8615 | .word 0xe8f00492 ! 197: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
8616 | debug_3_94: | |
8617 | nop | |
8618 | rd %pc, %r19 | |
8619 | add %r19, (64+24), %r19 | |
8620 | mov 0x38, %r18 | |
8621 | .word 0xe6f00b12 ! 198: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8622 | ta T_CHANGE_HPRIV | |
8623 | mov (3+1), %r10 | |
8624 | set sync_thr_counter1, %r23 | |
8625 | cas [%r23],%g0,%r10 !lock | |
8626 | brnz %r10, cwq_3_95 | |
8627 | rd %asi, %r12 | |
8628 | wr %g0, 0x40, %asi | |
8629 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8630 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8631 | cmp %l1, 1 | |
8632 | bne cwq_3_95 | |
8633 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8634 | sub %l2, 0x40, %l2 | |
8635 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8636 | wr %r12, %g0, %asi | |
8637 | st %g0, [%r23] | |
8638 | cwq_3_95: | |
8639 | ta T_CHANGE_NONHPRIV | |
8640 | .word 0xa5414000 ! 199: RDPC rd %pc, %r18 | |
8641 | .word 0xe07ff8cc ! 200: SWAP_I swap %r16, [%r31 + 0xfffff8cc] | |
8642 | .word 0x8d903622 ! 201: WRPR_PSTATE_I wrpr %r0, 0x1622, %pstate | |
8643 | tagged_3_96: | |
8644 | tsubcctv %r8, 0x1757, %r6 | |
8645 | .word 0xe007f8cc ! 202: LDUW_I lduw [%r31 + 0xfffff8cc], %r16 | |
8646 | mondo_3_97: | |
8647 | nop | |
8648 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8649 | ||
8650 | stxa %r17, [%r0+0x3e8] %asi | |
8651 | .word 0x9d94000a ! 203: WRPR_WSTATE_R wrpr %r16, %r10, %wstate | |
8652 | .word 0x91a489d2 ! 204: FDIVd fdivd %f18, %f18, %f8 | |
8653 | .word 0x8d903715 ! 205: WRPR_PSTATE_I wrpr %r0, 0x1715, %pstate | |
8654 | splash_lsu_3_98: | |
8655 | setx 0x26622a2c297c14b1, %r1, %r2 | |
8656 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8657 | .word 0x3d400001 ! 206: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8658 | .word 0x98d4791e ! 207: UMULcc_I umulcc %r17, 0xfffff91e, %r12 | |
8659 | .word 0xad812afb ! 208: WR_SOFTINT_REG_I wr %r4, 0x0afb, %softint | |
8660 | .word 0x93a509cd ! 209: FDIVd fdivd %f20, %f44, %f40 | |
8661 | .word 0x97a00170 ! 210: FABSq dis not found | |
8662 | ||
8663 | .word 0x87802083 ! 211: WRASI_I wr %r0, 0x0083, %asi | |
8664 | debug_3_99: | |
8665 | nop | |
8666 | mov 8, %r18 | |
8667 | .word 0xdaf00492 ! 212: STXA_R stxa %r13, [%r0 + %r18] 0x24 | |
8668 | mov (3+1), %r10 | |
8669 | ta T_CHANGE_HPRIV | |
8670 | set sync_thr_counter2, %r23 | |
8671 | cas [%r23],%g0,%r10 !lock | |
8672 | brnz %r10, sma_3_100 | |
8673 | rd %asi, %r12 | |
8674 | wr %g0, 0x40, %asi | |
8675 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8676 | set 0x21fff, %g1 | |
8677 | stxa %g1, [%g0 + 0x80] %asi | |
8678 | wr %r12, %g0, %asi | |
8679 | st %g0, [%r23] | |
8680 | sma_3_100: | |
8681 | ta T_CHANGE_NONHPRIV | |
8682 | .word 0xe5e7e00b ! 213: CASA_R casa [%r31] %asi, %r11, %r18 | |
8683 | splash_tba_3_101: | |
8684 | set 0x120000, %r12 | |
8685 | ld [%r12+%r0], %r1 | |
8686 | ta T_CHANGE_PRIV | |
8687 | set 0x120000, %r12 | |
8688 | .word 0x8b90000c ! 214: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8689 | nop | |
8690 | mov 0x80, %g3 | |
8691 | stxa %g3, [%g3] 0x57 | |
8692 | .word 0xe45fc000 ! 215: LDX_R ldx [%r31 + %r0], %r18 | |
8693 | splash_cmpr_3_102: | |
8694 | setx 0x799963d57c6325de, %g2, %g1 | |
8695 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8696 | sub %g1, 100, %g1 | |
8697 | .word 0xb1800001 ! 216: WR_STICK_REG_R wr %r0, %r1, %- | |
8698 | .word 0x81460000 ! 217: RD_STICK_REG stbar | |
8699 | .word 0xe4900e40 ! 218: LDUHA_R lduha [%r0, %r0] 0x72, %r18 | |
8700 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8701 | ta T_CHANGE_NONHPRIV ! macro | |
8702 | .word 0x93a01970 ! 219: FqTOd dis not found | |
8703 | ||
8704 | tagged_3_104: | |
8705 | tsubcctv %r2, 0x1eff, %r12 | |
8706 | .word 0xe807e50d ! 220: LDUW_I lduw [%r31 + 0x050d], %r20 | |
8707 | .word 0x919263cd ! 221: WRPR_PIL_I wrpr %r9, 0x03cd, %pil | |
8708 | pmu_3_105: | |
8709 | nop | |
8710 | setx 0xffffff17fffff80c, %g1, %g7 | |
8711 | .word 0xa3800007 ! 222: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
8712 | intveclr_3_106: | |
8713 | setx 0xef7b41d0bf4741f2, %r1, %r28 | |
8714 | stxa %r28, [%g0] 0x72 | |
8715 | .word 0x25400001 ! 223: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8716 | nop | |
8717 | mov 0x80, %g3 | |
8718 | stxa %g3, [%g3] 0x5f | |
8719 | .word 0xe85fc000 ! 224: LDX_R ldx [%r31 + %r0], %r20 | |
8720 | otherw | |
8721 | mov 0xb1, %r30 | |
8722 | .word 0x91d0001e ! 225: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8723 | .word 0xe83fe48b ! 226: STD_I std %r20, [%r31 + 0x048b] | |
8724 | .word 0x8d802004 ! 227: WRFPRS_I wr %r0, 0x0004, %fprs | |
8725 | .word 0x95702015 ! 228: POPC_I popc 0x0015, %r10 | |
8726 | splash_hpstate_3_107: | |
8727 | .word 0x81982ecc ! 229: WRHPR_HPSTATE_I wrhpr %r0, 0x0ecc, %hpstate | |
8728 | mov (3+1), %r10 | |
8729 | ta T_CHANGE_HPRIV | |
8730 | set sync_thr_counter2, %r23 | |
8731 | cas [%r23],%g0,%r10 !lock | |
8732 | brnz %r10, sma_3_108 | |
8733 | rd %asi, %r12 | |
8734 | wr %g0, 0x40, %asi | |
8735 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8736 | set 0x21fff, %g1 | |
8737 | stxa %g1, [%g0 + 0x80] %asi | |
8738 | wr %r12, %g0, %asi | |
8739 | st %g0, [%r23] | |
8740 | sma_3_108: | |
8741 | ta T_CHANGE_NONHPRIV | |
8742 | .word 0xd1e7e003 ! 230: CASA_R casa [%r31] %asi, %r3, %r8 | |
8743 | .word 0x91480000 ! 231: RDHPR_HPSTATE rdhpr %hpstate, %r8 | |
8744 | splash_htba_3_109: | |
8745 | set 0x80000, %r12 | |
8746 | ld [%r12+%r0], %r1 | |
8747 | ta T_CHANGE_HPRIV | |
8748 | set 0x80000, %r12 | |
8749 | .word 0x8b98000c ! 232: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
8750 | .word 0x8d903f62 ! 233: WRPR_PSTATE_I wrpr %r0, 0x1f62, %pstate | |
8751 | debug_3_110: | |
8752 | nop | |
8753 | mov 0x38, %r18 | |
8754 | .word 0xfef00b12 ! 234: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8755 | tagged_3_111: | |
8756 | taddcctv %r7, 0x10d8, %r6 | |
8757 | .word 0xd607f25b ! 235: LDUW_I lduw [%r31 + 0xfffff25b], %r11 | |
8758 | cwp_3_112: | |
8759 | set user_data_start, %o7 | |
8760 | .word 0x93902003 ! 236: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
8761 | splash_cmpr_3_113: | |
8762 | setx 0x1785eb60ffa80f27, %g2, %g1 | |
8763 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
8764 | sub %g1, 100, %g1 | |
8765 | .word 0xb1800001 ! 237: WR_STICK_REG_R wr %r0, %r1, %- | |
8766 | .word 0xd677c000 ! 238: STX_R stx %r11, [%r31 + %r0] | |
8767 | .word 0xa9800008 ! 239: WR_SET_SOFTINT_R wr %r0, %r8, %set_softint | |
8768 | memptr_3_114: | |
8769 | set user_data_start, %r31 | |
8770 | .word 0x8581e8cd ! 240: WRCCR_I wr %r7, 0x08cd, %ccr | |
8771 | debug_3_115: | |
8772 | nop | |
8773 | rd %pc, %r19 | |
8774 | add %r19, (64+0), %r19 | |
8775 | mov 0x38, %r18 | |
8776 | .word 0xe6f00b12 ! 241: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8777 | invalw | |
8778 | mov 0xb1, %r30 | |
8779 | .word 0x91d0001e ! 242: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8780 | intveclr_3_116: | |
8781 | setx 0x11c221b49a2bc217, %r1, %r28 | |
8782 | stxa %r28, [%g0] 0x72 | |
8783 | .word 0x25400001 ! 243: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8784 | .word 0x9f802f39 ! 244: SIR sir 0x0f39 | |
8785 | .word 0xab848005 ! 245: WR_CLEAR_SOFTINT_R wr %r18, %r5, %clear_softint | |
8786 | tagged_3_117: | |
8787 | taddcctv %r5, 0x11b2, %r13 | |
8788 | .word 0xd607fea4 ! 246: LDUW_I lduw [%r31 + 0xfffffea4], %r11 | |
8789 | debug_3_118: | |
8790 | nop | |
8791 | rd %pc, %r19 | |
8792 | add %r19, (64+40), %r19 | |
8793 | mov 0x38, %r18 | |
8794 | .word 0xe6f00b12 ! 247: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8795 | mondo_3_119: | |
8796 | nop | |
8797 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8798 | ||
8799 | stxa %r10, [%r0+0x3c0] %asi | |
8800 | .word 0x9d94c013 ! 248: WRPR_WSTATE_R wrpr %r19, %r19, %wstate | |
8801 | .word 0x9b500000 ! 249: RDPR_TPC <illegal instruction> | |
8802 | tagged_3_120: | |
8803 | tsubcctv %r8, 0x167d, %r14 | |
8804 | .word 0xd807fea4 ! 250: LDUW_I lduw [%r31 + 0xfffffea4], %r12 | |
8805 | .word 0x9ba00165 ! 251: FABSq dis not found | |
8806 | ||
8807 | .word 0xd6c00e80 ! 252: LDSWA_R ldswa [%r0, %r0] 0x74, %r11 | |
8808 | splash_lsu_3_121: | |
8809 | setx 0x5d7386de519b793f, %r1, %r2 | |
8810 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8811 | .word 0x3d400001 ! 253: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8812 | memptr_3_122: | |
8813 | set 0x60740000, %r31 | |
8814 | .word 0x8581e69f ! 254: WRCCR_I wr %r7, 0x069f, %ccr | |
8815 | nop | |
8816 | mov 0x80, %g3 | |
8817 | stxa %g3, [%g3] 0x5f | |
8818 | .word 0xd65fc000 ! 255: LDX_R ldx [%r31 + %r0], %r11 | |
8819 | .word 0xd6d7e000 ! 256: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r11 | |
8820 | splash_cmpr_3_123: | |
8821 | setx 0xf1e5c6d291eef8b5, %g2, %g1 | |
8822 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
8823 | sub %g1, 100, %g1 | |
8824 | .word 0xb1800001 ! 257: WR_STICK_REG_R wr %r0, %r1, %- | |
8825 | invalw | |
8826 | mov 0xb5, %r30 | |
8827 | .word 0x83d0001e ! 258: Tcc_R te icc_or_xcc, %r0 + %r30 | |
8828 | .word 0x9b500000 ! 259: RDPR_TPC <illegal instruction> | |
8829 | mov (3+1), %r10 | |
8830 | ta T_CHANGE_HPRIV | |
8831 | set sync_thr_counter2, %r23 | |
8832 | cas [%r23],%g0,%r10 !lock | |
8833 | brnz %r10, sma_3_124 | |
8834 | rd %asi, %r12 | |
8835 | wr %g0, 0x40, %asi | |
8836 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8837 | set 0x21fff, %g1 | |
8838 | stxa %g1, [%g0 + 0x80] %asi | |
8839 | wr %r12, %g0, %asi | |
8840 | st %g0, [%r23] | |
8841 | sma_3_124: | |
8842 | ta T_CHANGE_NONHPRIV | |
8843 | .word 0xe3e7e005 ! 260: CASA_R casa [%r31] %asi, %r5, %r17 | |
8844 | nop | |
8845 | mov 0x80, %g3 | |
8846 | stxa %g3, [%g3] 0x57 | |
8847 | .word 0xe25fc000 ! 261: LDX_R ldx [%r31 + %r0], %r17 | |
8848 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8849 | ta T_CHANGE_NONHPRIV ! macro | |
8850 | .word 0x93a01964 ! 262: FqTOd dis not found | |
8851 | ||
8852 | .word 0x8d903dd3 ! 263: WRPR_PSTATE_I wrpr %r0, 0x1dd3, %pstate | |
8853 | DS_3_126: | |
8854 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
8855 | .word 0x87560074 ! Random illegal ? | |
8856 | .word 0xa7a0054b ! 1: FSQRTd fsqrt | |
8857 | .word 0x9ba2c833 ! 264: FADDs fadds %f11, %f19, %f13 | |
8858 | .word 0xd6800b60 ! 265: LDUWA_R lduwa [%r0, %r0] 0x5b, %r11 | |
8859 | intveclr_3_127: | |
8860 | setx 0x55a671b2748fa7cc, %r1, %r28 | |
8861 | stxa %r28, [%g0] 0x72 | |
8862 | .word 0x25400001 ! 266: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8863 | .word 0x97520000 ! 267: RDPR_PIL rdpr %pil, %r11 | |
8864 | .word 0xab82c006 ! 268: WR_CLEAR_SOFTINT_R wr %r11, %r6, %clear_softint | |
8865 | splash_cmpr_3_128: | |
8866 | setx 0xd19a4b2686a24e3e, %g2, %g1 | |
8867 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8868 | sub %g1, 100, %g1 | |
8869 | .word 0xb1800001 ! 269: WR_STICK_REG_R wr %r0, %r1, %- | |
8870 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8871 | ta T_CHANGE_NONHPRIV ! macro | |
8872 | .word 0x97a01962 ! 270: FqTOd dis not found | |
8873 | ||
8874 | splash_cmpr_3_130: | |
8875 | setx 0x6f198b9416f9006f, %g2, %g1 | |
8876 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8877 | sub %g1, 100, %g1 | |
8878 | .word 0xb1800001 ! 271: WR_STICK_REG_R wr %r0, %r1, %- | |
8879 | ta T_CHANGE_HPRIV | |
8880 | mov (3+1), %r10 | |
8881 | set sync_thr_counter1, %r23 | |
8882 | cas [%r23],%g0,%r10 !lock | |
8883 | brnz %r10, cwq_3_131 | |
8884 | rd %asi, %r12 | |
8885 | wr %g0, 0x40, %asi | |
8886 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8887 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8888 | cmp %l1, 1 | |
8889 | bne cwq_3_131 | |
8890 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8891 | sub %l2, 0x40, %l2 | |
8892 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8893 | wr %r12, %g0, %asi | |
8894 | st %g0, [%r23] | |
8895 | cwq_3_131: | |
8896 | ta T_CHANGE_NONHPRIV | |
8897 | .word 0x99414000 ! 272: RDPC rd %pc, %r12 | |
8898 | splash_cmpr_3_132: | |
8899 | setx 0x1ce1579e11022652, %g2, %g1 | |
8900 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8901 | sub %g1, 100, %g1 | |
8902 | .word 0xb1800001 ! 273: WR_STICK_REG_R wr %r0, %r1, %- | |
8903 | tagged_3_133: | |
8904 | taddcctv %r23, 0x1af8, %r4 | |
8905 | .word 0xda07edb6 ! 274: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
8906 | mondo_3_134: | |
8907 | nop | |
8908 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8909 | ||
8910 | stxa %r6, [%r0+0x3c8] %asi | |
8911 | .word 0x9d918007 ! 275: WRPR_WSTATE_R wrpr %r6, %r7, %wstate | |
8912 | rd %pc, %r19 | |
8913 | add %r19, (ivw_3_135-.+40), %r19 | |
8914 | mov 0x38, %r18 | |
8915 | stxa %r19, [%r18]0x58 | |
8916 | ivw_3_135: | |
8917 | .word 0x9190c009 ! 276: WRPR_PIL_R wrpr %r3, %r9, %pil | |
8918 | cwp_3_136: | |
8919 | set user_data_start, %o7 | |
8920 | .word 0x93902004 ! 277: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
8921 | tagged_3_137: | |
8922 | taddcctv %r18, 0x19c4, %r2 | |
8923 | .word 0xda07edb6 ! 278: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
8924 | cwp_3_138: | |
8925 | set user_data_start, %o7 | |
8926 | .word 0x93902005 ! 279: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
8927 | otherw | |
8928 | mov 0x34, %r30 | |
8929 | .word 0x91d0001e ! 280: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8930 | intveclr_3_139: | |
8931 | setx 0xbe891bad45139b93, %r1, %r28 | |
8932 | stxa %r28, [%g0] 0x72 | |
8933 | .word 0x25400001 ! 281: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8934 | .word 0x9b450000 ! 282: RD_SET_SOFTINT rd %set_softint, %r13 | |
8935 | splash_tba_3_140: | |
8936 | set 0x120000, %r12 | |
8937 | st %r1, [%r12+%r0] | |
8938 | ta T_CHANGE_PRIV | |
8939 | set 0x120000, %r12 | |
8940 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8941 | debug_3_141: | |
8942 | nop | |
8943 | mov 8, %r18 | |
8944 | .word 0xd2f00492 ! 284: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
8945 | debug_3_142: | |
8946 | nop | |
8947 | rd %pc, %r19 | |
8948 | add %r19, (64+16), %r19 | |
8949 | mov 0x38, %r18 | |
8950 | .word 0xe6f00b12 ! 285: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8951 | .word 0xa1902005 ! 286: WRPR_GL_I wrpr %r0, 0x0005, %- | |
8952 | cwp_3_143: | |
8953 | set user_data_start, %o7 | |
8954 | .word 0x93902003 ! 287: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
8955 | .word 0x879023ba ! 288: WRPR_TT_I wrpr %r0, 0x03ba, %tt | |
8956 | .word 0xa7702905 ! 289: POPC_I popc 0x0905, %r19 | |
8957 | ta T_CHANGE_HPRIV | |
8958 | mov (3+1), %r10 | |
8959 | set sync_thr_counter1, %r23 | |
8960 | cas [%r23],%g0,%r10 !lock | |
8961 | brnz %r10, cwq_3_144 | |
8962 | rd %asi, %r12 | |
8963 | wr %g0, 0x40, %asi | |
8964 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8965 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8966 | cmp %l1, 1 | |
8967 | bne cwq_3_144 | |
8968 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8969 | sub %l2, 0x40, %l2 | |
8970 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8971 | wr %r12, %g0, %asi | |
8972 | st %g0, [%r23] | |
8973 | cwq_3_144: | |
8974 | ta T_CHANGE_NONHPRIV | |
8975 | .word 0x91414000 ! 290: RDPC rd %pc, %r8 | |
8976 | ta T_CHANGE_HPRIV | |
8977 | mov (3+1), %r10 | |
8978 | set sync_thr_counter1, %r23 | |
8979 | cas [%r23],%g0,%r10 !lock | |
8980 | brnz %r10, cwq_3_145 | |
8981 | rd %asi, %r12 | |
8982 | wr %g0, 0x40, %asi | |
8983 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8984 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8985 | cmp %l1, 1 | |
8986 | bne cwq_3_145 | |
8987 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8988 | sub %l2, 0x40, %l2 | |
8989 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8990 | wr %r12, %g0, %asi | |
8991 | st %g0, [%r23] | |
8992 | cwq_3_145: | |
8993 | ta T_CHANGE_NONHPRIV | |
8994 | .word 0x9b414000 ! 291: RDPC rd %pc, %r13 | |
8995 | invalw | |
8996 | mov 0x34, %r30 | |
8997 | .word 0x91d0001e ! 292: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8998 | .word 0x99a00173 ! 293: FABSq dis not found | |
8999 | ||
9000 | splash_hpstate_3_146: | |
9001 | .word 0x819823c4 ! 294: WRHPR_HPSTATE_I wrhpr %r0, 0x03c4, %hpstate | |
9002 | mondo_3_147: | |
9003 | nop | |
9004 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9005 | ||
9006 | stxa %r18, [%r0+0x3c0] %asi | |
9007 | .word 0x9d94800d ! 295: WRPR_WSTATE_R wrpr %r18, %r13, %wstate | |
9008 | .word 0x81460000 ! 296: RD_STICK_REG stbar | |
9009 | .word 0x879022d0 ! 297: WRPR_TT_I wrpr %r0, 0x02d0, %tt | |
9010 | tagged_3_148: | |
9011 | tsubcctv %r10, 0x167d, %r15 | |
9012 | .word 0xda07e368 ! 298: LDUW_I lduw [%r31 + 0x0368], %r13 | |
9013 | splash_tba_3_149: | |
9014 | set 0x120000, %r12 | |
9015 | ld [%r12+%r0], %r1 | |
9016 | ta T_CHANGE_PRIV | |
9017 | set 0x120000, %r12 | |
9018 | .word 0x8b90000c ! 299: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9019 | .word 0xda6fe368 ! 300: LDSTUB_I ldstub %r13, [%r31 + 0x0368] | |
9020 | splash_cmpr_3_150: | |
9021 | setx 0x486a7197e00283bc, %g2, %g1 | |
9022 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9023 | sub %g1, 100, %g1 | |
9024 | .word 0xb1800001 ! 301: WR_STICK_REG_R wr %r0, %r1, %- | |
9025 | .word 0xdabfe368 ! 302: STDA_I stda %r13, [%r31 + 0x0368] %asi | |
9026 | splash_tba_3_151: | |
9027 | set 0x120000, %r12 | |
9028 | ld [%r12+%r0], %r1 | |
9029 | ta T_CHANGE_PRIV | |
9030 | set 0x120000, %r12 | |
9031 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9032 | .word 0xa5a00165 ! 304: FABSq dis not found | |
9033 | ||
9034 | .word 0xda47e368 ! 305: LDSW_I ldsw [%r31 + 0x0368], %r13 | |
9035 | .word 0x8d903355 ! 306: WRPR_PSTATE_I wrpr %r0, 0x1355, %pstate | |
9036 | rd %pc, %r19 | |
9037 | add %r19, (ivw_3_152-.+16), %r19 | |
9038 | mov 0x38, %r18 | |
9039 | stxa %r19, [%r18]0x58 | |
9040 | ivw_3_152: | |
9041 | .word 0x9190c009 ! 307: WRPR_PIL_R wrpr %r3, %r9, %pil | |
9042 | DS_3_153: | |
9043 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
9044 | .word 0xa9a289c1 ! 1: FDIVd fdivd %f10, %f32, %f20 | |
9045 | normalw | |
9046 | .word 0xa3458000 ! 308: RD_SOFTINT_REG rd %softint, %r17 | |
9047 | .word 0xd33fe368 ! 309: STDF_I std %f9, [0x0368, %r31] | |
9048 | .word 0x83d02034 ! 310: Tcc_I te icc_or_xcc, %r0 + 52 | |
9049 | .word 0xa950c000 ! 311: RDPR_TT <illegal instruction> | |
9050 | mov (3+1), %r10 | |
9051 | ta T_CHANGE_HPRIV | |
9052 | set sync_thr_counter2, %r23 | |
9053 | cas [%r23],%g0,%r10 !lock | |
9054 | brnz %r10, sma_3_154 | |
9055 | rd %asi, %r12 | |
9056 | wr %g0, 0x40, %asi | |
9057 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9058 | set 0x21fff, %g1 | |
9059 | stxa %g1, [%g0 + 0x80] %asi | |
9060 | wr %r12, %g0, %asi | |
9061 | st %g0, [%r23] | |
9062 | sma_3_154: | |
9063 | ta T_CHANGE_NONHPRIV | |
9064 | .word 0xd3e7e00d ! 312: CASA_R casa [%r31] %asi, %r13, %r9 | |
9065 | tagged_3_155: | |
9066 | taddcctv %r6, 0x1be3, %r18 | |
9067 | .word 0xd207e368 ! 313: LDUW_I lduw [%r31 + 0x0368], %r9 | |
9068 | DS_3_156: | |
9069 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
9070 | .word 0xbfefc000 ! 314: RESTORE_R restore %r31, %r0, %r31 | |
9071 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
9072 | ta T_CHANGE_NONHPRIV ! macro | |
9073 | .word 0x996a72b6 ! 315: SDIVX_I sdivx %r9, 0xfffff2b6, %r12 | |
9074 | .word 0xe8dfe010 ! 316: LDXA_I ldxa [%r31, + 0x0010] %asi, %r20 | |
9075 | nop | |
9076 | mov 0x80, %g3 | |
9077 | stxa %g3, [%g3] 0x57 | |
9078 | .word 0xe85fc000 ! 317: LDX_R ldx [%r31 + %r0], %r20 | |
9079 | debug_3_158: | |
9080 | nop | |
9081 | mov 0x38, %r18 | |
9082 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9083 | splash_htba_3_159: | |
9084 | set 0x00390000, %r12 | |
9085 | ld [%r12+%r0], %r1 | |
9086 | ta T_CHANGE_HPRIV | |
9087 | set 0x00390000, %r12 | |
9088 | .word 0x8b98000c ! 319: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9089 | ta T_CHANGE_HPRIV | |
9090 | mov (3+1), %r10 | |
9091 | set sync_thr_counter1, %r23 | |
9092 | cas [%r23],%g0,%r10 !lock | |
9093 | brnz %r10, cwq_3_160 | |
9094 | rd %asi, %r12 | |
9095 | wr %g0, 0x40, %asi | |
9096 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9097 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9098 | cmp %l1, 1 | |
9099 | bne cwq_3_160 | |
9100 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9101 | sub %l2, 0x40, %l2 | |
9102 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9103 | wr %r12, %g0, %asi | |
9104 | st %g0, [%r23] | |
9105 | cwq_3_160: | |
9106 | ta T_CHANGE_NONHPRIV | |
9107 | .word 0xa7414000 ! 320: RDPC rd %pc, %r19 | |
9108 | .word 0xe537c000 ! 321: STQF_R - %f18, [%r0, %r31] | |
9109 | .word 0xa3464000 ! 322: RD_STICK_CMPR_REG rd %-, %r17 | |
9110 | .word 0x91d020b5 ! 323: Tcc_I ta icc_or_xcc, %r0 + 181 | |
9111 | .word 0xab814002 ! 324: WR_CLEAR_SOFTINT_R wr %r5, %r2, %clear_softint | |
9112 | .word 0xd28804a0 ! 325: LDUBA_R lduba [%r0, %r0] 0x25, %r9 | |
9113 | splash_cmpr_3_161: | |
9114 | setx 0xa13e8a58bceb04bd, %g2, %g1 | |
9115 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
9116 | sub %g1, 100, %g1 | |
9117 | .word 0xb1800001 ! 326: WR_STICK_REG_R wr %r0, %r1, %- | |
9118 | .word 0x99902004 ! 327: WRPR_CLEANWIN_I wrpr %r0, 0x0004, %cleanwin | |
9119 | DS_3_162: | |
9120 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
9121 | .word 0xe74bb989 ! Random illegal ? | |
9122 | .word 0xa7a409d0 ! 1: FDIVd fdivd %f16, %f16, %f50 | |
9123 | .word 0x95a24832 ! 328: FADDs fadds %f9, %f18, %f10 | |
9124 | .word 0x8d902792 ! 329: WRPR_PSTATE_I wrpr %r0, 0x0792, %pstate | |
9125 | nop | |
9126 | mov 0x80, %g3 | |
9127 | stxa %g3, [%g3] 0x5f | |
9128 | .word 0xd05fc000 ! 330: LDX_R ldx [%r31 + %r0], %r8 | |
9129 | .word 0xd08fe030 ! 331: LDUBA_I lduba [%r31, + 0x0030] %asi, %r8 | |
9130 | mondo_3_163: | |
9131 | nop | |
9132 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9133 | ||
9134 | stxa %r19, [%r0+0x3e8] %asi | |
9135 | .word 0x9d90c012 ! 332: WRPR_WSTATE_R wrpr %r3, %r18, %wstate | |
9136 | .word 0x9080a889 ! 333: ADDcc_I addcc %r2, 0x0889, %r8 | |
9137 | invalw | |
9138 | mov 0x30, %r30 | |
9139 | .word 0x83d0001e ! 334: Tcc_R te icc_or_xcc, %r0 + %r30 | |
9140 | splash_hpstate_3_164: | |
9141 | .word 0x81982146 ! 335: WRHPR_HPSTATE_I wrhpr %r0, 0x0146, %hpstate | |
9142 | tagged_3_165: | |
9143 | taddcctv %r26, 0x1a36, %r24 | |
9144 | .word 0xda07fbd4 ! 336: LDUW_I lduw [%r31 + 0xfffffbd4], %r13 | |
9145 | .word 0xa190200f ! 337: WRPR_GL_I wrpr %r0, 0x000f, %- | |
9146 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_166) + 40, 16, 16)) -> intp(0,0,11) | |
9147 | intvec_3_166: | |
9148 | .word 0x39400001 ! 338: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9149 | splash_decr_3_167: | |
9150 | nop | |
9151 | ta T_CHANGE_HPRIV | |
9152 | mov 8, %r1 | |
9153 | stxa %r18, [%r1] 0x45 | |
9154 | .word 0xa7808007 ! 339: WR_GRAPHICS_STATUS_REG_R wr %r2, %r7, %- | |
9155 | splash_hpstate_3_168: | |
9156 | .word 0x8198295c ! 340: WRHPR_HPSTATE_I wrhpr %r0, 0x095c, %hpstate | |
9157 | DS_3_169: | |
9158 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
9159 | .word 0xbfefc000 ! 341: RESTORE_R restore %r31, %r0, %r31 | |
9160 | .word 0x8d9020a2 ! 342: WRPR_PSTATE_I wrpr %r0, 0x00a2, %pstate | |
9161 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_170) + 48, 16, 16)) -> intp(7,0,13) | |
9162 | intvec_3_170: | |
9163 | .word 0x39400001 ! 343: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9164 | .word 0x87802089 ! 344: WRASI_I wr %r0, 0x0089, %asi | |
9165 | .word 0xa1902006 ! 345: WRPR_GL_I wrpr %r0, 0x0006, %- | |
9166 | splash_lsu_3_171: | |
9167 | setx 0x3bbd53f3f498d579, %r1, %r2 | |
9168 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9169 | .word 0x3d400001 ! 346: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9170 | cwp_3_172: | |
9171 | set user_data_start, %o7 | |
9172 | .word 0x93902001 ! 347: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
9173 | splash_cmpr_3_173: | |
9174 | setx 0x89203d1b92a25c98, %g2, %g1 | |
9175 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
9176 | sub %g1, 100, %g1 | |
9177 | .word 0xb1800001 ! 348: WR_STICK_REG_R wr %r0, %r1, %- | |
9178 | .word 0xdac804a0 ! 349: LDSBA_R ldsba [%r0, %r0] 0x25, %r13 | |
9179 | .word 0x91520000 ! 350: RDPR_PIL <illegal instruction> | |
9180 | .word 0xd4c004a0 ! 351: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
9181 | donret_3_174: | |
9182 | nop | |
9183 | rd %pc, %r12 | |
9184 | add %r12, (donretarg_3_174-donret_3_174), %r12 | |
9185 | mov 0x38, %r18 | |
9186 | stxa %r12, [%r18]0x58 | |
9187 | add %r12, 0x4, %r11 | |
9188 | wrpr %g0, 0x1, %tl | |
9189 | wrpr %g0, %r12, %tpc | |
9190 | wrpr %g0, %r11, %tnpc | |
9191 | wrpr %g0, %r13, %tstate | |
9192 | wrhpr %g0, %r14, %htstate | |
9193 | retry | |
9194 | donretarg_3_174: | |
9195 | .word 0xd4fffbd4 ! 352: SWAPA_I swapa %r10, [%r31 + 0xfffffbd4] %asi | |
9196 | intveclr_3_175: | |
9197 | setx 0x4f5ee3875282b559, %r1, %r28 | |
9198 | stxa %r28, [%g0] 0x72 | |
9199 | .word 0x25400001 ! 353: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9200 | DS_3_176: | |
9201 | nop | |
9202 | not %g0, %r12 | |
9203 | jmp %r12 | |
9204 | .word 0x9d902005 ! 354: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
9205 | cwp_3_177: | |
9206 | set user_data_start, %o7 | |
9207 | .word 0x93902005 ! 355: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
9208 | change_to_randtl_3_178: | |
9209 | ta T_CHANGE_PRIV ! macro | |
9210 | done_change_to_randtl_3_178: | |
9211 | .word 0x8f902000 ! 356: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
9212 | .word 0xd51fc000 ! 357: LDDF_R ldd [%r31, %r0], %f10 | |
9213 | .word 0x8780204f ! 358: WRASI_I wr %r0, 0x004f, %asi | |
9214 | .word 0xd4c804a0 ! 359: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
9215 | .word 0x83d02035 ! 360: Tcc_I te icc_or_xcc, %r0 + 53 | |
9216 | .word 0xad853be3 ! 361: WR_SOFTINT_REG_I wr %r20, 0x1be3, %softint | |
9217 | splash_htba_3_179: | |
9218 | set 0x80000, %r12 | |
9219 | ld [%r12+%r0], %r1 | |
9220 | ta T_CHANGE_HPRIV | |
9221 | set 0x80000, %r12 | |
9222 | .word 0x8b98000c ! 362: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9223 | .word 0xd4c804a0 ! 363: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
9224 | nop | |
9225 | mov 0x80, %g3 | |
9226 | stxa %g3, [%g3] 0x57 | |
9227 | .word 0xd45fc000 ! 364: LDX_R ldx [%r31 + %r0], %r10 | |
9228 | memptr_3_180: | |
9229 | set user_data_start, %r31 | |
9230 | .word 0x8582a559 ! 365: WRCCR_I wr %r10, 0x0559, %ccr | |
9231 | debug_3_181: | |
9232 | nop | |
9233 | rd %pc, %r19 | |
9234 | add %r19, (64+56), %r19 | |
9235 | mov 0x38, %r18 | |
9236 | .word 0xe6f00b12 ! 366: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9237 | splash_tba_3_182: | |
9238 | set 0x120000, %r12 | |
9239 | st %r1, [%r12+%r0] | |
9240 | ta T_CHANGE_PRIV | |
9241 | set 0x120000, %r12 | |
9242 | .word 0x8b90000c ! 367: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9243 | splash_htba_3_183: | |
9244 | set 0x00390000, %r12 | |
9245 | ld [%r12+%r0], %r1 | |
9246 | ta T_CHANGE_HPRIV | |
9247 | set 0x00390000, %r12 | |
9248 | .word 0x8b98000c ! 368: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9249 | .word 0xd4d804a0 ! 369: LDXA_R ldxa [%r0, %r0] 0x25, %r10 | |
9250 | debug_3_184: | |
9251 | nop | |
9252 | rd %pc, %r19 | |
9253 | add %r19, (64+32), %r19 | |
9254 | mov 0x38, %r18 | |
9255 | .word 0xe6f00b12 ! 370: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9256 | .word 0xd4c00e40 ! 371: LDSWA_R ldswa [%r0, %r0] 0x72, %r10 | |
9257 | .word 0xd4d004a0 ! 372: LDSHA_R ldsha [%r0, %r0] 0x25, %r10 | |
9258 | splash_lsu_3_185: | |
9259 | setx 0x1fa2002f873c390d, %r1, %r2 | |
9260 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9261 | .word 0x3d400001 ! 373: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9262 | .word 0xa1902009 ! 374: WRPR_GL_I wrpr %r0, 0x0009, %- | |
9263 | nop | |
9264 | mov 0x80, %g3 | |
9265 | stxa %g3, [%g3] 0x5f | |
9266 | .word 0xd45fc000 ! 375: LDX_R ldx [%r31 + %r0], %r10 | |
9267 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_186) + 32, 16, 16)) -> intp(4,0,18) | |
9268 | intvec_3_186: | |
9269 | .word 0x39400001 ! 376: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9270 | .word 0x9f803285 ! 377: SIR sir 0x1285 | |
9271 | setx 0x74a726605241bea8, %r1, %r28 | |
9272 | stxa %r28, [%g0] 0x73 | |
9273 | intvec_3_187: | |
9274 | .word 0x39400001 ! 378: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9275 | invalw | |
9276 | mov 0xb4, %r30 | |
9277 | .word 0x91d0001e ! 379: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9278 | splash_hpstate_3_188: | |
9279 | .word 0x8198254d ! 380: WRHPR_HPSTATE_I wrhpr %r0, 0x054d, %hpstate | |
9280 | mov (3+1), %r10 | |
9281 | ta T_CHANGE_HPRIV | |
9282 | set sync_thr_counter2, %r23 | |
9283 | cas [%r23],%g0,%r10 !lock | |
9284 | brnz %r10, sma_3_189 | |
9285 | rd %asi, %r12 | |
9286 | wr %g0, 0x40, %asi | |
9287 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9288 | set 0x21fff, %g1 | |
9289 | stxa %g1, [%g0 + 0x80] %asi | |
9290 | wr %r12, %g0, %asi | |
9291 | st %g0, [%r23] | |
9292 | sma_3_189: | |
9293 | ta T_CHANGE_NONHPRIV | |
9294 | .word 0xd5e7e008 ! 381: CASA_R casa [%r31] %asi, %r8, %r10 | |
9295 | debug_3_190: | |
9296 | nop | |
9297 | rd %pc, %r19 | |
9298 | add %r19, (64+16), %r19 | |
9299 | mov 0x38, %r18 | |
9300 | .word 0xe6f00b12 ! 382: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9301 | ta T_CHANGE_HPRIV | |
9302 | mov (3+1), %r10 | |
9303 | set sync_thr_counter1, %r23 | |
9304 | cas [%r23],%g0,%r10 !lock | |
9305 | brnz %r10, cwq_3_191 | |
9306 | rd %asi, %r12 | |
9307 | wr %g0, 0x40, %asi | |
9308 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9309 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9310 | cmp %l1, 1 | |
9311 | bne cwq_3_191 | |
9312 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9313 | sub %l2, 0x40, %l2 | |
9314 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9315 | wr %r12, %g0, %asi | |
9316 | st %g0, [%r23] | |
9317 | cwq_3_191: | |
9318 | ta T_CHANGE_NONHPRIV | |
9319 | .word 0x9b414000 ! 383: RDPC rd %pc, %r13 | |
9320 | .word 0xd6c7e020 ! 384: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r11 | |
9321 | cwp_3_192: | |
9322 | set user_data_start, %o7 | |
9323 | .word 0x93902007 ! 385: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
9324 | .word 0xd6800ae0 ! 386: LDUWA_R lduwa [%r0, %r0] 0x57, %r11 | |
9325 | .word 0xd6ffc028 ! 387: SWAPA_R swapa %r11, [%r31 + %r8] 0x01 | |
9326 | mov (3+1), %r10 | |
9327 | ta T_CHANGE_HPRIV | |
9328 | set sync_thr_counter2, %r23 | |
9329 | cas [%r23],%g0,%r10 !lock | |
9330 | brnz %r10, sma_3_193 | |
9331 | rd %asi, %r12 | |
9332 | wr %g0, 0x40, %asi | |
9333 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9334 | set 0x21fff, %g1 | |
9335 | stxa %g1, [%g0 + 0x80] %asi | |
9336 | wr %r12, %g0, %asi | |
9337 | st %g0, [%r23] | |
9338 | sma_3_193: | |
9339 | ta T_CHANGE_NONHPRIV | |
9340 | .word 0xd7e7e008 ! 388: CASA_R casa [%r31] %asi, %r8, %r11 | |
9341 | debug_3_194: | |
9342 | nop | |
9343 | mov 0x38, %r18 | |
9344 | .word 0xfef00b12 ! 389: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9345 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
9346 | ta T_CHANGE_NONHPRIV ! macro | |
9347 | .word 0xa5a01964 ! 390: FqTOd dis not found | |
9348 | ||
9349 | splash_hpstate_3_196: | |
9350 | .word 0x81982c44 ! 391: WRHPR_HPSTATE_I wrhpr %r0, 0x0c44, %hpstate | |
9351 | .word 0x879021d7 ! 392: WRPR_TT_I wrpr %r0, 0x01d7, %tt | |
9352 | setx 0xcf8654957fcfbbb8, %r1, %r28 | |
9353 | stxa %r28, [%g0] 0x73 | |
9354 | intvec_3_197: | |
9355 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9356 | mondo_3_198: | |
9357 | nop | |
9358 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9359 | ||
9360 | stxa %r18, [%r0+0x3c8] %asi | |
9361 | .word 0x9d900005 ! 394: WRPR_WSTATE_R wrpr %r0, %r5, %wstate | |
9362 | .word 0x96d53f2f ! 395: UMULcc_I umulcc %r20, 0xffffff2f, %r11 | |
9363 | .word 0xda8804a0 ! 396: LDUBA_R lduba [%r0, %r0] 0x25, %r13 | |
9364 | .word 0x97a0c9cd ! 397: FDIVd fdivd %f34, %f44, %f42 | |
9365 | splash_cmpr_3_199: | |
9366 | setx 0xb018ffb9586313ad, %g2, %g1 | |
9367 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9368 | sub %g1, 100, %g1 | |
9369 | .word 0xb1800001 ! 398: WR_STICK_REG_R wr %r0, %r1, %- | |
9370 | .word 0x9ba00545 ! 399: FSQRTd fsqrt | |
9371 | nop | |
9372 | mov 0x80, %g3 | |
9373 | stxa %g3, [%g3] 0x57 | |
9374 | .word 0xd05fc000 ! 400: LDX_R ldx [%r31 + %r0], %r8 | |
9375 | nop | |
9376 | nop | |
9377 | setx join_lbl_0_0, %g1, %g2 | |
9378 | jmp %g2 | |
9379 | nop | |
9380 | fork_lbl_0_3: | |
9381 | change_to_randtl_2_0: | |
9382 | ta T_CHANGE_PRIV ! macro | |
9383 | done_change_to_randtl_2_0: | |
9384 | .word 0xd8d7e000 ! 1: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r12 | |
9385 | splash_cmpr_2_1: | |
9386 | setx 0x6ebcfc0fcc4129d6, %g2, %g1 | |
9387 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9388 | sub %g1, 100, %g1 | |
9389 | .word 0xb1800001 ! 2: WR_STICK_REG_R wr %r0, %r1, %- | |
9390 | debug_2_2: | |
9391 | nop | |
9392 | mov 0x38, %r18 | |
9393 | .word 0xfef00b12 ! 3: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9394 | .word 0x87802089 ! 4: WRASI_I wr %r0, 0x0089, %asi | |
9395 | .word 0x87902100 ! 5: WRPR_TT_I wrpr %r0, 0x0100, %tt | |
9396 | debug_2_3: | |
9397 | nop | |
9398 | mov 8, %r18 | |
9399 | .word 0xe4f00492 ! 6: STXA_R stxa %r18, [%r0 + %r18] 0x24 | |
9400 | cwp_2_4: | |
9401 | set user_data_start, %o7 | |
9402 | .word 0x93902006 ! 7: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
9403 | .word 0x8d902f0f ! 8: WRPR_PSTATE_I wrpr %r0, 0x0f0f, %pstate | |
9404 | splash_cmpr_2_5: | |
9405 | setx 0x54cb004fda375fa8, %g2, %g1 | |
9406 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
9407 | sub %g1, 100, %g1 | |
9408 | .word 0xb1800001 ! 9: WR_STICK_REG_R wr %r0, %r1, %- | |
9409 | cwp_2_6: | |
9410 | set user_data_start, %o7 | |
9411 | .word 0x93902000 ! 10: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
9412 | splash_lsu_2_7: | |
9413 | setx 0x1e2ee03fb5c95eef, %r1, %r2 | |
9414 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9415 | .word 0x3d400001 ! 11: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9416 | debug_2_8: | |
9417 | nop | |
9418 | mov 0x38, %r18 | |
9419 | .word 0xfef00b12 ! 12: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9420 | .word 0x38800001 ! 13: BGU bgu,a <label_0x1> | |
9421 | .word 0xd86fe5b9 ! 14: LDSTUB_I ldstub %r12, [%r31 + 0x05b9] | |
9422 | .word 0x83d020b4 ! 15: Tcc_I te icc_or_xcc, %r0 + 180 | |
9423 | .word 0x8d903741 ! 16: WRPR_PSTATE_I wrpr %r0, 0x1741, %pstate | |
9424 | .word 0x30800001 ! 17: BA ba,a <label_0x1> | |
9425 | .word 0xa1902007 ! 18: WRPR_GL_I wrpr %r0, 0x0007, %- | |
9426 | otherw | |
9427 | mov 0xb4, %r30 | |
9428 | .word 0x83d0001e ! 19: Tcc_R te icc_or_xcc, %r0 + %r30 | |
9429 | .word 0xd897e030 ! 20: LDUHA_I lduha [%r31, + 0x0030] %asi, %r12 | |
9430 | .word 0x8d90307e ! 21: WRPR_PSTATE_I wrpr %r0, 0x107e, %pstate | |
9431 | .word 0x9b520000 ! 22: RDPR_PIL <illegal instruction> | |
9432 | DS_2_9: | |
9433 | .word 0xa9a0c9d4 ! 1: FDIVd fdivd %f34, %f20, %f20 | |
9434 | .word 0xdb344014 ! 1: STQF_R - %f13, [%r20, %r17] | |
9435 | normalw | |
9436 | .word 0x91458000 ! 23: RD_SOFTINT_REG rd %softint, %r8 | |
9437 | .word 0x87902176 ! 24: WRPR_TT_I wrpr %r0, 0x0176, %tt | |
9438 | donret_2_10: | |
9439 | nop | |
9440 | rd %pc, %r12 | |
9441 | add %r12, (donretarg_2_10-donret_2_10), %r12 | |
9442 | mov 0x38, %r18 | |
9443 | stxa %r12, [%r18]0x58 | |
9444 | add %r12, 0x4, %r11 | |
9445 | wrpr %g0, 0x3, %tl | |
9446 | wrpr %g0, %r12, %tpc | |
9447 | wrpr %g0, %r11, %tnpc | |
9448 | wrpr %g0, %r13, %tstate | |
9449 | wrhpr %g0, %r14, %htstate | |
9450 | retry | |
9451 | donretarg_2_10: | |
9452 | .word 0xd4ffe5b9 ! 25: SWAPA_I swapa %r10, [%r31 + 0x05b9] %asi | |
9453 | .word 0x91d02035 ! 26: Tcc_I ta icc_or_xcc, %r0 + 53 | |
9454 | .word 0xd46fe5b9 ! 27: LDSTUB_I ldstub %r10, [%r31 + 0x05b9] | |
9455 | .word 0x9b480000 ! 28: RDHPR_HPSTATE rdhpr %hpstate, %r13 | |
9456 | splash_htba_2_11: | |
9457 | set 0x80000, %r12 | |
9458 | ld [%r12+%r0], %r1 | |
9459 | ta T_CHANGE_HPRIV | |
9460 | set 0x80000, %r12 | |
9461 | .word 0x8b98000c ! 29: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9462 | .word 0x8d903117 ! 30: WRPR_PSTATE_I wrpr %r0, 0x1117, %pstate | |
9463 | splash_cmpr_2_12: | |
9464 | setx 0x4bef31879fe29ad5, %g2, %g1 | |
9465 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9466 | sub %g1, 100, %g1 | |
9467 | .word 0xb1800001 ! 31: WR_STICK_REG_R wr %r0, %r1, %- | |
9468 | nop | |
9469 | mov 0x80, %g3 | |
9470 | stxa %g3, [%g3] 0x57 | |
9471 | .word 0xe85fc000 ! 32: LDX_R ldx [%r31 + %r0], %r20 | |
9472 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9473 | ta T_CHANGE_NONHPRIV ! macro | |
9474 | .word 0xa9697eea ! 33: SDIVX_I sdivx %r5, 0xfffffeea, %r20 | |
9475 | nop | |
9476 | mov 0x80, %g3 | |
9477 | stxa %g3, [%g3] 0x5f | |
9478 | .word 0xd45fc000 ! 34: LDX_R ldx [%r31 + %r0], %r10 | |
9479 | .word 0xd4c7e030 ! 35: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r10 | |
9480 | invalw | |
9481 | mov 0x33, %r30 | |
9482 | .word 0x93d0001e ! 36: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
9483 | debug_2_14: | |
9484 | nop | |
9485 | mov 0x38, %r18 | |
9486 | .word 0xfef00b12 ! 37: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9487 | .word 0xd4880e80 ! 38: LDUBA_R lduba [%r0, %r0] 0x74, %r10 | |
9488 | .word 0x93d02033 ! 39: Tcc_I tne icc_or_xcc, %r0 + 51 | |
9489 | .word 0xd45feeec ! 40: LDX_I ldx [%r31 + 0x0eec], %r10 | |
9490 | .word 0x93d02034 ! 41: Tcc_I tne icc_or_xcc, %r0 + 52 | |
9491 | DS_2_15: | |
9492 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
9493 | allclean | |
9494 | .word 0x91b44305 ! 42: ALIGNADDRESS alignaddr %r17, %r5, %r8 | |
9495 | debug_2_16: | |
9496 | nop | |
9497 | rd %pc, %r19 | |
9498 | add %r19, (64+24), %r19 | |
9499 | mov 0x38, %r18 | |
9500 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9501 | ta T_CHANGE_HPRIV | |
9502 | mov (2+1), %r10 | |
9503 | set sync_thr_counter1, %r23 | |
9504 | cas [%r23],%g0,%r10 !lock | |
9505 | brnz %r10, cwq_2_17 | |
9506 | rd %asi, %r12 | |
9507 | wr %g0, 0x40, %asi | |
9508 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9509 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9510 | cmp %l1, 1 | |
9511 | bne cwq_2_17 | |
9512 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9513 | sub %l2, 0x40, %l2 | |
9514 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9515 | wr %r12, %g0, %asi | |
9516 | st %g0, [%r23] | |
9517 | cwq_2_17: | |
9518 | ta T_CHANGE_NONHPRIV | |
9519 | .word 0x93414000 ! 44: RDPC rd %pc, %r9 | |
9520 | invalw | |
9521 | mov 0x34, %r30 | |
9522 | .word 0x83d0001e ! 45: Tcc_R te icc_or_xcc, %r0 + %r30 | |
9523 | .word 0x93500000 ! 46: RDPR_TPC <illegal instruction> | |
9524 | invalw | |
9525 | mov 0xb0, %r30 | |
9526 | .word 0x91d0001e ! 47: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9527 | .word 0x8d9039ba ! 48: WRPR_PSTATE_I wrpr %r0, 0x19ba, %pstate | |
9528 | .word 0xe6d7e020 ! 49: LDSHA_I ldsha [%r31, + 0x0020] %asi, %r19 | |
9529 | splash_cmpr_2_18: | |
9530 | setx 0x29e6f3f391a7e468, %g2, %g1 | |
9531 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9532 | sub %g1, 100, %g1 | |
9533 | .word 0xb1800001 ! 50: WR_STICK_REG_R wr %r0, %r1, %- | |
9534 | cwp_2_19: | |
9535 | set user_data_start, %o7 | |
9536 | .word 0x93902004 ! 51: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
9537 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_20) + 0, 16, 16)) -> intp(4,0,28) | |
9538 | intvec_2_20: | |
9539 | .word 0x39400001 ! 52: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9540 | .word 0xe637eeec ! 53: STH_I sth %r19, [%r31 + 0x0eec] | |
9541 | memptr_2_21: | |
9542 | set user_data_start, %r31 | |
9543 | .word 0x85846f4c ! 54: WRCCR_I wr %r17, 0x0f4c, %ccr | |
9544 | splash_hpstate_2_22: | |
9545 | .word 0x8198240d ! 55: WRHPR_HPSTATE_I wrhpr %r0, 0x040d, %hpstate | |
9546 | .word 0x90dd0007 ! 56: SMULcc_R smulcc %r20, %r7, %r8 | |
9547 | .word 0xa9a309d1 ! 57: FDIVd fdivd %f12, %f48, %f20 | |
9548 | memptr_2_23: | |
9549 | set 0x60740000, %r31 | |
9550 | .word 0x8580f50a ! 58: WRCCR_I wr %r3, 0x150a, %ccr | |
9551 | .word 0xd4d004a0 ! 59: LDSHA_R ldsha [%r0, %r0] 0x25, %r10 | |
9552 | invalw | |
9553 | mov 0x34, %r30 | |
9554 | .word 0x83d0001e ! 60: Tcc_R te icc_or_xcc, %r0 + %r30 | |
9555 | splash_hpstate_2_24: | |
9556 | .word 0x81982a8c ! 61: WRHPR_HPSTATE_I wrhpr %r0, 0x0a8c, %hpstate | |
9557 | change_to_randtl_2_25: | |
9558 | ta T_CHANGE_HPRIV ! macro | |
9559 | done_change_to_randtl_2_25: | |
9560 | .word 0x8f902002 ! 62: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9561 | .word 0x87802058 ! 63: WRASI_I wr %r0, 0x0058, %asi | |
9562 | tagged_2_26: | |
9563 | tsubcctv %r3, 0x115b, %r5 | |
9564 | .word 0xd407ee0f ! 64: LDUW_I lduw [%r31 + 0x0e0f], %r10 | |
9565 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9566 | ta T_CHANGE_NONHPRIV ! macro | |
9567 | .word 0x93693e33 ! 65: SDIVX_I sdivx %r4, 0xfffffe33, %r9 | |
9568 | .word 0x8780208b ! 66: WRASI_I wr %r0, 0x008b, %asi | |
9569 | memptr_2_28: | |
9570 | set 0x60740000, %r31 | |
9571 | .word 0x85846ad2 ! 67: WRCCR_I wr %r17, 0x0ad2, %ccr | |
9572 | setx 0x28902266c4bbd0f4, %r1, %r28 | |
9573 | stxa %r28, [%g0] 0x73 | |
9574 | intvec_2_29: | |
9575 | .word 0x39400001 ! 68: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9576 | splash_cmpr_2_30: | |
9577 | setx 0xc443fda2ddf74fbc, %g2, %g1 | |
9578 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9579 | sub %g1, 100, %g1 | |
9580 | .word 0xb1800001 ! 69: WR_STICK_REG_R wr %r0, %r1, %- | |
9581 | intveclr_2_31: | |
9582 | setx 0x4f11f275d5281df3, %r1, %r28 | |
9583 | stxa %r28, [%g0] 0x72 | |
9584 | .word 0x25400001 ! 70: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9585 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_32) + 16, 16, 16)) -> intp(0,0,14) | |
9586 | intvec_2_32: | |
9587 | .word 0x39400001 ! 71: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9588 | .word 0xda6ffb07 ! 72: LDSTUB_I ldstub %r13, [%r31 + 0xfffffb07] | |
9589 | .word 0xdadfe010 ! 73: LDXA_I ldxa [%r31, + 0x0010] %asi, %r13 | |
9590 | .word 0xda27fb07 ! 74: STW_I stw %r13, [%r31 + 0xfffffb07] | |
9591 | donret_2_33: | |
9592 | nop | |
9593 | rd %pc, %r12 | |
9594 | add %r12, (donretarg_2_33-donret_2_33-4), %r12 | |
9595 | mov 0x38, %r18 | |
9596 | stxa %r12, [%r18]0x58 | |
9597 | add %r12, 0x4, %r11 | |
9598 | wrpr %g0, 0x2, %tl | |
9599 | wrpr %g0, %r12, %tpc | |
9600 | wrpr %g0, %r11, %tnpc | |
9601 | wrpr %g0, %r13, %tstate | |
9602 | wrhpr %g0, %r14, %htstate | |
9603 | done | |
9604 | donretarg_2_33: | |
9605 | .word 0xdafffb07 ! 75: SWAPA_I swapa %r13, [%r31 + 0xfffffb07] %asi | |
9606 | ta T_CHANGE_HPRIV | |
9607 | mov (2+1), %r10 | |
9608 | set sync_thr_counter1, %r23 | |
9609 | cas [%r23],%g0,%r10 !lock | |
9610 | brnz %r10, cwq_2_34 | |
9611 | rd %asi, %r12 | |
9612 | wr %g0, 0x40, %asi | |
9613 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9614 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9615 | cmp %l1, 1 | |
9616 | bne cwq_2_34 | |
9617 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9618 | sub %l2, 0x40, %l2 | |
9619 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9620 | wr %r12, %g0, %asi | |
9621 | st %g0, [%r23] | |
9622 | cwq_2_34: | |
9623 | ta T_CHANGE_NONHPRIV | |
9624 | .word 0x97414000 ! 76: RDPC rd %pc, %r11 | |
9625 | otherw | |
9626 | mov 0xb2, %r30 | |
9627 | .word 0x91d0001e ! 77: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9628 | .word 0x93540000 ! 78: RDPR_GL rdpr %-, %r9 | |
9629 | setx 0x9db8eb17b2719eb7, %r1, %r28 | |
9630 | stxa %r28, [%g0] 0x73 | |
9631 | intvec_2_35: | |
9632 | .word 0x39400001 ! 79: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9633 | .word 0xd4dfe030 ! 80: LDXA_I ldxa [%r31, + 0x0030] %asi, %r10 | |
9634 | DS_2_36: | |
9635 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
9636 | .word 0xbfe7c000 ! 81: SAVE_R save %r31, %r0, %r31 | |
9637 | nop | |
9638 | mov 0x80, %g3 | |
9639 | stxa %g3, [%g3] 0x5f | |
9640 | .word 0xd45fc000 ! 82: LDX_R ldx [%r31 + %r0], %r10 | |
9641 | splash_lsu_2_37: | |
9642 | setx 0x946276dd2f21946b, %r1, %r2 | |
9643 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9644 | .word 0x3d400001 ! 83: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9645 | .word 0x97500000 ! 84: RDPR_TPC <illegal instruction> | |
9646 | .word 0x97450000 ! 85: RD_SET_SOFTINT rd %set_softint, %r11 | |
9647 | debug_2_38: | |
9648 | nop | |
9649 | mov 0x38, %r18 | |
9650 | .word 0xfef00b12 ! 86: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9651 | nop | |
9652 | mov 0x80, %g3 | |
9653 | stxa %g3, [%g3] 0x5f | |
9654 | .word 0xe25fc000 ! 87: LDX_R ldx [%r31 + %r0], %r17 | |
9655 | .word 0x92f8668d ! 88: SDIVcc_I sdivcc %r1, 0x068d, %r9 | |
9656 | .word 0xab80a8c9 ! 89: WR_CLEAR_SOFTINT_I wr %r2, 0x08c9, %clear_softint | |
9657 | .word 0xd08804a0 ! 90: LDUBA_R lduba [%r0, %r0] 0x25, %r8 | |
9658 | debug_2_39: | |
9659 | nop | |
9660 | mov 8, %r18 | |
9661 | .word 0xe8f00492 ! 91: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
9662 | mov (2+1), %r10 | |
9663 | ta T_CHANGE_HPRIV | |
9664 | set sync_thr_counter2, %r23 | |
9665 | cas [%r23],%g0,%r10 !lock | |
9666 | brnz %r10, sma_2_40 | |
9667 | rd %asi, %r12 | |
9668 | wr %g0, 0x40, %asi | |
9669 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9670 | set 0x21fff, %g1 | |
9671 | stxa %g1, [%g0 + 0x80] %asi | |
9672 | wr %r12, %g0, %asi | |
9673 | st %g0, [%r23] | |
9674 | sma_2_40: | |
9675 | ta T_CHANGE_NONHPRIV | |
9676 | .word 0xd1e7e00b ! 92: CASA_R casa [%r31] %asi, %r11, %r8 | |
9677 | cwp_2_41: | |
9678 | set user_data_start, %o7 | |
9679 | .word 0x93902002 ! 93: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
9680 | .word 0xd13fc000 ! 94: STDF_R std %f8, [%r0, %r31] | |
9681 | .word 0x8790222d ! 95: WRPR_TT_I wrpr %r0, 0x022d, %tt | |
9682 | DS_2_42: | |
9683 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
9684 | .word 0xbfefc000 ! 96: RESTORE_R restore %r31, %r0, %r31 | |
9685 | change_to_randtl_2_43: | |
9686 | ta T_CHANGE_HPRIV ! macro | |
9687 | done_change_to_randtl_2_43: | |
9688 | .word 0x8f902001 ! 97: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9689 | .word 0x9f802493 ! 98: SIR sir 0x0493 | |
9690 | debug_2_44: | |
9691 | nop | |
9692 | mov 0x38, %r18 | |
9693 | .word 0xfef00b12 ! 99: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9694 | debug_2_45: | |
9695 | nop | |
9696 | mov 8, %r18 | |
9697 | .word 0xe0f00492 ! 100: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
9698 | .word 0x20800001 ! 101: BN bn,a <label_0x1> | |
9699 | change_to_randtl_2_46: | |
9700 | ta T_CHANGE_PRIV ! macro | |
9701 | done_change_to_randtl_2_46: | |
9702 | .word 0x8f902001 ! 102: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9703 | .word 0xa150c000 ! 103: RDPR_TT <illegal instruction> | |
9704 | .word 0x36800001 ! 104: BGE bge,a <label_0x1> | |
9705 | .word 0x8790235a ! 105: WRPR_TT_I wrpr %r0, 0x035a, %tt | |
9706 | .word 0x8d9037c2 ! 106: WRPR_PSTATE_I wrpr %r0, 0x17c2, %pstate | |
9707 | splash_hpstate_2_47: | |
9708 | .word 0x81982655 ! 107: WRHPR_HPSTATE_I wrhpr %r0, 0x0655, %hpstate | |
9709 | invalw | |
9710 | mov 0xb3, %r30 | |
9711 | .word 0x93d0001e ! 108: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
9712 | .word 0xd0d00e40 ! 109: LDSHA_R ldsha [%r0, %r0] 0x72, %r8 | |
9713 | ta T_CHANGE_HPRIV | |
9714 | mov (2+1), %r10 | |
9715 | set sync_thr_counter1, %r23 | |
9716 | cas [%r23],%g0,%r10 !lock | |
9717 | brnz %r10, cwq_2_48 | |
9718 | rd %asi, %r12 | |
9719 | wr %g0, 0x40, %asi | |
9720 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9721 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9722 | cmp %l1, 1 | |
9723 | bne cwq_2_48 | |
9724 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9725 | sub %l2, 0x40, %l2 | |
9726 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9727 | wr %r12, %g0, %asi | |
9728 | st %g0, [%r23] | |
9729 | cwq_2_48: | |
9730 | ta T_CHANGE_NONHPRIV | |
9731 | .word 0x95414000 ! 110: RDPC rd %pc, %r10 | |
9732 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9733 | ta T_CHANGE_NONHPRIV ! macro | |
9734 | .word 0xa3a01967 ! 111: FqTOd dis not found | |
9735 | ||
9736 | invalw | |
9737 | mov 0x30, %r30 | |
9738 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9739 | invalw | |
9740 | mov 0x33, %r30 | |
9741 | .word 0x91d0001e ! 113: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9742 | .word 0xe2880e80 ! 114: LDUBA_R lduba [%r0, %r0] 0x74, %r17 | |
9743 | .word 0x8d902a9c ! 115: WRPR_PSTATE_I wrpr %r0, 0x0a9c, %pstate | |
9744 | ta T_CHANGE_HPRIV | |
9745 | mov (2+1), %r10 | |
9746 | set sync_thr_counter1, %r23 | |
9747 | cas [%r23],%g0,%r10 !lock | |
9748 | brnz %r10, cwq_2_50 | |
9749 | rd %asi, %r12 | |
9750 | wr %g0, 0x40, %asi | |
9751 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9752 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9753 | cmp %l1, 1 | |
9754 | bne cwq_2_50 | |
9755 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9756 | sub %l2, 0x40, %l2 | |
9757 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9758 | wr %r12, %g0, %asi | |
9759 | st %g0, [%r23] | |
9760 | cwq_2_50: | |
9761 | ta T_CHANGE_NONHPRIV | |
9762 | .word 0xa5414000 ! 116: RDPC rd %pc, %r18 | |
9763 | DS_2_51: | |
9764 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
9765 | .word 0xe5318014 ! 1: STQF_R - %f18, [%r20, %r6] | |
9766 | normalw | |
9767 | .word 0xa3458000 ! 117: RD_SOFTINT_REG rd %softint, %r17 | |
9768 | .word 0x3a700001 ! 118: BPCC <illegal instruction> | |
9769 | splash_hpstate_2_52: | |
9770 | .word 0x81982e97 ! 119: WRHPR_HPSTATE_I wrhpr %r0, 0x0e97, %hpstate | |
9771 | .word 0xe6d004a0 ! 120: LDSHA_R ldsha [%r0, %r0] 0x25, %r19 | |
9772 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9773 | ta T_CHANGE_NONHPRIV ! macro | |
9774 | .word 0x976aff9f ! 121: SDIVX_I sdivx %r11, 0xffffff9f, %r11 | |
9775 | .word 0x9b540000 ! 122: RDPR_GL <illegal instruction> | |
9776 | DS_2_54: | |
9777 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
9778 | .word 0xbfefc000 ! 123: RESTORE_R restore %r31, %r0, %r31 | |
9779 | mov (2+1), %r10 | |
9780 | ta T_CHANGE_HPRIV | |
9781 | set sync_thr_counter2, %r23 | |
9782 | cas [%r23],%g0,%r10 !lock | |
9783 | brnz %r10, sma_2_55 | |
9784 | rd %asi, %r12 | |
9785 | wr %g0, 0x40, %asi | |
9786 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9787 | set 0x21fff, %g1 | |
9788 | stxa %g1, [%g0 + 0x80] %asi | |
9789 | wr %r12, %g0, %asi | |
9790 | st %g0, [%r23] | |
9791 | sma_2_55: | |
9792 | ta T_CHANGE_NONHPRIV | |
9793 | .word 0xe9e7e007 ! 124: CASA_R casa [%r31] %asi, %r7, %r20 | |
9794 | change_to_randtl_2_56: | |
9795 | ta T_CHANGE_PRIV ! macro | |
9796 | done_change_to_randtl_2_56: | |
9797 | .word 0x8f902001 ! 125: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9798 | .word 0xe8800b40 ! 126: LDUWA_R lduwa [%r0, %r0] 0x5a, %r20 | |
9799 | .word 0x94d2ee51 ! 127: UMULcc_I umulcc %r11, 0x0e51, %r10 | |
9800 | splash_lsu_2_57: | |
9801 | setx 0xcc8fb81c3018df27, %r1, %r2 | |
9802 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9803 | .word 0x3d400001 ! 128: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9804 | tagged_2_58: | |
9805 | tsubcctv %r20, 0x1f0b, %r15 | |
9806 | .word 0xd207ec1f ! 129: LDUW_I lduw [%r31 + 0x0c1f], %r9 | |
9807 | .word 0xd297e020 ! 130: LDUHA_I lduha [%r31, + 0x0020] %asi, %r9 | |
9808 | .word 0x91907053 ! 131: WRPR_PIL_I wrpr %r1, 0x1053, %pil | |
9809 | setx 0x01df6f19a345ce75, %r1, %r28 | |
9810 | stxa %r28, [%g0] 0x73 | |
9811 | intvec_2_59: | |
9812 | .word 0x39400001 ! 132: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9813 | .word 0x8780201c ! 133: WRASI_I wr %r0, 0x001c, %asi | |
9814 | DS_2_60: | |
9815 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
9816 | .word 0xbfe7c000 ! 134: SAVE_R save %r31, %r0, %r31 | |
9817 | .word 0xd2800a60 ! 135: LDUWA_R lduwa [%r0, %r0] 0x53, %r9 | |
9818 | memptr_2_61: | |
9819 | set 0x60540000, %r31 | |
9820 | .word 0x85847f0d ! 136: WRCCR_I wr %r17, 0x1f0d, %ccr | |
9821 | invalw | |
9822 | mov 0x35, %r30 | |
9823 | .word 0x91d0001e ! 137: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9824 | mov (2+1), %r10 | |
9825 | ta T_CHANGE_HPRIV | |
9826 | set sync_thr_counter2, %r23 | |
9827 | cas [%r23],%g0,%r10 !lock | |
9828 | brnz %r10, sma_2_62 | |
9829 | rd %asi, %r12 | |
9830 | wr %g0, 0x40, %asi | |
9831 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9832 | set 0x21fff, %g1 | |
9833 | stxa %g1, [%g0 + 0x80] %asi | |
9834 | wr %r12, %g0, %asi | |
9835 | st %g0, [%r23] | |
9836 | sma_2_62: | |
9837 | ta T_CHANGE_NONHPRIV | |
9838 | .word 0xd3e7e007 ! 138: CASA_R casa [%r31] %asi, %r7, %r9 | |
9839 | .word 0x8780204f ! 139: WRASI_I wr %r0, 0x004f, %asi | |
9840 | change_to_randtl_2_63: | |
9841 | ta T_CHANGE_HPRIV ! macro | |
9842 | done_change_to_randtl_2_63: | |
9843 | .word 0x8f902002 ! 140: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9844 | invalw | |
9845 | mov 0xb0, %r30 | |
9846 | .word 0x91d0001e ! 141: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9847 | .word 0xd26feb9a ! 142: LDSTUB_I ldstub %r9, [%r31 + 0x0b9a] | |
9848 | .word 0x9953c000 ! 143: RDPR_FQ <illegal instruction> | |
9849 | .word 0xd6cfe030 ! 144: LDSBA_I ldsba [%r31, + 0x0030] %asi, %r11 | |
9850 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9851 | ta T_CHANGE_NONPRIV ! macro | |
9852 | .word 0x93a01973 ! 145: FqTOd dis not found | |
9853 | ||
9854 | debug_2_65: | |
9855 | nop | |
9856 | mov 0x38, %r18 | |
9857 | .word 0xfef00b12 ! 146: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9858 | mov (2+1), %r10 | |
9859 | ta T_CHANGE_HPRIV | |
9860 | set sync_thr_counter2, %r23 | |
9861 | cas [%r23],%g0,%r10 !lock | |
9862 | brnz %r10, sma_2_66 | |
9863 | rd %asi, %r12 | |
9864 | wr %g0, 0x40, %asi | |
9865 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9866 | set 0x21fff, %g1 | |
9867 | stxa %g1, [%g0 + 0x80] %asi | |
9868 | wr %r12, %g0, %asi | |
9869 | st %g0, [%r23] | |
9870 | sma_2_66: | |
9871 | ta T_CHANGE_NONHPRIV | |
9872 | .word 0xe5e7e013 ! 147: CASA_R casa [%r31] %asi, %r19, %r18 | |
9873 | .word 0x9191a8c7 ! 148: WRPR_PIL_I wrpr %r6, 0x08c7, %pil | |
9874 | DS_2_67: | |
9875 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
9876 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
9877 | .word 0xe1118014 ! 1: LDQF_R - [%r6, %r20], %f16 | |
9878 | .word 0x97a4882c ! 149: FADDs fadds %f18, %f12, %f11 | |
9879 | pmu_2_68: | |
9880 | nop | |
9881 | setx 0xfffff0f1fffffe4f, %g1, %g7 | |
9882 | .word 0xa3800007 ! 150: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
9883 | .word 0x38800001 ! 151: BGU bgu,a <label_0x1> | |
9884 | .word 0xe33fc000 ! 152: STDF_R std %f17, [%r0, %r31] | |
9885 | splash_cmpr_2_69: | |
9886 | setx 0x79f2315a9e0f2208, %g2, %g1 | |
9887 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
9888 | sub %g1, 100, %g1 | |
9889 | .word 0xb1800001 ! 153: WR_STICK_REG_R wr %r0, %r1, %- | |
9890 | .word 0x95450000 ! 154: RD_SET_SOFTINT rd %set_softint, %r10 | |
9891 | donret_2_70: | |
9892 | nop | |
9893 | rd %pc, %r12 | |
9894 | add %r12, (donretarg_2_70-donret_2_70), %r12 | |
9895 | mov 0x38, %r18 | |
9896 | stxa %r12, [%r18]0x58 | |
9897 | add %r12, 0x4, %r11 | |
9898 | wrpr %g0, 0x1, %tl | |
9899 | wrpr %g0, %r12, %tpc | |
9900 | wrpr %g0, %r11, %tnpc | |
9901 | wrpr %g0, %r13, %tstate | |
9902 | wrhpr %g0, %r14, %htstate | |
9903 | retry | |
9904 | donretarg_2_70: | |
9905 | .word 0xe4fff6c3 ! 155: SWAPA_I swapa %r18, [%r31 + 0xfffff6c3] %asi | |
9906 | pmu_2_71: | |
9907 | nop | |
9908 | setx 0xfffffe94fffff9f1, %g1, %g7 | |
9909 | .word 0xa3800007 ! 156: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
9910 | splash_cmpr_2_72: | |
9911 | setx 0x00c4369561412e99, %g2, %g1 | |
9912 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9913 | sub %g1, 100, %g1 | |
9914 | .word 0xb1800001 ! 157: WR_STICK_REG_R wr %r0, %r1, %- | |
9915 | .word 0x8d903e6a ! 158: WRPR_PSTATE_I wrpr %r0, 0x1e6a, %pstate | |
9916 | .word 0xe48fe030 ! 159: LDUBA_I lduba [%r31, + 0x0030] %asi, %r18 | |
9917 | change_to_randtl_2_73: | |
9918 | ta T_CHANGE_HPRIV ! macro | |
9919 | done_change_to_randtl_2_73: | |
9920 | .word 0x8f902003 ! 160: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
9921 | .word 0x91d020b3 ! 161: Tcc_I ta icc_or_xcc, %r0 + 179 | |
9922 | splash_tba_2_74: | |
9923 | set 0x120000, %r12 | |
9924 | st %r1, [%r12+%r0] | |
9925 | ta T_CHANGE_PRIV | |
9926 | set 0x120000, %r12 | |
9927 | .word 0x8b90000c ! 162: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9928 | ta T_CHANGE_HPRIV | |
9929 | mov (2+1), %r10 | |
9930 | set sync_thr_counter1, %r23 | |
9931 | cas [%r23],%g0,%r10 !lock | |
9932 | brnz %r10, cwq_2_75 | |
9933 | rd %asi, %r12 | |
9934 | wr %g0, 0x40, %asi | |
9935 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9936 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9937 | cmp %l1, 1 | |
9938 | bne cwq_2_75 | |
9939 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9940 | sub %l2, 0x40, %l2 | |
9941 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9942 | wr %r12, %g0, %asi | |
9943 | st %g0, [%r23] | |
9944 | cwq_2_75: | |
9945 | ta T_CHANGE_NONHPRIV | |
9946 | .word 0x91414000 ! 163: RDPC rd %pc, %r8 | |
9947 | invalw | |
9948 | mov 0xb0, %r30 | |
9949 | .word 0x91d0001e ! 164: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9950 | intveclr_2_76: | |
9951 | setx 0xbf729ecc32fe500a, %r1, %r28 | |
9952 | stxa %r28, [%g0] 0x72 | |
9953 | .word 0x25400001 ! 165: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9954 | cwp_2_77: | |
9955 | set user_data_start, %o7 | |
9956 | .word 0x93902007 ! 166: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
9957 | .word 0xd68008a0 ! 167: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
9958 | ta T_CHANGE_HPRIV | |
9959 | mov (2+1), %r10 | |
9960 | set sync_thr_counter1, %r23 | |
9961 | cas [%r23],%g0,%r10 !lock | |
9962 | brnz %r10, cwq_2_78 | |
9963 | rd %asi, %r12 | |
9964 | wr %g0, 0x40, %asi | |
9965 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9966 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9967 | cmp %l1, 1 | |
9968 | bne cwq_2_78 | |
9969 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9970 | sub %l2, 0x40, %l2 | |
9971 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9972 | wr %r12, %g0, %asi | |
9973 | st %g0, [%r23] | |
9974 | cwq_2_78: | |
9975 | ta T_CHANGE_NONHPRIV | |
9976 | .word 0xa5414000 ! 168: RDPC rd %pc, %r18 | |
9977 | .word 0xa6fd0014 ! 169: SDIVcc_R sdivcc %r20, %r20, %r19 | |
9978 | splash_cmpr_2_79: | |
9979 | setx 0x1e5e8309d6ac8ed7, %g2, %g1 | |
9980 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9981 | sub %g1, 100, %g1 | |
9982 | .word 0xb1800001 ! 170: WR_STICK_REG_R wr %r0, %r1, %- | |
9983 | .word 0x93a00165 ! 171: FABSq dis not found | |
9984 | ||
9985 | .word 0xe097e000 ! 172: LDUHA_I lduha [%r31, + 0x0000] %asi, %r16 | |
9986 | mondo_2_80: | |
9987 | nop | |
9988 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9989 | ||
9990 | stxa %r0, [%r0+0x3d8] %asi | |
9991 | .word 0x9d918005 ! 173: WRPR_WSTATE_R wrpr %r6, %r5, %wstate | |
9992 | .word 0x87802004 ! 174: WRASI_I wr %r0, 0x0004, %asi | |
9993 | .word 0x93d02033 ! 175: Tcc_I tne icc_or_xcc, %r0 + 51 | |
9994 | memptr_2_81: | |
9995 | set user_data_start, %r31 | |
9996 | .word 0x8580f56a ! 176: WRCCR_I wr %r3, 0x156a, %ccr | |
9997 | nop | |
9998 | mov 0x80, %g3 | |
9999 | stxa %g3, [%g3] 0x5f | |
10000 | .word 0xe05fc000 ! 177: LDX_R ldx [%r31 + %r0], %r16 | |
10001 | .word 0xe0c80e40 ! 178: LDSBA_R ldsba [%r0, %r0] 0x72, %r16 | |
10002 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10003 | ta T_CHANGE_NONPRIV ! macro | |
10004 | .word 0x996d2fd6 ! 179: SDIVX_I sdivx %r20, 0x0fd6, %r12 | |
10005 | .word 0x93480000 ! 180: RDHPR_HPSTATE rdhpr %hpstate, %r9 | |
10006 | mov (2+1), %r10 | |
10007 | ta T_CHANGE_HPRIV | |
10008 | set sync_thr_counter2, %r23 | |
10009 | cas [%r23],%g0,%r10 !lock | |
10010 | brnz %r10, sma_2_83 | |
10011 | rd %asi, %r12 | |
10012 | wr %g0, 0x40, %asi | |
10013 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10014 | set 0x21fff, %g1 | |
10015 | stxa %g1, [%g0 + 0x80] %asi | |
10016 | wr %r12, %g0, %asi | |
10017 | st %g0, [%r23] | |
10018 | sma_2_83: | |
10019 | ta T_CHANGE_NONHPRIV | |
10020 | .word 0xd7e7e012 ! 181: CASA_R casa [%r31] %asi, %r18, %r11 | |
10021 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_84) + 24, 16, 16)) -> intp(4,0,2) | |
10022 | intvec_2_84: | |
10023 | .word 0x39400001 ! 182: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10024 | .word 0xd727c000 ! 183: STF_R st %f11, [%r0, %r31] | |
10025 | mondo_2_85: | |
10026 | nop | |
10027 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10028 | ||
10029 | stxa %r18, [%r0+0x3c0] %asi | |
10030 | .word 0x9d940014 ! 184: WRPR_WSTATE_R wrpr %r16, %r20, %wstate | |
10031 | splash_lsu_2_86: | |
10032 | setx 0x1a065f9a391d6721, %r1, %r2 | |
10033 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10034 | .word 0x3d400001 ! 185: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10035 | .word 0xd6cfe030 ! 186: LDSBA_I ldsba [%r31, + 0x0030] %asi, %r11 | |
10036 | debug_2_87: | |
10037 | nop | |
10038 | mov 8, %r18 | |
10039 | .word 0xe6f00492 ! 187: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
10040 | .word 0xd67ff8cc ! 188: SWAP_I swap %r11, [%r31 + 0xfffff8cc] | |
10041 | .word 0x87802055 ! 189: WRASI_I wr %r0, 0x0055, %asi | |
10042 | .word 0xa7a4c9c1 ! 190: FDIVd fdivd %f50, %f32, %f50 | |
10043 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_88) + 8, 16, 16)) -> intp(1,0,14) | |
10044 | intvec_2_88: | |
10045 | .word 0x39400001 ! 191: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10046 | .word 0x87802089 ! 192: WRASI_I wr %r0, 0x0089, %asi | |
10047 | setx 0xb066f63760fb3dc7, %r1, %r28 | |
10048 | stxa %r28, [%g0] 0x73 | |
10049 | intvec_2_89: | |
10050 | .word 0x39400001 ! 193: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10051 | debug_2_90: | |
10052 | nop | |
10053 | mov 8, %r18 | |
10054 | .word 0xe2f00492 ! 194: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
10055 | splash_lsu_2_91: | |
10056 | setx 0x661e95fdcca15b5f, %r1, %r2 | |
10057 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10058 | .word 0x3d400001 ! 195: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10059 | debug_2_92: | |
10060 | nop | |
10061 | mov 0x38, %r18 | |
10062 | .word 0xfef00b12 ! 196: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10063 | debug_2_93: | |
10064 | nop | |
10065 | mov 8, %r18 | |
10066 | .word 0xd6f00492 ! 197: STXA_R stxa %r11, [%r0 + %r18] 0x24 | |
10067 | debug_2_94: | |
10068 | nop | |
10069 | rd %pc, %r19 | |
10070 | add %r19, (64+24), %r19 | |
10071 | mov 0x38, %r18 | |
10072 | .word 0xe6f00b12 ! 198: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10073 | ta T_CHANGE_HPRIV | |
10074 | mov (2+1), %r10 | |
10075 | set sync_thr_counter1, %r23 | |
10076 | cas [%r23],%g0,%r10 !lock | |
10077 | brnz %r10, cwq_2_95 | |
10078 | rd %asi, %r12 | |
10079 | wr %g0, 0x40, %asi | |
10080 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10081 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10082 | cmp %l1, 1 | |
10083 | bne cwq_2_95 | |
10084 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10085 | sub %l2, 0x40, %l2 | |
10086 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10087 | wr %r12, %g0, %asi | |
10088 | st %g0, [%r23] | |
10089 | cwq_2_95: | |
10090 | ta T_CHANGE_NONHPRIV | |
10091 | .word 0xa5414000 ! 199: RDPC rd %pc, %r18 | |
10092 | .word 0xe07ff8cc ! 200: SWAP_I swap %r16, [%r31 + 0xfffff8cc] | |
10093 | .word 0x8d90314f ! 201: WRPR_PSTATE_I wrpr %r0, 0x114f, %pstate | |
10094 | tagged_2_96: | |
10095 | tsubcctv %r7, 0x1220, %r11 | |
10096 | .word 0xe007f8cc ! 202: LDUW_I lduw [%r31 + 0xfffff8cc], %r16 | |
10097 | mondo_2_97: | |
10098 | nop | |
10099 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10100 | ||
10101 | stxa %r3, [%r0+0x3d0] %asi | |
10102 | .word 0x9d900012 ! 203: WRPR_WSTATE_R wrpr %r0, %r18, %wstate | |
10103 | .word 0x97a049c8 ! 204: FDIVd fdivd %f32, %f8, %f42 | |
10104 | .word 0x8d90353c ! 205: WRPR_PSTATE_I wrpr %r0, 0x153c, %pstate | |
10105 | splash_lsu_2_98: | |
10106 | setx 0x926bf9fb1fa66e3f, %r1, %r2 | |
10107 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10108 | .word 0x3d400001 ! 206: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10109 | .word 0x94d22002 ! 207: UMULcc_I umulcc %r8, 0x0002, %r10 | |
10110 | .word 0xad81e507 ! 208: WR_SOFTINT_REG_I wr %r7, 0x0507, %softint | |
10111 | .word 0x95a149c4 ! 209: FDIVd fdivd %f36, %f4, %f10 | |
10112 | .word 0x97a00165 ! 210: FABSq dis not found | |
10113 | ||
10114 | .word 0x8780208b ! 211: WRASI_I wr %r0, 0x008b, %asi | |
10115 | debug_2_99: | |
10116 | nop | |
10117 | mov 8, %r18 | |
10118 | .word 0xe0f00492 ! 212: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
10119 | mov (2+1), %r10 | |
10120 | ta T_CHANGE_HPRIV | |
10121 | set sync_thr_counter2, %r23 | |
10122 | cas [%r23],%g0,%r10 !lock | |
10123 | brnz %r10, sma_2_100 | |
10124 | rd %asi, %r12 | |
10125 | wr %g0, 0x40, %asi | |
10126 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10127 | set 0x21fff, %g1 | |
10128 | stxa %g1, [%g0 + 0x80] %asi | |
10129 | wr %r12, %g0, %asi | |
10130 | st %g0, [%r23] | |
10131 | sma_2_100: | |
10132 | ta T_CHANGE_NONHPRIV | |
10133 | .word 0xe5e7e00b ! 213: CASA_R casa [%r31] %asi, %r11, %r18 | |
10134 | splash_tba_2_101: | |
10135 | set 0x120000, %r12 | |
10136 | ld [%r12+%r0], %r1 | |
10137 | ta T_CHANGE_PRIV | |
10138 | set 0x120000, %r12 | |
10139 | .word 0x8b90000c ! 214: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10140 | nop | |
10141 | mov 0x80, %g3 | |
10142 | stxa %g3, [%g3] 0x5f | |
10143 | .word 0xe45fc000 ! 215: LDX_R ldx [%r31 + %r0], %r18 | |
10144 | splash_cmpr_2_102: | |
10145 | setx 0x4872dc8db6f30050, %g2, %g1 | |
10146 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10147 | sub %g1, 100, %g1 | |
10148 | .word 0xb1800001 ! 216: WR_STICK_REG_R wr %r0, %r1, %- | |
10149 | .word 0x81460000 ! 217: RD_STICK_REG stbar | |
10150 | .word 0xe49004a0 ! 218: LDUHA_R lduha [%r0, %r0] 0x25, %r18 | |
10151 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10152 | ta T_CHANGE_NONHPRIV ! macro | |
10153 | .word 0x97a01962 ! 219: FqTOd dis not found | |
10154 | ||
10155 | tagged_2_104: | |
10156 | tsubcctv %r3, 0x1c9b, %r5 | |
10157 | .word 0xe807e50d ! 220: LDUW_I lduw [%r31 + 0x050d], %r20 | |
10158 | .word 0x91943706 ! 221: WRPR_PIL_I wrpr %r16, 0x1706, %pil | |
10159 | pmu_2_105: | |
10160 | nop | |
10161 | setx 0xfffff39afffff817, %g1, %g7 | |
10162 | .word 0xa3800007 ! 222: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
10163 | intveclr_2_106: | |
10164 | setx 0x9c64f04a71685ea7, %r1, %r28 | |
10165 | stxa %r28, [%g0] 0x72 | |
10166 | .word 0x25400001 ! 223: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10167 | nop | |
10168 | mov 0x80, %g3 | |
10169 | stxa %g3, [%g3] 0x5f | |
10170 | .word 0xe85fc000 ! 224: LDX_R ldx [%r31 + %r0], %r20 | |
10171 | otherw | |
10172 | mov 0x31, %r30 | |
10173 | .word 0x93d0001e ! 225: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
10174 | .word 0xe83fe48b ! 226: STD_I std %r20, [%r31 + 0x048b] | |
10175 | .word 0x8d802000 ! 227: WRFPRS_I wr %r0, 0x0000, %fprs | |
10176 | .word 0x99702107 ! 228: POPC_I popc 0x0107, %r12 | |
10177 | splash_hpstate_2_107: | |
10178 | .word 0x81982c44 ! 229: WRHPR_HPSTATE_I wrhpr %r0, 0x0c44, %hpstate | |
10179 | mov (2+1), %r10 | |
10180 | ta T_CHANGE_HPRIV | |
10181 | set sync_thr_counter2, %r23 | |
10182 | cas [%r23],%g0,%r10 !lock | |
10183 | brnz %r10, sma_2_108 | |
10184 | rd %asi, %r12 | |
10185 | wr %g0, 0x40, %asi | |
10186 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10187 | set 0x21fff, %g1 | |
10188 | stxa %g1, [%g0 + 0x80] %asi | |
10189 | wr %r12, %g0, %asi | |
10190 | st %g0, [%r23] | |
10191 | sma_2_108: | |
10192 | ta T_CHANGE_NONHPRIV | |
10193 | .word 0xd1e7e003 ! 230: CASA_R casa [%r31] %asi, %r3, %r8 | |
10194 | .word 0xa5480000 ! 231: RDHPR_HPSTATE rdhpr %hpstate, %r18 | |
10195 | splash_htba_2_109: | |
10196 | set 0x80000, %r12 | |
10197 | ld [%r12+%r0], %r1 | |
10198 | ta T_CHANGE_HPRIV | |
10199 | set 0x80000, %r12 | |
10200 | .word 0x8b98000c ! 232: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
10201 | .word 0x8d902953 ! 233: WRPR_PSTATE_I wrpr %r0, 0x0953, %pstate | |
10202 | debug_2_110: | |
10203 | nop | |
10204 | mov 0x38, %r18 | |
10205 | .word 0xfef00b12 ! 234: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10206 | tagged_2_111: | |
10207 | taddcctv %r23, 0x1bf5, %r15 | |
10208 | .word 0xd607f25b ! 235: LDUW_I lduw [%r31 + 0xfffff25b], %r11 | |
10209 | cwp_2_112: | |
10210 | set user_data_start, %o7 | |
10211 | .word 0x93902006 ! 236: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
10212 | splash_cmpr_2_113: | |
10213 | setx 0x8fe46221198e62e9, %g2, %g1 | |
10214 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
10215 | sub %g1, 100, %g1 | |
10216 | .word 0xb1800001 ! 237: WR_STICK_REG_R wr %r0, %r1, %- | |
10217 | .word 0xd677c000 ! 238: STX_R stx %r11, [%r31 + %r0] | |
10218 | .word 0xa9848013 ! 239: WR_SET_SOFTINT_R wr %r18, %r19, %set_softint | |
10219 | memptr_2_114: | |
10220 | set user_data_start, %r31 | |
10221 | .word 0x8581e04b ! 240: WRCCR_I wr %r7, 0x004b, %ccr | |
10222 | debug_2_115: | |
10223 | nop | |
10224 | rd %pc, %r19 | |
10225 | add %r19, (64+24), %r19 | |
10226 | mov 0x38, %r18 | |
10227 | .word 0xe6f00b12 ! 241: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10228 | invalw | |
10229 | mov 0xb0, %r30 | |
10230 | .word 0x91d0001e ! 242: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
10231 | intveclr_2_116: | |
10232 | setx 0x4a7e4f4566bf94eb, %r1, %r28 | |
10233 | stxa %r28, [%g0] 0x72 | |
10234 | .word 0x25400001 ! 243: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10235 | .word 0x9f803658 ! 244: SIR sir 0x1658 | |
10236 | .word 0xab824012 ! 245: WR_CLEAR_SOFTINT_R wr %r9, %r18, %clear_softint | |
10237 | tagged_2_117: | |
10238 | taddcctv %r6, 0x1126, %r21 | |
10239 | .word 0xd607fea4 ! 246: LDUW_I lduw [%r31 + 0xfffffea4], %r11 | |
10240 | debug_2_118: | |
10241 | nop | |
10242 | rd %pc, %r19 | |
10243 | add %r19, (64+0), %r19 | |
10244 | mov 0x38, %r18 | |
10245 | .word 0xe6f00b12 ! 247: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10246 | mondo_2_119: | |
10247 | nop | |
10248 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10249 | ||
10250 | stxa %r18, [%r0+0x3e8] %asi | |
10251 | .word 0x9d908007 ! 248: WRPR_WSTATE_R wrpr %r2, %r7, %wstate | |
10252 | .word 0x95500000 ! 249: RDPR_TPC <illegal instruction> | |
10253 | tagged_2_120: | |
10254 | tsubcctv %r8, 0x1c5d, %r2 | |
10255 | .word 0xd807fea4 ! 250: LDUW_I lduw [%r31 + 0xfffffea4], %r12 | |
10256 | .word 0xa5a00168 ! 251: FABSq dis not found | |
10257 | ||
10258 | .word 0xd6c004a0 ! 252: LDSWA_R ldswa [%r0, %r0] 0x25, %r11 | |
10259 | splash_lsu_2_121: | |
10260 | setx 0x263a37fa89b4347d, %r1, %r2 | |
10261 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10262 | .word 0x3d400001 ! 253: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10263 | memptr_2_122: | |
10264 | set 0x60740000, %r31 | |
10265 | .word 0x8580a131 ! 254: WRCCR_I wr %r2, 0x0131, %ccr | |
10266 | nop | |
10267 | mov 0x80, %g3 | |
10268 | stxa %g3, [%g3] 0x5f | |
10269 | .word 0xd65fc000 ! 255: LDX_R ldx [%r31 + %r0], %r11 | |
10270 | .word 0xd6d7e000 ! 256: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r11 | |
10271 | splash_cmpr_2_123: | |
10272 | setx 0x727f54903e787712, %g2, %g1 | |
10273 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
10274 | sub %g1, 100, %g1 | |
10275 | .word 0xb1800001 ! 257: WR_STICK_REG_R wr %r0, %r1, %- | |
10276 | invalw | |
10277 | mov 0x30, %r30 | |
10278 | .word 0x93d0001e ! 258: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
10279 | .word 0x95500000 ! 259: RDPR_TPC <illegal instruction> | |
10280 | mov (2+1), %r10 | |
10281 | ta T_CHANGE_HPRIV | |
10282 | set sync_thr_counter2, %r23 | |
10283 | cas [%r23],%g0,%r10 !lock | |
10284 | brnz %r10, sma_2_124 | |
10285 | rd %asi, %r12 | |
10286 | wr %g0, 0x40, %asi | |
10287 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10288 | set 0x21fff, %g1 | |
10289 | stxa %g1, [%g0 + 0x80] %asi | |
10290 | wr %r12, %g0, %asi | |
10291 | st %g0, [%r23] | |
10292 | sma_2_124: | |
10293 | ta T_CHANGE_NONHPRIV | |
10294 | .word 0xe3e7e005 ! 260: CASA_R casa [%r31] %asi, %r5, %r17 | |
10295 | nop | |
10296 | mov 0x80, %g3 | |
10297 | stxa %g3, [%g3] 0x57 | |
10298 | .word 0xe25fc000 ! 261: LDX_R ldx [%r31 + %r0], %r17 | |
10299 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10300 | ta T_CHANGE_NONHPRIV ! macro | |
10301 | .word 0xa1a01971 ! 262: FqTOd dis not found | |
10302 | ||
10303 | .word 0x8d903391 ! 263: WRPR_PSTATE_I wrpr %r0, 0x1391, %pstate | |
10304 | DS_2_126: | |
10305 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
10306 | .word 0xbf4ab549 ! Random illegal ? | |
10307 | .word 0x99a00554 ! 1: FSQRTd fsqrt | |
10308 | .word 0x91a2482a ! 264: FADDs fadds %f9, %f10, %f8 | |
10309 | .word 0xd68008a0 ! 265: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
10310 | intveclr_2_127: | |
10311 | setx 0xc93f6cab90b11548, %r1, %r28 | |
10312 | stxa %r28, [%g0] 0x72 | |
10313 | .word 0x25400001 ! 266: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10314 | .word 0x9b520000 ! 267: RDPR_PIL rdpr %pil, %r13 | |
10315 | .word 0xab818003 ! 268: WR_CLEAR_SOFTINT_R wr %r6, %r3, %clear_softint | |
10316 | splash_cmpr_2_128: | |
10317 | setx 0x3b9b576a2d2f2e19, %g2, %g1 | |
10318 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10319 | sub %g1, 100, %g1 | |
10320 | .word 0xb1800001 ! 269: WR_STICK_REG_R wr %r0, %r1, %- | |
10321 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10322 | ta T_CHANGE_NONHPRIV ! macro | |
10323 | .word 0xa3a01965 ! 270: FqTOd dis not found | |
10324 | ||
10325 | splash_cmpr_2_130: | |
10326 | setx 0x7c82ddb32146e370, %g2, %g1 | |
10327 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10328 | sub %g1, 100, %g1 | |
10329 | .word 0xb1800001 ! 271: WR_STICK_REG_R wr %r0, %r1, %- | |
10330 | ta T_CHANGE_HPRIV | |
10331 | mov (2+1), %r10 | |
10332 | set sync_thr_counter1, %r23 | |
10333 | cas [%r23],%g0,%r10 !lock | |
10334 | brnz %r10, cwq_2_131 | |
10335 | rd %asi, %r12 | |
10336 | wr %g0, 0x40, %asi | |
10337 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10338 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10339 | cmp %l1, 1 | |
10340 | bne cwq_2_131 | |
10341 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10342 | sub %l2, 0x40, %l2 | |
10343 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10344 | wr %r12, %g0, %asi | |
10345 | st %g0, [%r23] | |
10346 | cwq_2_131: | |
10347 | ta T_CHANGE_NONHPRIV | |
10348 | .word 0xa9414000 ! 272: RDPC rd %pc, %r20 | |
10349 | splash_cmpr_2_132: | |
10350 | setx 0x42c4d3a209bc76a9, %g2, %g1 | |
10351 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10352 | sub %g1, 100, %g1 | |
10353 | .word 0xb1800001 ! 273: WR_STICK_REG_R wr %r0, %r1, %- | |
10354 | tagged_2_133: | |
10355 | taddcctv %r6, 0x188a, %r8 | |
10356 | .word 0xda07edb6 ! 274: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
10357 | mondo_2_134: | |
10358 | nop | |
10359 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10360 | ||
10361 | stxa %r7, [%r0+0x3c0] %asi | |
10362 | .word 0x9d91c013 ! 275: WRPR_WSTATE_R wrpr %r7, %r19, %wstate | |
10363 | rd %pc, %r19 | |
10364 | add %r19, (ivw_2_135-.+40), %r19 | |
10365 | mov 0x38, %r18 | |
10366 | stxa %r19, [%r18]0x58 | |
10367 | ivw_2_135: | |
10368 | .word 0x91910000 ! 276: WRPR_PIL_R wrpr %r4, %r0, %pil | |
10369 | cwp_2_136: | |
10370 | set user_data_start, %o7 | |
10371 | .word 0x93902001 ! 277: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
10372 | tagged_2_137: | |
10373 | taddcctv %r12, 0x1952, %r7 | |
10374 | .word 0xda07edb6 ! 278: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
10375 | cwp_2_138: | |
10376 | set user_data_start, %o7 | |
10377 | .word 0x93902005 ! 279: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
10378 | otherw | |
10379 | mov 0x34, %r30 | |
10380 | .word 0x91d0001e ! 280: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
10381 | intveclr_2_139: | |
10382 | setx 0x09a02addc3f78fa0, %r1, %r28 | |
10383 | stxa %r28, [%g0] 0x72 | |
10384 | .word 0x25400001 ! 281: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10385 | .word 0xa1450000 ! 282: RD_SET_SOFTINT rd %set_softint, %r16 | |
10386 | splash_tba_2_140: | |
10387 | set 0x120000, %r12 | |
10388 | st %r1, [%r12+%r0] | |
10389 | ta T_CHANGE_PRIV | |
10390 | set 0x120000, %r12 | |
10391 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10392 | debug_2_141: | |
10393 | nop | |
10394 | mov 8, %r18 | |
10395 | .word 0xe2f00492 ! 284: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
10396 | debug_2_142: | |
10397 | nop | |
10398 | rd %pc, %r19 | |
10399 | add %r19, (64+24), %r19 | |
10400 | mov 0x38, %r18 | |
10401 | .word 0xe6f00b12 ! 285: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10402 | .word 0xa1902009 ! 286: WRPR_GL_I wrpr %r0, 0x0009, %- | |
10403 | cwp_2_143: | |
10404 | set user_data_start, %o7 | |
10405 | .word 0x93902005 ! 287: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
10406 | .word 0x879020c7 ! 288: WRPR_TT_I wrpr %r0, 0x00c7, %tt | |
10407 | .word 0x9970203b ! 289: POPC_I popc 0x003b, %r12 | |
10408 | ta T_CHANGE_HPRIV | |
10409 | mov (2+1), %r10 | |
10410 | set sync_thr_counter1, %r23 | |
10411 | cas [%r23],%g0,%r10 !lock | |
10412 | brnz %r10, cwq_2_144 | |
10413 | rd %asi, %r12 | |
10414 | wr %g0, 0x40, %asi | |
10415 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10416 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10417 | cmp %l1, 1 | |
10418 | bne cwq_2_144 | |
10419 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10420 | sub %l2, 0x40, %l2 | |
10421 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10422 | wr %r12, %g0, %asi | |
10423 | st %g0, [%r23] | |
10424 | cwq_2_144: | |
10425 | ta T_CHANGE_NONHPRIV | |
10426 | .word 0x91414000 ! 290: RDPC rd %pc, %r8 | |
10427 | ta T_CHANGE_HPRIV | |
10428 | mov (2+1), %r10 | |
10429 | set sync_thr_counter1, %r23 | |
10430 | cas [%r23],%g0,%r10 !lock | |
10431 | brnz %r10, cwq_2_145 | |
10432 | rd %asi, %r12 | |
10433 | wr %g0, 0x40, %asi | |
10434 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10435 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10436 | cmp %l1, 1 | |
10437 | bne cwq_2_145 | |
10438 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10439 | sub %l2, 0x40, %l2 | |
10440 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10441 | wr %r12, %g0, %asi | |
10442 | st %g0, [%r23] | |
10443 | cwq_2_145: | |
10444 | ta T_CHANGE_NONHPRIV | |
10445 | .word 0x95414000 ! 291: RDPC rd %pc, %r10 | |
10446 | invalw | |
10447 | mov 0x33, %r30 | |
10448 | .word 0x91d0001e ! 292: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
10449 | .word 0xa5a0016b ! 293: FABSq dis not found | |
10450 | ||
10451 | splash_hpstate_2_146: | |
10452 | .word 0x8198290e ! 294: WRHPR_HPSTATE_I wrhpr %r0, 0x090e, %hpstate | |
10453 | mondo_2_147: | |
10454 | nop | |
10455 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10456 | ||
10457 | stxa %r16, [%r0+0x3e8] %asi | |
10458 | .word 0x9d948009 ! 295: WRPR_WSTATE_R wrpr %r18, %r9, %wstate | |
10459 | .word 0x81460000 ! 296: RD_STICK_REG stbar | |
10460 | .word 0x87902349 ! 297: WRPR_TT_I wrpr %r0, 0x0349, %tt | |
10461 | tagged_2_148: | |
10462 | tsubcctv %r3, 0x1dba, %r25 | |
10463 | .word 0xda07e368 ! 298: LDUW_I lduw [%r31 + 0x0368], %r13 | |
10464 | splash_tba_2_149: | |
10465 | set 0x120000, %r12 | |
10466 | ld [%r12+%r0], %r1 | |
10467 | ta T_CHANGE_PRIV | |
10468 | set 0x120000, %r12 | |
10469 | .word 0x8b90000c ! 299: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10470 | .word 0xda6fe368 ! 300: LDSTUB_I ldstub %r13, [%r31 + 0x0368] | |
10471 | splash_cmpr_2_150: | |
10472 | setx 0xc2c6e63896aa48d6, %g2, %g1 | |
10473 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10474 | sub %g1, 100, %g1 | |
10475 | .word 0xb1800001 ! 301: WR_STICK_REG_R wr %r0, %r1, %- | |
10476 | .word 0xdabfe368 ! 302: STDA_I stda %r13, [%r31 + 0x0368] %asi | |
10477 | splash_tba_2_151: | |
10478 | set 0x120000, %r12 | |
10479 | ld [%r12+%r0], %r1 | |
10480 | ta T_CHANGE_PRIV | |
10481 | set 0x120000, %r12 | |
10482 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10483 | .word 0x97a00163 ! 304: FABSq dis not found | |
10484 | ||
10485 | .word 0xda47e368 ! 305: LDSW_I ldsw [%r31 + 0x0368], %r13 | |
10486 | .word 0x8d902c9c ! 306: WRPR_PSTATE_I wrpr %r0, 0x0c9c, %pstate | |
10487 | rd %pc, %r19 | |
10488 | add %r19, (ivw_2_152-.+8), %r19 | |
10489 | mov 0x38, %r18 | |
10490 | stxa %r19, [%r18]0x58 | |
10491 | ivw_2_152: | |
10492 | .word 0x9194c011 ! 307: WRPR_PIL_R wrpr %r19, %r17, %pil | |
10493 | DS_2_153: | |
10494 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
10495 | .word 0xa7a009c0 ! 1: FDIVd fdivd %f0, %f0, %f50 | |
10496 | normalw | |
10497 | .word 0xa9458000 ! 308: RD_SOFTINT_REG rd %softint, %r20 | |
10498 | .word 0xd33fe368 ! 309: STDF_I std %f9, [0x0368, %r31] | |
10499 | .word 0x91d02033 ! 310: Tcc_I ta icc_or_xcc, %r0 + 51 | |
10500 | .word 0xa350c000 ! 311: RDPR_TT <illegal instruction> | |
10501 | mov (2+1), %r10 | |
10502 | ta T_CHANGE_HPRIV | |
10503 | set sync_thr_counter2, %r23 | |
10504 | cas [%r23],%g0,%r10 !lock | |
10505 | brnz %r10, sma_2_154 | |
10506 | rd %asi, %r12 | |
10507 | wr %g0, 0x40, %asi | |
10508 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10509 | set 0x21fff, %g1 | |
10510 | stxa %g1, [%g0 + 0x80] %asi | |
10511 | wr %r12, %g0, %asi | |
10512 | st %g0, [%r23] | |
10513 | sma_2_154: | |
10514 | ta T_CHANGE_NONHPRIV | |
10515 | .word 0xd3e7e00d ! 312: CASA_R casa [%r31] %asi, %r13, %r9 | |
10516 | tagged_2_155: | |
10517 | taddcctv %r23, 0x1cad, %r21 | |
10518 | .word 0xd207e368 ! 313: LDUW_I lduw [%r31 + 0x0368], %r9 | |
10519 | DS_2_156: | |
10520 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
10521 | .word 0xbfefc000 ! 314: RESTORE_R restore %r31, %r0, %r31 | |
10522 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10523 | ta T_CHANGE_NONHPRIV ! macro | |
10524 | .word 0x936a650d ! 315: SDIVX_I sdivx %r9, 0x050d, %r9 | |
10525 | .word 0xe8dfe020 ! 316: LDXA_I ldxa [%r31, + 0x0020] %asi, %r20 | |
10526 | nop | |
10527 | mov 0x80, %g3 | |
10528 | stxa %g3, [%g3] 0x57 | |
10529 | .word 0xe85fc000 ! 317: LDX_R ldx [%r31 + %r0], %r20 | |
10530 | debug_2_158: | |
10531 | nop | |
10532 | mov 0x38, %r18 | |
10533 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10534 | splash_htba_2_159: | |
10535 | set 0x003a0000, %r12 | |
10536 | ld [%r12+%r0], %r1 | |
10537 | ta T_CHANGE_HPRIV | |
10538 | set 0x003a0000, %r12 | |
10539 | .word 0x8b98000c ! 319: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
10540 | ta T_CHANGE_HPRIV | |
10541 | mov (2+1), %r10 | |
10542 | set sync_thr_counter1, %r23 | |
10543 | cas [%r23],%g0,%r10 !lock | |
10544 | brnz %r10, cwq_2_160 | |
10545 | rd %asi, %r12 | |
10546 | wr %g0, 0x40, %asi | |
10547 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10548 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10549 | cmp %l1, 1 | |
10550 | bne cwq_2_160 | |
10551 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10552 | sub %l2, 0x40, %l2 | |
10553 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10554 | wr %r12, %g0, %asi | |
10555 | st %g0, [%r23] | |
10556 | cwq_2_160: | |
10557 | ta T_CHANGE_NONHPRIV | |
10558 | .word 0x97414000 ! 320: RDPC rd %pc, %r11 | |
10559 | .word 0xe537c000 ! 321: STQF_R - %f18, [%r0, %r31] | |
10560 | .word 0xa1464000 ! 322: RD_STICK_CMPR_REG rd %-, %r16 | |
10561 | .word 0x91d02035 ! 323: Tcc_I ta icc_or_xcc, %r0 + 53 | |
10562 | .word 0xab834013 ! 324: WR_CLEAR_SOFTINT_R wr %r13, %r19, %clear_softint | |
10563 | .word 0xd28804a0 ! 325: LDUBA_R lduba [%r0, %r0] 0x25, %r9 | |
10564 | splash_cmpr_2_161: | |
10565 | setx 0x7d27c2d4c44c2b28, %g2, %g1 | |
10566 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
10567 | sub %g1, 100, %g1 | |
10568 | .word 0xb1800001 ! 326: WR_STICK_REG_R wr %r0, %r1, %- | |
10569 | .word 0x99902004 ! 327: WRPR_CLEANWIN_I wrpr %r0, 0x0004, %cleanwin | |
10570 | DS_2_162: | |
10571 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
10572 | .word 0xad730195 ! Random illegal ? | |
10573 | .word 0x99a289c9 ! 1: FDIVd fdivd %f10, %f40, %f12 | |
10574 | .word 0x97a30832 ! 328: FADDs fadds %f12, %f18, %f11 | |
10575 | .word 0x8d903ac5 ! 329: WRPR_PSTATE_I wrpr %r0, 0x1ac5, %pstate | |
10576 | nop | |
10577 | mov 0x80, %g3 | |
10578 | stxa %g3, [%g3] 0x57 | |
10579 | .word 0xd05fc000 ! 330: LDX_R ldx [%r31 + %r0], %r8 | |
10580 | .word 0xd08fe030 ! 331: LDUBA_I lduba [%r31, + 0x0030] %asi, %r8 | |
10581 | mondo_2_163: | |
10582 | nop | |
10583 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10584 | ||
10585 | stxa %r18, [%r0+0x3c0] %asi | |
10586 | .word 0x9d920013 ! 332: WRPR_WSTATE_R wrpr %r8, %r19, %wstate | |
10587 | .word 0xa28528a5 ! 333: ADDcc_I addcc %r20, 0x08a5, %r17 | |
10588 | invalw | |
10589 | mov 0x30, %r30 | |
10590 | .word 0x83d0001e ! 334: Tcc_R te icc_or_xcc, %r0 + %r30 | |
10591 | splash_hpstate_2_164: | |
10592 | .word 0x81982fdf ! 335: WRHPR_HPSTATE_I wrhpr %r0, 0x0fdf, %hpstate | |
10593 | tagged_2_165: | |
10594 | taddcctv %r14, 0x15e5, %r14 | |
10595 | .word 0xda07fbd4 ! 336: LDUW_I lduw [%r31 + 0xfffffbd4], %r13 | |
10596 | .word 0xa1902003 ! 337: WRPR_GL_I wrpr %r0, 0x0003, %- | |
10597 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_166) + 0, 16, 16)) -> intp(0,0,18) | |
10598 | intvec_2_166: | |
10599 | .word 0x39400001 ! 338: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10600 | splash_decr_2_167: | |
10601 | nop | |
10602 | ta T_CHANGE_HPRIV | |
10603 | mov 8, %r1 | |
10604 | stxa %r7, [%r1] 0x45 | |
10605 | .word 0xa7820012 ! 339: WR_GRAPHICS_STATUS_REG_R wr %r8, %r18, %- | |
10606 | splash_hpstate_2_168: | |
10607 | .word 0x81982d47 ! 340: WRHPR_HPSTATE_I wrhpr %r0, 0x0d47, %hpstate | |
10608 | DS_2_169: | |
10609 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
10610 | .word 0xbfefc000 ! 341: RESTORE_R restore %r31, %r0, %r31 | |
10611 | .word 0x8d902910 ! 342: WRPR_PSTATE_I wrpr %r0, 0x0910, %pstate | |
10612 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_170) + 32, 16, 16)) -> intp(1,0,9) | |
10613 | intvec_2_170: | |
10614 | .word 0x39400001 ! 343: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10615 | .word 0x87802088 ! 344: WRASI_I wr %r0, 0x0088, %asi | |
10616 | .word 0xa190200e ! 345: WRPR_GL_I wrpr %r0, 0x000e, %- | |
10617 | splash_lsu_2_171: | |
10618 | setx 0xe84ef2b52cf593b5, %r1, %r2 | |
10619 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10620 | .word 0x3d400001 ! 346: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10621 | cwp_2_172: | |
10622 | set user_data_start, %o7 | |
10623 | .word 0x93902004 ! 347: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
10624 | splash_cmpr_2_173: | |
10625 | setx 0xc9ea929fc90675aa, %g2, %g1 | |
10626 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
10627 | sub %g1, 100, %g1 | |
10628 | .word 0xb1800001 ! 348: WR_STICK_REG_R wr %r0, %r1, %- | |
10629 | .word 0xdac804a0 ! 349: LDSBA_R ldsba [%r0, %r0] 0x25, %r13 | |
10630 | .word 0x93520000 ! 350: RDPR_PIL <illegal instruction> | |
10631 | .word 0xd4c00e60 ! 351: LDSWA_R ldswa [%r0, %r0] 0x73, %r10 | |
10632 | donret_2_174: | |
10633 | nop | |
10634 | rd %pc, %r12 | |
10635 | add %r12, (donretarg_2_174-donret_2_174), %r12 | |
10636 | mov 0x38, %r18 | |
10637 | stxa %r12, [%r18]0x58 | |
10638 | add %r12, 0x4, %r11 | |
10639 | wrpr %g0, 0x1, %tl | |
10640 | wrpr %g0, %r12, %tpc | |
10641 | wrpr %g0, %r11, %tnpc | |
10642 | wrpr %g0, %r13, %tstate | |
10643 | wrhpr %g0, %r14, %htstate | |
10644 | retry | |
10645 | donretarg_2_174: | |
10646 | .word 0xd4fffbd4 ! 352: SWAPA_I swapa %r10, [%r31 + 0xfffffbd4] %asi | |
10647 | intveclr_2_175: | |
10648 | setx 0x7cdc0e02ac03d8f0, %r1, %r28 | |
10649 | stxa %r28, [%g0] 0x72 | |
10650 | .word 0x25400001 ! 353: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10651 | DS_2_176: | |
10652 | nop | |
10653 | not %g0, %r12 | |
10654 | jmp %r12 | |
10655 | .word 0x9d902002 ! 354: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
10656 | cwp_2_177: | |
10657 | set user_data_start, %o7 | |
10658 | .word 0x93902006 ! 355: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
10659 | change_to_randtl_2_178: | |
10660 | ta T_CHANGE_PRIV ! macro | |
10661 | done_change_to_randtl_2_178: | |
10662 | .word 0x8f902001 ! 356: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10663 | .word 0xd51fc000 ! 357: LDDF_R ldd [%r31, %r0], %f10 | |
10664 | .word 0x87802004 ! 358: WRASI_I wr %r0, 0x0004, %asi | |
10665 | .word 0xd4c80e60 ! 359: LDSBA_R ldsba [%r0, %r0] 0x73, %r10 | |
10666 | .word 0x91d020b4 ! 360: Tcc_I ta icc_or_xcc, %r0 + 180 | |
10667 | .word 0xad847ca8 ! 361: WR_SOFTINT_REG_I wr %r17, 0x1ca8, %softint | |
10668 | splash_htba_2_179: | |
10669 | set 0x80000, %r12 | |
10670 | ld [%r12+%r0], %r1 | |
10671 | ta T_CHANGE_HPRIV | |
10672 | set 0x80000, %r12 | |
10673 | .word 0x8b98000c ! 362: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
10674 | .word 0xd4c804a0 ! 363: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
10675 | nop | |
10676 | mov 0x80, %g3 | |
10677 | stxa %g3, [%g3] 0x57 | |
10678 | .word 0xd45fc000 ! 364: LDX_R ldx [%r31 + %r0], %r10 | |
10679 | memptr_2_180: | |
10680 | set user_data_start, %r31 | |
10681 | .word 0x85846882 ! 365: WRCCR_I wr %r17, 0x0882, %ccr | |
10682 | debug_2_181: | |
10683 | nop | |
10684 | rd %pc, %r19 | |
10685 | add %r19, (64+40), %r19 | |
10686 | mov 0x38, %r18 | |
10687 | .word 0xe6f00b12 ! 366: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10688 | splash_tba_2_182: | |
10689 | set 0x120000, %r12 | |
10690 | st %r1, [%r12+%r0] | |
10691 | ta T_CHANGE_PRIV | |
10692 | set 0x120000, %r12 | |
10693 | .word 0x8b90000c ! 367: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10694 | splash_htba_2_183: | |
10695 | set 0x003a0000, %r12 | |
10696 | ld [%r12+%r0], %r1 | |
10697 | ta T_CHANGE_HPRIV | |
10698 | set 0x003a0000, %r12 | |
10699 | .word 0x8b98000c ! 368: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
10700 | .word 0xd4d804a0 ! 369: LDXA_R ldxa [%r0, %r0] 0x25, %r10 | |
10701 | debug_2_184: | |
10702 | nop | |
10703 | rd %pc, %r19 | |
10704 | add %r19, (64+40), %r19 | |
10705 | mov 0x38, %r18 | |
10706 | .word 0xe6f00b12 ! 370: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10707 | .word 0xd4c004a0 ! 371: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
10708 | .word 0xd4d004a0 ! 372: LDSHA_R ldsha [%r0, %r0] 0x25, %r10 | |
10709 | splash_lsu_2_185: | |
10710 | setx 0x05cb77ebaca00c15, %r1, %r2 | |
10711 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10712 | .word 0x3d400001 ! 373: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10713 | .word 0xa1902008 ! 374: WRPR_GL_I wrpr %r0, 0x0008, %- | |
10714 | nop | |
10715 | mov 0x80, %g3 | |
10716 | stxa %g3, [%g3] 0x57 | |
10717 | .word 0xd45fc000 ! 375: LDX_R ldx [%r31 + %r0], %r10 | |
10718 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_186) + 8, 16, 16)) -> intp(6,0,26) | |
10719 | intvec_2_186: | |
10720 | .word 0x39400001 ! 376: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10721 | .word 0x9f803786 ! 377: SIR sir 0x1786 | |
10722 | setx 0xe47bb6f16ba0a042, %r1, %r28 | |
10723 | stxa %r28, [%g0] 0x73 | |
10724 | intvec_2_187: | |
10725 | .word 0x39400001 ! 378: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10726 | invalw | |
10727 | mov 0xb1, %r30 | |
10728 | .word 0x91d0001e ! 379: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
10729 | splash_hpstate_2_188: | |
10730 | .word 0x819828de ! 380: WRHPR_HPSTATE_I wrhpr %r0, 0x08de, %hpstate | |
10731 | mov (2+1), %r10 | |
10732 | ta T_CHANGE_HPRIV | |
10733 | set sync_thr_counter2, %r23 | |
10734 | cas [%r23],%g0,%r10 !lock | |
10735 | brnz %r10, sma_2_189 | |
10736 | rd %asi, %r12 | |
10737 | wr %g0, 0x40, %asi | |
10738 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10739 | set 0x21fff, %g1 | |
10740 | stxa %g1, [%g0 + 0x80] %asi | |
10741 | wr %r12, %g0, %asi | |
10742 | st %g0, [%r23] | |
10743 | sma_2_189: | |
10744 | ta T_CHANGE_NONHPRIV | |
10745 | .word 0xd5e7e008 ! 381: CASA_R casa [%r31] %asi, %r8, %r10 | |
10746 | debug_2_190: | |
10747 | nop | |
10748 | rd %pc, %r19 | |
10749 | add %r19, (64+40), %r19 | |
10750 | mov 0x38, %r18 | |
10751 | .word 0xe6f00b12 ! 382: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10752 | ta T_CHANGE_HPRIV | |
10753 | mov (2+1), %r10 | |
10754 | set sync_thr_counter1, %r23 | |
10755 | cas [%r23],%g0,%r10 !lock | |
10756 | brnz %r10, cwq_2_191 | |
10757 | rd %asi, %r12 | |
10758 | wr %g0, 0x40, %asi | |
10759 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10760 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10761 | cmp %l1, 1 | |
10762 | bne cwq_2_191 | |
10763 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10764 | sub %l2, 0x40, %l2 | |
10765 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10766 | wr %r12, %g0, %asi | |
10767 | st %g0, [%r23] | |
10768 | cwq_2_191: | |
10769 | ta T_CHANGE_NONHPRIV | |
10770 | .word 0xa1414000 ! 383: RDPC rd %pc, %r16 | |
10771 | .word 0xd6c7e000 ! 384: LDSWA_I ldswa [%r31, + 0x0000] %asi, %r11 | |
10772 | cwp_2_192: | |
10773 | set user_data_start, %o7 | |
10774 | .word 0x93902005 ! 385: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
10775 | .word 0xd68008a0 ! 386: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
10776 | .word 0xd6ffc028 ! 387: SWAPA_R swapa %r11, [%r31 + %r8] 0x01 | |
10777 | mov (2+1), %r10 | |
10778 | ta T_CHANGE_HPRIV | |
10779 | set sync_thr_counter2, %r23 | |
10780 | cas [%r23],%g0,%r10 !lock | |
10781 | brnz %r10, sma_2_193 | |
10782 | rd %asi, %r12 | |
10783 | wr %g0, 0x40, %asi | |
10784 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10785 | set 0x21fff, %g1 | |
10786 | stxa %g1, [%g0 + 0x80] %asi | |
10787 | wr %r12, %g0, %asi | |
10788 | st %g0, [%r23] | |
10789 | sma_2_193: | |
10790 | ta T_CHANGE_NONHPRIV | |
10791 | .word 0xd7e7e008 ! 388: CASA_R casa [%r31] %asi, %r8, %r11 | |
10792 | debug_2_194: | |
10793 | nop | |
10794 | mov 0x38, %r18 | |
10795 | .word 0xfef00b12 ! 389: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10796 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10797 | ta T_CHANGE_NONHPRIV ! macro | |
10798 | .word 0x95a01972 ! 390: FqTOd dis not found | |
10799 | ||
10800 | splash_hpstate_2_196: | |
10801 | .word 0x8198298f ! 391: WRHPR_HPSTATE_I wrhpr %r0, 0x098f, %hpstate | |
10802 | .word 0x879022c9 ! 392: WRPR_TT_I wrpr %r0, 0x02c9, %tt | |
10803 | setx 0x7550f09a0d2ea2ce, %r1, %r28 | |
10804 | stxa %r28, [%g0] 0x73 | |
10805 | intvec_2_197: | |
10806 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10807 | mondo_2_198: | |
10808 | nop | |
10809 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10810 | ||
10811 | stxa %r18, [%r0+0x3d0] %asi | |
10812 | .word 0x9d900003 ! 394: WRPR_WSTATE_R wrpr %r0, %r3, %wstate | |
10813 | .word 0xa8d42e54 ! 395: UMULcc_I umulcc %r16, 0x0e54, %r20 | |
10814 | .word 0xda8804a0 ! 396: LDUBA_R lduba [%r0, %r0] 0x25, %r13 | |
10815 | .word 0x97a449cc ! 397: FDIVd fdivd %f48, %f12, %f42 | |
10816 | splash_cmpr_2_199: | |
10817 | setx 0x31b3d3e7caec0483, %g2, %g1 | |
10818 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
10819 | sub %g1, 100, %g1 | |
10820 | .word 0xb1800001 ! 398: WR_STICK_REG_R wr %r0, %r1, %- | |
10821 | .word 0x99a00552 ! 399: FSQRTd fsqrt | |
10822 | nop | |
10823 | mov 0x80, %g3 | |
10824 | stxa %g3, [%g3] 0x57 | |
10825 | .word 0xd05fc000 ! 400: LDX_R ldx [%r31 + %r0], %r8 | |
10826 | nop | |
10827 | nop | |
10828 | setx join_lbl_0_0, %g1, %g2 | |
10829 | jmp %g2 | |
10830 | nop | |
10831 | fork_lbl_0_2: | |
10832 | change_to_randtl_1_0: | |
10833 | ta T_CHANGE_PRIV ! macro | |
10834 | done_change_to_randtl_1_0: | |
10835 | .word 0xd8d7e010 ! 1: LDSHA_I ldsha [%r31, + 0x0010] %asi, %r12 | |
10836 | splash_cmpr_1_1: | |
10837 | setx 0x00199ce48dedab5b, %g2, %g1 | |
10838 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
10839 | sub %g1, 100, %g1 | |
10840 | .word 0xb1800001 ! 2: WR_STICK_REG_R wr %r0, %r1, %- | |
10841 | debug_1_2: | |
10842 | nop | |
10843 | mov 0x38, %r18 | |
10844 | .word 0xfef00b12 ! 3: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10845 | .word 0x87802080 ! 4: WRASI_I wr %r0, 0x0080, %asi | |
10846 | .word 0x879021c3 ! 5: WRPR_TT_I wrpr %r0, 0x01c3, %tt | |
10847 | debug_1_3: | |
10848 | nop | |
10849 | mov 8, %r18 | |
10850 | .word 0xe6f00492 ! 6: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
10851 | cwp_1_4: | |
10852 | set user_data_start, %o7 | |
10853 | .word 0x93902004 ! 7: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
10854 | .word 0x8d903f5b ! 8: WRPR_PSTATE_I wrpr %r0, 0x1f5b, %pstate | |
10855 | splash_cmpr_1_5: | |
10856 | setx 0xa9b5dc4c10b02eb7, %g2, %g1 | |
10857 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
10858 | sub %g1, 100, %g1 | |
10859 | .word 0xb1800001 ! 9: WR_STICK_REG_R wr %r0, %r1, %- | |
10860 | cwp_1_6: | |
10861 | set user_data_start, %o7 | |
10862 | .word 0x93902005 ! 10: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
10863 | splash_lsu_1_7: | |
10864 | setx 0x523571f8cad63095, %r1, %r2 | |
10865 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10866 | .word 0x3d400001 ! 11: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10867 | debug_1_8: | |
10868 | nop | |
10869 | mov 0x38, %r18 | |
10870 | .word 0xfef00b12 ! 12: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10871 | .word 0x38800001 ! 13: BGU bgu,a <label_0x1> | |
10872 | .word 0xd86fe5b9 ! 14: LDSTUB_I ldstub %r12, [%r31 + 0x05b9] | |
10873 | .word 0x91d020b4 ! 15: Tcc_I ta icc_or_xcc, %r0 + 180 | |
10874 | .word 0x8d903f0c ! 16: WRPR_PSTATE_I wrpr %r0, 0x1f0c, %pstate | |
10875 | .word 0x30800001 ! 17: BA ba,a <label_0x1> | |
10876 | .word 0xa1902009 ! 18: WRPR_GL_I wrpr %r0, 0x0009, %- | |
10877 | otherw | |
10878 | mov 0xb0, %r30 | |
10879 | .word 0x83d0001e ! 19: Tcc_R te icc_or_xcc, %r0 + %r30 | |
10880 | .word 0xd897e020 ! 20: LDUHA_I lduha [%r31, + 0x0020] %asi, %r12 | |
10881 | .word 0x8d903935 ! 21: WRPR_PSTATE_I wrpr %r0, 0x1935, %pstate | |
10882 | .word 0x93520000 ! 22: RDPR_PIL <illegal instruction> | |
10883 | DS_1_9: | |
10884 | .word 0x97a149d3 ! 1: FDIVd fdivd %f36, %f50, %f42 | |
10885 | .word 0xe7334008 ! 1: STQF_R - %f19, [%r8, %r13] | |
10886 | normalw | |
10887 | .word 0x95458000 ! 23: RD_SOFTINT_REG rd %softint, %r10 | |
10888 | .word 0x879023b0 ! 24: WRPR_TT_I wrpr %r0, 0x03b0, %tt | |
10889 | donret_1_10: | |
10890 | nop | |
10891 | rd %pc, %r12 | |
10892 | add %r12, (donretarg_1_10-donret_1_10), %r12 | |
10893 | mov 0x38, %r18 | |
10894 | stxa %r12, [%r18]0x58 | |
10895 | add %r12, 0x4, %r11 | |
10896 | wrpr %g0, 0x1, %tl | |
10897 | wrpr %g0, %r12, %tpc | |
10898 | wrpr %g0, %r11, %tnpc | |
10899 | wrpr %g0, %r13, %tstate | |
10900 | wrhpr %g0, %r14, %htstate | |
10901 | retry | |
10902 | donretarg_1_10: | |
10903 | .word 0xd4ffe5b9 ! 25: SWAPA_I swapa %r10, [%r31 + 0x05b9] %asi | |
10904 | .word 0x91d02035 ! 26: Tcc_I ta icc_or_xcc, %r0 + 53 | |
10905 | .word 0xd46fe5b9 ! 27: LDSTUB_I ldstub %r10, [%r31 + 0x05b9] | |
10906 | .word 0x91480000 ! 28: RDHPR_HPSTATE rdhpr %hpstate, %r8 | |
10907 | splash_htba_1_11: | |
10908 | set 0x80000, %r12 | |
10909 | ld [%r12+%r0], %r1 | |
10910 | ta T_CHANGE_HPRIV | |
10911 | set 0x80000, %r12 | |
10912 | .word 0x8b98000c ! 29: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
10913 | .word 0x8d9020f2 ! 30: WRPR_PSTATE_I wrpr %r0, 0x00f2, %pstate | |
10914 | splash_cmpr_1_12: | |
10915 | setx 0xa18e3f82fd607403, %g2, %g1 | |
10916 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10917 | sub %g1, 100, %g1 | |
10918 | .word 0xb1800001 ! 31: WR_STICK_REG_R wr %r0, %r1, %- | |
10919 | nop | |
10920 | mov 0x80, %g3 | |
10921 | stxa %g3, [%g3] 0x57 | |
10922 | .word 0xe85fc000 ! 32: LDX_R ldx [%r31 + %r0], %r20 | |
10923 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10924 | ta T_CHANGE_NONHPRIV ! macro | |
10925 | .word 0xa36d3672 ! 33: SDIVX_I sdivx %r20, 0xfffff672, %r17 | |
10926 | nop | |
10927 | mov 0x80, %g3 | |
10928 | stxa %g3, [%g3] 0x57 | |
10929 | .word 0xd45fc000 ! 34: LDX_R ldx [%r31 + %r0], %r10 | |
10930 | .word 0xd4c7e010 ! 35: LDSWA_I ldswa [%r31, + 0x0010] %asi, %r10 | |
10931 | invalw | |
10932 | mov 0x32, %r30 | |
10933 | .word 0x93d0001e ! 36: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
10934 | debug_1_14: | |
10935 | nop | |
10936 | mov 0x38, %r18 | |
10937 | .word 0xfef00b12 ! 37: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10938 | .word 0xd4880e60 ! 38: LDUBA_R lduba [%r0, %r0] 0x73, %r10 | |
10939 | .word 0x91d020b4 ! 39: Tcc_I ta icc_or_xcc, %r0 + 180 | |
10940 | .word 0xd45feeec ! 40: LDX_I ldx [%r31 + 0x0eec], %r10 | |
10941 | .word 0x93d020b2 ! 41: Tcc_I tne icc_or_xcc, %r0 + 178 | |
10942 | DS_1_15: | |
10943 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
10944 | allclean | |
10945 | .word 0x97b14303 ! 42: ALIGNADDRESS alignaddr %r5, %r3, %r11 | |
10946 | debug_1_16: | |
10947 | nop | |
10948 | rd %pc, %r19 | |
10949 | add %r19, (64+40), %r19 | |
10950 | mov 0x38, %r18 | |
10951 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10952 | ta T_CHANGE_HPRIV | |
10953 | mov (1+1), %r10 | |
10954 | set sync_thr_counter1, %r23 | |
10955 | cas [%r23],%g0,%r10 !lock | |
10956 | brnz %r10, cwq_1_17 | |
10957 | rd %asi, %r12 | |
10958 | wr %g0, 0x40, %asi | |
10959 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10960 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10961 | cmp %l1, 1 | |
10962 | bne cwq_1_17 | |
10963 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10964 | sub %l2, 0x40, %l2 | |
10965 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10966 | wr %r12, %g0, %asi | |
10967 | st %g0, [%r23] | |
10968 | cwq_1_17: | |
10969 | ta T_CHANGE_NONHPRIV | |
10970 | .word 0xa7414000 ! 44: RDPC rd %pc, %r19 | |
10971 | invalw | |
10972 | mov 0x33, %r30 | |
10973 | .word 0x91d0001e ! 45: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
10974 | .word 0x95500000 ! 46: RDPR_TPC <illegal instruction> | |
10975 | invalw | |
10976 | mov 0x34, %r30 | |
10977 | .word 0x91d0001e ! 47: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
10978 | .word 0x8d9032b8 ! 48: WRPR_PSTATE_I wrpr %r0, 0x12b8, %pstate | |
10979 | .word 0xe6d7e030 ! 49: LDSHA_I ldsha [%r31, + 0x0030] %asi, %r19 | |
10980 | splash_cmpr_1_18: | |
10981 | setx 0xd6fe2000e9706764, %g2, %g1 | |
10982 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10983 | sub %g1, 100, %g1 | |
10984 | .word 0xb1800001 ! 50: WR_STICK_REG_R wr %r0, %r1, %- | |
10985 | cwp_1_19: | |
10986 | set user_data_start, %o7 | |
10987 | .word 0x93902001 ! 51: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
10988 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_20) + 24, 16, 16)) -> intp(3,0,23) | |
10989 | intvec_1_20: | |
10990 | .word 0x39400001 ! 52: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10991 | .word 0xe637eeec ! 53: STH_I sth %r19, [%r31 + 0x0eec] | |
10992 | memptr_1_21: | |
10993 | set user_data_start, %r31 | |
10994 | .word 0x8584359a ! 54: WRCCR_I wr %r16, 0x159a, %ccr | |
10995 | splash_hpstate_1_22: | |
10996 | .word 0x819821c6 ! 55: WRHPR_HPSTATE_I wrhpr %r0, 0x01c6, %hpstate | |
10997 | .word 0xa2db0013 ! 56: SMULcc_R smulcc %r12, %r19, %r17 | |
10998 | .word 0x95a4c9ca ! 57: FDIVd fdivd %f50, %f10, %f10 | |
10999 | memptr_1_23: | |
11000 | set 0x60540000, %r31 | |
11001 | .word 0x8581225b ! 58: WRCCR_I wr %r4, 0x025b, %ccr | |
11002 | .word 0xd4d00e80 ! 59: LDSHA_R ldsha [%r0, %r0] 0x74, %r10 | |
11003 | invalw | |
11004 | mov 0x30, %r30 | |
11005 | .word 0x91d0001e ! 60: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11006 | splash_hpstate_1_24: | |
11007 | .word 0x819821e4 ! 61: WRHPR_HPSTATE_I wrhpr %r0, 0x01e4, %hpstate | |
11008 | change_to_randtl_1_25: | |
11009 | ta T_CHANGE_HPRIV ! macro | |
11010 | done_change_to_randtl_1_25: | |
11011 | .word 0x8f902002 ! 62: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11012 | .word 0x8780208b ! 63: WRASI_I wr %r0, 0x008b, %asi | |
11013 | tagged_1_26: | |
11014 | tsubcctv %r18, 0x1325, %r17 | |
11015 | .word 0xd407ee0f ! 64: LDUW_I lduw [%r31 + 0x0e0f], %r10 | |
11016 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11017 | ta T_CHANGE_NONHPRIV ! macro | |
11018 | .word 0x9b6ab0f2 ! 65: SDIVX_I sdivx %r10, 0xfffff0f2, %r13 | |
11019 | .word 0x8780204f ! 66: WRASI_I wr %r0, 0x004f, %asi | |
11020 | memptr_1_28: | |
11021 | set 0x60540000, %r31 | |
11022 | .word 0x8580e1ec ! 67: WRCCR_I wr %r3, 0x01ec, %ccr | |
11023 | setx 0x5f42decfd05afe3a, %r1, %r28 | |
11024 | stxa %r28, [%g0] 0x73 | |
11025 | intvec_1_29: | |
11026 | .word 0x39400001 ! 68: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11027 | splash_cmpr_1_30: | |
11028 | setx 0x02fb0833a4b08072, %g2, %g1 | |
11029 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11030 | sub %g1, 100, %g1 | |
11031 | .word 0xb1800001 ! 69: WR_STICK_REG_R wr %r0, %r1, %- | |
11032 | intveclr_1_31: | |
11033 | setx 0x17c45a6c86f2d3bc, %r1, %r28 | |
11034 | stxa %r28, [%g0] 0x72 | |
11035 | .word 0x25400001 ! 70: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11036 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_32) + 24, 16, 16)) -> intp(2,0,20) | |
11037 | intvec_1_32: | |
11038 | .word 0x39400001 ! 71: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11039 | .word 0xda6ffb07 ! 72: LDSTUB_I ldstub %r13, [%r31 + 0xfffffb07] | |
11040 | .word 0xdadfe030 ! 73: LDXA_I ldxa [%r31, + 0x0030] %asi, %r13 | |
11041 | .word 0xda27fb07 ! 74: STW_I stw %r13, [%r31 + 0xfffffb07] | |
11042 | donret_1_33: | |
11043 | nop | |
11044 | rd %pc, %r12 | |
11045 | add %r12, (donretarg_1_33-donret_1_33-4), %r12 | |
11046 | mov 0x38, %r18 | |
11047 | stxa %r12, [%r18]0x58 | |
11048 | add %r12, 0x4, %r11 | |
11049 | wrpr %g0, 0x3, %tl | |
11050 | wrpr %g0, %r12, %tpc | |
11051 | wrpr %g0, %r11, %tnpc | |
11052 | wrpr %g0, %r13, %tstate | |
11053 | wrhpr %g0, %r14, %htstate | |
11054 | done | |
11055 | donretarg_1_33: | |
11056 | .word 0xdafffb07 ! 75: SWAPA_I swapa %r13, [%r31 + 0xfffffb07] %asi | |
11057 | ta T_CHANGE_HPRIV | |
11058 | mov (1+1), %r10 | |
11059 | set sync_thr_counter1, %r23 | |
11060 | cas [%r23],%g0,%r10 !lock | |
11061 | brnz %r10, cwq_1_34 | |
11062 | rd %asi, %r12 | |
11063 | wr %g0, 0x40, %asi | |
11064 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11065 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11066 | cmp %l1, 1 | |
11067 | bne cwq_1_34 | |
11068 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11069 | sub %l2, 0x40, %l2 | |
11070 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11071 | wr %r12, %g0, %asi | |
11072 | st %g0, [%r23] | |
11073 | cwq_1_34: | |
11074 | ta T_CHANGE_NONHPRIV | |
11075 | .word 0x9b414000 ! 76: RDPC rd %pc, %r13 | |
11076 | otherw | |
11077 | mov 0x35, %r30 | |
11078 | .word 0x91d0001e ! 77: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11079 | .word 0x91540000 ! 78: RDPR_GL rdpr %-, %r8 | |
11080 | setx 0x20006a1eec80315e, %r1, %r28 | |
11081 | stxa %r28, [%g0] 0x73 | |
11082 | intvec_1_35: | |
11083 | .word 0x39400001 ! 79: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11084 | .word 0xd4dfe030 ! 80: LDXA_I ldxa [%r31, + 0x0030] %asi, %r10 | |
11085 | DS_1_36: | |
11086 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
11087 | .word 0xbfe7c000 ! 81: SAVE_R save %r31, %r0, %r31 | |
11088 | nop | |
11089 | mov 0x80, %g3 | |
11090 | stxa %g3, [%g3] 0x5f | |
11091 | .word 0xd45fc000 ! 82: LDX_R ldx [%r31 + %r0], %r10 | |
11092 | splash_lsu_1_37: | |
11093 | setx 0xfdde4fbd6ae0679b, %r1, %r2 | |
11094 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11095 | .word 0x3d400001 ! 83: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11096 | .word 0x9b500000 ! 84: RDPR_TPC <illegal instruction> | |
11097 | .word 0xa3450000 ! 85: RD_SET_SOFTINT rd %set_softint, %r17 | |
11098 | debug_1_38: | |
11099 | nop | |
11100 | mov 0x38, %r18 | |
11101 | .word 0xfef00b12 ! 86: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11102 | nop | |
11103 | mov 0x80, %g3 | |
11104 | stxa %g3, [%g3] 0x57 | |
11105 | .word 0xe25fc000 ! 87: LDX_R ldx [%r31 + %r0], %r17 | |
11106 | .word 0x92fca133 ! 88: SDIVcc_I sdivcc %r18, 0x0133, %r9 | |
11107 | .word 0xab85373e ! 89: WR_CLEAR_SOFTINT_I wr %r20, 0x173e, %clear_softint | |
11108 | .word 0xd0880e40 ! 90: LDUBA_R lduba [%r0, %r0] 0x72, %r8 | |
11109 | debug_1_39: | |
11110 | nop | |
11111 | mov 8, %r18 | |
11112 | .word 0xd0f00492 ! 91: STXA_R stxa %r8, [%r0 + %r18] 0x24 | |
11113 | mov (1+1), %r10 | |
11114 | ta T_CHANGE_HPRIV | |
11115 | set sync_thr_counter2, %r23 | |
11116 | cas [%r23],%g0,%r10 !lock | |
11117 | brnz %r10, sma_1_40 | |
11118 | rd %asi, %r12 | |
11119 | wr %g0, 0x40, %asi | |
11120 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11121 | set 0x21fff, %g1 | |
11122 | stxa %g1, [%g0 + 0x80] %asi | |
11123 | wr %r12, %g0, %asi | |
11124 | st %g0, [%r23] | |
11125 | sma_1_40: | |
11126 | ta T_CHANGE_NONHPRIV | |
11127 | .word 0xd1e7e00b ! 92: CASA_R casa [%r31] %asi, %r11, %r8 | |
11128 | cwp_1_41: | |
11129 | set user_data_start, %o7 | |
11130 | .word 0x93902006 ! 93: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
11131 | .word 0xd13fc000 ! 94: STDF_R std %f8, [%r0, %r31] | |
11132 | .word 0x8790234c ! 95: WRPR_TT_I wrpr %r0, 0x034c, %tt | |
11133 | DS_1_42: | |
11134 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
11135 | .word 0xbfefc000 ! 96: RESTORE_R restore %r31, %r0, %r31 | |
11136 | change_to_randtl_1_43: | |
11137 | ta T_CHANGE_HPRIV ! macro | |
11138 | done_change_to_randtl_1_43: | |
11139 | .word 0x8f902000 ! 97: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11140 | .word 0x9f802ef0 ! 98: SIR sir 0x0ef0 | |
11141 | debug_1_44: | |
11142 | nop | |
11143 | mov 0x38, %r18 | |
11144 | .word 0xfef00b12 ! 99: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11145 | debug_1_45: | |
11146 | nop | |
11147 | mov 8, %r18 | |
11148 | .word 0xd8f00492 ! 100: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
11149 | .word 0x20800001 ! 101: BN bn,a <label_0x1> | |
11150 | change_to_randtl_1_46: | |
11151 | ta T_CHANGE_PRIV ! macro | |
11152 | done_change_to_randtl_1_46: | |
11153 | .word 0x8f902002 ! 102: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11154 | .word 0xa750c000 ! 103: RDPR_TT <illegal instruction> | |
11155 | .word 0x36800001 ! 104: BGE bge,a <label_0x1> | |
11156 | .word 0x87902142 ! 105: WRPR_TT_I wrpr %r0, 0x0142, %tt | |
11157 | .word 0x8d90365f ! 106: WRPR_PSTATE_I wrpr %r0, 0x165f, %pstate | |
11158 | splash_hpstate_1_47: | |
11159 | .word 0x8198261f ! 107: WRHPR_HPSTATE_I wrhpr %r0, 0x061f, %hpstate | |
11160 | invalw | |
11161 | mov 0x35, %r30 | |
11162 | .word 0x91d0001e ! 108: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11163 | .word 0xd0d00e60 ! 109: LDSHA_R ldsha [%r0, %r0] 0x73, %r8 | |
11164 | ta T_CHANGE_HPRIV | |
11165 | mov (1+1), %r10 | |
11166 | set sync_thr_counter1, %r23 | |
11167 | cas [%r23],%g0,%r10 !lock | |
11168 | brnz %r10, cwq_1_48 | |
11169 | rd %asi, %r12 | |
11170 | wr %g0, 0x40, %asi | |
11171 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11172 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11173 | cmp %l1, 1 | |
11174 | bne cwq_1_48 | |
11175 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11176 | sub %l2, 0x40, %l2 | |
11177 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11178 | wr %r12, %g0, %asi | |
11179 | st %g0, [%r23] | |
11180 | cwq_1_48: | |
11181 | ta T_CHANGE_NONHPRIV | |
11182 | .word 0x93414000 ! 110: RDPC rd %pc, %r9 | |
11183 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11184 | ta T_CHANGE_NONHPRIV ! macro | |
11185 | .word 0x95a01963 ! 111: FqTOd dis not found | |
11186 | ||
11187 | invalw | |
11188 | mov 0x30, %r30 | |
11189 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11190 | invalw | |
11191 | mov 0x31, %r30 | |
11192 | .word 0x91d0001e ! 113: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11193 | .word 0xe28804a0 ! 114: LDUBA_R lduba [%r0, %r0] 0x25, %r17 | |
11194 | .word 0x8d9022ee ! 115: WRPR_PSTATE_I wrpr %r0, 0x02ee, %pstate | |
11195 | ta T_CHANGE_HPRIV | |
11196 | mov (1+1), %r10 | |
11197 | set sync_thr_counter1, %r23 | |
11198 | cas [%r23],%g0,%r10 !lock | |
11199 | brnz %r10, cwq_1_50 | |
11200 | rd %asi, %r12 | |
11201 | wr %g0, 0x40, %asi | |
11202 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11203 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11204 | cmp %l1, 1 | |
11205 | bne cwq_1_50 | |
11206 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11207 | sub %l2, 0x40, %l2 | |
11208 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11209 | wr %r12, %g0, %asi | |
11210 | st %g0, [%r23] | |
11211 | cwq_1_50: | |
11212 | ta T_CHANGE_NONHPRIV | |
11213 | .word 0x99414000 ! 116: RDPC rd %pc, %r12 | |
11214 | DS_1_51: | |
11215 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
11216 | .word 0xd3308003 ! 1: STQF_R - %f9, [%r3, %r2] | |
11217 | normalw | |
11218 | .word 0x97458000 ! 117: RD_SOFTINT_REG rd %softint, %r11 | |
11219 | .word 0x3a700001 ! 118: BPCC <illegal instruction> | |
11220 | splash_hpstate_1_52: | |
11221 | .word 0x8198201d ! 119: WRHPR_HPSTATE_I wrhpr %r0, 0x001d, %hpstate | |
11222 | .word 0xe6d004a0 ! 120: LDSHA_R ldsha [%r0, %r0] 0x25, %r19 | |
11223 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11224 | ta T_CHANGE_NONHPRIV ! macro | |
11225 | .word 0xa36a73c3 ! 121: SDIVX_I sdivx %r9, 0xfffff3c3, %r17 | |
11226 | .word 0xa3540000 ! 122: RDPR_GL <illegal instruction> | |
11227 | DS_1_54: | |
11228 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
11229 | .word 0xbfefc000 ! 123: RESTORE_R restore %r31, %r0, %r31 | |
11230 | mov (1+1), %r10 | |
11231 | ta T_CHANGE_HPRIV | |
11232 | set sync_thr_counter2, %r23 | |
11233 | cas [%r23],%g0,%r10 !lock | |
11234 | brnz %r10, sma_1_55 | |
11235 | rd %asi, %r12 | |
11236 | wr %g0, 0x40, %asi | |
11237 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11238 | set 0x21fff, %g1 | |
11239 | stxa %g1, [%g0 + 0x80] %asi | |
11240 | wr %r12, %g0, %asi | |
11241 | st %g0, [%r23] | |
11242 | sma_1_55: | |
11243 | ta T_CHANGE_NONHPRIV | |
11244 | .word 0xe9e7e007 ! 124: CASA_R casa [%r31] %asi, %r7, %r20 | |
11245 | change_to_randtl_1_56: | |
11246 | ta T_CHANGE_PRIV ! macro | |
11247 | done_change_to_randtl_1_56: | |
11248 | .word 0x8f902001 ! 125: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11249 | .word 0xe88008a0 ! 126: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
11250 | .word 0x98d4e863 ! 127: UMULcc_I umulcc %r19, 0x0863, %r12 | |
11251 | splash_lsu_1_57: | |
11252 | setx 0x4b74924a285f3e29, %r1, %r2 | |
11253 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11254 | .word 0x3d400001 ! 128: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11255 | tagged_1_58: | |
11256 | tsubcctv %r6, 0x19be, %r21 | |
11257 | .word 0xd207ec1f ! 129: LDUW_I lduw [%r31 + 0x0c1f], %r9 | |
11258 | .word 0xd297e030 ! 130: LDUHA_I lduha [%r31, + 0x0030] %asi, %r9 | |
11259 | .word 0x919175f0 ! 131: WRPR_PIL_I wrpr %r5, 0x15f0, %pil | |
11260 | setx 0xe84fc2e1dba216b6, %r1, %r28 | |
11261 | stxa %r28, [%g0] 0x73 | |
11262 | intvec_1_59: | |
11263 | .word 0x39400001 ! 132: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11264 | .word 0x87802010 ! 133: WRASI_I wr %r0, 0x0010, %asi | |
11265 | DS_1_60: | |
11266 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
11267 | .word 0xbfe7c000 ! 134: SAVE_R save %r31, %r0, %r31 | |
11268 | .word 0xd28008a0 ! 135: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
11269 | memptr_1_61: | |
11270 | set 0x60740000, %r31 | |
11271 | .word 0x858075c6 ! 136: WRCCR_I wr %r1, 0x15c6, %ccr | |
11272 | invalw | |
11273 | mov 0x34, %r30 | |
11274 | .word 0x91d0001e ! 137: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11275 | mov (1+1), %r10 | |
11276 | ta T_CHANGE_HPRIV | |
11277 | set sync_thr_counter2, %r23 | |
11278 | cas [%r23],%g0,%r10 !lock | |
11279 | brnz %r10, sma_1_62 | |
11280 | rd %asi, %r12 | |
11281 | wr %g0, 0x40, %asi | |
11282 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11283 | set 0x21fff, %g1 | |
11284 | stxa %g1, [%g0 + 0x80] %asi | |
11285 | wr %r12, %g0, %asi | |
11286 | st %g0, [%r23] | |
11287 | sma_1_62: | |
11288 | ta T_CHANGE_NONHPRIV | |
11289 | .word 0xd3e7e007 ! 138: CASA_R casa [%r31] %asi, %r7, %r9 | |
11290 | .word 0x87802016 ! 139: WRASI_I wr %r0, 0x0016, %asi | |
11291 | change_to_randtl_1_63: | |
11292 | ta T_CHANGE_HPRIV ! macro | |
11293 | done_change_to_randtl_1_63: | |
11294 | .word 0x8f902003 ! 140: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
11295 | invalw | |
11296 | mov 0x32, %r30 | |
11297 | .word 0x91d0001e ! 141: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11298 | .word 0xd26feb9a ! 142: LDSTUB_I ldstub %r9, [%r31 + 0x0b9a] | |
11299 | .word 0x9b53c000 ! 143: RDPR_FQ <illegal instruction> | |
11300 | .word 0xd6cfe000 ! 144: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r11 | |
11301 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11302 | ta T_CHANGE_NONPRIV ! macro | |
11303 | .word 0xa3a01973 ! 145: FqTOd dis not found | |
11304 | ||
11305 | debug_1_65: | |
11306 | nop | |
11307 | mov 0x38, %r18 | |
11308 | .word 0xfef00b12 ! 146: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11309 | mov (1+1), %r10 | |
11310 | ta T_CHANGE_HPRIV | |
11311 | set sync_thr_counter2, %r23 | |
11312 | cas [%r23],%g0,%r10 !lock | |
11313 | brnz %r10, sma_1_66 | |
11314 | rd %asi, %r12 | |
11315 | wr %g0, 0x40, %asi | |
11316 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11317 | set 0x21fff, %g1 | |
11318 | stxa %g1, [%g0 + 0x80] %asi | |
11319 | wr %r12, %g0, %asi | |
11320 | st %g0, [%r23] | |
11321 | sma_1_66: | |
11322 | ta T_CHANGE_NONHPRIV | |
11323 | .word 0xe5e7e013 ! 147: CASA_R casa [%r31] %asi, %r19, %r18 | |
11324 | .word 0x9194eca9 ! 148: WRPR_PIL_I wrpr %r19, 0x0ca9, %pil | |
11325 | DS_1_67: | |
11326 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
11327 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
11328 | .word 0xd514c011 ! 1: LDQF_R - [%r19, %r17], %f10 | |
11329 | .word 0x9ba40834 ! 149: FADDs fadds %f16, %f20, %f13 | |
11330 | pmu_1_68: | |
11331 | nop | |
11332 | setx 0xfffff3cafffff31f, %g1, %g7 | |
11333 | .word 0xa3800007 ! 150: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
11334 | .word 0x38800001 ! 151: BGU bgu,a <label_0x1> | |
11335 | .word 0xe33fc000 ! 152: STDF_R std %f17, [%r0, %r31] | |
11336 | splash_cmpr_1_69: | |
11337 | setx 0x50819da9a5dc6841, %g2, %g1 | |
11338 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
11339 | sub %g1, 100, %g1 | |
11340 | .word 0xb1800001 ! 153: WR_STICK_REG_R wr %r0, %r1, %- | |
11341 | .word 0x97450000 ! 154: RD_SET_SOFTINT rd %set_softint, %r11 | |
11342 | donret_1_70: | |
11343 | nop | |
11344 | rd %pc, %r12 | |
11345 | add %r12, (donretarg_1_70-donret_1_70), %r12 | |
11346 | mov 0x38, %r18 | |
11347 | stxa %r12, [%r18]0x58 | |
11348 | add %r12, 0x4, %r11 | |
11349 | wrpr %g0, 0x3, %tl | |
11350 | wrpr %g0, %r12, %tpc | |
11351 | wrpr %g0, %r11, %tnpc | |
11352 | wrpr %g0, %r13, %tstate | |
11353 | wrhpr %g0, %r14, %htstate | |
11354 | retry | |
11355 | donretarg_1_70: | |
11356 | .word 0xe4fff6c3 ! 155: SWAPA_I swapa %r18, [%r31 + 0xfffff6c3] %asi | |
11357 | pmu_1_71: | |
11358 | nop | |
11359 | setx 0xfffff7f8fffffc16, %g1, %g7 | |
11360 | .word 0xa3800007 ! 156: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
11361 | splash_cmpr_1_72: | |
11362 | setx 0x1e0da71dcfb0294e, %g2, %g1 | |
11363 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11364 | sub %g1, 100, %g1 | |
11365 | .word 0xb1800001 ! 157: WR_STICK_REG_R wr %r0, %r1, %- | |
11366 | .word 0x8d9034e3 ! 158: WRPR_PSTATE_I wrpr %r0, 0x14e3, %pstate | |
11367 | .word 0xe48fe000 ! 159: LDUBA_I lduba [%r31, + 0x0000] %asi, %r18 | |
11368 | change_to_randtl_1_73: | |
11369 | ta T_CHANGE_HPRIV ! macro | |
11370 | done_change_to_randtl_1_73: | |
11371 | .word 0x8f902001 ! 160: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11372 | .word 0x91d02032 ! 161: Tcc_I ta icc_or_xcc, %r0 + 50 | |
11373 | splash_tba_1_74: | |
11374 | set 0x120000, %r12 | |
11375 | st %r1, [%r12+%r0] | |
11376 | ta T_CHANGE_PRIV | |
11377 | set 0x120000, %r12 | |
11378 | .word 0x8b90000c ! 162: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11379 | ta T_CHANGE_HPRIV | |
11380 | mov (1+1), %r10 | |
11381 | set sync_thr_counter1, %r23 | |
11382 | cas [%r23],%g0,%r10 !lock | |
11383 | brnz %r10, cwq_1_75 | |
11384 | rd %asi, %r12 | |
11385 | wr %g0, 0x40, %asi | |
11386 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11387 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11388 | cmp %l1, 1 | |
11389 | bne cwq_1_75 | |
11390 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11391 | sub %l2, 0x40, %l2 | |
11392 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11393 | wr %r12, %g0, %asi | |
11394 | st %g0, [%r23] | |
11395 | cwq_1_75: | |
11396 | ta T_CHANGE_NONHPRIV | |
11397 | .word 0x91414000 ! 163: RDPC rd %pc, %r8 | |
11398 | invalw | |
11399 | mov 0xb1, %r30 | |
11400 | .word 0x83d0001e ! 164: Tcc_R te icc_or_xcc, %r0 + %r30 | |
11401 | intveclr_1_76: | |
11402 | setx 0x9fcac18f5bd88f42, %r1, %r28 | |
11403 | stxa %r28, [%g0] 0x72 | |
11404 | .word 0x25400001 ! 165: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11405 | cwp_1_77: | |
11406 | set user_data_start, %o7 | |
11407 | .word 0x93902007 ! 166: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
11408 | .word 0xd68008a0 ! 167: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
11409 | ta T_CHANGE_HPRIV | |
11410 | mov (1+1), %r10 | |
11411 | set sync_thr_counter1, %r23 | |
11412 | cas [%r23],%g0,%r10 !lock | |
11413 | brnz %r10, cwq_1_78 | |
11414 | rd %asi, %r12 | |
11415 | wr %g0, 0x40, %asi | |
11416 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11417 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11418 | cmp %l1, 1 | |
11419 | bne cwq_1_78 | |
11420 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11421 | sub %l2, 0x40, %l2 | |
11422 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11423 | wr %r12, %g0, %asi | |
11424 | st %g0, [%r23] | |
11425 | cwq_1_78: | |
11426 | ta T_CHANGE_NONHPRIV | |
11427 | .word 0xa3414000 ! 168: RDPC rd %pc, %r17 | |
11428 | .word 0x9afd000a ! 169: SDIVcc_R sdivcc %r20, %r10, %r13 | |
11429 | splash_cmpr_1_79: | |
11430 | setx 0xcf48ad06a350efb1, %g2, %g1 | |
11431 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11432 | sub %g1, 100, %g1 | |
11433 | .word 0xb1800001 ! 170: WR_STICK_REG_R wr %r0, %r1, %- | |
11434 | .word 0x93a00171 ! 171: FABSq dis not found | |
11435 | ||
11436 | .word 0xe097e020 ! 172: LDUHA_I lduha [%r31, + 0x0020] %asi, %r16 | |
11437 | mondo_1_80: | |
11438 | nop | |
11439 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11440 | ||
11441 | stxa %r0, [%r0+0x3c8] %asi | |
11442 | .word 0x9d950008 ! 173: WRPR_WSTATE_R wrpr %r20, %r8, %wstate | |
11443 | .word 0x8780208a ! 174: WRASI_I wr %r0, 0x008a, %asi | |
11444 | .word 0x91d020b4 ! 175: Tcc_I ta icc_or_xcc, %r0 + 180 | |
11445 | memptr_1_81: | |
11446 | set user_data_start, %r31 | |
11447 | .word 0x8584b17a ! 176: WRCCR_I wr %r18, 0x117a, %ccr | |
11448 | nop | |
11449 | mov 0x80, %g3 | |
11450 | stxa %g3, [%g3] 0x57 | |
11451 | .word 0xe05fc000 ! 177: LDX_R ldx [%r31 + %r0], %r16 | |
11452 | .word 0xe0c80e60 ! 178: LDSBA_R ldsba [%r0, %r0] 0x73, %r16 | |
11453 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11454 | ta T_CHANGE_NONPRIV ! macro | |
11455 | .word 0x956abf29 ! 179: SDIVX_I sdivx %r10, 0xffffff29, %r10 | |
11456 | .word 0x91480000 ! 180: RDHPR_HPSTATE rdhpr %hpstate, %r8 | |
11457 | mov (1+1), %r10 | |
11458 | ta T_CHANGE_HPRIV | |
11459 | set sync_thr_counter2, %r23 | |
11460 | cas [%r23],%g0,%r10 !lock | |
11461 | brnz %r10, sma_1_83 | |
11462 | rd %asi, %r12 | |
11463 | wr %g0, 0x40, %asi | |
11464 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11465 | set 0x21fff, %g1 | |
11466 | stxa %g1, [%g0 + 0x80] %asi | |
11467 | wr %r12, %g0, %asi | |
11468 | st %g0, [%r23] | |
11469 | sma_1_83: | |
11470 | ta T_CHANGE_NONHPRIV | |
11471 | .word 0xd7e7e012 ! 181: CASA_R casa [%r31] %asi, %r18, %r11 | |
11472 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_84) + 16, 16, 16)) -> intp(0,0,25) | |
11473 | intvec_1_84: | |
11474 | .word 0x39400001 ! 182: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11475 | .word 0xd727c000 ! 183: STF_R st %f11, [%r0, %r31] | |
11476 | mondo_1_85: | |
11477 | nop | |
11478 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11479 | ||
11480 | stxa %r4, [%r0+0x3c0] %asi | |
11481 | .word 0x9d940014 ! 184: WRPR_WSTATE_R wrpr %r16, %r20, %wstate | |
11482 | splash_lsu_1_86: | |
11483 | setx 0xce88a404c848b467, %r1, %r2 | |
11484 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11485 | .word 0x3d400001 ! 185: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11486 | .word 0xd6cfe000 ! 186: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r11 | |
11487 | debug_1_87: | |
11488 | nop | |
11489 | mov 8, %r18 | |
11490 | .word 0xe8f00492 ! 187: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
11491 | .word 0xd67ff8cc ! 188: SWAP_I swap %r11, [%r31 + 0xfffff8cc] | |
11492 | .word 0x8780208a ! 189: WRASI_I wr %r0, 0x008a, %asi | |
11493 | .word 0x9ba409d1 ! 190: FDIVd fdivd %f16, %f48, %f44 | |
11494 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_88) + 40, 16, 16)) -> intp(0,0,30) | |
11495 | intvec_1_88: | |
11496 | .word 0x39400001 ! 191: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11497 | .word 0x87802014 ! 192: WRASI_I wr %r0, 0x0014, %asi | |
11498 | setx 0x9754181701f83bf1, %r1, %r28 | |
11499 | stxa %r28, [%g0] 0x73 | |
11500 | intvec_1_89: | |
11501 | .word 0x39400001 ! 193: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11502 | debug_1_90: | |
11503 | nop | |
11504 | mov 8, %r18 | |
11505 | .word 0xdaf00492 ! 194: STXA_R stxa %r13, [%r0 + %r18] 0x24 | |
11506 | splash_lsu_1_91: | |
11507 | setx 0x1264675e4896562f, %r1, %r2 | |
11508 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11509 | .word 0x3d400001 ! 195: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11510 | debug_1_92: | |
11511 | nop | |
11512 | mov 0x38, %r18 | |
11513 | .word 0xfef00b12 ! 196: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11514 | debug_1_93: | |
11515 | nop | |
11516 | mov 8, %r18 | |
11517 | .word 0xd6f00492 ! 197: STXA_R stxa %r11, [%r0 + %r18] 0x24 | |
11518 | debug_1_94: | |
11519 | nop | |
11520 | rd %pc, %r19 | |
11521 | add %r19, (64+24), %r19 | |
11522 | mov 0x38, %r18 | |
11523 | .word 0xe6f00b12 ! 198: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11524 | ta T_CHANGE_HPRIV | |
11525 | mov (1+1), %r10 | |
11526 | set sync_thr_counter1, %r23 | |
11527 | cas [%r23],%g0,%r10 !lock | |
11528 | brnz %r10, cwq_1_95 | |
11529 | rd %asi, %r12 | |
11530 | wr %g0, 0x40, %asi | |
11531 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11532 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11533 | cmp %l1, 1 | |
11534 | bne cwq_1_95 | |
11535 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11536 | sub %l2, 0x40, %l2 | |
11537 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11538 | wr %r12, %g0, %asi | |
11539 | st %g0, [%r23] | |
11540 | cwq_1_95: | |
11541 | ta T_CHANGE_NONHPRIV | |
11542 | .word 0x9b414000 ! 199: RDPC rd %pc, %r13 | |
11543 | .word 0xe07ff8cc ! 200: SWAP_I swap %r16, [%r31 + 0xfffff8cc] | |
11544 | .word 0x8d903c64 ! 201: WRPR_PSTATE_I wrpr %r0, 0x1c64, %pstate | |
11545 | tagged_1_96: | |
11546 | tsubcctv %r9, 0x1dce, %r7 | |
11547 | .word 0xe007f8cc ! 202: LDUW_I lduw [%r31 + 0xfffff8cc], %r16 | |
11548 | mondo_1_97: | |
11549 | nop | |
11550 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11551 | ||
11552 | stxa %r17, [%r0+0x3c8] %asi | |
11553 | .word 0x9d940011 ! 203: WRPR_WSTATE_R wrpr %r16, %r17, %wstate | |
11554 | .word 0x97a509c5 ! 204: FDIVd fdivd %f20, %f36, %f42 | |
11555 | .word 0x8d90276a ! 205: WRPR_PSTATE_I wrpr %r0, 0x076a, %pstate | |
11556 | splash_lsu_1_98: | |
11557 | setx 0xc3beea590c9b948d, %r1, %r2 | |
11558 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11559 | .word 0x3d400001 ! 206: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11560 | .word 0xa2d17796 ! 207: UMULcc_I umulcc %r5, 0xfffff796, %r17 | |
11561 | .word 0xad82e498 ! 208: WR_SOFTINT_REG_I wr %r11, 0x0498, %softint | |
11562 | .word 0xa5a089d1 ! 209: FDIVd fdivd %f2, %f48, %f18 | |
11563 | .word 0x95a00172 ! 210: FABSq dis not found | |
11564 | ||
11565 | .word 0x8780208a ! 211: WRASI_I wr %r0, 0x008a, %asi | |
11566 | debug_1_99: | |
11567 | nop | |
11568 | mov 8, %r18 | |
11569 | .word 0xd2f00492 ! 212: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
11570 | mov (1+1), %r10 | |
11571 | ta T_CHANGE_HPRIV | |
11572 | set sync_thr_counter2, %r23 | |
11573 | cas [%r23],%g0,%r10 !lock | |
11574 | brnz %r10, sma_1_100 | |
11575 | rd %asi, %r12 | |
11576 | wr %g0, 0x40, %asi | |
11577 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11578 | set 0x21fff, %g1 | |
11579 | stxa %g1, [%g0 + 0x80] %asi | |
11580 | wr %r12, %g0, %asi | |
11581 | st %g0, [%r23] | |
11582 | sma_1_100: | |
11583 | ta T_CHANGE_NONHPRIV | |
11584 | .word 0xe5e7e00b ! 213: CASA_R casa [%r31] %asi, %r11, %r18 | |
11585 | splash_tba_1_101: | |
11586 | set 0x120000, %r12 | |
11587 | ld [%r12+%r0], %r1 | |
11588 | ta T_CHANGE_PRIV | |
11589 | set 0x120000, %r12 | |
11590 | .word 0x8b90000c ! 214: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11591 | nop | |
11592 | mov 0x80, %g3 | |
11593 | stxa %g3, [%g3] 0x57 | |
11594 | .word 0xe45fc000 ! 215: LDX_R ldx [%r31 + %r0], %r18 | |
11595 | splash_cmpr_1_102: | |
11596 | setx 0x58d26ea95bb732d9, %g2, %g1 | |
11597 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11598 | sub %g1, 100, %g1 | |
11599 | .word 0xb1800001 ! 216: WR_STICK_REG_R wr %r0, %r1, %- | |
11600 | .word 0x81460000 ! 217: RD_STICK_REG stbar | |
11601 | .word 0xe49004a0 ! 218: LDUHA_R lduha [%r0, %r0] 0x25, %r18 | |
11602 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11603 | ta T_CHANGE_NONHPRIV ! macro | |
11604 | .word 0x91a01963 ! 219: FqTOd dis not found | |
11605 | ||
11606 | tagged_1_104: | |
11607 | tsubcctv %r10, 0x152e, %r17 | |
11608 | .word 0xe807e50d ! 220: LDUW_I lduw [%r31 + 0x050d], %r20 | |
11609 | .word 0x9194eb9b ! 221: WRPR_PIL_I wrpr %r19, 0x0b9b, %pil | |
11610 | pmu_1_105: | |
11611 | nop | |
11612 | setx 0xfffff8e1fffff5d1, %g1, %g7 | |
11613 | .word 0xa3800007 ! 222: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
11614 | intveclr_1_106: | |
11615 | setx 0x2cea4ee6de1641cb, %r1, %r28 | |
11616 | stxa %r28, [%g0] 0x72 | |
11617 | .word 0x25400001 ! 223: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11618 | nop | |
11619 | mov 0x80, %g3 | |
11620 | stxa %g3, [%g3] 0x57 | |
11621 | .word 0xe85fc000 ! 224: LDX_R ldx [%r31 + %r0], %r20 | |
11622 | otherw | |
11623 | mov 0x33, %r30 | |
11624 | .word 0x91d0001e ! 225: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11625 | .word 0xe83fe48b ! 226: STD_I std %r20, [%r31 + 0x048b] | |
11626 | .word 0x8d802000 ! 227: WRFPRS_I wr %r0, 0x0000, %fprs | |
11627 | .word 0xa1703146 ! 228: POPC_I popc 0x1146, %r16 | |
11628 | splash_hpstate_1_107: | |
11629 | .word 0x81982bcf ! 229: WRHPR_HPSTATE_I wrhpr %r0, 0x0bcf, %hpstate | |
11630 | mov (1+1), %r10 | |
11631 | ta T_CHANGE_HPRIV | |
11632 | set sync_thr_counter2, %r23 | |
11633 | cas [%r23],%g0,%r10 !lock | |
11634 | brnz %r10, sma_1_108 | |
11635 | rd %asi, %r12 | |
11636 | wr %g0, 0x40, %asi | |
11637 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11638 | set 0x21fff, %g1 | |
11639 | stxa %g1, [%g0 + 0x80] %asi | |
11640 | wr %r12, %g0, %asi | |
11641 | st %g0, [%r23] | |
11642 | sma_1_108: | |
11643 | ta T_CHANGE_NONHPRIV | |
11644 | .word 0xd1e7e003 ! 230: CASA_R casa [%r31] %asi, %r3, %r8 | |
11645 | .word 0x9b480000 ! 231: RDHPR_HPSTATE rdhpr %hpstate, %r13 | |
11646 | splash_htba_1_109: | |
11647 | set 0x80000, %r12 | |
11648 | ld [%r12+%r0], %r1 | |
11649 | ta T_CHANGE_HPRIV | |
11650 | set 0x80000, %r12 | |
11651 | .word 0x8b98000c ! 232: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
11652 | .word 0x8d902d30 ! 233: WRPR_PSTATE_I wrpr %r0, 0x0d30, %pstate | |
11653 | debug_1_110: | |
11654 | nop | |
11655 | mov 0x38, %r18 | |
11656 | .word 0xfef00b12 ! 234: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11657 | tagged_1_111: | |
11658 | taddcctv %r7, 0x1212, %r4 | |
11659 | .word 0xd607f25b ! 235: LDUW_I lduw [%r31 + 0xfffff25b], %r11 | |
11660 | cwp_1_112: | |
11661 | set user_data_start, %o7 | |
11662 | .word 0x93902003 ! 236: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
11663 | splash_cmpr_1_113: | |
11664 | setx 0xade04a711914599d, %g2, %g1 | |
11665 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11666 | sub %g1, 100, %g1 | |
11667 | .word 0xb1800001 ! 237: WR_STICK_REG_R wr %r0, %r1, %- | |
11668 | .word 0xd677c000 ! 238: STX_R stx %r11, [%r31 + %r0] | |
11669 | .word 0xa982000d ! 239: WR_SET_SOFTINT_R wr %r8, %r13, %set_softint | |
11670 | memptr_1_114: | |
11671 | set user_data_start, %r31 | |
11672 | .word 0x8582763c ! 240: WRCCR_I wr %r9, 0x163c, %ccr | |
11673 | debug_1_115: | |
11674 | nop | |
11675 | rd %pc, %r19 | |
11676 | add %r19, (64+32), %r19 | |
11677 | mov 0x38, %r18 | |
11678 | .word 0xe6f00b12 ! 241: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11679 | invalw | |
11680 | mov 0xb1, %r30 | |
11681 | .word 0x91d0001e ! 242: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11682 | intveclr_1_116: | |
11683 | setx 0x373ef300f8d2a4cb, %r1, %r28 | |
11684 | stxa %r28, [%g0] 0x72 | |
11685 | .word 0x25400001 ! 243: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11686 | .word 0x9f803e35 ! 244: SIR sir 0x1e35 | |
11687 | .word 0xab824005 ! 245: WR_CLEAR_SOFTINT_R wr %r9, %r5, %clear_softint | |
11688 | tagged_1_117: | |
11689 | taddcctv %r8, 0x1771, %r25 | |
11690 | .word 0xd607fea4 ! 246: LDUW_I lduw [%r31 + 0xfffffea4], %r11 | |
11691 | debug_1_118: | |
11692 | nop | |
11693 | rd %pc, %r19 | |
11694 | add %r19, (64+16), %r19 | |
11695 | mov 0x38, %r18 | |
11696 | .word 0xe6f00b12 ! 247: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11697 | mondo_1_119: | |
11698 | nop | |
11699 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11700 | ||
11701 | stxa %r16, [%r0+0x3d8] %asi | |
11702 | .word 0x9d92c013 ! 248: WRPR_WSTATE_R wrpr %r11, %r19, %wstate | |
11703 | .word 0x93500000 ! 249: RDPR_TPC <illegal instruction> | |
11704 | tagged_1_120: | |
11705 | tsubcctv %r13, 0x1ad3, %r2 | |
11706 | .word 0xd807fea4 ! 250: LDUW_I lduw [%r31 + 0xfffffea4], %r12 | |
11707 | .word 0x95a0016c ! 251: FABSq dis not found | |
11708 | ||
11709 | .word 0xd6c004a0 ! 252: LDSWA_R ldswa [%r0, %r0] 0x25, %r11 | |
11710 | splash_lsu_1_121: | |
11711 | setx 0x9c64a218e471fdc3, %r1, %r2 | |
11712 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11713 | .word 0x3d400001 ! 253: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11714 | memptr_1_122: | |
11715 | set 0x60340000, %r31 | |
11716 | .word 0x85832920 ! 254: WRCCR_I wr %r12, 0x0920, %ccr | |
11717 | nop | |
11718 | mov 0x80, %g3 | |
11719 | stxa %g3, [%g3] 0x57 | |
11720 | .word 0xd65fc000 ! 255: LDX_R ldx [%r31 + %r0], %r11 | |
11721 | .word 0xd6d7e000 ! 256: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r11 | |
11722 | splash_cmpr_1_123: | |
11723 | setx 0x925fab36f60948f0, %g2, %g1 | |
11724 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
11725 | sub %g1, 100, %g1 | |
11726 | .word 0xb1800001 ! 257: WR_STICK_REG_R wr %r0, %r1, %- | |
11727 | invalw | |
11728 | mov 0x34, %r30 | |
11729 | .word 0x91d0001e ! 258: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11730 | .word 0x95500000 ! 259: RDPR_TPC <illegal instruction> | |
11731 | mov (1+1), %r10 | |
11732 | ta T_CHANGE_HPRIV | |
11733 | set sync_thr_counter2, %r23 | |
11734 | cas [%r23],%g0,%r10 !lock | |
11735 | brnz %r10, sma_1_124 | |
11736 | rd %asi, %r12 | |
11737 | wr %g0, 0x40, %asi | |
11738 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11739 | set 0x21fff, %g1 | |
11740 | stxa %g1, [%g0 + 0x80] %asi | |
11741 | wr %r12, %g0, %asi | |
11742 | st %g0, [%r23] | |
11743 | sma_1_124: | |
11744 | ta T_CHANGE_NONHPRIV | |
11745 | .word 0xe3e7e005 ! 260: CASA_R casa [%r31] %asi, %r5, %r17 | |
11746 | nop | |
11747 | mov 0x80, %g3 | |
11748 | stxa %g3, [%g3] 0x5f | |
11749 | .word 0xe25fc000 ! 261: LDX_R ldx [%r31 + %r0], %r17 | |
11750 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11751 | ta T_CHANGE_NONHPRIV ! macro | |
11752 | .word 0x95a0196c ! 262: FqTOd dis not found | |
11753 | ||
11754 | .word 0x8d902785 ! 263: WRPR_PSTATE_I wrpr %r0, 0x0785, %pstate | |
11755 | DS_1_126: | |
11756 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
11757 | .word 0xfb6e0e95 ! Random illegal ? | |
11758 | .word 0x9ba00541 ! 1: FSQRTd fsqrt | |
11759 | .word 0x95a0882b ! 264: FADDs fadds %f2, %f11, %f10 | |
11760 | .word 0xd68008a0 ! 265: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
11761 | intveclr_1_127: | |
11762 | setx 0xb5004955b1909d6b, %r1, %r28 | |
11763 | stxa %r28, [%g0] 0x72 | |
11764 | .word 0x25400001 ! 266: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11765 | .word 0x97520000 ! 267: RDPR_PIL rdpr %pil, %r11 | |
11766 | .word 0xab844012 ! 268: WR_CLEAR_SOFTINT_R wr %r17, %r18, %clear_softint | |
11767 | splash_cmpr_1_128: | |
11768 | setx 0x0aa9e0d9b1c7af69, %g2, %g1 | |
11769 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11770 | sub %g1, 100, %g1 | |
11771 | .word 0xb1800001 ! 269: WR_STICK_REG_R wr %r0, %r1, %- | |
11772 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11773 | ta T_CHANGE_NONHPRIV ! macro | |
11774 | .word 0x95a01974 ! 270: FqTOd dis not found | |
11775 | ||
11776 | splash_cmpr_1_130: | |
11777 | setx 0xf2eb8f4c47f98614, %g2, %g1 | |
11778 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11779 | sub %g1, 100, %g1 | |
11780 | .word 0xb1800001 ! 271: WR_STICK_REG_R wr %r0, %r1, %- | |
11781 | ta T_CHANGE_HPRIV | |
11782 | mov (1+1), %r10 | |
11783 | set sync_thr_counter1, %r23 | |
11784 | cas [%r23],%g0,%r10 !lock | |
11785 | brnz %r10, cwq_1_131 | |
11786 | rd %asi, %r12 | |
11787 | wr %g0, 0x40, %asi | |
11788 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11789 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11790 | cmp %l1, 1 | |
11791 | bne cwq_1_131 | |
11792 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11793 | sub %l2, 0x40, %l2 | |
11794 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11795 | wr %r12, %g0, %asi | |
11796 | st %g0, [%r23] | |
11797 | cwq_1_131: | |
11798 | ta T_CHANGE_NONHPRIV | |
11799 | .word 0x99414000 ! 272: RDPC rd %pc, %r12 | |
11800 | splash_cmpr_1_132: | |
11801 | setx 0x5aeb35d1c1884131, %g2, %g1 | |
11802 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11803 | sub %g1, 100, %g1 | |
11804 | .word 0xb1800001 ! 273: WR_STICK_REG_R wr %r0, %r1, %- | |
11805 | tagged_1_133: | |
11806 | taddcctv %r17, 0x1f04, %r1 | |
11807 | .word 0xda07edb6 ! 274: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
11808 | mondo_1_134: | |
11809 | nop | |
11810 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11811 | ||
11812 | stxa %r10, [%r0+0x3d0] %asi | |
11813 | .word 0x9d94c005 ! 275: WRPR_WSTATE_R wrpr %r19, %r5, %wstate | |
11814 | rd %pc, %r19 | |
11815 | add %r19, (ivw_1_135-.+8), %r19 | |
11816 | mov 0x38, %r18 | |
11817 | stxa %r19, [%r18]0x58 | |
11818 | ivw_1_135: | |
11819 | .word 0x91934013 ! 276: WRPR_PIL_R wrpr %r13, %r19, %pil | |
11820 | cwp_1_136: | |
11821 | set user_data_start, %o7 | |
11822 | .word 0x93902007 ! 277: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
11823 | tagged_1_137: | |
11824 | taddcctv %r19, 0x15d0, %r22 | |
11825 | .word 0xda07edb6 ! 278: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
11826 | cwp_1_138: | |
11827 | set user_data_start, %o7 | |
11828 | .word 0x93902004 ! 279: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
11829 | otherw | |
11830 | mov 0xb4, %r30 | |
11831 | .word 0x91d0001e ! 280: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11832 | intveclr_1_139: | |
11833 | setx 0x7d02ce8f05019908, %r1, %r28 | |
11834 | stxa %r28, [%g0] 0x72 | |
11835 | .word 0x25400001 ! 281: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11836 | .word 0x93450000 ! 282: RD_SET_SOFTINT rd %set_softint, %r9 | |
11837 | splash_tba_1_140: | |
11838 | set 0x120000, %r12 | |
11839 | st %r1, [%r12+%r0] | |
11840 | ta T_CHANGE_PRIV | |
11841 | set 0x120000, %r12 | |
11842 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11843 | debug_1_141: | |
11844 | nop | |
11845 | mov 8, %r18 | |
11846 | .word 0xdcf00492 ! 284: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
11847 | debug_1_142: | |
11848 | nop | |
11849 | rd %pc, %r19 | |
11850 | add %r19, (64+48), %r19 | |
11851 | mov 0x38, %r18 | |
11852 | .word 0xe6f00b12 ! 285: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11853 | .word 0xa190200f ! 286: WRPR_GL_I wrpr %r0, 0x000f, %- | |
11854 | cwp_1_143: | |
11855 | set user_data_start, %o7 | |
11856 | .word 0x93902006 ! 287: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
11857 | .word 0x879021f8 ! 288: WRPR_TT_I wrpr %r0, 0x01f8, %tt | |
11858 | .word 0x97702eef ! 289: POPC_I popc 0x0eef, %r11 | |
11859 | ta T_CHANGE_HPRIV | |
11860 | mov (1+1), %r10 | |
11861 | set sync_thr_counter1, %r23 | |
11862 | cas [%r23],%g0,%r10 !lock | |
11863 | brnz %r10, cwq_1_144 | |
11864 | rd %asi, %r12 | |
11865 | wr %g0, 0x40, %asi | |
11866 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11867 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11868 | cmp %l1, 1 | |
11869 | bne cwq_1_144 | |
11870 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11871 | sub %l2, 0x40, %l2 | |
11872 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11873 | wr %r12, %g0, %asi | |
11874 | st %g0, [%r23] | |
11875 | cwq_1_144: | |
11876 | ta T_CHANGE_NONHPRIV | |
11877 | .word 0xa9414000 ! 290: RDPC rd %pc, %r20 | |
11878 | ta T_CHANGE_HPRIV | |
11879 | mov (1+1), %r10 | |
11880 | set sync_thr_counter1, %r23 | |
11881 | cas [%r23],%g0,%r10 !lock | |
11882 | brnz %r10, cwq_1_145 | |
11883 | rd %asi, %r12 | |
11884 | wr %g0, 0x40, %asi | |
11885 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11886 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11887 | cmp %l1, 1 | |
11888 | bne cwq_1_145 | |
11889 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11890 | sub %l2, 0x40, %l2 | |
11891 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11892 | wr %r12, %g0, %asi | |
11893 | st %g0, [%r23] | |
11894 | cwq_1_145: | |
11895 | ta T_CHANGE_NONHPRIV | |
11896 | .word 0x97414000 ! 291: RDPC rd %pc, %r11 | |
11897 | invalw | |
11898 | mov 0x31, %r30 | |
11899 | .word 0x83d0001e ! 292: Tcc_R te icc_or_xcc, %r0 + %r30 | |
11900 | .word 0x95a0016c ! 293: FABSq dis not found | |
11901 | ||
11902 | splash_hpstate_1_146: | |
11903 | .word 0x819821cd ! 294: WRHPR_HPSTATE_I wrhpr %r0, 0x01cd, %hpstate | |
11904 | mondo_1_147: | |
11905 | nop | |
11906 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11907 | ||
11908 | stxa %r2, [%r0+0x3e8] %asi | |
11909 | .word 0x9d90800d ! 295: WRPR_WSTATE_R wrpr %r2, %r13, %wstate | |
11910 | .word 0x81460000 ! 296: RD_STICK_REG stbar | |
11911 | .word 0x879021e6 ! 297: WRPR_TT_I wrpr %r0, 0x01e6, %tt | |
11912 | tagged_1_148: | |
11913 | tsubcctv %r2, 0x1522, %r19 | |
11914 | .word 0xda07e368 ! 298: LDUW_I lduw [%r31 + 0x0368], %r13 | |
11915 | splash_tba_1_149: | |
11916 | set 0x120000, %r12 | |
11917 | ld [%r12+%r0], %r1 | |
11918 | ta T_CHANGE_PRIV | |
11919 | set 0x120000, %r12 | |
11920 | .word 0x8b90000c ! 299: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11921 | .word 0xda6fe368 ! 300: LDSTUB_I ldstub %r13, [%r31 + 0x0368] | |
11922 | splash_cmpr_1_150: | |
11923 | setx 0x9d6145d148de65d5, %g2, %g1 | |
11924 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11925 | sub %g1, 100, %g1 | |
11926 | .word 0xb1800001 ! 301: WR_STICK_REG_R wr %r0, %r1, %- | |
11927 | .word 0xdabfe368 ! 302: STDA_I stda %r13, [%r31 + 0x0368] %asi | |
11928 | splash_tba_1_151: | |
11929 | set 0x120000, %r12 | |
11930 | ld [%r12+%r0], %r1 | |
11931 | ta T_CHANGE_PRIV | |
11932 | set 0x120000, %r12 | |
11933 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11934 | .word 0x9ba00166 ! 304: FABSq dis not found | |
11935 | ||
11936 | .word 0xda47e368 ! 305: LDSW_I ldsw [%r31 + 0x0368], %r13 | |
11937 | .word 0x8d9025b0 ! 306: WRPR_PSTATE_I wrpr %r0, 0x05b0, %pstate | |
11938 | rd %pc, %r19 | |
11939 | add %r19, (ivw_1_152-.+56), %r19 | |
11940 | mov 0x38, %r18 | |
11941 | stxa %r19, [%r18]0x58 | |
11942 | ivw_1_152: | |
11943 | .word 0x91924013 ! 307: WRPR_PIL_R wrpr %r9, %r19, %pil | |
11944 | DS_1_153: | |
11945 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
11946 | .word 0x99a189cd ! 1: FDIVd fdivd %f6, %f44, %f12 | |
11947 | normalw | |
11948 | .word 0xa9458000 ! 308: RD_SOFTINT_REG rd %softint, %r20 | |
11949 | .word 0xd33fe368 ! 309: STDF_I std %f9, [0x0368, %r31] | |
11950 | .word 0x91d02032 ! 310: Tcc_I ta icc_or_xcc, %r0 + 50 | |
11951 | .word 0x9950c000 ! 311: RDPR_TT <illegal instruction> | |
11952 | mov (1+1), %r10 | |
11953 | ta T_CHANGE_HPRIV | |
11954 | set sync_thr_counter2, %r23 | |
11955 | cas [%r23],%g0,%r10 !lock | |
11956 | brnz %r10, sma_1_154 | |
11957 | rd %asi, %r12 | |
11958 | wr %g0, 0x40, %asi | |
11959 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11960 | set 0x21fff, %g1 | |
11961 | stxa %g1, [%g0 + 0x80] %asi | |
11962 | wr %r12, %g0, %asi | |
11963 | st %g0, [%r23] | |
11964 | sma_1_154: | |
11965 | ta T_CHANGE_NONHPRIV | |
11966 | .word 0xd3e7e00d ! 312: CASA_R casa [%r31] %asi, %r13, %r9 | |
11967 | tagged_1_155: | |
11968 | taddcctv %r7, 0x19c6, %r19 | |
11969 | .word 0xd207e368 ! 313: LDUW_I lduw [%r31 + 0x0368], %r9 | |
11970 | DS_1_156: | |
11971 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
11972 | .word 0xbfefc000 ! 314: RESTORE_R restore %r31, %r0, %r31 | |
11973 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11974 | ta T_CHANGE_NONHPRIV ! macro | |
11975 | .word 0xa768a439 ! 315: SDIVX_I sdivx %r2, 0x0439, %r19 | |
11976 | .word 0xe8dfe030 ! 316: LDXA_I ldxa [%r31, + 0x0030] %asi, %r20 | |
11977 | nop | |
11978 | mov 0x80, %g3 | |
11979 | stxa %g3, [%g3] 0x5f | |
11980 | .word 0xe85fc000 ! 317: LDX_R ldx [%r31 + %r0], %r20 | |
11981 | debug_1_158: | |
11982 | nop | |
11983 | mov 0x38, %r18 | |
11984 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11985 | splash_htba_1_159: | |
11986 | set 0x003b0000, %r12 | |
11987 | ld [%r12+%r0], %r1 | |
11988 | ta T_CHANGE_HPRIV | |
11989 | set 0x003b0000, %r12 | |
11990 | .word 0x8b98000c ! 319: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
11991 | ta T_CHANGE_HPRIV | |
11992 | mov (1+1), %r10 | |
11993 | set sync_thr_counter1, %r23 | |
11994 | cas [%r23],%g0,%r10 !lock | |
11995 | brnz %r10, cwq_1_160 | |
11996 | rd %asi, %r12 | |
11997 | wr %g0, 0x40, %asi | |
11998 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11999 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12000 | cmp %l1, 1 | |
12001 | bne cwq_1_160 | |
12002 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12003 | sub %l2, 0x40, %l2 | |
12004 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12005 | wr %r12, %g0, %asi | |
12006 | st %g0, [%r23] | |
12007 | cwq_1_160: | |
12008 | ta T_CHANGE_NONHPRIV | |
12009 | .word 0x95414000 ! 320: RDPC rd %pc, %r10 | |
12010 | .word 0xe537c000 ! 321: STQF_R - %f18, [%r0, %r31] | |
12011 | .word 0xa7464000 ! 322: RD_STICK_CMPR_REG rd %-, %r19 | |
12012 | .word 0x91d020b2 ! 323: Tcc_I ta icc_or_xcc, %r0 + 178 | |
12013 | .word 0xab850003 ! 324: WR_CLEAR_SOFTINT_R wr %r20, %r3, %clear_softint | |
12014 | .word 0xd28804a0 ! 325: LDUBA_R lduba [%r0, %r0] 0x25, %r9 | |
12015 | splash_cmpr_1_161: | |
12016 | setx 0x87ab028c05cebf70, %g2, %g1 | |
12017 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
12018 | sub %g1, 100, %g1 | |
12019 | .word 0xb1800001 ! 326: WR_STICK_REG_R wr %r0, %r1, %- | |
12020 | .word 0x99902003 ! 327: WRPR_CLEANWIN_I wrpr %r0, 0x0003, %cleanwin | |
12021 | DS_1_162: | |
12022 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
12023 | .word 0x9f5f7019 ! Random illegal ? | |
12024 | .word 0xa7a509c4 ! 1: FDIVd fdivd %f20, %f4, %f50 | |
12025 | .word 0x97a14823 ! 328: FADDs fadds %f5, %f3, %f11 | |
12026 | .word 0x8d90280e ! 329: WRPR_PSTATE_I wrpr %r0, 0x080e, %pstate | |
12027 | nop | |
12028 | mov 0x80, %g3 | |
12029 | stxa %g3, [%g3] 0x5f | |
12030 | .word 0xd05fc000 ! 330: LDX_R ldx [%r31 + %r0], %r8 | |
12031 | .word 0xd08fe000 ! 331: LDUBA_I lduba [%r31, + 0x0000] %asi, %r8 | |
12032 | mondo_1_163: | |
12033 | nop | |
12034 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12035 | ||
12036 | stxa %r3, [%r0+0x3e8] %asi | |
12037 | .word 0x9d918008 ! 332: WRPR_WSTATE_R wrpr %r6, %r8, %wstate | |
12038 | .word 0xa8817146 ! 333: ADDcc_I addcc %r5, 0xfffff146, %r20 | |
12039 | invalw | |
12040 | mov 0x33, %r30 | |
12041 | .word 0x91d0001e ! 334: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12042 | splash_hpstate_1_164: | |
12043 | .word 0x81982adc ! 335: WRHPR_HPSTATE_I wrhpr %r0, 0x0adc, %hpstate | |
12044 | tagged_1_165: | |
12045 | taddcctv %r21, 0x15f1, %r3 | |
12046 | .word 0xda07fbd4 ! 336: LDUW_I lduw [%r31 + 0xfffffbd4], %r13 | |
12047 | .word 0xa190200d ! 337: WRPR_GL_I wrpr %r0, 0x000d, %- | |
12048 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_166) + 24, 16, 16)) -> intp(6,0,22) | |
12049 | intvec_1_166: | |
12050 | .word 0x39400001 ! 338: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12051 | splash_decr_1_167: | |
12052 | nop | |
12053 | ta T_CHANGE_HPRIV | |
12054 | mov 8, %r1 | |
12055 | stxa %r9, [%r1] 0x45 | |
12056 | .word 0xa7828000 ! 339: WR_GRAPHICS_STATUS_REG_R wr %r10, %r0, %- | |
12057 | splash_hpstate_1_168: | |
12058 | .word 0x81982735 ! 340: WRHPR_HPSTATE_I wrhpr %r0, 0x0735, %hpstate | |
12059 | DS_1_169: | |
12060 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
12061 | .word 0xbfefc000 ! 341: RESTORE_R restore %r31, %r0, %r31 | |
12062 | .word 0x8d9021f5 ! 342: WRPR_PSTATE_I wrpr %r0, 0x01f5, %pstate | |
12063 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_170) + 16, 16, 16)) -> intp(6,0,7) | |
12064 | intvec_1_170: | |
12065 | .word 0x39400001 ! 343: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12066 | .word 0x87802020 ! 344: WRASI_I wr %r0, 0x0020, %asi | |
12067 | .word 0xa1902004 ! 345: WRPR_GL_I wrpr %r0, 0x0004, %- | |
12068 | splash_lsu_1_171: | |
12069 | setx 0xfc22cc5bfe5412d1, %r1, %r2 | |
12070 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12071 | .word 0x3d400001 ! 346: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12072 | cwp_1_172: | |
12073 | set user_data_start, %o7 | |
12074 | .word 0x93902003 ! 347: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
12075 | splash_cmpr_1_173: | |
12076 | setx 0xc62f730c47c6e99e, %g2, %g1 | |
12077 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
12078 | sub %g1, 100, %g1 | |
12079 | .word 0xb1800001 ! 348: WR_STICK_REG_R wr %r0, %r1, %- | |
12080 | .word 0xdac80e40 ! 349: LDSBA_R ldsba [%r0, %r0] 0x72, %r13 | |
12081 | .word 0xa1520000 ! 350: RDPR_PIL <illegal instruction> | |
12082 | .word 0xd4c00e80 ! 351: LDSWA_R ldswa [%r0, %r0] 0x74, %r10 | |
12083 | donret_1_174: | |
12084 | nop | |
12085 | rd %pc, %r12 | |
12086 | add %r12, (donretarg_1_174-donret_1_174), %r12 | |
12087 | mov 0x38, %r18 | |
12088 | stxa %r12, [%r18]0x58 | |
12089 | add %r12, 0x4, %r11 | |
12090 | wrpr %g0, 0x3, %tl | |
12091 | wrpr %g0, %r12, %tpc | |
12092 | wrpr %g0, %r11, %tnpc | |
12093 | wrpr %g0, %r13, %tstate | |
12094 | wrhpr %g0, %r14, %htstate | |
12095 | retry | |
12096 | donretarg_1_174: | |
12097 | .word 0xd4fffbd4 ! 352: SWAPA_I swapa %r10, [%r31 + 0xfffffbd4] %asi | |
12098 | intveclr_1_175: | |
12099 | setx 0x74fa7ab8d7f98f7e, %r1, %r28 | |
12100 | stxa %r28, [%g0] 0x72 | |
12101 | .word 0x25400001 ! 353: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12102 | DS_1_176: | |
12103 | nop | |
12104 | not %g0, %r12 | |
12105 | jmp %r12 | |
12106 | .word 0x9d902004 ! 354: WRPR_WSTATE_I wrpr %r0, 0x0004, %wstate | |
12107 | cwp_1_177: | |
12108 | set user_data_start, %o7 | |
12109 | .word 0x93902002 ! 355: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
12110 | change_to_randtl_1_178: | |
12111 | ta T_CHANGE_PRIV ! macro | |
12112 | done_change_to_randtl_1_178: | |
12113 | .word 0x8f902001 ! 356: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12114 | .word 0xd51fc000 ! 357: LDDF_R ldd [%r31, %r0], %f10 | |
12115 | .word 0x87802016 ! 358: WRASI_I wr %r0, 0x0016, %asi | |
12116 | .word 0xd4c804a0 ! 359: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
12117 | .word 0x93d020b5 ! 360: Tcc_I tne icc_or_xcc, %r0 + 181 | |
12118 | .word 0xad84e97a ! 361: WR_SOFTINT_REG_I wr %r19, 0x097a, %softint | |
12119 | splash_htba_1_179: | |
12120 | set 0x80000, %r12 | |
12121 | ld [%r12+%r0], %r1 | |
12122 | ta T_CHANGE_HPRIV | |
12123 | set 0x80000, %r12 | |
12124 | .word 0x8b98000c ! 362: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
12125 | .word 0xd4c804a0 ! 363: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
12126 | nop | |
12127 | mov 0x80, %g3 | |
12128 | stxa %g3, [%g3] 0x57 | |
12129 | .word 0xd45fc000 ! 364: LDX_R ldx [%r31 + %r0], %r10 | |
12130 | memptr_1_180: | |
12131 | set user_data_start, %r31 | |
12132 | .word 0x8582337d ! 365: WRCCR_I wr %r8, 0x137d, %ccr | |
12133 | debug_1_181: | |
12134 | nop | |
12135 | rd %pc, %r19 | |
12136 | add %r19, (64+24), %r19 | |
12137 | mov 0x38, %r18 | |
12138 | .word 0xe6f00b12 ! 366: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12139 | splash_tba_1_182: | |
12140 | set 0x120000, %r12 | |
12141 | st %r1, [%r12+%r0] | |
12142 | ta T_CHANGE_PRIV | |
12143 | set 0x120000, %r12 | |
12144 | .word 0x8b90000c ! 367: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12145 | splash_htba_1_183: | |
12146 | set 0x003b0000, %r12 | |
12147 | ld [%r12+%r0], %r1 | |
12148 | ta T_CHANGE_HPRIV | |
12149 | set 0x003b0000, %r12 | |
12150 | .word 0x8b98000c ! 368: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
12151 | .word 0xd4d80e80 ! 369: LDXA_R ldxa [%r0, %r0] 0x74, %r10 | |
12152 | debug_1_184: | |
12153 | nop | |
12154 | rd %pc, %r19 | |
12155 | add %r19, (64+48), %r19 | |
12156 | mov 0x38, %r18 | |
12157 | .word 0xe6f00b12 ! 370: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12158 | .word 0xd4c004a0 ! 371: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
12159 | .word 0xd4d00e80 ! 372: LDSHA_R ldsha [%r0, %r0] 0x74, %r10 | |
12160 | splash_lsu_1_185: | |
12161 | setx 0x4908905b9f1ca72f, %r1, %r2 | |
12162 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12163 | .word 0x3d400001 ! 373: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12164 | .word 0xa190200d ! 374: WRPR_GL_I wrpr %r0, 0x000d, %- | |
12165 | nop | |
12166 | mov 0x80, %g3 | |
12167 | stxa %g3, [%g3] 0x57 | |
12168 | .word 0xd45fc000 ! 375: LDX_R ldx [%r31 + %r0], %r10 | |
12169 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_186) + 40, 16, 16)) -> intp(6,0,26) | |
12170 | intvec_1_186: | |
12171 | .word 0x39400001 ! 376: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12172 | .word 0x9f803b14 ! 377: SIR sir 0x1b14 | |
12173 | setx 0x83650d3cefcf9d44, %r1, %r28 | |
12174 | stxa %r28, [%g0] 0x73 | |
12175 | intvec_1_187: | |
12176 | .word 0x39400001 ! 378: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12177 | invalw | |
12178 | mov 0xb2, %r30 | |
12179 | .word 0x91d0001e ! 379: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12180 | splash_hpstate_1_188: | |
12181 | .word 0x81982e8e ! 380: WRHPR_HPSTATE_I wrhpr %r0, 0x0e8e, %hpstate | |
12182 | mov (1+1), %r10 | |
12183 | ta T_CHANGE_HPRIV | |
12184 | set sync_thr_counter2, %r23 | |
12185 | cas [%r23],%g0,%r10 !lock | |
12186 | brnz %r10, sma_1_189 | |
12187 | rd %asi, %r12 | |
12188 | wr %g0, 0x40, %asi | |
12189 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12190 | set 0x21fff, %g1 | |
12191 | stxa %g1, [%g0 + 0x80] %asi | |
12192 | wr %r12, %g0, %asi | |
12193 | st %g0, [%r23] | |
12194 | sma_1_189: | |
12195 | ta T_CHANGE_NONHPRIV | |
12196 | .word 0xd5e7e008 ! 381: CASA_R casa [%r31] %asi, %r8, %r10 | |
12197 | debug_1_190: | |
12198 | nop | |
12199 | rd %pc, %r19 | |
12200 | add %r19, (64+56), %r19 | |
12201 | mov 0x38, %r18 | |
12202 | .word 0xe6f00b12 ! 382: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12203 | ta T_CHANGE_HPRIV | |
12204 | mov (1+1), %r10 | |
12205 | set sync_thr_counter1, %r23 | |
12206 | cas [%r23],%g0,%r10 !lock | |
12207 | brnz %r10, cwq_1_191 | |
12208 | rd %asi, %r12 | |
12209 | wr %g0, 0x40, %asi | |
12210 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12211 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12212 | cmp %l1, 1 | |
12213 | bne cwq_1_191 | |
12214 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12215 | sub %l2, 0x40, %l2 | |
12216 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12217 | wr %r12, %g0, %asi | |
12218 | st %g0, [%r23] | |
12219 | cwq_1_191: | |
12220 | ta T_CHANGE_NONHPRIV | |
12221 | .word 0xa3414000 ! 383: RDPC rd %pc, %r17 | |
12222 | .word 0xd6c7e010 ! 384: LDSWA_I ldswa [%r31, + 0x0010] %asi, %r11 | |
12223 | cwp_1_192: | |
12224 | set user_data_start, %o7 | |
12225 | .word 0x93902004 ! 385: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
12226 | .word 0xd6800c20 ! 386: LDUWA_R lduwa [%r0, %r0] 0x61, %r11 | |
12227 | .word 0xd6ffc028 ! 387: SWAPA_R swapa %r11, [%r31 + %r8] 0x01 | |
12228 | mov (1+1), %r10 | |
12229 | ta T_CHANGE_HPRIV | |
12230 | set sync_thr_counter2, %r23 | |
12231 | cas [%r23],%g0,%r10 !lock | |
12232 | brnz %r10, sma_1_193 | |
12233 | rd %asi, %r12 | |
12234 | wr %g0, 0x40, %asi | |
12235 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12236 | set 0x21fff, %g1 | |
12237 | stxa %g1, [%g0 + 0x80] %asi | |
12238 | wr %r12, %g0, %asi | |
12239 | st %g0, [%r23] | |
12240 | sma_1_193: | |
12241 | ta T_CHANGE_NONHPRIV | |
12242 | .word 0xd7e7e008 ! 388: CASA_R casa [%r31] %asi, %r8, %r11 | |
12243 | debug_1_194: | |
12244 | nop | |
12245 | mov 0x38, %r18 | |
12246 | .word 0xfef00b12 ! 389: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12247 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12248 | ta T_CHANGE_NONHPRIV ! macro | |
12249 | .word 0x91a01964 ! 390: FqTOd dis not found | |
12250 | ||
12251 | splash_hpstate_1_196: | |
12252 | .word 0x8198208c ! 391: WRHPR_HPSTATE_I wrhpr %r0, 0x008c, %hpstate | |
12253 | .word 0x87902207 ! 392: WRPR_TT_I wrpr %r0, 0x0207, %tt | |
12254 | setx 0x9cd25203ace36c18, %r1, %r28 | |
12255 | stxa %r28, [%g0] 0x73 | |
12256 | intvec_1_197: | |
12257 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12258 | mondo_1_198: | |
12259 | nop | |
12260 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12261 | ||
12262 | stxa %r9, [%r0+0x3c0] %asi | |
12263 | .word 0x9d940013 ! 394: WRPR_WSTATE_R wrpr %r16, %r19, %wstate | |
12264 | .word 0xa6d1a9d8 ! 395: UMULcc_I umulcc %r6, 0x09d8, %r19 | |
12265 | .word 0xda8804a0 ! 396: LDUBA_R lduba [%r0, %r0] 0x25, %r13 | |
12266 | .word 0x95a009c0 ! 397: FDIVd fdivd %f0, %f0, %f10 | |
12267 | splash_cmpr_1_199: | |
12268 | setx 0x00c3f2c9a52af37d, %g2, %g1 | |
12269 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
12270 | sub %g1, 100, %g1 | |
12271 | .word 0xb1800001 ! 398: WR_STICK_REG_R wr %r0, %r1, %- | |
12272 | .word 0xa1a00551 ! 399: FSQRTd fsqrt | |
12273 | nop | |
12274 | mov 0x80, %g3 | |
12275 | stxa %g3, [%g3] 0x57 | |
12276 | .word 0xd05fc000 ! 400: LDX_R ldx [%r31 + %r0], %r8 | |
12277 | nop | |
12278 | nop | |
12279 | setx join_lbl_0_0, %g1, %g2 | |
12280 | jmp %g2 | |
12281 | nop | |
12282 | fork_lbl_0_1: | |
12283 | change_to_randtl_0_0: | |
12284 | ta T_CHANGE_PRIV ! macro | |
12285 | done_change_to_randtl_0_0: | |
12286 | .word 0xd8d7e000 ! 1: LDSHA_I ldsha [%r31, + 0x0000] %asi, %r12 | |
12287 | splash_cmpr_0_1: | |
12288 | setx 0x13417b999f73f07e, %g2, %g1 | |
12289 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
12290 | sub %g1, 100, %g1 | |
12291 | .word 0xb1800001 ! 2: WR_STICK_REG_R wr %r0, %r1, %- | |
12292 | debug_0_2: | |
12293 | nop | |
12294 | mov 0x38, %r18 | |
12295 | .word 0xfef00b12 ! 3: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12296 | .word 0x87802014 ! 4: WRASI_I wr %r0, 0x0014, %asi | |
12297 | .word 0x87902175 ! 5: WRPR_TT_I wrpr %r0, 0x0175, %tt | |
12298 | debug_0_3: | |
12299 | nop | |
12300 | mov 8, %r18 | |
12301 | ta T_CHANGE_HPRIV | |
12302 | rd %asi, %r12 | |
12303 | wr %r0, 0x41, %asi | |
12304 | set sync_thr_counter, %r23 | |
12305 | debug_startwait0_3: | |
12306 | mov 0x1, %r16 | |
12307 | cas [%r23],%g0,%r16 !lock | |
12308 | brz,a %r16, continue_debug_0_3 | |
12309 | nop | |
12310 | debug_wait0_3: | |
12311 | ld [%r23], %r16 | |
12312 | brnz %r16, debug_wait0_3 | |
12313 | nop | |
12314 | ba,a debug_startwait0_3 | |
12315 | continue_debug_0_3: | |
12316 | mov 0x0e, %r16 | |
12317 | ldxa [0x50]%asi, %r13 !Running_rw | |
12318 | ldxa [0x58]%asi, %r15 !Running_status | |
12319 | wait_for_stat_0_3: | |
12320 | cmp %r13, %r15 | |
12321 | bne,a wait_for_stat_0_3 | |
12322 | ldxa [0x58]%asi, %r15 !Running_status | |
12323 | stxa %r16, [0x68]%asi | |
12324 | ldxa [0x50]%asi, %r14 !Running_rw | |
12325 | wait_for_debug_0_3: | |
12326 | ldxa [0x58]%asi, %r15 !Running_status | |
12327 | cmp %r14, %r15 | |
12328 | bne,a wait_for_debug_0_3 | |
12329 | ldxa [0x50]%asi, %r14 !Running_rw | |
12330 | stxa %19, [%r18]0x42 | |
12331 | stxa %r13, [0x50] %asi ! Running_rw | |
12332 | st %g0, [%r23] !clear lock | |
12333 | wr %r0, %r12, %asi ! restore %asi | |
12334 | .word 0xdcf00492 ! 6: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
12335 | cwp_0_4: | |
12336 | set user_data_start, %o7 | |
12337 | .word 0x93902007 ! 7: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
12338 | .word 0x8d9032eb ! 8: WRPR_PSTATE_I wrpr %r0, 0x12eb, %pstate | |
12339 | splash_cmpr_0_5: | |
12340 | setx 0xd46ee94174a2cdad, %g2, %g1 | |
12341 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
12342 | sub %g1, 100, %g1 | |
12343 | .word 0xb1800001 ! 9: WR_STICK_REG_R wr %r0, %r1, %- | |
12344 | cwp_0_6: | |
12345 | set user_data_start, %o7 | |
12346 | .word 0x93902006 ! 10: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
12347 | splash_lsu_0_7: | |
12348 | setx 0x4298fde00c027d55, %r1, %r2 | |
12349 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12350 | .word 0x3d400001 ! 11: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12351 | debug_0_8: | |
12352 | nop | |
12353 | mov 0x38, %r18 | |
12354 | .word 0xfef00b12 ! 12: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12355 | .word 0x38800001 ! 13: BGU bgu,a <label_0x1> | |
12356 | .word 0xd86fe5b9 ! 14: LDSTUB_I ldstub %r12, [%r31 + 0x05b9] | |
12357 | .word 0x91d02034 ! 15: Tcc_I ta icc_or_xcc, %r0 + 52 | |
12358 | .word 0x8d9020dd ! 16: WRPR_PSTATE_I wrpr %r0, 0x00dd, %pstate | |
12359 | .word 0x30800001 ! 17: BA ba,a <label_0x1> | |
12360 | .word 0xa1902004 ! 18: WRPR_GL_I wrpr %r0, 0x0004, %- | |
12361 | otherw | |
12362 | mov 0xb0, %r30 | |
12363 | .word 0x91d0001e ! 19: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12364 | .word 0xd897e020 ! 20: LDUHA_I lduha [%r31, + 0x0020] %asi, %r12 | |
12365 | .word 0x8d903e41 ! 21: WRPR_PSTATE_I wrpr %r0, 0x1e41, %pstate | |
12366 | .word 0xa3520000 ! 22: RDPR_PIL <illegal instruction> | |
12367 | DS_0_9: | |
12368 | .word 0x99a049cd ! 1: FDIVd fdivd %f32, %f44, %f12 | |
12369 | .word 0xd1300008 ! 1: STQF_R - %f8, [%r8, %r0] | |
12370 | normalw | |
12371 | .word 0x95458000 ! 23: RD_SOFTINT_REG rd %softint, %r10 | |
12372 | .word 0x8790236f ! 24: WRPR_TT_I wrpr %r0, 0x036f, %tt | |
12373 | donret_0_10: | |
12374 | nop | |
12375 | rd %pc, %r12 | |
12376 | add %r12, (donretarg_0_10-donret_0_10), %r12 | |
12377 | add %r12, 0x4, %r11 | |
12378 | wrpr %g0, 0x1, %tl | |
12379 | wrpr %g0, %r12, %tpc | |
12380 | wrpr %g0, %r11, %tnpc | |
12381 | wrpr %g0, %r13, %tstate | |
12382 | wrhpr %g0, %r14, %htstate | |
12383 | retry | |
12384 | donretarg_0_10: | |
12385 | .word 0xd4ffe5b9 ! 25: SWAPA_I swapa %r10, [%r31 + 0x05b9] %asi | |
12386 | .word 0x91d02032 ! 26: Tcc_I ta icc_or_xcc, %r0 + 50 | |
12387 | .word 0xd46fe5b9 ! 27: LDSTUB_I ldstub %r10, [%r31 + 0x05b9] | |
12388 | .word 0xa9480000 ! 28: RDHPR_HPSTATE rdhpr %hpstate, %r20 | |
12389 | splash_htba_0_11: | |
12390 | set 0x80000, %r12 | |
12391 | ld [%r12+%r0], %r1 | |
12392 | ta T_CHANGE_HPRIV | |
12393 | set 0x80000, %r12 | |
12394 | .word 0x8b98000c ! 29: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
12395 | .word 0x8d902507 ! 30: WRPR_PSTATE_I wrpr %r0, 0x0507, %pstate | |
12396 | splash_cmpr_0_12: | |
12397 | setx 0xd756522984b32daa, %g2, %g1 | |
12398 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12399 | sub %g1, 100, %g1 | |
12400 | .word 0xb1800001 ! 31: WR_STICK_REG_R wr %r0, %r1, %- | |
12401 | nop | |
12402 | mov 0x80, %g3 | |
12403 | stxa %g3, [%g3] 0x5f | |
12404 | .word 0xe85fc000 ! 32: LDX_R ldx [%r31 + %r0], %r20 | |
12405 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12406 | ta T_CHANGE_NONHPRIV ! macro | |
12407 | .word 0x9568eeec ! 33: SDIVX_I sdivx %r3, 0x0eec, %r10 | |
12408 | nop | |
12409 | mov 0x80, %g3 | |
12410 | stxa %g3, [%g3] 0x57 | |
12411 | .word 0xd45fc000 ! 34: LDX_R ldx [%r31 + %r0], %r10 | |
12412 | .word 0xd4c7e020 ! 35: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r10 | |
12413 | invalw | |
12414 | mov 0x32, %r30 | |
12415 | .word 0x91d0001e ! 36: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12416 | debug_0_14: | |
12417 | nop | |
12418 | mov 0x38, %r18 | |
12419 | .word 0xfef00b12 ! 37: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12420 | .word 0xd4880e80 ! 38: LDUBA_R lduba [%r0, %r0] 0x74, %r10 | |
12421 | .word 0x91d02034 ! 39: Tcc_I ta icc_or_xcc, %r0 + 52 | |
12422 | .word 0xd45feeec ! 40: LDX_I ldx [%r31 + 0x0eec], %r10 | |
12423 | .word 0x91d020b4 ! 41: Tcc_I ta icc_or_xcc, %r0 + 180 | |
12424 | DS_0_15: | |
12425 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
12426 | allclean | |
12427 | .word 0x93b1030b ! 42: ALIGNADDRESS alignaddr %r4, %r11, %r9 | |
12428 | debug_0_16: | |
12429 | nop | |
12430 | mov 0x38, %r18 | |
12431 | .word 0xe6f00b12 ! 43: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12432 | ta T_CHANGE_HPRIV | |
12433 | mov (0+1), %r10 | |
12434 | set sync_thr_counter1, %r23 | |
12435 | cas [%r23],%g0,%r10 !lock | |
12436 | brnz %r10, cwq_0_17 | |
12437 | rd %asi, %r12 | |
12438 | wr %g0, 0x40, %asi | |
12439 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12440 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12441 | cmp %l1, 1 | |
12442 | bne cwq_0_17 | |
12443 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12444 | sub %l2, 0x40, %l2 | |
12445 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12446 | wr %r12, %g0, %asi | |
12447 | st %g0, [%r23] | |
12448 | cwq_0_17: | |
12449 | ta T_CHANGE_NONHPRIV | |
12450 | .word 0xa9414000 ! 44: RDPC rd %pc, %r20 | |
12451 | invalw | |
12452 | mov 0x34, %r30 | |
12453 | .word 0x91d0001e ! 45: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12454 | .word 0xa7500000 ! 46: RDPR_TPC <illegal instruction> | |
12455 | invalw | |
12456 | mov 0xb5, %r30 | |
12457 | .word 0x91d0001e ! 47: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12458 | .word 0x8d9035cc ! 48: WRPR_PSTATE_I wrpr %r0, 0x15cc, %pstate | |
12459 | .word 0xe6d7e020 ! 49: LDSHA_I ldsha [%r31, + 0x0020] %asi, %r19 | |
12460 | splash_cmpr_0_18: | |
12461 | setx 0x040c6e979cc937d2, %g2, %g1 | |
12462 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12463 | sub %g1, 100, %g1 | |
12464 | .word 0xb1800001 ! 50: WR_STICK_REG_R wr %r0, %r1, %- | |
12465 | cwp_0_19: | |
12466 | set user_data_start, %o7 | |
12467 | .word 0x93902001 ! 51: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
12468 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_20) + 32, 16, 16)) -> intp(0,0,7) | |
12469 | intvec_0_20: | |
12470 | .word 0x39400001 ! 52: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12471 | .word 0xe637eeec ! 53: STH_I sth %r19, [%r31 + 0x0eec] | |
12472 | memptr_0_21: | |
12473 | set user_data_start, %r31 | |
12474 | .word 0x8580b065 ! 54: WRCCR_I wr %r2, 0x1065, %ccr | |
12475 | splash_hpstate_0_22: | |
12476 | .word 0x81982bcc ! 55: WRHPR_HPSTATE_I wrhpr %r0, 0x0bcc, %hpstate | |
12477 | .word 0x92dcc010 ! 56: SMULcc_R smulcc %r19, %r16, %r9 | |
12478 | .word 0x95a309cb ! 57: FDIVd fdivd %f12, %f42, %f10 | |
12479 | memptr_0_23: | |
12480 | set 0x60740000, %r31 | |
12481 | .word 0x8584ee0f ! 58: WRCCR_I wr %r19, 0x0e0f, %ccr | |
12482 | .word 0xd4d00e60 ! 59: LDSHA_R ldsha [%r0, %r0] 0x73, %r10 | |
12483 | invalw | |
12484 | mov 0x35, %r30 | |
12485 | .word 0x91d0001e ! 60: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12486 | splash_hpstate_0_24: | |
12487 | .word 0x8198258c ! 61: WRHPR_HPSTATE_I wrhpr %r0, 0x058c, %hpstate | |
12488 | change_to_randtl_0_25: | |
12489 | ta T_CHANGE_HPRIV ! macro | |
12490 | done_change_to_randtl_0_25: | |
12491 | .word 0x8f902000 ! 62: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12492 | .word 0x87802014 ! 63: WRASI_I wr %r0, 0x0014, %asi | |
12493 | tagged_0_26: | |
12494 | tsubcctv %r16, 0x1305, %r3 | |
12495 | .word 0xd407ee0f ! 64: LDUW_I lduw [%r31 + 0x0e0f], %r10 | |
12496 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12497 | ta T_CHANGE_NONHPRIV ! macro | |
12498 | .word 0x9b69f7ee ! 65: SDIVX_I sdivx %r7, 0xfffff7ee, %r13 | |
12499 | .word 0x87802020 ! 66: WRASI_I wr %r0, 0x0020, %asi | |
12500 | memptr_0_28: | |
12501 | set 0x60340000, %r31 | |
12502 | .word 0x85847b07 ! 67: WRCCR_I wr %r17, 0x1b07, %ccr | |
12503 | setx 0x191c6d2cdcd1aa4f, %r1, %r28 | |
12504 | stxa %r28, [%g0] 0x73 | |
12505 | intvec_0_29: | |
12506 | .word 0x39400001 ! 68: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12507 | splash_cmpr_0_30: | |
12508 | setx 0x90c9d7a850530e46, %g2, %g1 | |
12509 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12510 | sub %g1, 100, %g1 | |
12511 | .word 0xb1800001 ! 69: WR_STICK_REG_R wr %r0, %r1, %- | |
12512 | intveclr_0_31: | |
12513 | setx 0x8542e16b63b484a3, %r1, %r28 | |
12514 | stxa %r28, [%g0] 0x72 | |
12515 | .word 0x25400001 ! 70: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12516 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_32) + 0, 16, 16)) -> intp(4,0,7) | |
12517 | intvec_0_32: | |
12518 | .word 0x39400001 ! 71: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12519 | .word 0xda6ffb07 ! 72: LDSTUB_I ldstub %r13, [%r31 + 0xfffffb07] | |
12520 | .word 0xdadfe020 ! 73: LDXA_I ldxa [%r31, + 0x0020] %asi, %r13 | |
12521 | .word 0xda27fb07 ! 74: STW_I stw %r13, [%r31 + 0xfffffb07] | |
12522 | donret_0_33: | |
12523 | nop | |
12524 | rd %pc, %r12 | |
12525 | add %r12, (donretarg_0_33-donret_0_33-4), %r12 | |
12526 | add %r12, 0x4, %r11 | |
12527 | wrpr %g0, 0x1, %tl | |
12528 | wrpr %g0, %r12, %tpc | |
12529 | wrpr %g0, %r11, %tnpc | |
12530 | wrpr %g0, %r13, %tstate | |
12531 | wrhpr %g0, %r14, %htstate | |
12532 | done | |
12533 | donretarg_0_33: | |
12534 | .word 0xdafffb07 ! 75: SWAPA_I swapa %r13, [%r31 + 0xfffffb07] %asi | |
12535 | ta T_CHANGE_HPRIV | |
12536 | mov (0+1), %r10 | |
12537 | set sync_thr_counter1, %r23 | |
12538 | cas [%r23],%g0,%r10 !lock | |
12539 | brnz %r10, cwq_0_34 | |
12540 | rd %asi, %r12 | |
12541 | wr %g0, 0x40, %asi | |
12542 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12543 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12544 | cmp %l1, 1 | |
12545 | bne cwq_0_34 | |
12546 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12547 | sub %l2, 0x40, %l2 | |
12548 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12549 | wr %r12, %g0, %asi | |
12550 | st %g0, [%r23] | |
12551 | cwq_0_34: | |
12552 | ta T_CHANGE_NONHPRIV | |
12553 | .word 0xa9414000 ! 76: RDPC rd %pc, %r20 | |
12554 | otherw | |
12555 | mov 0x32, %r30 | |
12556 | .word 0x91d0001e ! 77: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12557 | .word 0x95540000 ! 78: RDPR_GL rdpr %-, %r10 | |
12558 | setx 0x562c6f0f33782ebd, %r1, %r28 | |
12559 | stxa %r28, [%g0] 0x73 | |
12560 | intvec_0_35: | |
12561 | .word 0x39400001 ! 79: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12562 | .word 0xd4dfe010 ! 80: LDXA_I ldxa [%r31, + 0x0010] %asi, %r10 | |
12563 | DS_0_36: | |
12564 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
12565 | .word 0xbfe7c000 ! 81: SAVE_R save %r31, %r0, %r31 | |
12566 | nop | |
12567 | mov 0x80, %g3 | |
12568 | stxa %g3, [%g3] 0x57 | |
12569 | .word 0xd45fc000 ! 82: LDX_R ldx [%r31 + %r0], %r10 | |
12570 | splash_lsu_0_37: | |
12571 | setx 0x4fb245e2a608bbff, %r1, %r2 | |
12572 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12573 | .word 0x3d400001 ! 83: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12574 | .word 0x97500000 ! 84: RDPR_TPC <illegal instruction> | |
12575 | .word 0xa3450000 ! 85: RD_SET_SOFTINT rd %set_softint, %r17 | |
12576 | debug_0_38: | |
12577 | nop | |
12578 | mov 0x38, %r18 | |
12579 | .word 0xfef00b12 ! 86: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12580 | nop | |
12581 | mov 0x80, %g3 | |
12582 | stxa %g3, [%g3] 0x5f | |
12583 | .word 0xe25fc000 ! 87: LDX_R ldx [%r31 + %r0], %r17 | |
12584 | .word 0x90f9f707 ! 88: SDIVcc_I sdivcc %r7, 0xfffff707, %r8 | |
12585 | .word 0xab8228aa ! 89: WR_CLEAR_SOFTINT_I wr %r8, 0x08aa, %clear_softint | |
12586 | .word 0xd0880e40 ! 90: LDUBA_R lduba [%r0, %r0] 0x72, %r8 | |
12587 | debug_0_39: | |
12588 | nop | |
12589 | mov 8, %r18 | |
12590 | ta T_CHANGE_HPRIV | |
12591 | rd %asi, %r12 | |
12592 | wr %r0, 0x41, %asi | |
12593 | set sync_thr_counter, %r23 | |
12594 | debug_startwait0_39: | |
12595 | mov 0x1, %r16 | |
12596 | cas [%r23],%g0,%r16 !lock | |
12597 | brz,a %r16, continue_debug_0_39 | |
12598 | nop | |
12599 | debug_wait0_39: | |
12600 | ld [%r23], %r16 | |
12601 | brnz %r16, debug_wait0_39 | |
12602 | nop | |
12603 | ba,a debug_startwait0_39 | |
12604 | continue_debug_0_39: | |
12605 | mov 0x0e, %r16 | |
12606 | ldxa [0x50]%asi, %r13 !Running_rw | |
12607 | ldxa [0x58]%asi, %r15 !Running_status | |
12608 | wait_for_stat_0_39: | |
12609 | cmp %r13, %r15 | |
12610 | bne,a wait_for_stat_0_39 | |
12611 | ldxa [0x58]%asi, %r15 !Running_status | |
12612 | stxa %r16, [0x68]%asi | |
12613 | ldxa [0x50]%asi, %r14 !Running_rw | |
12614 | wait_for_debug_0_39: | |
12615 | ldxa [0x58]%asi, %r15 !Running_status | |
12616 | cmp %r14, %r15 | |
12617 | bne,a wait_for_debug_0_39 | |
12618 | ldxa [0x50]%asi, %r14 !Running_rw | |
12619 | stxa %9, [%r18]0x42 | |
12620 | stxa %r13, [0x50] %asi ! Running_rw | |
12621 | st %g0, [%r23] !clear lock | |
12622 | wr %r0, %r12, %asi ! restore %asi | |
12623 | .word 0xe6f00492 ! 91: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
12624 | mov (0+1), %r10 | |
12625 | ta T_CHANGE_HPRIV | |
12626 | set sync_thr_counter2, %r23 | |
12627 | cas [%r23],%g0,%r10 !lock | |
12628 | brnz %r10, sma_0_40 | |
12629 | rd %asi, %r12 | |
12630 | wr %g0, 0x40, %asi | |
12631 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12632 | set 0x21fff, %g1 | |
12633 | stxa %g1, [%g0 + 0x80] %asi | |
12634 | wr %r12, %g0, %asi | |
12635 | st %g0, [%r23] | |
12636 | sma_0_40: | |
12637 | ta T_CHANGE_NONHPRIV | |
12638 | .word 0xd1e7e00b ! 92: CASA_R casa [%r31] %asi, %r11, %r8 | |
12639 | cwp_0_41: | |
12640 | set user_data_start, %o7 | |
12641 | .word 0x93902004 ! 93: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
12642 | .word 0xd13fc000 ! 94: STDF_R std %f8, [%r0, %r31] | |
12643 | .word 0x8790237b ! 95: WRPR_TT_I wrpr %r0, 0x037b, %tt | |
12644 | DS_0_42: | |
12645 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
12646 | .word 0xbfefc000 ! 96: RESTORE_R restore %r31, %r0, %r31 | |
12647 | change_to_randtl_0_43: | |
12648 | ta T_CHANGE_HPRIV ! macro | |
12649 | done_change_to_randtl_0_43: | |
12650 | .word 0x8f902002 ! 97: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12651 | .word 0x9f803b8f ! 98: SIR sir 0x1b8f | |
12652 | debug_0_44: | |
12653 | nop | |
12654 | mov 0x38, %r18 | |
12655 | .word 0xfef00b12 ! 99: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12656 | debug_0_45: | |
12657 | nop | |
12658 | mov 8, %r18 | |
12659 | ta T_CHANGE_HPRIV | |
12660 | rd %asi, %r12 | |
12661 | wr %r0, 0x41, %asi | |
12662 | set sync_thr_counter, %r23 | |
12663 | debug_startwait0_45: | |
12664 | mov 0x1, %r16 | |
12665 | cas [%r23],%g0,%r16 !lock | |
12666 | brz,a %r16, continue_debug_0_45 | |
12667 | nop | |
12668 | debug_wait0_45: | |
12669 | ld [%r23], %r16 | |
12670 | brnz %r16, debug_wait0_45 | |
12671 | nop | |
12672 | ba,a debug_startwait0_45 | |
12673 | continue_debug_0_45: | |
12674 | mov 0x0e, %r16 | |
12675 | ldxa [0x50]%asi, %r13 !Running_rw | |
12676 | ldxa [0x58]%asi, %r15 !Running_status | |
12677 | wait_for_stat_0_45: | |
12678 | cmp %r13, %r15 | |
12679 | bne,a wait_for_stat_0_45 | |
12680 | ldxa [0x58]%asi, %r15 !Running_status | |
12681 | stxa %r16, [0x68]%asi | |
12682 | ldxa [0x50]%asi, %r14 !Running_rw | |
12683 | wait_for_debug_0_45: | |
12684 | ldxa [0x58]%asi, %r15 !Running_status | |
12685 | cmp %r14, %r15 | |
12686 | bne,a wait_for_debug_0_45 | |
12687 | ldxa [0x50]%asi, %r14 !Running_rw | |
12688 | stxa %20, [%r18]0x42 | |
12689 | stxa %r13, [0x50] %asi ! Running_rw | |
12690 | st %g0, [%r23] !clear lock | |
12691 | wr %r0, %r12, %asi ! restore %asi | |
12692 | .word 0xe2f00492 ! 100: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
12693 | .word 0x20800001 ! 101: BN bn,a <label_0x1> | |
12694 | change_to_randtl_0_46: | |
12695 | ta T_CHANGE_PRIV ! macro | |
12696 | done_change_to_randtl_0_46: | |
12697 | .word 0x8f902000 ! 102: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12698 | .word 0x9150c000 ! 103: RDPR_TT <illegal instruction> | |
12699 | .word 0x36800001 ! 104: BGE bge,a <label_0x1> | |
12700 | .word 0x87902083 ! 105: WRPR_TT_I wrpr %r0, 0x0083, %tt | |
12701 | .word 0x8d9038d3 ! 106: WRPR_PSTATE_I wrpr %r0, 0x18d3, %pstate | |
12702 | splash_hpstate_0_47: | |
12703 | .word 0x81982816 ! 107: WRHPR_HPSTATE_I wrhpr %r0, 0x0816, %hpstate | |
12704 | invalw | |
12705 | mov 0x31, %r30 | |
12706 | .word 0x91d0001e ! 108: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12707 | .word 0xd0d004a0 ! 109: LDSHA_R ldsha [%r0, %r0] 0x25, %r8 | |
12708 | ta T_CHANGE_HPRIV | |
12709 | mov (0+1), %r10 | |
12710 | set sync_thr_counter1, %r23 | |
12711 | cas [%r23],%g0,%r10 !lock | |
12712 | brnz %r10, cwq_0_48 | |
12713 | rd %asi, %r12 | |
12714 | wr %g0, 0x40, %asi | |
12715 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12716 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12717 | cmp %l1, 1 | |
12718 | bne cwq_0_48 | |
12719 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12720 | sub %l2, 0x40, %l2 | |
12721 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12722 | wr %r12, %g0, %asi | |
12723 | st %g0, [%r23] | |
12724 | cwq_0_48: | |
12725 | ta T_CHANGE_NONHPRIV | |
12726 | .word 0xa1414000 ! 110: RDPC rd %pc, %r16 | |
12727 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12728 | ta T_CHANGE_NONHPRIV ! macro | |
12729 | .word 0xa3a01963 ! 111: FqTOd dis not found | |
12730 | ||
12731 | invalw | |
12732 | mov 0xb2, %r30 | |
12733 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12734 | invalw | |
12735 | mov 0x30, %r30 | |
12736 | .word 0x91d0001e ! 113: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12737 | .word 0xe28804a0 ! 114: LDUBA_R lduba [%r0, %r0] 0x25, %r17 | |
12738 | .word 0x8d9037ae ! 115: WRPR_PSTATE_I wrpr %r0, 0x17ae, %pstate | |
12739 | ta T_CHANGE_HPRIV | |
12740 | mov (0+1), %r10 | |
12741 | set sync_thr_counter1, %r23 | |
12742 | cas [%r23],%g0,%r10 !lock | |
12743 | brnz %r10, cwq_0_50 | |
12744 | rd %asi, %r12 | |
12745 | wr %g0, 0x40, %asi | |
12746 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12747 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12748 | cmp %l1, 1 | |
12749 | bne cwq_0_50 | |
12750 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12751 | sub %l2, 0x40, %l2 | |
12752 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12753 | wr %r12, %g0, %asi | |
12754 | st %g0, [%r23] | |
12755 | cwq_0_50: | |
12756 | ta T_CHANGE_NONHPRIV | |
12757 | .word 0xa3414000 ! 116: RDPC rd %pc, %r17 | |
12758 | DS_0_51: | |
12759 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
12760 | .word 0xd7330007 ! 1: STQF_R - %f11, [%r7, %r12] | |
12761 | normalw | |
12762 | .word 0xa7458000 ! 117: RD_SOFTINT_REG rd %softint, %r19 | |
12763 | .word 0x3a700001 ! 118: BPCC <illegal instruction> | |
12764 | splash_hpstate_0_52: | |
12765 | .word 0x81982bd4 ! 119: WRHPR_HPSTATE_I wrhpr %r0, 0x0bd4, %hpstate | |
12766 | .word 0xe6d004a0 ! 120: LDSHA_R ldsha [%r0, %r0] 0x25, %r19 | |
12767 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12768 | ta T_CHANGE_NONHPRIV ! macro | |
12769 | .word 0x976c71f6 ! 121: SDIVX_I sdivx %r17, 0xfffff1f6, %r11 | |
12770 | .word 0xa9540000 ! 122: RDPR_GL <illegal instruction> | |
12771 | DS_0_54: | |
12772 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
12773 | .word 0xbfefc000 ! 123: RESTORE_R restore %r31, %r0, %r31 | |
12774 | mov (0+1), %r10 | |
12775 | ta T_CHANGE_HPRIV | |
12776 | set sync_thr_counter2, %r23 | |
12777 | cas [%r23],%g0,%r10 !lock | |
12778 | brnz %r10, sma_0_55 | |
12779 | rd %asi, %r12 | |
12780 | wr %g0, 0x40, %asi | |
12781 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12782 | set 0x21fff, %g1 | |
12783 | stxa %g1, [%g0 + 0x80] %asi | |
12784 | wr %r12, %g0, %asi | |
12785 | st %g0, [%r23] | |
12786 | sma_0_55: | |
12787 | ta T_CHANGE_NONHPRIV | |
12788 | .word 0xe9e7e007 ! 124: CASA_R casa [%r31] %asi, %r7, %r20 | |
12789 | change_to_randtl_0_56: | |
12790 | ta T_CHANGE_PRIV ! macro | |
12791 | done_change_to_randtl_0_56: | |
12792 | .word 0x8f902002 ! 125: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12793 | .word 0xe88008a0 ! 126: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
12794 | .word 0x92d1ec1f ! 127: UMULcc_I umulcc %r7, 0x0c1f, %r9 | |
12795 | splash_lsu_0_57: | |
12796 | setx 0xec4bc9d69d244861, %r1, %r2 | |
12797 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12798 | .word 0x3d400001 ! 128: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12799 | tagged_0_58: | |
12800 | tsubcctv %r7, 0x165d, %r26 | |
12801 | .word 0xd207ec1f ! 129: LDUW_I lduw [%r31 + 0x0c1f], %r9 | |
12802 | .word 0xd297e000 ! 130: LDUHA_I lduha [%r31, + 0x0000] %asi, %r9 | |
12803 | .word 0x91903e02 ! 131: WRPR_PIL_I wrpr %r0, 0x1e02, %pil | |
12804 | setx 0x91393566dfc35ba8, %r1, %r28 | |
12805 | stxa %r28, [%g0] 0x73 | |
12806 | intvec_0_59: | |
12807 | .word 0x39400001 ! 132: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12808 | .word 0x87802004 ! 133: WRASI_I wr %r0, 0x0004, %asi | |
12809 | DS_0_60: | |
12810 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
12811 | .word 0xbfe7c000 ! 134: SAVE_R save %r31, %r0, %r31 | |
12812 | .word 0xd28008a0 ! 135: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
12813 | memptr_0_61: | |
12814 | set 0x60740000, %r31 | |
12815 | .word 0x8581ab9a ! 136: WRCCR_I wr %r6, 0x0b9a, %ccr | |
12816 | invalw | |
12817 | mov 0x35, %r30 | |
12818 | .word 0x91d0001e ! 137: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12819 | mov (0+1), %r10 | |
12820 | ta T_CHANGE_HPRIV | |
12821 | set sync_thr_counter2, %r23 | |
12822 | cas [%r23],%g0,%r10 !lock | |
12823 | brnz %r10, sma_0_62 | |
12824 | rd %asi, %r12 | |
12825 | wr %g0, 0x40, %asi | |
12826 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12827 | set 0x21fff, %g1 | |
12828 | stxa %g1, [%g0 + 0x80] %asi | |
12829 | wr %r12, %g0, %asi | |
12830 | st %g0, [%r23] | |
12831 | sma_0_62: | |
12832 | ta T_CHANGE_NONHPRIV | |
12833 | .word 0xd3e7e007 ! 138: CASA_R casa [%r31] %asi, %r7, %r9 | |
12834 | .word 0x87802083 ! 139: WRASI_I wr %r0, 0x0083, %asi | |
12835 | change_to_randtl_0_63: | |
12836 | ta T_CHANGE_HPRIV ! macro | |
12837 | done_change_to_randtl_0_63: | |
12838 | .word 0x8f902003 ! 140: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
12839 | invalw | |
12840 | mov 0x33, %r30 | |
12841 | .word 0x91d0001e ! 141: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12842 | .word 0xd26feb9a ! 142: LDSTUB_I ldstub %r9, [%r31 + 0x0b9a] | |
12843 | .word 0x9753c000 ! 143: RDPR_FQ <illegal instruction> | |
12844 | .word 0xd6cfe030 ! 144: LDSBA_I ldsba [%r31, + 0x0030] %asi, %r11 | |
12845 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12846 | ta T_CHANGE_NONPRIV ! macro | |
12847 | .word 0xa5a01973 ! 145: FqTOd dis not found | |
12848 | ||
12849 | debug_0_65: | |
12850 | nop | |
12851 | mov 0x38, %r18 | |
12852 | .word 0xfef00b12 ! 146: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12853 | mov (0+1), %r10 | |
12854 | ta T_CHANGE_HPRIV | |
12855 | set sync_thr_counter2, %r23 | |
12856 | cas [%r23],%g0,%r10 !lock | |
12857 | brnz %r10, sma_0_66 | |
12858 | rd %asi, %r12 | |
12859 | wr %g0, 0x40, %asi | |
12860 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12861 | set 0x21fff, %g1 | |
12862 | stxa %g1, [%g0 + 0x80] %asi | |
12863 | wr %r12, %g0, %asi | |
12864 | st %g0, [%r23] | |
12865 | sma_0_66: | |
12866 | ta T_CHANGE_NONHPRIV | |
12867 | .word 0xe5e7e013 ! 147: CASA_R casa [%r31] %asi, %r19, %r18 | |
12868 | .word 0x9191b6c3 ! 148: WRPR_PIL_I wrpr %r6, 0x16c3, %pil | |
12869 | DS_0_67: | |
12870 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
12871 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
12872 | .word 0xd315000b ! 1: LDQF_R - [%r20, %r11], %f9 | |
12873 | .word 0xa3a0c832 ! 149: FADDs fadds %f3, %f18, %f17 | |
12874 | pmu_0_68: | |
12875 | nop | |
12876 | setx 0xfffff1e0fffff330, %g1, %g7 | |
12877 | .word 0xa3800007 ! 150: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
12878 | .word 0x38800001 ! 151: BGU bgu,a <label_0x1> | |
12879 | .word 0xe33fc000 ! 152: STDF_R std %f17, [%r0, %r31] | |
12880 | splash_cmpr_0_69: | |
12881 | setx 0xf7716040974bccfc, %g2, %g1 | |
12882 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
12883 | sub %g1, 100, %g1 | |
12884 | .word 0xb1800001 ! 153: WR_STICK_REG_R wr %r0, %r1, %- | |
12885 | .word 0xa5450000 ! 154: RD_SET_SOFTINT rd %set_softint, %r18 | |
12886 | donret_0_70: | |
12887 | nop | |
12888 | rd %pc, %r12 | |
12889 | add %r12, (donretarg_0_70-donret_0_70), %r12 | |
12890 | add %r12, 0x4, %r11 | |
12891 | wrpr %g0, 0x2, %tl | |
12892 | wrpr %g0, %r12, %tpc | |
12893 | wrpr %g0, %r11, %tnpc | |
12894 | wrpr %g0, %r13, %tstate | |
12895 | wrhpr %g0, %r14, %htstate | |
12896 | retry | |
12897 | donretarg_0_70: | |
12898 | .word 0xe4fff6c3 ! 155: SWAPA_I swapa %r18, [%r31 + 0xfffff6c3] %asi | |
12899 | pmu_0_71: | |
12900 | nop | |
12901 | setx 0xfffff06efffff49f, %g1, %g7 | |
12902 | .word 0xa3800007 ! 156: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
12903 | splash_cmpr_0_72: | |
12904 | setx 0x009c08d8b718f052, %g2, %g1 | |
12905 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12906 | sub %g1, 100, %g1 | |
12907 | .word 0xb1800001 ! 157: WR_STICK_REG_R wr %r0, %r1, %- | |
12908 | .word 0x8d903f2e ! 158: WRPR_PSTATE_I wrpr %r0, 0x1f2e, %pstate | |
12909 | .word 0xe48fe000 ! 159: LDUBA_I lduba [%r31, + 0x0000] %asi, %r18 | |
12910 | change_to_randtl_0_73: | |
12911 | ta T_CHANGE_HPRIV ! macro | |
12912 | done_change_to_randtl_0_73: | |
12913 | .word 0x8f902000 ! 160: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12914 | .word 0x91d02032 ! 161: Tcc_I ta icc_or_xcc, %r0 + 50 | |
12915 | splash_tba_0_74: | |
12916 | set 0x120000, %r12 | |
12917 | st %r1, [%r12+%r0] | |
12918 | ta T_CHANGE_PRIV | |
12919 | set 0x120000, %r12 | |
12920 | .word 0x8b90000c ! 162: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12921 | ta T_CHANGE_HPRIV | |
12922 | mov (0+1), %r10 | |
12923 | set sync_thr_counter1, %r23 | |
12924 | cas [%r23],%g0,%r10 !lock | |
12925 | brnz %r10, cwq_0_75 | |
12926 | rd %asi, %r12 | |
12927 | wr %g0, 0x40, %asi | |
12928 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12929 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12930 | cmp %l1, 1 | |
12931 | bne cwq_0_75 | |
12932 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12933 | sub %l2, 0x40, %l2 | |
12934 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12935 | wr %r12, %g0, %asi | |
12936 | st %g0, [%r23] | |
12937 | cwq_0_75: | |
12938 | ta T_CHANGE_NONHPRIV | |
12939 | .word 0x97414000 ! 163: RDPC rd %pc, %r11 | |
12940 | invalw | |
12941 | mov 0xb2, %r30 | |
12942 | .word 0x91d0001e ! 164: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12943 | intveclr_0_76: | |
12944 | setx 0xadbfafc7fe8c039e, %r1, %r28 | |
12945 | stxa %r28, [%g0] 0x72 | |
12946 | .word 0x25400001 ! 165: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12947 | cwp_0_77: | |
12948 | set user_data_start, %o7 | |
12949 | .word 0x93902003 ! 166: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
12950 | .word 0xd6800c60 ! 167: LDUWA_R lduwa [%r0, %r0] 0x63, %r11 | |
12951 | ta T_CHANGE_HPRIV | |
12952 | mov (0+1), %r10 | |
12953 | set sync_thr_counter1, %r23 | |
12954 | cas [%r23],%g0,%r10 !lock | |
12955 | brnz %r10, cwq_0_78 | |
12956 | rd %asi, %r12 | |
12957 | wr %g0, 0x40, %asi | |
12958 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12959 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12960 | cmp %l1, 1 | |
12961 | bne cwq_0_78 | |
12962 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12963 | sub %l2, 0x40, %l2 | |
12964 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12965 | wr %r12, %g0, %asi | |
12966 | st %g0, [%r23] | |
12967 | cwq_0_78: | |
12968 | ta T_CHANGE_NONHPRIV | |
12969 | .word 0xa3414000 ! 168: RDPC rd %pc, %r17 | |
12970 | .word 0x90fa4005 ! 169: SDIVcc_R sdivcc %r9, %r5, %r8 | |
12971 | splash_cmpr_0_79: | |
12972 | setx 0x21d5ed8fee9784fd, %g2, %g1 | |
12973 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
12974 | sub %g1, 100, %g1 | |
12975 | .word 0xb1800001 ! 170: WR_STICK_REG_R wr %r0, %r1, %- | |
12976 | .word 0xa1a0016d ! 171: FABSq dis not found | |
12977 | ||
12978 | .word 0xe097e000 ! 172: LDUHA_I lduha [%r31, + 0x0000] %asi, %r16 | |
12979 | mondo_0_80: | |
12980 | nop | |
12981 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12982 | ||
12983 | stxa %r8, [%r0+0x3c0] %asi | |
12984 | .word 0x9d944012 ! 173: WRPR_WSTATE_R wrpr %r17, %r18, %wstate | |
12985 | .word 0x87802058 ! 174: WRASI_I wr %r0, 0x0058, %asi | |
12986 | .word 0x91d02032 ! 175: Tcc_I ta icc_or_xcc, %r0 + 50 | |
12987 | memptr_0_81: | |
12988 | set user_data_start, %r31 | |
12989 | .word 0x85813df2 ! 176: WRCCR_I wr %r4, 0x1df2, %ccr | |
12990 | nop | |
12991 | mov 0x80, %g3 | |
12992 | stxa %g3, [%g3] 0x5f | |
12993 | .word 0xe05fc000 ! 177: LDX_R ldx [%r31 + %r0], %r16 | |
12994 | .word 0xe0c804a0 ! 178: LDSBA_R ldsba [%r0, %r0] 0x25, %r16 | |
12995 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12996 | ta T_CHANGE_NONPRIV ! macro | |
12997 | .word 0x9168f8cc ! 179: SDIVX_I sdivx %r3, 0xfffff8cc, %r8 | |
12998 | .word 0x97480000 ! 180: RDHPR_HPSTATE rdhpr %hpstate, %r11 | |
12999 | mov (0+1), %r10 | |
13000 | ta T_CHANGE_HPRIV | |
13001 | set sync_thr_counter2, %r23 | |
13002 | cas [%r23],%g0,%r10 !lock | |
13003 | brnz %r10, sma_0_83 | |
13004 | rd %asi, %r12 | |
13005 | wr %g0, 0x40, %asi | |
13006 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
13007 | set 0x21fff, %g1 | |
13008 | stxa %g1, [%g0 + 0x80] %asi | |
13009 | wr %r12, %g0, %asi | |
13010 | st %g0, [%r23] | |
13011 | sma_0_83: | |
13012 | ta T_CHANGE_NONHPRIV | |
13013 | .word 0xd7e7e012 ! 181: CASA_R casa [%r31] %asi, %r18, %r11 | |
13014 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_84) + 48, 16, 16)) -> intp(5,0,13) | |
13015 | intvec_0_84: | |
13016 | .word 0x39400001 ! 182: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13017 | .word 0xd727c000 ! 183: STF_R st %f11, [%r0, %r31] | |
13018 | mondo_0_85: | |
13019 | nop | |
13020 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13021 | ||
13022 | stxa %r4, [%r0+0x3d0] %asi | |
13023 | .word 0x9d904011 ! 184: WRPR_WSTATE_R wrpr %r1, %r17, %wstate | |
13024 | splash_lsu_0_86: | |
13025 | setx 0xc2d444a542ffa7fb, %r1, %r2 | |
13026 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13027 | .word 0x3d400001 ! 185: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13028 | .word 0xd6cfe000 ! 186: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r11 | |
13029 | debug_0_87: | |
13030 | nop | |
13031 | mov 8, %r18 | |
13032 | ta T_CHANGE_HPRIV | |
13033 | rd %asi, %r12 | |
13034 | wr %r0, 0x41, %asi | |
13035 | set sync_thr_counter, %r23 | |
13036 | debug_startwait0_87: | |
13037 | mov 0x1, %r16 | |
13038 | cas [%r23],%g0,%r16 !lock | |
13039 | brz,a %r16, continue_debug_0_87 | |
13040 | nop | |
13041 | debug_wait0_87: | |
13042 | ld [%r23], %r16 | |
13043 | brnz %r16, debug_wait0_87 | |
13044 | nop | |
13045 | ba,a debug_startwait0_87 | |
13046 | continue_debug_0_87: | |
13047 | mov 0x0e, %r16 | |
13048 | ldxa [0x50]%asi, %r13 !Running_rw | |
13049 | ldxa [0x58]%asi, %r15 !Running_status | |
13050 | wait_for_stat_0_87: | |
13051 | cmp %r13, %r15 | |
13052 | bne,a wait_for_stat_0_87 | |
13053 | ldxa [0x58]%asi, %r15 !Running_status | |
13054 | stxa %r16, [0x68]%asi | |
13055 | ldxa [0x50]%asi, %r14 !Running_rw | |
13056 | wait_for_debug_0_87: | |
13057 | ldxa [0x58]%asi, %r15 !Running_status | |
13058 | cmp %r14, %r15 | |
13059 | bne,a wait_for_debug_0_87 | |
13060 | ldxa [0x50]%asi, %r14 !Running_rw | |
13061 | stxa %20, [%r18]0x42 | |
13062 | stxa %r13, [0x50] %asi ! Running_rw | |
13063 | st %g0, [%r23] !clear lock | |
13064 | wr %r0, %r12, %asi ! restore %asi | |
13065 | .word 0xdef00492 ! 187: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
13066 | .word 0xd67ff8cc ! 188: SWAP_I swap %r11, [%r31 + 0xfffff8cc] | |
13067 | .word 0x87802080 ! 189: WRASI_I wr %r0, 0x0080, %asi | |
13068 | .word 0x93a0c9c6 ! 190: FDIVd fdivd %f34, %f6, %f40 | |
13069 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_88) + 40, 16, 16)) -> intp(0,0,23) | |
13070 | intvec_0_88: | |
13071 | .word 0x39400001 ! 191: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13072 | .word 0x87802004 ! 192: WRASI_I wr %r0, 0x0004, %asi | |
13073 | setx 0xabbf9c5adc4a82b3, %r1, %r28 | |
13074 | stxa %r28, [%g0] 0x73 | |
13075 | intvec_0_89: | |
13076 | .word 0x39400001 ! 193: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13077 | debug_0_90: | |
13078 | nop | |
13079 | mov 8, %r18 | |
13080 | ta T_CHANGE_HPRIV | |
13081 | rd %asi, %r12 | |
13082 | wr %r0, 0x41, %asi | |
13083 | set sync_thr_counter, %r23 | |
13084 | debug_startwait0_90: | |
13085 | mov 0x1, %r16 | |
13086 | cas [%r23],%g0,%r16 !lock | |
13087 | brz,a %r16, continue_debug_0_90 | |
13088 | nop | |
13089 | debug_wait0_90: | |
13090 | ld [%r23], %r16 | |
13091 | brnz %r16, debug_wait0_90 | |
13092 | nop | |
13093 | ba,a debug_startwait0_90 | |
13094 | continue_debug_0_90: | |
13095 | mov 0x0e, %r16 | |
13096 | ldxa [0x50]%asi, %r13 !Running_rw | |
13097 | ldxa [0x58]%asi, %r15 !Running_status | |
13098 | wait_for_stat_0_90: | |
13099 | cmp %r13, %r15 | |
13100 | bne,a wait_for_stat_0_90 | |
13101 | ldxa [0x58]%asi, %r15 !Running_status | |
13102 | stxa %r16, [0x68]%asi | |
13103 | ldxa [0x50]%asi, %r14 !Running_rw | |
13104 | wait_for_debug_0_90: | |
13105 | ldxa [0x58]%asi, %r15 !Running_status | |
13106 | cmp %r14, %r15 | |
13107 | bne,a wait_for_debug_0_90 | |
13108 | ldxa [0x50]%asi, %r14 !Running_rw | |
13109 | stxa %18, [%r18]0x42 | |
13110 | stxa %r13, [0x50] %asi ! Running_rw | |
13111 | st %g0, [%r23] !clear lock | |
13112 | wr %r0, %r12, %asi ! restore %asi | |
13113 | .word 0xd6f00492 ! 194: STXA_R stxa %r11, [%r0 + %r18] 0x24 | |
13114 | splash_lsu_0_91: | |
13115 | setx 0x0c177a0d35126f9b, %r1, %r2 | |
13116 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13117 | .word 0x3d400001 ! 195: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13118 | debug_0_92: | |
13119 | nop | |
13120 | mov 0x38, %r18 | |
13121 | .word 0xfef00b12 ! 196: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13122 | debug_0_93: | |
13123 | nop | |
13124 | mov 8, %r18 | |
13125 | ta T_CHANGE_HPRIV | |
13126 | rd %asi, %r12 | |
13127 | wr %r0, 0x41, %asi | |
13128 | set sync_thr_counter, %r23 | |
13129 | debug_startwait0_93: | |
13130 | mov 0x1, %r16 | |
13131 | cas [%r23],%g0,%r16 !lock | |
13132 | brz,a %r16, continue_debug_0_93 | |
13133 | nop | |
13134 | debug_wait0_93: | |
13135 | ld [%r23], %r16 | |
13136 | brnz %r16, debug_wait0_93 | |
13137 | nop | |
13138 | ba,a debug_startwait0_93 | |
13139 | continue_debug_0_93: | |
13140 | mov 0x0e, %r16 | |
13141 | ldxa [0x50]%asi, %r13 !Running_rw | |
13142 | ldxa [0x58]%asi, %r15 !Running_status | |
13143 | wait_for_stat_0_93: | |
13144 | cmp %r13, %r15 | |
13145 | bne,a wait_for_stat_0_93 | |
13146 | ldxa [0x58]%asi, %r15 !Running_status | |
13147 | stxa %r16, [0x68]%asi | |
13148 | ldxa [0x50]%asi, %r14 !Running_rw | |
13149 | wait_for_debug_0_93: | |
13150 | ldxa [0x58]%asi, %r15 !Running_status | |
13151 | cmp %r14, %r15 | |
13152 | bne,a wait_for_debug_0_93 | |
13153 | ldxa [0x50]%asi, %r14 !Running_rw | |
13154 | stxa %17, [%r18]0x42 | |
13155 | stxa %r13, [0x50] %asi ! Running_rw | |
13156 | st %g0, [%r23] !clear lock | |
13157 | wr %r0, %r12, %asi ! restore %asi | |
13158 | .word 0xdef00492 ! 197: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
13159 | debug_0_94: | |
13160 | nop | |
13161 | mov 0x38, %r18 | |
13162 | .word 0xe6f00b12 ! 198: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13163 | ta T_CHANGE_HPRIV | |
13164 | mov (0+1), %r10 | |
13165 | set sync_thr_counter1, %r23 | |
13166 | cas [%r23],%g0,%r10 !lock | |
13167 | brnz %r10, cwq_0_95 | |
13168 | rd %asi, %r12 | |
13169 | wr %g0, 0x40, %asi | |
13170 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13171 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13172 | cmp %l1, 1 | |
13173 | bne cwq_0_95 | |
13174 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13175 | sub %l2, 0x40, %l2 | |
13176 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13177 | wr %r12, %g0, %asi | |
13178 | st %g0, [%r23] | |
13179 | cwq_0_95: | |
13180 | ta T_CHANGE_NONHPRIV | |
13181 | .word 0xa1414000 ! 199: RDPC rd %pc, %r16 | |
13182 | .word 0xe07ff8cc ! 200: SWAP_I swap %r16, [%r31 + 0xfffff8cc] | |
13183 | .word 0x8d903e59 ! 201: WRPR_PSTATE_I wrpr %r0, 0x1e59, %pstate | |
13184 | tagged_0_96: | |
13185 | tsubcctv %r20, 0x1231, %r1 | |
13186 | .word 0xe007f8cc ! 202: LDUW_I lduw [%r31 + 0xfffff8cc], %r16 | |
13187 | mondo_0_97: | |
13188 | nop | |
13189 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13190 | ||
13191 | stxa %r20, [%r0+0x3c0] %asi | |
13192 | .word 0x9d904001 ! 203: WRPR_WSTATE_R wrpr %r1, %r1, %wstate | |
13193 | .word 0x9ba189d4 ! 204: FDIVd fdivd %f6, %f20, %f44 | |
13194 | .word 0x8d9038e2 ! 205: WRPR_PSTATE_I wrpr %r0, 0x18e2, %pstate | |
13195 | splash_lsu_0_98: | |
13196 | setx 0x795978b25b3c1aad, %r1, %r2 | |
13197 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13198 | .word 0x3d400001 ! 206: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13199 | .word 0xa8d03a93 ! 207: UMULcc_I umulcc %r0, 0xfffffa93, %r20 | |
13200 | .word 0xad82250d ! 208: WR_SOFTINT_REG_I wr %r8, 0x050d, %softint | |
13201 | .word 0x9ba009d3 ! 209: FDIVd fdivd %f0, %f50, %f44 | |
13202 | .word 0xa5a0016b ! 210: FABSq dis not found | |
13203 | ||
13204 | .word 0x87802020 ! 211: WRASI_I wr %r0, 0x0020, %asi | |
13205 | debug_0_99: | |
13206 | nop | |
13207 | mov 8, %r18 | |
13208 | ta T_CHANGE_HPRIV | |
13209 | rd %asi, %r12 | |
13210 | wr %r0, 0x41, %asi | |
13211 | set sync_thr_counter, %r23 | |
13212 | debug_startwait0_99: | |
13213 | mov 0x1, %r16 | |
13214 | cas [%r23],%g0,%r16 !lock | |
13215 | brz,a %r16, continue_debug_0_99 | |
13216 | nop | |
13217 | debug_wait0_99: | |
13218 | ld [%r23], %r16 | |
13219 | brnz %r16, debug_wait0_99 | |
13220 | nop | |
13221 | ba,a debug_startwait0_99 | |
13222 | continue_debug_0_99: | |
13223 | mov 0x0e, %r16 | |
13224 | ldxa [0x50]%asi, %r13 !Running_rw | |
13225 | ldxa [0x58]%asi, %r15 !Running_status | |
13226 | wait_for_stat_0_99: | |
13227 | cmp %r13, %r15 | |
13228 | bne,a wait_for_stat_0_99 | |
13229 | ldxa [0x58]%asi, %r15 !Running_status | |
13230 | stxa %r16, [0x68]%asi | |
13231 | ldxa [0x50]%asi, %r14 !Running_rw | |
13232 | wait_for_debug_0_99: | |
13233 | ldxa [0x58]%asi, %r15 !Running_status | |
13234 | cmp %r14, %r15 | |
13235 | bne,a wait_for_debug_0_99 | |
13236 | ldxa [0x50]%asi, %r14 !Running_rw | |
13237 | stxa %14, [%r18]0x42 | |
13238 | stxa %r13, [0x50] %asi ! Running_rw | |
13239 | st %g0, [%r23] !clear lock | |
13240 | wr %r0, %r12, %asi ! restore %asi | |
13241 | .word 0xe6f00492 ! 212: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
13242 | mov (0+1), %r10 | |
13243 | ta T_CHANGE_HPRIV | |
13244 | set sync_thr_counter2, %r23 | |
13245 | cas [%r23],%g0,%r10 !lock | |
13246 | brnz %r10, sma_0_100 | |
13247 | rd %asi, %r12 | |
13248 | wr %g0, 0x40, %asi | |
13249 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
13250 | set 0x21fff, %g1 | |
13251 | stxa %g1, [%g0 + 0x80] %asi | |
13252 | wr %r12, %g0, %asi | |
13253 | st %g0, [%r23] | |
13254 | sma_0_100: | |
13255 | ta T_CHANGE_NONHPRIV | |
13256 | .word 0xe5e7e00b ! 213: CASA_R casa [%r31] %asi, %r11, %r18 | |
13257 | splash_tba_0_101: | |
13258 | set 0x120000, %r12 | |
13259 | ld [%r12+%r0], %r1 | |
13260 | ta T_CHANGE_PRIV | |
13261 | set 0x120000, %r12 | |
13262 | .word 0x8b90000c ! 214: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13263 | nop | |
13264 | mov 0x80, %g3 | |
13265 | stxa %g3, [%g3] 0x5f | |
13266 | .word 0xe45fc000 ! 215: LDX_R ldx [%r31 + %r0], %r18 | |
13267 | splash_cmpr_0_102: | |
13268 | setx 0x43d2d64ebce51ab3, %g2, %g1 | |
13269 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13270 | sub %g1, 100, %g1 | |
13271 | .word 0xb1800001 ! 216: WR_STICK_REG_R wr %r0, %r1, %- | |
13272 | .word 0x81460000 ! 217: RD_STICK_REG stbar | |
13273 | .word 0xe49004a0 ! 218: LDUHA_R lduha [%r0, %r0] 0x25, %r18 | |
13274 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
13275 | ta T_CHANGE_NONHPRIV ! macro | |
13276 | .word 0xa9a01963 ! 219: FqTOd dis not found | |
13277 | ||
13278 | tagged_0_104: | |
13279 | tsubcctv %r1, 0x12aa, %r7 | |
13280 | .word 0xe807e50d ! 220: LDUW_I lduw [%r31 + 0x050d], %r20 | |
13281 | .word 0x9195248b ! 221: WRPR_PIL_I wrpr %r20, 0x048b, %pil | |
13282 | pmu_0_105: | |
13283 | nop | |
13284 | setx 0xffffff50fffffbfa, %g1, %g7 | |
13285 | .word 0xa3800007 ! 222: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
13286 | intveclr_0_106: | |
13287 | setx 0xf0e31ebaf227f0cb, %r1, %r28 | |
13288 | stxa %r28, [%g0] 0x72 | |
13289 | .word 0x25400001 ! 223: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13290 | nop | |
13291 | mov 0x80, %g3 | |
13292 | stxa %g3, [%g3] 0x57 | |
13293 | .word 0xe85fc000 ! 224: LDX_R ldx [%r31 + %r0], %r20 | |
13294 | otherw | |
13295 | mov 0xb5, %r30 | |
13296 | .word 0x91d0001e ! 225: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
13297 | .word 0xe83fe48b ! 226: STD_I std %r20, [%r31 + 0x048b] | |
13298 | .word 0x8d802004 ! 227: WRFPRS_I wr %r0, 0x0004, %fprs | |
13299 | .word 0x9170325b ! 228: POPC_I popc 0x125b, %r8 | |
13300 | splash_hpstate_0_107: | |
13301 | .word 0x81982a05 ! 229: WRHPR_HPSTATE_I wrhpr %r0, 0x0a05, %hpstate | |
13302 | mov (0+1), %r10 | |
13303 | ta T_CHANGE_HPRIV | |
13304 | set sync_thr_counter2, %r23 | |
13305 | cas [%r23],%g0,%r10 !lock | |
13306 | brnz %r10, sma_0_108 | |
13307 | rd %asi, %r12 | |
13308 | wr %g0, 0x40, %asi | |
13309 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
13310 | set 0x21fff, %g1 | |
13311 | stxa %g1, [%g0 + 0x80] %asi | |
13312 | wr %r12, %g0, %asi | |
13313 | st %g0, [%r23] | |
13314 | sma_0_108: | |
13315 | ta T_CHANGE_NONHPRIV | |
13316 | .word 0xd1e7e003 ! 230: CASA_R casa [%r31] %asi, %r3, %r8 | |
13317 | .word 0x97480000 ! 231: RDHPR_HPSTATE rdhpr %hpstate, %r11 | |
13318 | splash_htba_0_109: | |
13319 | set 0x80000, %r12 | |
13320 | ld [%r12+%r0], %r1 | |
13321 | ta T_CHANGE_HPRIV | |
13322 | set 0x80000, %r12 | |
13323 | .word 0x8b98000c ! 232: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
13324 | .word 0x8d902638 ! 233: WRPR_PSTATE_I wrpr %r0, 0x0638, %pstate | |
13325 | debug_0_110: | |
13326 | nop | |
13327 | mov 0x38, %r18 | |
13328 | .word 0xfef00b12 ! 234: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13329 | tagged_0_111: | |
13330 | taddcctv %r15, 0x18b7, %r14 | |
13331 | .word 0xd607f25b ! 235: LDUW_I lduw [%r31 + 0xfffff25b], %r11 | |
13332 | cwp_0_112: | |
13333 | set user_data_start, %o7 | |
13334 | .word 0x93902005 ! 236: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
13335 | splash_cmpr_0_113: | |
13336 | setx 0xab630e3479fe3b3e, %g2, %g1 | |
13337 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
13338 | sub %g1, 100, %g1 | |
13339 | .word 0xb1800001 ! 237: WR_STICK_REG_R wr %r0, %r1, %- | |
13340 | .word 0xd677c000 ! 238: STX_R stx %r11, [%r31 + %r0] | |
13341 | .word 0xa984c010 ! 239: WR_SET_SOFTINT_R wr %r19, %r16, %set_softint | |
13342 | memptr_0_114: | |
13343 | set user_data_start, %r31 | |
13344 | .word 0x858030a4 ! 240: WRCCR_I wr %r0, 0x10a4, %ccr | |
13345 | debug_0_115: | |
13346 | nop | |
13347 | mov 0x38, %r18 | |
13348 | .word 0xe6f00b12 ! 241: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13349 | invalw | |
13350 | mov 0x30, %r30 | |
13351 | .word 0x91d0001e ! 242: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
13352 | intveclr_0_116: | |
13353 | setx 0xe56f4a05e9f71c35, %r1, %r28 | |
13354 | stxa %r28, [%g0] 0x72 | |
13355 | .word 0x25400001 ! 243: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13356 | .word 0x9f803ea4 ! 244: SIR sir 0x1ea4 | |
13357 | .word 0xab850011 ! 245: WR_CLEAR_SOFTINT_R wr %r20, %r17, %clear_softint | |
13358 | tagged_0_117: | |
13359 | taddcctv %r17, 0x18d3, %r18 | |
13360 | .word 0xd607fea4 ! 246: LDUW_I lduw [%r31 + 0xfffffea4], %r11 | |
13361 | debug_0_118: | |
13362 | nop | |
13363 | mov 0x38, %r18 | |
13364 | .word 0xe6f00b12 ! 247: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13365 | mondo_0_119: | |
13366 | nop | |
13367 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13368 | ||
13369 | stxa %r20, [%r0+0x3c0] %asi | |
13370 | .word 0x9d90c009 ! 248: WRPR_WSTATE_R wrpr %r3, %r9, %wstate | |
13371 | .word 0x99500000 ! 249: RDPR_TPC <illegal instruction> | |
13372 | tagged_0_120: | |
13373 | tsubcctv %r12, 0x1586, %r26 | |
13374 | .word 0xd807fea4 ! 250: LDUW_I lduw [%r31 + 0xfffffea4], %r12 | |
13375 | .word 0x97a00165 ! 251: FABSq dis not found | |
13376 | ||
13377 | .word 0xd6c004a0 ! 252: LDSWA_R ldswa [%r0, %r0] 0x25, %r11 | |
13378 | splash_lsu_0_121: | |
13379 | setx 0x5ffd3054b70cd16d, %r1, %r2 | |
13380 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13381 | .word 0x3d400001 ! 253: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13382 | memptr_0_122: | |
13383 | set 0x60140000, %r31 | |
13384 | .word 0x85842db6 ! 254: WRCCR_I wr %r16, 0x0db6, %ccr | |
13385 | nop | |
13386 | mov 0x80, %g3 | |
13387 | stxa %g3, [%g3] 0x57 | |
13388 | .word 0xd65fc000 ! 255: LDX_R ldx [%r31 + %r0], %r11 | |
13389 | .word 0xd6d7e010 ! 256: LDSHA_I ldsha [%r31, + 0x0010] %asi, %r11 | |
13390 | splash_cmpr_0_123: | |
13391 | setx 0xc1b82a89f28a8b73, %g2, %g1 | |
13392 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
13393 | sub %g1, 100, %g1 | |
13394 | .word 0xb1800001 ! 257: WR_STICK_REG_R wr %r0, %r1, %- | |
13395 | invalw | |
13396 | mov 0x32, %r30 | |
13397 | .word 0x91d0001e ! 258: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
13398 | .word 0xa3500000 ! 259: RDPR_TPC <illegal instruction> | |
13399 | mov (0+1), %r10 | |
13400 | ta T_CHANGE_HPRIV | |
13401 | set sync_thr_counter2, %r23 | |
13402 | cas [%r23],%g0,%r10 !lock | |
13403 | brnz %r10, sma_0_124 | |
13404 | rd %asi, %r12 | |
13405 | wr %g0, 0x40, %asi | |
13406 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
13407 | set 0x21fff, %g1 | |
13408 | stxa %g1, [%g0 + 0x80] %asi | |
13409 | wr %r12, %g0, %asi | |
13410 | st %g0, [%r23] | |
13411 | sma_0_124: | |
13412 | ta T_CHANGE_NONHPRIV | |
13413 | .word 0xe3e7e005 ! 260: CASA_R casa [%r31] %asi, %r5, %r17 | |
13414 | nop | |
13415 | mov 0x80, %g3 | |
13416 | stxa %g3, [%g3] 0x5f | |
13417 | .word 0xe25fc000 ! 261: LDX_R ldx [%r31 + %r0], %r17 | |
13418 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13419 | ta T_CHANGE_NONHPRIV ! macro | |
13420 | .word 0x99a0196b ! 262: FqTOd dis not found | |
13421 | ||
13422 | .word 0x8d9031df ! 263: WRPR_PSTATE_I wrpr %r0, 0x11df, %pstate | |
13423 | DS_0_126: | |
13424 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
13425 | .word 0xf55ca959 ! Random illegal ? | |
13426 | .word 0x99a0054d ! 1: FSQRTd fsqrt | |
13427 | .word 0x97a4082a ! 264: FADDs fadds %f16, %f10, %f11 | |
13428 | .word 0xd68008a0 ! 265: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
13429 | intveclr_0_127: | |
13430 | setx 0xf4c742ae7488623d, %r1, %r28 | |
13431 | stxa %r28, [%g0] 0x72 | |
13432 | .word 0x25400001 ! 266: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13433 | .word 0x95520000 ! 267: RDPR_PIL rdpr %pil, %r10 | |
13434 | .word 0xab80800a ! 268: WR_CLEAR_SOFTINT_R wr %r2, %r10, %clear_softint | |
13435 | splash_cmpr_0_128: | |
13436 | setx 0xd0d6a3d728daab0b, %g2, %g1 | |
13437 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13438 | sub %g1, 100, %g1 | |
13439 | .word 0xb1800001 ! 269: WR_STICK_REG_R wr %r0, %r1, %- | |
13440 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
13441 | ta T_CHANGE_NONHPRIV ! macro | |
13442 | .word 0x93a0196b ! 270: FqTOd dis not found | |
13443 | ||
13444 | splash_cmpr_0_130: | |
13445 | setx 0xc166844d6816e59f, %g2, %g1 | |
13446 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13447 | sub %g1, 100, %g1 | |
13448 | .word 0xb1800001 ! 271: WR_STICK_REG_R wr %r0, %r1, %- | |
13449 | ta T_CHANGE_HPRIV | |
13450 | mov (0+1), %r10 | |
13451 | set sync_thr_counter1, %r23 | |
13452 | cas [%r23],%g0,%r10 !lock | |
13453 | brnz %r10, cwq_0_131 | |
13454 | rd %asi, %r12 | |
13455 | wr %g0, 0x40, %asi | |
13456 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13457 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13458 | cmp %l1, 1 | |
13459 | bne cwq_0_131 | |
13460 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13461 | sub %l2, 0x40, %l2 | |
13462 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13463 | wr %r12, %g0, %asi | |
13464 | st %g0, [%r23] | |
13465 | cwq_0_131: | |
13466 | ta T_CHANGE_NONHPRIV | |
13467 | .word 0x9b414000 ! 272: RDPC rd %pc, %r13 | |
13468 | splash_cmpr_0_132: | |
13469 | setx 0x0d6e771bc0003650, %g2, %g1 | |
13470 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13471 | sub %g1, 100, %g1 | |
13472 | .word 0xb1800001 ! 273: WR_STICK_REG_R wr %r0, %r1, %- | |
13473 | tagged_0_133: | |
13474 | taddcctv %r6, 0x1297, %r24 | |
13475 | .word 0xda07edb6 ! 274: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
13476 | mondo_0_134: | |
13477 | nop | |
13478 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13479 | ||
13480 | stxa %r19, [%r0+0x3d8] %asi | |
13481 | .word 0x9d918010 ! 275: WRPR_WSTATE_R wrpr %r6, %r16, %wstate | |
13482 | cmp_0_135: | |
13483 | nop | |
13484 | ta T_CHANGE_HPRIV | |
13485 | rd %asi, %r12 | |
13486 | wr %r0, 0x41, %asi | |
13487 | set sync_thr_counter, %r23 | |
13488 | cmp_startwait0_135: | |
13489 | mov 1, %r10 | |
13490 | cas [%r23],%g0,%r10 !lock | |
13491 | brz,a %r10, continue_cmp_0_135 | |
13492 | nop | |
13493 | cmp_wait0_135: | |
13494 | ld [%r23], %r10 | |
13495 | brnz %r10, cmp_wait0_135 | |
13496 | nop | |
13497 | ba,a cmp_startwait0_135 | |
13498 | continue_cmp_0_135: | |
13499 | ldxa [0x50]%asi, %r13 !Running_rw | |
13500 | ldxa [0x58]%asi, %r14 !Running_status | |
13501 | xnor %r14, %r13, %r14 !Bits equal | |
13502 | and %r14, 0xa4, %r14 !Apply mask to random .. | |
13503 | stxa %r14, [0x68]%asi | |
13504 | st %g0, [%r23] !clear lock | |
13505 | wr %r12, %r0, %asi | |
13506 | ta T_CHANGE_NONHPRIV | |
13507 | .word 0x91930009 ! 276: WRPR_PIL_R wrpr %r12, %r9, %pil | |
13508 | cwp_0_136: | |
13509 | set user_data_start, %o7 | |
13510 | .word 0x93902006 ! 277: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
13511 | tagged_0_137: | |
13512 | taddcctv %r14, 0x1639, %r9 | |
13513 | .word 0xda07edb6 ! 278: LDUW_I lduw [%r31 + 0x0db6], %r13 | |
13514 | cwp_0_138: | |
13515 | set user_data_start, %o7 | |
13516 | .word 0x93902000 ! 279: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
13517 | otherw | |
13518 | mov 0xb0, %r30 | |
13519 | .word 0x83d0001e ! 280: Tcc_R te icc_or_xcc, %r0 + %r30 | |
13520 | intveclr_0_139: | |
13521 | setx 0x9a221a84b00a20f6, %r1, %r28 | |
13522 | stxa %r28, [%g0] 0x72 | |
13523 | .word 0x25400001 ! 281: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13524 | .word 0x93450000 ! 282: RD_SET_SOFTINT rd %set_softint, %r9 | |
13525 | splash_tba_0_140: | |
13526 | set 0x120000, %r12 | |
13527 | st %r1, [%r12+%r0] | |
13528 | ta T_CHANGE_PRIV | |
13529 | set 0x120000, %r12 | |
13530 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13531 | debug_0_141: | |
13532 | nop | |
13533 | mov 8, %r18 | |
13534 | ta T_CHANGE_HPRIV | |
13535 | rd %asi, %r12 | |
13536 | wr %r0, 0x41, %asi | |
13537 | set sync_thr_counter, %r23 | |
13538 | debug_startwait0_141: | |
13539 | mov 0x1, %r16 | |
13540 | cas [%r23],%g0,%r16 !lock | |
13541 | brz,a %r16, continue_debug_0_141 | |
13542 | nop | |
13543 | debug_wait0_141: | |
13544 | ld [%r23], %r16 | |
13545 | brnz %r16, debug_wait0_141 | |
13546 | nop | |
13547 | ba,a debug_startwait0_141 | |
13548 | continue_debug_0_141: | |
13549 | mov 0x0e, %r16 | |
13550 | ldxa [0x50]%asi, %r13 !Running_rw | |
13551 | ldxa [0x58]%asi, %r15 !Running_status | |
13552 | wait_for_stat_0_141: | |
13553 | cmp %r13, %r15 | |
13554 | bne,a wait_for_stat_0_141 | |
13555 | ldxa [0x58]%asi, %r15 !Running_status | |
13556 | stxa %r16, [0x68]%asi | |
13557 | ldxa [0x50]%asi, %r14 !Running_rw | |
13558 | wait_for_debug_0_141: | |
13559 | ldxa [0x58]%asi, %r15 !Running_status | |
13560 | cmp %r14, %r15 | |
13561 | bne,a wait_for_debug_0_141 | |
13562 | ldxa [0x50]%asi, %r14 !Running_rw | |
13563 | stxa %14, [%r18]0x42 | |
13564 | stxa %r13, [0x50] %asi ! Running_rw | |
13565 | st %g0, [%r23] !clear lock | |
13566 | wr %r0, %r12, %asi ! restore %asi | |
13567 | .word 0xd8f00492 ! 284: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
13568 | debug_0_142: | |
13569 | nop | |
13570 | mov 0x38, %r18 | |
13571 | .word 0xe6f00b12 ! 285: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13572 | .word 0xa1902001 ! 286: WRPR_GL_I wrpr %r0, 0x0001, %- | |
13573 | cwp_0_143: | |
13574 | set user_data_start, %o7 | |
13575 | .word 0x93902001 ! 287: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
13576 | .word 0x879023c3 ! 288: WRPR_TT_I wrpr %r0, 0x03c3, %tt | |
13577 | .word 0x9b702368 ! 289: POPC_I popc 0x0368, %r13 | |
13578 | ta T_CHANGE_HPRIV | |
13579 | mov (0+1), %r10 | |
13580 | set sync_thr_counter1, %r23 | |
13581 | cas [%r23],%g0,%r10 !lock | |
13582 | brnz %r10, cwq_0_144 | |
13583 | rd %asi, %r12 | |
13584 | wr %g0, 0x40, %asi | |
13585 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13586 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13587 | cmp %l1, 1 | |
13588 | bne cwq_0_144 | |
13589 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13590 | sub %l2, 0x40, %l2 | |
13591 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13592 | wr %r12, %g0, %asi | |
13593 | st %g0, [%r23] | |
13594 | cwq_0_144: | |
13595 | ta T_CHANGE_NONHPRIV | |
13596 | .word 0x95414000 ! 290: RDPC rd %pc, %r10 | |
13597 | ta T_CHANGE_HPRIV | |
13598 | mov (0+1), %r10 | |
13599 | set sync_thr_counter1, %r23 | |
13600 | cas [%r23],%g0,%r10 !lock | |
13601 | brnz %r10, cwq_0_145 | |
13602 | rd %asi, %r12 | |
13603 | wr %g0, 0x40, %asi | |
13604 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13605 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13606 | cmp %l1, 1 | |
13607 | bne cwq_0_145 | |
13608 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13609 | sub %l2, 0x40, %l2 | |
13610 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13611 | wr %r12, %g0, %asi | |
13612 | st %g0, [%r23] | |
13613 | cwq_0_145: | |
13614 | ta T_CHANGE_NONHPRIV | |
13615 | .word 0x93414000 ! 291: RDPC rd %pc, %r9 | |
13616 | invalw | |
13617 | mov 0x31, %r30 | |
13618 | .word 0x91d0001e ! 292: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
13619 | .word 0x9ba00171 ! 293: FABSq dis not found | |
13620 | ||
13621 | splash_hpstate_0_146: | |
13622 | .word 0x81982e0f ! 294: WRHPR_HPSTATE_I wrhpr %r0, 0x0e0f, %hpstate | |
13623 | mondo_0_147: | |
13624 | nop | |
13625 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13626 | ||
13627 | stxa %r19, [%r0+0x3e8] %asi | |
13628 | .word 0x9d92c008 ! 295: WRPR_WSTATE_R wrpr %r11, %r8, %wstate | |
13629 | .word 0x81460000 ! 296: RD_STICK_REG stbar | |
13630 | .word 0x87902167 ! 297: WRPR_TT_I wrpr %r0, 0x0167, %tt | |
13631 | tagged_0_148: | |
13632 | tsubcctv %r1, 0x198f, %r18 | |
13633 | .word 0xda07e368 ! 298: LDUW_I lduw [%r31 + 0x0368], %r13 | |
13634 | splash_tba_0_149: | |
13635 | set 0x120000, %r12 | |
13636 | ld [%r12+%r0], %r1 | |
13637 | ta T_CHANGE_PRIV | |
13638 | set 0x120000, %r12 | |
13639 | .word 0x8b90000c ! 299: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13640 | .word 0xda6fe368 ! 300: LDSTUB_I ldstub %r13, [%r31 + 0x0368] | |
13641 | splash_cmpr_0_150: | |
13642 | setx 0x9cdc2202703ffb7c, %g2, %g1 | |
13643 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13644 | sub %g1, 100, %g1 | |
13645 | .word 0xb1800001 ! 301: WR_STICK_REG_R wr %r0, %r1, %- | |
13646 | .word 0xdabfe368 ! 302: STDA_I stda %r13, [%r31 + 0x0368] %asi | |
13647 | splash_tba_0_151: | |
13648 | set 0x120000, %r12 | |
13649 | ld [%r12+%r0], %r1 | |
13650 | ta T_CHANGE_PRIV | |
13651 | set 0x120000, %r12 | |
13652 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13653 | .word 0x9ba00162 ! 304: FABSq dis not found | |
13654 | ||
13655 | .word 0xda47e368 ! 305: LDSW_I ldsw [%r31 + 0x0368], %r13 | |
13656 | .word 0x8d903549 ! 306: WRPR_PSTATE_I wrpr %r0, 0x1549, %pstate | |
13657 | cmp_0_152: | |
13658 | nop | |
13659 | ta T_CHANGE_HPRIV | |
13660 | rd %asi, %r12 | |
13661 | wr %r0, 0x41, %asi | |
13662 | set sync_thr_counter, %r23 | |
13663 | cmp_startwait0_152: | |
13664 | mov 1, %r10 | |
13665 | cas [%r23],%g0,%r10 !lock | |
13666 | brz,a %r10, continue_cmp_0_152 | |
13667 | nop | |
13668 | cmp_wait0_152: | |
13669 | ld [%r23], %r10 | |
13670 | brnz %r10, cmp_wait0_152 | |
13671 | nop | |
13672 | ba,a cmp_startwait0_152 | |
13673 | continue_cmp_0_152: | |
13674 | ldxa [0x50]%asi, %r13 !Running_rw | |
13675 | ldxa [0x58]%asi, %r14 !Running_status | |
13676 | xnor %r14, %r13, %r14 !Bits equal | |
13677 | and %r14, 38, %r14 !Apply mask to random .. | |
13678 | stxa %r14, [0x60]%asi | |
13679 | st %g0, [%r23] !clear lock | |
13680 | wr %r12, %r0, %asi | |
13681 | ta T_CHANGE_NONHPRIV | |
13682 | .word 0x91948013 ! 307: WRPR_PIL_R wrpr %r18, %r19, %pil | |
13683 | DS_0_153: | |
13684 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
13685 | .word 0x9ba2c9cd ! 1: FDIVd fdivd %f42, %f44, %f44 | |
13686 | normalw | |
13687 | .word 0x93458000 ! 308: RD_SOFTINT_REG rd %softint, %r9 | |
13688 | .word 0xd33fe368 ! 309: STDF_I std %f9, [0x0368, %r31] | |
13689 | .word 0x91d02034 ! 310: Tcc_I ta icc_or_xcc, %r0 + 52 | |
13690 | .word 0x9350c000 ! 311: RDPR_TT <illegal instruction> | |
13691 | mov (0+1), %r10 | |
13692 | ta T_CHANGE_HPRIV | |
13693 | set sync_thr_counter2, %r23 | |
13694 | cas [%r23],%g0,%r10 !lock | |
13695 | brnz %r10, sma_0_154 | |
13696 | rd %asi, %r12 | |
13697 | wr %g0, 0x40, %asi | |
13698 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
13699 | set 0x21fff, %g1 | |
13700 | stxa %g1, [%g0 + 0x80] %asi | |
13701 | wr %r12, %g0, %asi | |
13702 | st %g0, [%r23] | |
13703 | sma_0_154: | |
13704 | ta T_CHANGE_NONHPRIV | |
13705 | .word 0xd3e7e00d ! 312: CASA_R casa [%r31] %asi, %r13, %r9 | |
13706 | tagged_0_155: | |
13707 | taddcctv %r10, 0x1e72, %r12 | |
13708 | .word 0xd207e368 ! 313: LDUW_I lduw [%r31 + 0x0368], %r9 | |
13709 | DS_0_156: | |
13710 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
13711 | .word 0xbfefc000 ! 314: RESTORE_R restore %r31, %r0, %r31 | |
13712 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
13713 | ta T_CHANGE_NONHPRIV ! macro | |
13714 | .word 0xa9696820 ! 315: SDIVX_I sdivx %r5, 0x0820, %r20 | |
13715 | .word 0xe8dfe020 ! 316: LDXA_I ldxa [%r31, + 0x0020] %asi, %r20 | |
13716 | nop | |
13717 | mov 0x80, %g3 | |
13718 | stxa %g3, [%g3] 0x57 | |
13719 | .word 0xe85fc000 ! 317: LDX_R ldx [%r31 + %r0], %r20 | |
13720 | debug_0_158: | |
13721 | nop | |
13722 | mov 0x38, %r18 | |
13723 | .word 0xfef00b12 ! 318: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13724 | splash_htba_0_159: | |
13725 | set 0x00380000, %r12 | |
13726 | ld [%r12+%r0], %r1 | |
13727 | ta T_CHANGE_HPRIV | |
13728 | set 0x00380000, %r12 | |
13729 | .word 0x8b98000c ! 319: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
13730 | ta T_CHANGE_HPRIV | |
13731 | mov (0+1), %r10 | |
13732 | set sync_thr_counter1, %r23 | |
13733 | cas [%r23],%g0,%r10 !lock | |
13734 | brnz %r10, cwq_0_160 | |
13735 | rd %asi, %r12 | |
13736 | wr %g0, 0x40, %asi | |
13737 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13738 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13739 | cmp %l1, 1 | |
13740 | bne cwq_0_160 | |
13741 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13742 | sub %l2, 0x40, %l2 | |
13743 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13744 | wr %r12, %g0, %asi | |
13745 | st %g0, [%r23] | |
13746 | cwq_0_160: | |
13747 | ta T_CHANGE_NONHPRIV | |
13748 | .word 0xa5414000 ! 320: RDPC rd %pc, %r18 | |
13749 | .word 0xe537c000 ! 321: STQF_R - %f18, [%r0, %r31] | |
13750 | .word 0x93464000 ! 322: RD_STICK_CMPR_REG rd %-, %r9 | |
13751 | .word 0x91d02034 ! 323: Tcc_I ta icc_or_xcc, %r0 + 52 | |
13752 | .word 0xab810002 ! 324: WR_CLEAR_SOFTINT_R wr %r4, %r2, %clear_softint | |
13753 | .word 0xd28804a0 ! 325: LDUBA_R lduba [%r0, %r0] 0x25, %r9 | |
13754 | splash_cmpr_0_161: | |
13755 | setx 0x97172b857396890b, %g2, %g1 | |
13756 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
13757 | sub %g1, 100, %g1 | |
13758 | .word 0xb1800001 ! 326: WR_STICK_REG_R wr %r0, %r1, %- | |
13759 | .word 0x99902000 ! 327: WRPR_CLEANWIN_I wrpr %r0, 0x0000, %cleanwin | |
13760 | DS_0_162: | |
13761 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
13762 | .word 0xb370aaea ! Random illegal ? | |
13763 | .word 0x97a049cc ! 1: FDIVd fdivd %f32, %f12, %f42 | |
13764 | .word 0x91a20822 ! 328: FADDs fadds %f8, %f2, %f8 | |
13765 | .word 0x8d903cca ! 329: WRPR_PSTATE_I wrpr %r0, 0x1cca, %pstate | |
13766 | nop | |
13767 | mov 0x80, %g3 | |
13768 | stxa %g3, [%g3] 0x57 | |
13769 | .word 0xd05fc000 ! 330: LDX_R ldx [%r31 + %r0], %r8 | |
13770 | .word 0xd08fe030 ! 331: LDUBA_I lduba [%r31, + 0x0030] %asi, %r8 | |
13771 | mondo_0_163: | |
13772 | nop | |
13773 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13774 | ||
13775 | stxa %r9, [%r0+0x3d8] %asi | |
13776 | .word 0x9d92c003 ! 332: WRPR_WSTATE_R wrpr %r11, %r3, %wstate | |
13777 | .word 0x9a843bd4 ! 333: ADDcc_I addcc %r16, 0xfffffbd4, %r13 | |
13778 | invalw | |
13779 | mov 0xb0, %r30 | |
13780 | .word 0x93d0001e ! 334: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
13781 | splash_hpstate_0_164: | |
13782 | .word 0x8198209e ! 335: WRHPR_HPSTATE_I wrhpr %r0, 0x009e, %hpstate | |
13783 | tagged_0_165: | |
13784 | taddcctv %r5, 0x115a, %r8 | |
13785 | .word 0xda07fbd4 ! 336: LDUW_I lduw [%r31 + 0xfffffbd4], %r13 | |
13786 | .word 0xa190200b ! 337: WRPR_GL_I wrpr %r0, 0x000b, %- | |
13787 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_166) + 48, 16, 16)) -> intp(3,0,6) | |
13788 | intvec_0_166: | |
13789 | .word 0x39400001 ! 338: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13790 | splash_decr_0_167: | |
13791 | nop | |
13792 | ta T_CHANGE_HPRIV | |
13793 | mov 8, %r1 | |
13794 | stxa %r15, [%r1] 0x45 | |
13795 | .word 0xa7834008 ! 339: WR_GRAPHICS_STATUS_REG_R wr %r13, %r8, %- | |
13796 | splash_hpstate_0_168: | |
13797 | .word 0x819827cf ! 340: WRHPR_HPSTATE_I wrhpr %r0, 0x07cf, %hpstate | |
13798 | DS_0_169: | |
13799 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
13800 | .word 0xbfefc000 ! 341: RESTORE_R restore %r31, %r0, %r31 | |
13801 | .word 0x8d9028e4 ! 342: WRPR_PSTATE_I wrpr %r0, 0x08e4, %pstate | |
13802 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_170) + 16, 16, 16)) -> intp(5,0,16) | |
13803 | intvec_0_170: | |
13804 | .word 0x39400001 ! 343: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13805 | .word 0x8780204f ! 344: WRASI_I wr %r0, 0x004f, %asi | |
13806 | .word 0xa190200a ! 345: WRPR_GL_I wrpr %r0, 0x000a, %- | |
13807 | splash_lsu_0_171: | |
13808 | setx 0xb04040653c28c74b, %r1, %r2 | |
13809 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13810 | .word 0x3d400001 ! 346: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13811 | cwp_0_172: | |
13812 | set user_data_start, %o7 | |
13813 | .word 0x93902000 ! 347: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
13814 | splash_cmpr_0_173: | |
13815 | setx 0x5bcc9ac7b4e2656a, %g2, %g1 | |
13816 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
13817 | sub %g1, 100, %g1 | |
13818 | .word 0xb1800001 ! 348: WR_STICK_REG_R wr %r0, %r1, %- | |
13819 | .word 0xdac80e60 ! 349: LDSBA_R ldsba [%r0, %r0] 0x73, %r13 | |
13820 | .word 0x95520000 ! 350: RDPR_PIL <illegal instruction> | |
13821 | .word 0xd4c00e60 ! 351: LDSWA_R ldswa [%r0, %r0] 0x73, %r10 | |
13822 | donret_0_174: | |
13823 | nop | |
13824 | rd %pc, %r12 | |
13825 | add %r12, (donretarg_0_174-donret_0_174), %r12 | |
13826 | add %r12, 0x4, %r11 | |
13827 | wrpr %g0, 0x1, %tl | |
13828 | wrpr %g0, %r12, %tpc | |
13829 | wrpr %g0, %r11, %tnpc | |
13830 | wrpr %g0, %r13, %tstate | |
13831 | wrhpr %g0, %r14, %htstate | |
13832 | retry | |
13833 | donretarg_0_174: | |
13834 | .word 0xd4fffbd4 ! 352: SWAPA_I swapa %r10, [%r31 + 0xfffffbd4] %asi | |
13835 | intveclr_0_175: | |
13836 | setx 0xf9e489789c6e0202, %r1, %r28 | |
13837 | stxa %r28, [%g0] 0x72 | |
13838 | .word 0x25400001 ! 353: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13839 | DS_0_176: | |
13840 | nop | |
13841 | not %g0, %r12 | |
13842 | jmp %r12 | |
13843 | .word 0x9d902003 ! 354: WRPR_WSTATE_I wrpr %r0, 0x0003, %wstate | |
13844 | cwp_0_177: | |
13845 | set user_data_start, %o7 | |
13846 | .word 0x93902004 ! 355: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
13847 | change_to_randtl_0_178: | |
13848 | ta T_CHANGE_PRIV ! macro | |
13849 | done_change_to_randtl_0_178: | |
13850 | .word 0x8f902001 ! 356: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
13851 | .word 0xd51fc000 ! 357: LDDF_R ldd [%r31, %r0], %f10 | |
13852 | .word 0x87802089 ! 358: WRASI_I wr %r0, 0x0089, %asi | |
13853 | .word 0xd4c804a0 ! 359: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
13854 | .word 0x91d02032 ! 360: Tcc_I ta icc_or_xcc, %r0 + 50 | |
13855 | .word 0xad82797b ! 361: WR_SOFTINT_REG_I wr %r9, 0x197b, %softint | |
13856 | splash_htba_0_179: | |
13857 | set 0x80000, %r12 | |
13858 | ld [%r12+%r0], %r1 | |
13859 | ta T_CHANGE_HPRIV | |
13860 | set 0x80000, %r12 | |
13861 | .word 0x8b98000c ! 362: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
13862 | .word 0xd4c80e40 ! 363: LDSBA_R ldsba [%r0, %r0] 0x72, %r10 | |
13863 | nop | |
13864 | mov 0x80, %g3 | |
13865 | stxa %g3, [%g3] 0x57 | |
13866 | .word 0xd45fc000 ! 364: LDX_R ldx [%r31 + %r0], %r10 | |
13867 | memptr_0_180: | |
13868 | set user_data_start, %r31 | |
13869 | .word 0x85827d38 ! 365: WRCCR_I wr %r9, 0x1d38, %ccr | |
13870 | debug_0_181: | |
13871 | nop | |
13872 | mov 0x38, %r18 | |
13873 | .word 0xe6f00b12 ! 366: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13874 | splash_tba_0_182: | |
13875 | set 0x120000, %r12 | |
13876 | st %r1, [%r12+%r0] | |
13877 | ta T_CHANGE_PRIV | |
13878 | set 0x120000, %r12 | |
13879 | .word 0x8b90000c ! 367: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13880 | splash_htba_0_183: | |
13881 | set 0x00380000, %r12 | |
13882 | ld [%r12+%r0], %r1 | |
13883 | ta T_CHANGE_HPRIV | |
13884 | set 0x00380000, %r12 | |
13885 | .word 0x8b98000c ! 368: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
13886 | .word 0xd4d804a0 ! 369: LDXA_R ldxa [%r0, %r0] 0x25, %r10 | |
13887 | debug_0_184: | |
13888 | nop | |
13889 | mov 0x38, %r18 | |
13890 | .word 0xe6f00b12 ! 370: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13891 | .word 0xd4c004a0 ! 371: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
13892 | .word 0xd4d004a0 ! 372: LDSHA_R ldsha [%r0, %r0] 0x25, %r10 | |
13893 | splash_lsu_0_185: | |
13894 | setx 0x64a4485b7a4bf2e7, %r1, %r2 | |
13895 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13896 | .word 0x3d400001 ! 373: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13897 | .word 0xa1902008 ! 374: WRPR_GL_I wrpr %r0, 0x0008, %- | |
13898 | nop | |
13899 | mov 0x80, %g3 | |
13900 | stxa %g3, [%g3] 0x57 | |
13901 | .word 0xd45fc000 ! 375: LDX_R ldx [%r31 + %r0], %r10 | |
13902 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_186) + 56, 16, 16)) -> intp(1,0,28) | |
13903 | intvec_0_186: | |
13904 | .word 0x39400001 ! 376: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13905 | .word 0x9f802daf ! 377: SIR sir 0x0daf | |
13906 | setx 0xa9c00d7bd4de0ed2, %r1, %r28 | |
13907 | stxa %r28, [%g0] 0x73 | |
13908 | intvec_0_187: | |
13909 | .word 0x39400001 ! 378: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13910 | invalw | |
13911 | mov 0xb1, %r30 | |
13912 | .word 0x83d0001e ! 379: Tcc_R te icc_or_xcc, %r0 + %r30 | |
13913 | splash_hpstate_0_188: | |
13914 | .word 0x81982815 ! 380: WRHPR_HPSTATE_I wrhpr %r0, 0x0815, %hpstate | |
13915 | mov (0+1), %r10 | |
13916 | ta T_CHANGE_HPRIV | |
13917 | set sync_thr_counter2, %r23 | |
13918 | cas [%r23],%g0,%r10 !lock | |
13919 | brnz %r10, sma_0_189 | |
13920 | rd %asi, %r12 | |
13921 | wr %g0, 0x40, %asi | |
13922 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
13923 | set 0x21fff, %g1 | |
13924 | stxa %g1, [%g0 + 0x80] %asi | |
13925 | wr %r12, %g0, %asi | |
13926 | st %g0, [%r23] | |
13927 | sma_0_189: | |
13928 | ta T_CHANGE_NONHPRIV | |
13929 | .word 0xd5e7e008 ! 381: CASA_R casa [%r31] %asi, %r8, %r10 | |
13930 | debug_0_190: | |
13931 | nop | |
13932 | mov 0x38, %r18 | |
13933 | .word 0xe6f00b12 ! 382: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13934 | ta T_CHANGE_HPRIV | |
13935 | mov (0+1), %r10 | |
13936 | set sync_thr_counter1, %r23 | |
13937 | cas [%r23],%g0,%r10 !lock | |
13938 | brnz %r10, cwq_0_191 | |
13939 | rd %asi, %r12 | |
13940 | wr %g0, 0x40, %asi | |
13941 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13942 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13943 | cmp %l1, 1 | |
13944 | bne cwq_0_191 | |
13945 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13946 | sub %l2, 0x40, %l2 | |
13947 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13948 | wr %r12, %g0, %asi | |
13949 | st %g0, [%r23] | |
13950 | cwq_0_191: | |
13951 | ta T_CHANGE_NONHPRIV | |
13952 | .word 0x97414000 ! 383: RDPC rd %pc, %r11 | |
13953 | .word 0xd6c7e010 ! 384: LDSWA_I ldswa [%r31, + 0x0010] %asi, %r11 | |
13954 | cwp_0_192: | |
13955 | set user_data_start, %o7 | |
13956 | .word 0x93902004 ! 385: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
13957 | .word 0xd68008a0 ! 386: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
13958 | .word 0xd6ffc028 ! 387: SWAPA_R swapa %r11, [%r31 + %r8] 0x01 | |
13959 | mov (0+1), %r10 | |
13960 | ta T_CHANGE_HPRIV | |
13961 | set sync_thr_counter2, %r23 | |
13962 | cas [%r23],%g0,%r10 !lock | |
13963 | brnz %r10, sma_0_193 | |
13964 | rd %asi, %r12 | |
13965 | wr %g0, 0x40, %asi | |
13966 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
13967 | set 0x21fff, %g1 | |
13968 | stxa %g1, [%g0 + 0x80] %asi | |
13969 | wr %r12, %g0, %asi | |
13970 | st %g0, [%r23] | |
13971 | sma_0_193: | |
13972 | ta T_CHANGE_NONHPRIV | |
13973 | .word 0xd7e7e008 ! 388: CASA_R casa [%r31] %asi, %r8, %r11 | |
13974 | debug_0_194: | |
13975 | nop | |
13976 | mov 0x38, %r18 | |
13977 | .word 0xfef00b12 ! 389: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13978 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13979 | ta T_CHANGE_NONHPRIV ! macro | |
13980 | .word 0x97a01971 ! 390: FqTOd dis not found | |
13981 | ||
13982 | splash_hpstate_0_196: | |
13983 | .word 0x81982cd6 ! 391: WRHPR_HPSTATE_I wrhpr %r0, 0x0cd6, %hpstate | |
13984 | .word 0x87902064 ! 392: WRPR_TT_I wrpr %r0, 0x0064, %tt | |
13985 | setx 0x8d331b3617c52c15, %r1, %r28 | |
13986 | stxa %r28, [%g0] 0x73 | |
13987 | intvec_0_197: | |
13988 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13989 | mondo_0_198: | |
13990 | nop | |
13991 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13992 | ||
13993 | stxa %r17, [%r0+0x3c0] %asi | |
13994 | .word 0x9d928012 ! 394: WRPR_WSTATE_R wrpr %r10, %r18, %wstate | |
13995 | .word 0x9ad37eeb ! 395: UMULcc_I umulcc %r13, 0xfffffeeb, %r13 | |
13996 | .word 0xda8804a0 ! 396: LDUBA_R lduba [%r0, %r0] 0x25, %r13 | |
13997 | .word 0x95a449c9 ! 397: FDIVd fdivd %f48, %f40, %f10 | |
13998 | splash_cmpr_0_199: | |
13999 | setx 0x90a99d5508284be1, %g2, %g1 | |
14000 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
14001 | sub %g1, 100, %g1 | |
14002 | .word 0xb1800001 ! 398: WR_STICK_REG_R wr %r0, %r1, %- | |
14003 | .word 0x91a00548 ! 399: FSQRTd fsqrt | |
14004 | nop | |
14005 | mov 0x80, %g3 | |
14006 | stxa %g3, [%g3] 0x5f | |
14007 | .word 0xd05fc000 ! 400: LDX_R ldx [%r31 + %r0], %r8 | |
14008 | cmpenall_0_200: | |
14009 | nop | |
14010 | nop | |
14011 | ta T_CHANGE_HPRIV | |
14012 | rd %asi, %r12 | |
14013 | wr %r0, 0x41, %asi | |
14014 | set sync_thr_counter, %r23 | |
14015 | cmpenall_startwait0_200: | |
14016 | mov 1, %r10 | |
14017 | cas [%r23],%g0,%r10 !lock | |
14018 | brz,a %r10, continue_cmpenall_0_200 | |
14019 | nop | |
14020 | cmpenall_wait0_200: | |
14021 | ld [%r23], %r10 | |
14022 | brnz %r10, cmpenall_wait0_200 | |
14023 | nop | |
14024 | ba,a cmpenall_startwait0_200 | |
14025 | continue_cmpenall_0_200: | |
14026 | ldxa [0x50]%asi, %r13 !Running_rw | |
14027 | ldxa [0x58]%asi, %r14 !Running_status | |
14028 | wait_for_cmpstat_0_200: | |
14029 | cmp %r13, %r15 | |
14030 | bne,a wait_for_cmpstat_0_200 | |
14031 | ldxa [0x58]%asi, %r15 !Running_status | |
14032 | mov 0xff, %r14 !All threads running | |
14033 | stxa %r14, [0x50]%asi | |
14034 | ldxa [0x58]%asi, %r15 !Running_status | |
14035 | wait_for_cmpstat2_0_200: | |
14036 | cmp %r14, %r15 | |
14037 | bne,a wait_for_cmpstat2_0_200 | |
14038 | ldxa [0x58]%asi, %r15 !Running_status | |
14039 | st %g0, [%r23] !clear lock | |
14040 | nop | |
14041 | nop | |
14042 | ||
14043 | join_lbl_0_0: | |
14044 | SECTION .MAIN | |
14045 | .text | |
14046 | diag_finish: | |
14047 | nop | |
14048 | nop | |
14049 | nop | |
14050 | ta T_CHANGE_HPRIV | |
14051 | set 0x80000, %r2 | |
14052 | wrhpr %g2, %g0, %htba | |
14053 | ta T_GOOD_TRAP | |
14054 | nop | |
14055 | nop | |
14056 | nop | |
14057 | .data | |
14058 | .xword 0x0 | |
14059 | ||
14060 | .global user_data_start | |
14061 | .data | |
14062 | user_data_start: | |
14063 | ||
14064 | .xword 0xb565281d73334983 | |
14065 | .xword 0xc7739d2118da3711 | |
14066 | .xword 0xc665f682716cf56e | |
14067 | .xword 0xc107ef22fccd1506 | |
14068 | .xword 0xee28d6c8d6ee23cc | |
14069 | .xword 0x0bec5563e3804b90 | |
14070 | .xword 0x8a29d08e6b0150e6 | |
14071 | .xword 0x226882f809ccdbc6 | |
14072 | .xword 0x1133848878258831 | |
14073 | .xword 0xe19d91ca56837f47 | |
14074 | .xword 0x57db63cc2dcfafb0 | |
14075 | .xword 0xa0bb52a26bb86f47 | |
14076 | .xword 0x95bb2e3574a112d7 | |
14077 | .xword 0x27346bec0f0201ff | |
14078 | .xword 0xce0976dd47528fa2 | |
14079 | .xword 0x8db4d50213facfbe | |
14080 | .xword 0x24c7d58d9d6eec64 | |
14081 | .xword 0xfa6d17b204ad7b4f | |
14082 | .xword 0x3a2e6b1b0815dee8 | |
14083 | .xword 0x1463cf30187fa2a1 | |
14084 | .xword 0x10d58331b7013a8d | |
14085 | .xword 0x8bf1feb2d2ce0cf0 | |
14086 | .xword 0x5fbe6bfca9de14ec | |
14087 | .xword 0x5e59fc2bff19f780 | |
14088 | .xword 0x9375a713c73d06e9 | |
14089 | .xword 0xca2b8c5e3379500a | |
14090 | .xword 0x62447a4a6b2b1c3e | |
14091 | .xword 0x1ecec646241821ab | |
14092 | .xword 0xb9cc3e5a268ddc38 | |
14093 | .xword 0x7de96a8132c46c77 | |
14094 | .xword 0xfe71e2db1176e5cd | |
14095 | .xword 0xb039fffcc44a6806 | |
14096 | .xword 0x8679fa86dc32767d | |
14097 | .xword 0x0d48c115a04f3ad2 | |
14098 | .xword 0x795089a53f696f5c | |
14099 | .xword 0xcc356de67ee75063 | |
14100 | .xword 0x4bb9b4741df4037a | |
14101 | .xword 0xe4d3e52e207e7ed6 | |
14102 | .xword 0x6168115d69a87b36 | |
14103 | .xword 0xa6bef6d4dff51936 | |
14104 | .xword 0x1f47b4f9c50394b7 | |
14105 | .xword 0x22909716659baddc | |
14106 | .xword 0xe6f03785b4d3c4c8 | |
14107 | .xword 0x03db64140e789321 | |
14108 | .xword 0x419bd40784a46240 | |
14109 | .xword 0xe69a54a614c578b4 | |
14110 | .xword 0xb9cc6deaccc83b4a | |
14111 | .xword 0x3127629e0d6dd8b7 | |
14112 | .xword 0xa764ad81b84e08a5 | |
14113 | .xword 0x7bc790b8d68d43c3 | |
14114 | .xword 0x587dbb8f1d5329e0 | |
14115 | .xword 0x30cdee49046c2fb6 | |
14116 | .xword 0xb847088e5f76ea27 | |
14117 | .xword 0xea948ba5ff482717 | |
14118 | .xword 0xdda49e8592895e97 | |
14119 | .xword 0xbbe23cb5605fb69f | |
14120 | .xword 0x64e26e164bca31d4 | |
14121 | .xword 0xa4ca5949a120d0ce | |
14122 | .xword 0x7a7065ee0d11c824 | |
14123 | .xword 0x833d07619a042e29 | |
14124 | .xword 0x228fe088f45f8a66 | |
14125 | .xword 0x6b9e3464d016dcd5 | |
14126 | .xword 0x5d39a25bb3d4a673 | |
14127 | .xword 0xe4c7348b958174ff | |
14128 | .xword 0x188ae57a654a733c | |
14129 | .xword 0xbda1146332eb5643 | |
14130 | .xword 0x23fef90a6b8e2a90 | |
14131 | .xword 0x515bd19c71783525 | |
14132 | .xword 0xa0473cceec7fc4d2 | |
14133 | .xword 0x80de59d94370e119 | |
14134 | .xword 0xe63ae7bb644feb59 | |
14135 | .xword 0x936d0a859b268da5 | |
14136 | .xword 0xbc6b55cc5a75fca2 | |
14137 | .xword 0xf3a5a1f74095263a | |
14138 | .xword 0xd55c3f4ff2bd3626 | |
14139 | .xword 0xdc55191e21328445 | |
14140 | .xword 0xe4851d0c19fb0945 | |
14141 | .xword 0x21a6121fc8c7154a | |
14142 | .xword 0x427452e30c286189 | |
14143 | .xword 0x02db7d21b4993f3a | |
14144 | .xword 0xab8f93c419caad3a | |
14145 | .xword 0xc591ce01dffcfc28 | |
14146 | .xword 0x406d91983ceeda33 | |
14147 | .xword 0xe939a3c50b949936 | |
14148 | .xword 0xb179c59c93aa1602 | |
14149 | .xword 0x1fd7baf46c833fdc | |
14150 | .xword 0x00812e95e9c30980 | |
14151 | .xword 0x8d56f3dc379f38b2 | |
14152 | .xword 0xb465aee9887d886b | |
14153 | .xword 0xcb5e9ded01bda423 | |
14154 | .xword 0x1f1f967097ea1abf | |
14155 | .xword 0x2db1aa0ce393dee4 | |
14156 | .xword 0xfa74e8bedfcd12cf | |
14157 | .xword 0x5739d9c6773b176c | |
14158 | .xword 0x16bae2601e48fdca | |
14159 | .xword 0x0684cf5314c818a6 | |
14160 | .xword 0xb66b6ccc65b1c458 | |
14161 | .xword 0x11c124a554588c15 | |
14162 | .xword 0x83dc250f3996aa69 | |
14163 | .xword 0x85e64ce91cdceb03 | |
14164 | .xword 0x093c308174e4b3e9 | |
14165 | .xword 0x4cb3174343e910a4 | |
14166 | .xword 0x583c952c43779f33 | |
14167 | .xword 0x6371c50c694a8067 | |
14168 | .xword 0x482441ccaa9016f5 | |
14169 | .xword 0x05dc4e1ddeacdffe | |
14170 | .xword 0x0f9ccd177f201acd | |
14171 | .xword 0xd1b9d2e0184c176e | |
14172 | .xword 0x8550c1f615709ffc | |
14173 | .xword 0x5b5ae77c2d62359b | |
14174 | .xword 0x87954aa161a629ca | |
14175 | .xword 0x1afb62bfc103baec | |
14176 | .xword 0x5050a188cb3cd674 | |
14177 | .xword 0x90911b3b06ec2017 | |
14178 | .xword 0xfd0f97e7ecb0d04c | |
14179 | .xword 0x433303ddb069578b | |
14180 | .xword 0xd7e10629dbe2a71b | |
14181 | .xword 0x3db72287c3b80d89 | |
14182 | .xword 0x2277c7e3ffafba17 | |
14183 | .xword 0xb812d3c53564be63 | |
14184 | .xword 0xb354642f5f7304be | |
14185 | .xword 0xf6a4ed19d74e6928 | |
14186 | .xword 0xbfc568a67789a4d4 | |
14187 | .xword 0xb7929905beee1c50 | |
14188 | .xword 0x4d58afd37785e2fe | |
14189 | .xword 0x954439e63d9e36c8 | |
14190 | .xword 0xaa17e96fe4159c48 | |
14191 | .xword 0x8872cd8a8b52d9d5 | |
14192 | .xword 0xcd40438bbe3fecb3 | |
14193 | .xword 0x29bf94274938d6cd | |
14194 | .xword 0x885d0d2aa0a26580 | |
14195 | .xword 0x5a778c054f0c9cc0 | |
14196 | .xword 0x1f1c179135c342d8 | |
14197 | .xword 0x0d198058b3909acc | |
14198 | .xword 0x96328c39aba14530 | |
14199 | .xword 0x060d59a65fd4a6e9 | |
14200 | .xword 0xf9ef7902dd8af660 | |
14201 | .xword 0x766d650b44b63760 | |
14202 | .xword 0x444cb8db967684e5 | |
14203 | .xword 0xa623849592b9a853 | |
14204 | .xword 0xc6f6138f44f6376d | |
14205 | .xword 0x0a55d926a9148cea | |
14206 | .xword 0x4c088491b2376bca | |
14207 | .xword 0xc3d3f8e6123b6eb0 | |
14208 | .xword 0x7088286cc555a28e | |
14209 | .xword 0x2fc099aa15b81e68 | |
14210 | .xword 0x005052c886e9ed67 | |
14211 | .xword 0xabd710845c1d17b7 | |
14212 | .xword 0x13b2ff8893d273c4 | |
14213 | .xword 0x223726dae4ccaba2 | |
14214 | .xword 0x324b21a8523c2f30 | |
14215 | .xword 0xa350d307354f73a5 | |
14216 | .xword 0x2ece6aa780d9532d | |
14217 | .xword 0xb5bbee666ec534bf | |
14218 | .xword 0x632557f47027b63b | |
14219 | .xword 0x769b1348ab9646fb | |
14220 | .xword 0x9d942aff5abdac8b | |
14221 | .xword 0x464ab37dc1522ccd | |
14222 | .xword 0x3379b1adad846789 | |
14223 | .xword 0x1ca077d4fa831827 | |
14224 | .xword 0xf8bf515ed924593a | |
14225 | .xword 0x8153ccf95dd4f7fd | |
14226 | .xword 0xd580d8ee80a6e0ea | |
14227 | .xword 0x5e421bfa017afec3 | |
14228 | .xword 0xa4b9a5eee555cbfc | |
14229 | .xword 0x9b239912de91238e | |
14230 | .xword 0x633b6b34997d49c7 | |
14231 | .xword 0x6f658251ed3c3dc6 | |
14232 | .xword 0x1e30e81f74ae8fc3 | |
14233 | .xword 0x01cc4fa0188d0eba | |
14234 | .xword 0x1a97d90dfe813382 | |
14235 | .xword 0xe04a52aed3f0dcb4 | |
14236 | .xword 0x1585ce16188037f7 | |
14237 | .xword 0xf2da0473488fa029 | |
14238 | .xword 0x7dc5af93e1b2170c | |
14239 | .xword 0x0c0dcf55ad5cb65b | |
14240 | .xword 0xc20888cfe09a868b | |
14241 | .xword 0x7d47517a6e9df4f3 | |
14242 | .xword 0x7afac504f32b2e95 | |
14243 | .xword 0xf77f8581828baceb | |
14244 | .xword 0x5b256987360767f6 | |
14245 | .xword 0x14b04d2ca4292f92 | |
14246 | .xword 0xdf9cf5d586dfaa9d | |
14247 | .xword 0xc33d2d2d480251aa | |
14248 | .xword 0xba42d25a4a3a88fa | |
14249 | .xword 0xd2579fbfc82c0670 | |
14250 | .xword 0xf6e960824ad813ca | |
14251 | .xword 0x19d86b115bd6e294 | |
14252 | .xword 0x9d61ca68e881284e | |
14253 | .xword 0x9ae40942558b41e8 | |
14254 | .xword 0xec429f6fcdeda1e4 | |
14255 | .xword 0x44205d15c691fe5a | |
14256 | .xword 0xc7c700017b250780 | |
14257 | .xword 0x538ddb0c512ee6ca | |
14258 | .xword 0xd5db41eccec539d2 | |
14259 | .xword 0x09411f1f76296dee | |
14260 | .xword 0x6bde20e5d5a05598 | |
14261 | .xword 0xeef3008a3198bd3e | |
14262 | .xword 0x9fa677e8e7d55c59 | |
14263 | .xword 0x5d85654c3eaccd22 | |
14264 | .xword 0x8578547e02f2acd8 | |
14265 | .xword 0xa0d155cffcc490e1 | |
14266 | .xword 0x0480c429aa862aae | |
14267 | .xword 0x03666b8f433fdf92 | |
14268 | .xword 0x04198164f6b6d202 | |
14269 | .xword 0xc9412f0cefa63017 | |
14270 | .xword 0xb1d36ebe138551a7 | |
14271 | .xword 0xfc19466682175325 | |
14272 | .xword 0x598c79ee6022956a | |
14273 | .xword 0xe47b488437e5aca9 | |
14274 | .xword 0x0be3f57c08335d3e | |
14275 | .xword 0xdb772a01d812cd3b | |
14276 | .xword 0x333b98ca047d459f | |
14277 | .xword 0x46767013fd2c3c0a | |
14278 | .xword 0x325868c0220b6d78 | |
14279 | .xword 0x034e6ef6cb48f3f6 | |
14280 | .xword 0xc01e7842509714c7 | |
14281 | .xword 0x9c56542e0e2d5a3d | |
14282 | .xword 0xb770bc62ec45c560 | |
14283 | .xword 0x19dfff93240faeb8 | |
14284 | .xword 0xa55f2d8c105d907e | |
14285 | .xword 0x5ae7c99235a0d9ba | |
14286 | .xword 0x3ff1b3786bf1d7c2 | |
14287 | .xword 0x4e3359554d8de236 | |
14288 | .xword 0x53c74e275542e058 | |
14289 | .xword 0x4b06e894e5bb5f73 | |
14290 | .xword 0xab7781efb5eedb1f | |
14291 | .xword 0xf8346d9b7fb723e6 | |
14292 | .xword 0x8dbeb720722b8417 | |
14293 | .xword 0xbe09ca3eed127af5 | |
14294 | .xword 0x3ccbd7183fa45069 | |
14295 | .xword 0x0854e943e669af71 | |
14296 | .xword 0x8f28545674dae157 | |
14297 | .xword 0xa160bdc15ac09d25 | |
14298 | .xword 0x9f954c6df17984ca | |
14299 | .xword 0x7223078330b1f76b | |
14300 | .xword 0xaed98be18d2e4785 | |
14301 | .xword 0xf0bfd26a82473fcc | |
14302 | .xword 0x3c4577dd0aa6d509 | |
14303 | .xword 0xea478fa6fb920373 | |
14304 | .xword 0x2a242d21a2e53120 | |
14305 | .xword 0x61c8e314ccacecaf | |
14306 | .xword 0x06b89d043e5f3ffd | |
14307 | .xword 0x80d9826becff768b | |
14308 | .xword 0xa0fbf41426a92ef8 | |
14309 | .xword 0xe3dea2e5bad157c9 | |
14310 | .xword 0x6c2d12336a7e1197 | |
14311 | .xword 0x9fa6e91609a57455 | |
14312 | .xword 0x8aeda3771d3d5b7e | |
14313 | .xword 0xd88119dd7f243c3e | |
14314 | .xword 0xf34056bc54d7b436 | |
14315 | .xword 0x044f076ccd0b45ac | |
14316 | .xword 0x8b9da22c49b32a2d | |
14317 | .xword 0x7f35fa254e0d356f | |
14318 | .xword 0x76b7543fe972d489 | |
14319 | .xword 0xc4a46f209889280b | |
14320 | ||
14321 | .global wdog_2_ext | |
14322 | # 9 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_extensions.s" | |
14323 | .global wdog_2_ext | |
14324 | .global retry_with_base_tba | |
14325 | ||
14326 | SECTION .HTRAPS | |
14327 | .text | |
14328 | retry_with_base_tba: | |
14329 | set 0x120000, %r5 | |
14330 | set 0x7fff, %r3 | |
14331 | rdpr %tpc, %r4 | |
14332 | and %r4, %r3, %r4 | |
14333 | or %r5, %r4, %r4 | |
14334 | wrpr %r4, %tpc | |
14335 | rdpr %tnpc, %r4 | |
14336 | and %r4, %r3, %r4 | |
14337 | or %r5, %r4, %r4 | |
14338 | wrpr %r4, %tnpc | |
14339 | retry | |
14340 | ||
14341 | htrap_5_ext: | |
14342 | rd %pc, %l2 | |
14343 | inc %l3 | |
14344 | add %l2, htrap_5_ext_done-htrap_5_ext, %l2 | |
14345 | rdpr %tl, %l3 | |
14346 | rdpr %tstate, %l4 | |
14347 | rdhpr %htstate, %l5 | |
14348 | or %l5, 0x4, %l5 | |
14349 | inc %l3 | |
14350 | wrpr %l3, %tl | |
14351 | wrpr %l2, %tpc | |
14352 | add %l2, 4, %l2 | |
14353 | wrpr %l2, %tnpc | |
14354 | wrpr %l4, %tstate | |
14355 | wrhpr %l5, %htstate | |
14356 | retry | |
14357 | htrap_5_ext_done: | |
14358 | done | |
14359 | ||
14360 | wdog_2_ext: | |
14361 | mov 0x1f, %l1 | |
14362 | stxa %l1, [%g0] ASI_LSU_CTL_REG | |
14363 | ! If TT != 2, then goto trap handler | |
14364 | rdpr %tt, %l1 | |
14365 | cmp %l1, 0x2 | |
14366 | bne wdog_2_goto_handler | |
14367 | nop | |
14368 | ! else done | |
14369 | done | |
14370 | wdog_2_goto_handler: | |
14371 | rdhpr %htstate, %l3 | |
14372 | and %l3, 0x4, %l3 ! If previously in hpriv mode, go to hpriv | |
14373 | brnz,a %l3, wdog_2_goto_handler_1 | |
14374 | rdhpr %htba, %l3 | |
14375 | srlx %l1, 7, %l3 ! Send priv sw traps to priv mode .. | |
14376 | cmp %l3, 0x2 ! 0x2 = priv sw trap, 0x3=hpriv sw trap .. | |
14377 | be,a wdog_2_goto_handler_1 | |
14378 | rdpr %tba, %l3 | |
14379 | rdhpr %htba, %l3 | |
14380 | wdog_2_goto_handler_1: | |
14381 | sllx %l1, 5, %l1 | |
14382 | add %l1, %l3, %l3 | |
14383 | jmp %l3 | |
14384 | nop | |
14385 | # 73 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_extensions.s" | |
14386 | ! Red mode other reset handler | |
14387 | ! Get htba, and tt and make trap address | |
14388 | ! Jump to trap handler .. | |
14389 | ||
14390 | SECTION .RED_SEC | |
14391 | .text | |
14392 | red_other_ext: | |
14393 | ! IF TL=6, shift stack by one .. | |
14394 | rdpr %tl, %l1 | |
14395 | cmp %l1, 6 | |
14396 | be start_tsa_shift | |
14397 | nop | |
14398 | ||
14399 | continue_red_other: | |
14400 | mov 0x1f, %l1 | |
14401 | stxa %l1, [%g0] ASI_LSU_CTL_REG | |
14402 | ||
14403 | rdpr %tt, %l1 | |
14404 | ||
14405 | rdhpr %htstate, %l2 | |
14406 | and %l2, 0x4, %l2 ! If previously in hpriv mode, go to hpriv | |
14407 | brnz,a %l2, red_goto_handler | |
14408 | rdhpr %htba, %l2 | |
14409 | srlx %l1, 7, %l2 ! Send priv sw traps to priv mode .. | |
14410 | cmp %l2, 0x2 ! 0x2 = priv sw trap, 0x3=hpriv sw trap .. | |
14411 | be,a red_goto_handler | |
14412 | rdpr %tba, %l2 | |
14413 | rdhpr %htba, %l2 | |
14414 | red_goto_handler: | |
14415 | ||
14416 | sllx %l1, 5, %l1 | |
14417 | add %l1, %l2, %l2 | |
14418 | rdhpr %hpstate, %l1 | |
14419 | jmp %l2 | |
14420 | wrhpr %l1, 0x20, %hpstate | |
14421 | nop | |
14422 | ||
14423 | wdog_red_ext: | |
14424 | ! Shift stack down by 1 ... | |
14425 | rdpr %tl, %l1 | |
14426 | cmp %l1, 6 | |
14427 | bl wdog_end | |
14428 | start_tsa_shift: | |
14429 | mov 0x2, %l2 | |
14430 | ||
14431 | tsa_shift: | |
14432 | wrpr %l2, %tl | |
14433 | rdpr %tt, %l3 | |
14434 | rdpr %tpc, %l4 | |
14435 | rdpr %tnpc, %l5 | |
14436 | rdpr %tstate, %l6 | |
14437 | rdhpr %htstate, %l7 | |
14438 | dec %l2 | |
14439 | wrpr %l2, %tl | |
14440 | wrpr %l3, %tt | |
14441 | wrpr %l4, %tpc | |
14442 | wrpr %l5, %tnpc | |
14443 | wrpr %l6, %tstate | |
14444 | wrhpr %l7, %htstate | |
14445 | add %l2, 2, %l2 | |
14446 | cmp %l2, %l1 | |
14447 | ble tsa_shift | |
14448 | nop | |
14449 | tsa_shift_done: | |
14450 | dec %l1 | |
14451 | wrpr %l1, %tl | |
14452 | ||
14453 | wdog_end: | |
14454 | ! If TT != 2, then goto trap handler | |
14455 | rdpr %tt, %l1 | |
14456 | ||
14457 | cmp %l1, 0x2 | |
14458 | bne continue_red_other | |
14459 | nop | |
14460 | ! else done | |
14461 | mov 0x1f, %l1 | |
14462 | stxa %l1, [%g0] ASI_LSU_CTL_REG | |
14463 | done | |
14464 | # 492 "diag.j" | |
14465 | SECTION .CWQ_DATA DATA_VA =0x4000 | |
14466 | attr_data { | |
14467 | Name = .CWQ_DATA | |
14468 | hypervisor | |
14469 | } | |
14470 | ||
14471 | .data | |
14472 | .align 16 | |
14473 | .global msg | |
14474 | msg: | |
14475 | .xword 0xad32fa52374cc6ba | |
14476 | .xword 0x4cbf52280549003a | |
14477 | ||
14478 | .align 16 | |
14479 | .global results | |
14480 | results: | |
14481 | .xword 0xDEADBEEFDEADBEEF | |
14482 | .xword 0xDEADBEEFDEADBEEF | |
14483 | !# CWQ data area | |
14484 | .align 64 | |
14485 | .global CWQ_BASE | |
14486 | CWQ_BASE: | |
14487 | .xword 0xAAAAAAAAAAAAAAA | |
14488 | .xword 0xAAAAAAAAAAAAAAA | |
14489 | .xword 0xAAAAAAAAAAAAAAA | |
14490 | .xword 0xAAAAAAAAAAAAAAA | |
14491 | .xword 0xAAAAAAAAAAAAAAA | |
14492 | .xword 0xAAAAAAAAAAAAAAA | |
14493 | .xword 0xAAAAAAAAAAAAAAA | |
14494 | .xword 0xAAAAAAAAAAAAAAA | |
14495 | .xword 0xAAAAAAAAAAAAAAA | |
14496 | .xword 0xAAAAAAAAAAAAAAA | |
14497 | .xword 0xAAAAAAAAAAAAAAA | |
14498 | .xword 0xAAAAAAAAAAAAAAA | |
14499 | .xword 0xAAAAAAAAAAAAAAA | |
14500 | .xword 0xAAAAAAAAAAAAAAA | |
14501 | .xword 0xAAAAAAAAAAAAAAA | |
14502 | .xword 0xAAAAAAAAAAAAAAA | |
14503 | .xword 0xAAAAAAAAAAAAAAA | |
14504 | .xword 0xAAAAAAAAAAAAAAA | |
14505 | .xword 0xAAAAAAAAAAAAAAA | |
14506 | .xword 0xAAAAAAAAAAAAAAA | |
14507 | .xword 0xAAAAAAAAAAAAAAA | |
14508 | .xword 0xAAAAAAAAAAAAAAA | |
14509 | .xword 0xAAAAAAAAAAAAAAA | |
14510 | .xword 0xAAAAAAAAAAAAAAA | |
14511 | .global CWQ_LAST | |
14512 | .align 64 | |
14513 | CWQ_LAST: | |
14514 | ||
14515 | ||
14516 | ||
14517 | SECTION .MyHTRAPS_0 TEXT_VA = 0x0000000000380000, DATA_VA = 0x000000000038c000 | |
14518 | attr_text { | |
14519 | Name = .MyHTRAPS_0, | |
14520 | RA = 0x0000000000380000, | |
14521 | PA = ra2pa(0x0000000000380000,0), | |
14522 | part_0_ctx_zero_tsb_config_0, | |
14523 | part_0_ctx_nonzero_tsb_config_0, | |
14524 | TTE_G = 1, | |
14525 | TTE_Context = 0, | |
14526 | TTE_V = 1, | |
14527 | TTE_Size = 0, | |
14528 | TTE_NFO = 0, | |
14529 | TTE_IE = 0, | |
14530 | TTE_Soft2 = 0, | |
14531 | TTE_Diag = 0, | |
14532 | TTE_Soft = 0, | |
14533 | TTE_L = 0, | |
14534 | TTE_CP = 1, | |
14535 | TTE_CV = 0, | |
14536 | TTE_E = 0, | |
14537 | TTE_P = 1, | |
14538 | TTE_W = 0, | |
14539 | TTE_X = 0 | |
14540 | } | |
14541 | ||
14542 | ||
14543 | attr_data { | |
14544 | Name = .MyHTRAPS_0, | |
14545 | RA = 0x000000000038c000, | |
14546 | PA = ra2pa(0x000000000038c000,0), | |
14547 | part_0_ctx_zero_tsb_config_0, | |
14548 | part_0_ctx_nonzero_tsb_config_0, | |
14549 | TTE_G = 1, | |
14550 | TTE_Context = 0, | |
14551 | TTE_V = 1, | |
14552 | TTE_Size = 0, | |
14553 | TTE_NFO = 0, | |
14554 | TTE_IE = 0, | |
14555 | TTE_Soft2 = 0, | |
14556 | TTE_Diag = 0, | |
14557 | TTE_Soft = 0, | |
14558 | TTE_L = 0, | |
14559 | TTE_CP = 1, | |
14560 | TTE_CV = 0, | |
14561 | TTE_E = 0, | |
14562 | TTE_P = 1, | |
14563 | TTE_W = 0 | |
14564 | } | |
14565 | ||
14566 | ||
14567 | attr_text { | |
14568 | Name = .MyHTRAPS_0, | |
14569 | hypervisor | |
14570 | } | |
14571 | ||
14572 | ||
14573 | attr_data { | |
14574 | Name = .MyHTRAPS_0, | |
14575 | hypervisor | |
14576 | } | |
14577 | ||
14578 | #include "htraps.s" | |
14579 | #include "tlu_htraps_ext.s" | |
14580 | ||
14581 | ||
14582 | ||
14583 | SECTION .MyHTRAPS_1 TEXT_VA = 0x0000000000390000, DATA_VA = 0x000000000039c000 | |
14584 | attr_text { | |
14585 | Name = .MyHTRAPS_1, | |
14586 | RA = 0x0000000000390000, | |
14587 | PA = ra2pa(0x0000000000390000,0), | |
14588 | part_0_ctx_zero_tsb_config_0, | |
14589 | part_0_ctx_nonzero_tsb_config_0, | |
14590 | TTE_G = 1, | |
14591 | TTE_Context = 0, | |
14592 | TTE_V = 1, | |
14593 | TTE_Size = 0, | |
14594 | TTE_NFO = 0, | |
14595 | TTE_IE = 0, | |
14596 | TTE_Soft2 = 0, | |
14597 | TTE_Diag = 0, | |
14598 | TTE_Soft = 0, | |
14599 | TTE_L = 0, | |
14600 | TTE_CP = 1, | |
14601 | TTE_CV = 0, | |
14602 | TTE_E = 0, | |
14603 | TTE_P = 1, | |
14604 | TTE_W = 0, | |
14605 | TTE_X = 0 | |
14606 | } | |
14607 | ||
14608 | ||
14609 | attr_data { | |
14610 | Name = .MyHTRAPS_1, | |
14611 | RA = 0x000000000039c000, | |
14612 | PA = ra2pa(0x000000000039c000,0), | |
14613 | part_0_ctx_zero_tsb_config_0, | |
14614 | part_0_ctx_nonzero_tsb_config_0, | |
14615 | TTE_G = 1, | |
14616 | TTE_Context = 0, | |
14617 | TTE_V = 1, | |
14618 | TTE_Size = 0, | |
14619 | TTE_NFO = 0, | |
14620 | TTE_IE = 0, | |
14621 | TTE_Soft2 = 0, | |
14622 | TTE_Diag = 0, | |
14623 | TTE_Soft = 0, | |
14624 | TTE_L = 0, | |
14625 | TTE_CP = 1, | |
14626 | TTE_CV = 0, | |
14627 | TTE_E = 0, | |
14628 | TTE_P = 1, | |
14629 | TTE_W = 0 | |
14630 | } | |
14631 | ||
14632 | ||
14633 | attr_text { | |
14634 | Name = .MyHTRAPS_1, | |
14635 | hypervisor | |
14636 | } | |
14637 | ||
14638 | ||
14639 | attr_data { | |
14640 | Name = .MyHTRAPS_1, | |
14641 | hypervisor | |
14642 | } | |
14643 | ||
14644 | #include "htraps.s" | |
14645 | #include "tlu_htraps_ext.s" | |
14646 | ||
14647 | ||
14648 | ||
14649 | SECTION .MyHTRAPS_2 TEXT_VA = 0x00000000003a0000, DATA_VA = 0x00000000003ac000 | |
14650 | attr_text { | |
14651 | Name = .MyHTRAPS_2, | |
14652 | RA = 0x00000000003a0000, | |
14653 | PA = ra2pa(0x00000000003a0000,0), | |
14654 | part_0_ctx_zero_tsb_config_0, | |
14655 | part_0_ctx_nonzero_tsb_config_0, | |
14656 | TTE_G = 1, | |
14657 | TTE_Context = 0, | |
14658 | TTE_V = 1, | |
14659 | TTE_Size = 0, | |
14660 | TTE_NFO = 0, | |
14661 | TTE_IE = 0, | |
14662 | TTE_Soft2 = 0, | |
14663 | TTE_Diag = 0, | |
14664 | TTE_Soft = 0, | |
14665 | TTE_L = 0, | |
14666 | TTE_CP = 1, | |
14667 | TTE_CV = 0, | |
14668 | TTE_E = 0, | |
14669 | TTE_P = 1, | |
14670 | TTE_W = 0, | |
14671 | TTE_X = 0 | |
14672 | } | |
14673 | ||
14674 | ||
14675 | attr_data { | |
14676 | Name = .MyHTRAPS_2, | |
14677 | RA = 0x00000000003ac000, | |
14678 | PA = ra2pa(0x00000000003ac000,0), | |
14679 | part_0_ctx_zero_tsb_config_0, | |
14680 | part_0_ctx_nonzero_tsb_config_0, | |
14681 | TTE_G = 1, | |
14682 | TTE_Context = 0, | |
14683 | TTE_V = 1, | |
14684 | TTE_Size = 0, | |
14685 | TTE_NFO = 0, | |
14686 | TTE_IE = 0, | |
14687 | TTE_Soft2 = 0, | |
14688 | TTE_Diag = 0, | |
14689 | TTE_Soft = 0, | |
14690 | TTE_L = 0, | |
14691 | TTE_CP = 1, | |
14692 | TTE_CV = 0, | |
14693 | TTE_E = 0, | |
14694 | TTE_P = 1, | |
14695 | TTE_W = 0 | |
14696 | } | |
14697 | ||
14698 | ||
14699 | attr_text { | |
14700 | Name = .MyHTRAPS_2, | |
14701 | hypervisor | |
14702 | } | |
14703 | ||
14704 | ||
14705 | attr_data { | |
14706 | Name = .MyHTRAPS_2, | |
14707 | hypervisor | |
14708 | } | |
14709 | ||
14710 | #include "htraps.s" | |
14711 | #include "tlu_htraps_ext.s" | |
14712 | ||
14713 | ||
14714 | ||
14715 | SECTION .MyHTRAPS_3 TEXT_VA = 0x00000000003b0000, DATA_VA = 0x00000000003bc000 | |
14716 | attr_text { | |
14717 | Name = .MyHTRAPS_3, | |
14718 | RA = 0x00000000003b0000, | |
14719 | PA = ra2pa(0x00000000003b0000,0), | |
14720 | part_0_ctx_zero_tsb_config_0, | |
14721 | part_0_ctx_nonzero_tsb_config_0, | |
14722 | TTE_G = 1, | |
14723 | TTE_Context = 0, | |
14724 | TTE_V = 1, | |
14725 | TTE_Size = 0, | |
14726 | TTE_NFO = 0, | |
14727 | TTE_IE = 0, | |
14728 | TTE_Soft2 = 0, | |
14729 | TTE_Diag = 0, | |
14730 | TTE_Soft = 0, | |
14731 | TTE_L = 0, | |
14732 | TTE_CP = 1, | |
14733 | TTE_CV = 0, | |
14734 | TTE_E = 0, | |
14735 | TTE_P = 1, | |
14736 | TTE_W = 0, | |
14737 | TTE_X = 0 | |
14738 | } | |
14739 | ||
14740 | ||
14741 | attr_data { | |
14742 | Name = .MyHTRAPS_3, | |
14743 | RA = 0x00000000003bc000, | |
14744 | PA = ra2pa(0x00000000003bc000,0), | |
14745 | part_0_ctx_zero_tsb_config_0, | |
14746 | part_0_ctx_nonzero_tsb_config_0, | |
14747 | TTE_G = 1, | |
14748 | TTE_Context = 0, | |
14749 | TTE_V = 1, | |
14750 | TTE_Size = 0, | |
14751 | TTE_NFO = 0, | |
14752 | TTE_IE = 0, | |
14753 | TTE_Soft2 = 0, | |
14754 | TTE_Diag = 0, | |
14755 | TTE_Soft = 0, | |
14756 | TTE_L = 0, | |
14757 | TTE_CP = 1, | |
14758 | TTE_CV = 0, | |
14759 | TTE_E = 0, | |
14760 | TTE_P = 1, | |
14761 | TTE_W = 0 | |
14762 | } | |
14763 | ||
14764 | ||
14765 | attr_text { | |
14766 | Name = .MyHTRAPS_3, | |
14767 | hypervisor | |
14768 | } | |
14769 | ||
14770 | ||
14771 | attr_data { | |
14772 | Name = .MyHTRAPS_3, | |
14773 | hypervisor | |
14774 | } | |
14775 | ||
14776 | #include "htraps.s" | |
14777 | #include "tlu_htraps_ext.s" | |
14778 | ||
14779 | ||
14780 | ||
14781 | ||
14782 | ||
14783 | SECTION .MyTRAPS_0 TEXT_VA = 0x00000000003c0000, DATA_VA = 0x00000000003cc000 | |
14784 | attr_text { | |
14785 | Name = .MyTRAPS_0, | |
14786 | RA = 0x00000000003c0000, | |
14787 | PA = ra2pa(0x00000000003c0000,0), | |
14788 | part_0_ctx_zero_tsb_config_0, | |
14789 | part_0_ctx_nonzero_tsb_config_0, | |
14790 | TTE_G = 1, | |
14791 | TTE_Context = 0, | |
14792 | TTE_V = 1, | |
14793 | TTE_Size = 0, | |
14794 | TTE_NFO = 0, | |
14795 | TTE_IE = 0, | |
14796 | TTE_Soft2 = 0, | |
14797 | TTE_Diag = 0, | |
14798 | TTE_Soft = 0, | |
14799 | TTE_L = 0, | |
14800 | TTE_CP = 1, | |
14801 | TTE_CV = 0, | |
14802 | TTE_E = 0, | |
14803 | TTE_P = 1, | |
14804 | TTE_W = 0, | |
14805 | TTE_X = 0 | |
14806 | } | |
14807 | ||
14808 | ||
14809 | attr_data { | |
14810 | Name = .MyTRAPS_0, | |
14811 | RA = 0x00000000003cc000, | |
14812 | PA = ra2pa(0x00000000003cc000,0), | |
14813 | part_0_ctx_zero_tsb_config_0, | |
14814 | part_0_ctx_nonzero_tsb_config_0, | |
14815 | TTE_G = 1, | |
14816 | TTE_Context = 0, | |
14817 | TTE_V = 1, | |
14818 | TTE_Size = 0, | |
14819 | TTE_NFO = 1, | |
14820 | TTE_IE = 0, | |
14821 | TTE_Soft2 = 0, | |
14822 | TTE_Diag = 0, | |
14823 | TTE_Soft = 0, | |
14824 | TTE_L = 0, | |
14825 | TTE_CP = 0, | |
14826 | TTE_CV = 0, | |
14827 | TTE_E = 0, | |
14828 | TTE_P = 1, | |
14829 | TTE_W = 0 | |
14830 | } | |
14831 | ||
14832 | ||
14833 | attr_text { | |
14834 | Name = .MyTRAPS_0, | |
14835 | hypervisor | |
14836 | } | |
14837 | ||
14838 | ||
14839 | attr_data { | |
14840 | Name = .MyTRAPS_0, | |
14841 | hypervisor | |
14842 | } | |
14843 | ||
14844 | #include "traps.s" | |
14845 | ||
14846 | ||
14847 | ||
14848 | SECTION .MyTRAPS_1 TEXT_VA = 0x00000000003d0000, DATA_VA = 0x00000000003dc000 | |
14849 | attr_text { | |
14850 | Name = .MyTRAPS_1, | |
14851 | RA = 0x00000000003d0000, | |
14852 | PA = ra2pa(0x00000000003d0000,0), | |
14853 | part_0_ctx_zero_tsb_config_0, | |
14854 | part_0_ctx_nonzero_tsb_config_0, | |
14855 | TTE_G = 1, | |
14856 | TTE_Context = 0, | |
14857 | TTE_V = 1, | |
14858 | TTE_Size = 0, | |
14859 | TTE_NFO = 1, | |
14860 | TTE_IE = 0, | |
14861 | TTE_Soft2 = 0, | |
14862 | TTE_Diag = 0, | |
14863 | TTE_Soft = 0, | |
14864 | TTE_L = 0, | |
14865 | TTE_CP = 0, | |
14866 | TTE_CV = 0, | |
14867 | TTE_E = 1, | |
14868 | TTE_P = 1, | |
14869 | TTE_W = 0, | |
14870 | TTE_X = 1 | |
14871 | } | |
14872 | ||
14873 | ||
14874 | attr_data { | |
14875 | Name = .MyTRAPS_1, | |
14876 | RA = 0x00000000003dc000, | |
14877 | PA = ra2pa(0x00000000003dc000,0), | |
14878 | part_0_ctx_zero_tsb_config_0, | |
14879 | part_0_ctx_nonzero_tsb_config_0, | |
14880 | TTE_G = 1, | |
14881 | TTE_Context = 0, | |
14882 | TTE_V = 1, | |
14883 | TTE_Size = 0, | |
14884 | TTE_NFO = 0, | |
14885 | TTE_IE = 0, | |
14886 | TTE_Soft2 = 0, | |
14887 | TTE_Diag = 0, | |
14888 | TTE_Soft = 0, | |
14889 | TTE_L = 0, | |
14890 | TTE_CP = 1, | |
14891 | TTE_CV = 0, | |
14892 | TTE_E = 0, | |
14893 | TTE_P = 1, | |
14894 | TTE_W = 0 | |
14895 | } | |
14896 | ||
14897 | ||
14898 | attr_text { | |
14899 | Name = .MyTRAPS_1, | |
14900 | hypervisor | |
14901 | } | |
14902 | ||
14903 | ||
14904 | attr_data { | |
14905 | Name = .MyTRAPS_1, | |
14906 | hypervisor | |
14907 | } | |
14908 | ||
14909 | #include "traps.s" | |
14910 | ||
14911 | ||
14912 | ||
14913 | SECTION .MyTRAPS_2 TEXT_VA = 0x00000000003e0000, DATA_VA = 0x00000000003ec000 | |
14914 | attr_text { | |
14915 | Name = .MyTRAPS_2, | |
14916 | RA = 0x00000000003e0000, | |
14917 | PA = ra2pa(0x00000000003e0000,0), | |
14918 | part_0_ctx_zero_tsb_config_0, | |
14919 | part_0_ctx_nonzero_tsb_config_0, | |
14920 | TTE_G = 1, | |
14921 | TTE_Context = 0, | |
14922 | TTE_V = 1, | |
14923 | TTE_Size = 0, | |
14924 | TTE_NFO = 1, | |
14925 | TTE_IE = 0, | |
14926 | TTE_Soft2 = 0, | |
14927 | TTE_Diag = 0, | |
14928 | TTE_Soft = 0, | |
14929 | TTE_L = 0, | |
14930 | TTE_CP = 1, | |
14931 | TTE_CV = 0, | |
14932 | TTE_E = 1, | |
14933 | TTE_P = 1, | |
14934 | TTE_W = 0, | |
14935 | TTE_X = 1 | |
14936 | } | |
14937 | ||
14938 | ||
14939 | attr_data { | |
14940 | Name = .MyTRAPS_2, | |
14941 | RA = 0x00000000003ec000, | |
14942 | PA = ra2pa(0x00000000003ec000,0), | |
14943 | part_0_ctx_zero_tsb_config_0, | |
14944 | part_0_ctx_nonzero_tsb_config_0, | |
14945 | TTE_G = 1, | |
14946 | TTE_Context = 0, | |
14947 | TTE_V = 1, | |
14948 | TTE_Size = 0, | |
14949 | TTE_NFO = 1, | |
14950 | TTE_IE = 0, | |
14951 | TTE_Soft2 = 0, | |
14952 | TTE_Diag = 0, | |
14953 | TTE_Soft = 0, | |
14954 | TTE_L = 0, | |
14955 | TTE_CP = 0, | |
14956 | TTE_CV = 0, | |
14957 | TTE_E = 0, | |
14958 | TTE_P = 1, | |
14959 | TTE_W = 0 | |
14960 | } | |
14961 | ||
14962 | ||
14963 | attr_text { | |
14964 | Name = .MyTRAPS_2, | |
14965 | hypervisor | |
14966 | } | |
14967 | ||
14968 | ||
14969 | attr_data { | |
14970 | Name = .MyTRAPS_2, | |
14971 | hypervisor | |
14972 | } | |
14973 | ||
14974 | #include "traps.s" | |
14975 | ||
14976 | ||
14977 | ||
14978 | SECTION .MyTRAPS_3 TEXT_VA = 0x00000000003f0000, DATA_VA = 0x00000000003fc000 | |
14979 | attr_text { | |
14980 | Name = .MyTRAPS_3, | |
14981 | RA = 0x00000000003f0000, | |
14982 | PA = ra2pa(0x00000000003f0000,0), | |
14983 | part_0_ctx_zero_tsb_config_0, | |
14984 | part_0_ctx_nonzero_tsb_config_0, | |
14985 | TTE_G = 1, | |
14986 | TTE_Context = 0, | |
14987 | TTE_V = 1, | |
14988 | TTE_Size = 0, | |
14989 | TTE_NFO = 1, | |
14990 | TTE_IE = 0, | |
14991 | TTE_Soft2 = 0, | |
14992 | TTE_Diag = 0, | |
14993 | TTE_Soft = 0, | |
14994 | TTE_L = 0, | |
14995 | TTE_CP = 0, | |
14996 | TTE_CV = 0, | |
14997 | TTE_E = 0, | |
14998 | TTE_P = 1, | |
14999 | TTE_W = 0, | |
15000 | TTE_X = 1 | |
15001 | } | |
15002 | ||
15003 | ||
15004 | attr_data { | |
15005 | Name = .MyTRAPS_3, | |
15006 | RA = 0x00000000003fc000, | |
15007 | PA = ra2pa(0x00000000003fc000,0), | |
15008 | part_0_ctx_zero_tsb_config_0, | |
15009 | part_0_ctx_nonzero_tsb_config_0, | |
15010 | TTE_G = 1, | |
15011 | TTE_Context = 0, | |
15012 | TTE_V = 1, | |
15013 | TTE_Size = 0, | |
15014 | TTE_NFO = 1, | |
15015 | TTE_IE = 0, | |
15016 | TTE_Soft2 = 0, | |
15017 | TTE_Diag = 0, | |
15018 | TTE_Soft = 0, | |
15019 | TTE_L = 0, | |
15020 | TTE_CP = 1, | |
15021 | TTE_CV = 0, | |
15022 | TTE_E = 0, | |
15023 | TTE_P = 1, | |
15024 | TTE_W = 0 | |
15025 | } | |
15026 | ||
15027 | ||
15028 | attr_text { | |
15029 | Name = .MyTRAPS_3, | |
15030 | hypervisor | |
15031 | } | |
15032 | ||
15033 | ||
15034 | attr_data { | |
15035 | Name = .MyTRAPS_3, | |
15036 | hypervisor | |
15037 | } | |
15038 | ||
15039 | #include "traps.s" | |
15040 | ||
15041 | ||
15042 | ||
15043 | ||
15044 | ||
15045 | SECTION .MyDATA_0 TEXT_VA = 0x00000000e0140000, DATA_VA = 0x0000000060140000 | |
15046 | attr_data { | |
15047 | Name = .MyDATA_0, | |
15048 | RA = 0x0000000170100000, | |
15049 | PA = ra2pa(0x0000000170100000,0), | |
15050 | part_0_ctx_zero_tsb_config_0, | |
15051 | part_0_ctx_nonzero_tsb_config_0, | |
15052 | TTE_G = 1, | |
15053 | TTE_Context = PCONTEXT, | |
15054 | TTE_V = 1, | |
15055 | TTE_Size = 0, | |
15056 | TTE_NFO = 0, | |
15057 | TTE_IE = 0, | |
15058 | TTE_Soft2 = 0, | |
15059 | TTE_Diag = 0, | |
15060 | TTE_Soft = 0, | |
15061 | TTE_L = 0, | |
15062 | TTE_CP = 0, | |
15063 | TTE_CV = 1, | |
15064 | TTE_E = 0, | |
15065 | TTE_P = 1, | |
15066 | TTE_W = 0 | |
15067 | } | |
15068 | ||
15069 | ||
15070 | attr_data { | |
15071 | Name = .MyDATA_0, | |
15072 | hypervisor | |
15073 | } | |
15074 | ||
15075 | ||
15076 | attr_text { | |
15077 | Name = .MyDATA_0, | |
15078 | hypervisor | |
15079 | } | |
15080 | ||
15081 | .data | |
15082 | .xword 0x627bc3fdcd184a7f | |
15083 | .xword 0x6d07ff54f1b64e21 | |
15084 | .xword 0x8aabaa52c75acb67 | |
15085 | .xword 0x81154af45e7d5875 | |
15086 | .xword 0xb8515026fd46cb76 | |
15087 | .xword 0x11890185258b3ada | |
15088 | .xword 0x098b7d6282d1543d | |
15089 | .xword 0xf76da53dae4c7f37 | |
15090 | .xword 0x8ce509bc8859ba5d | |
15091 | .xword 0x42401b0a7082b94f | |
15092 | .xword 0x578856cab95c955c | |
15093 | .xword 0x3d4c9672f2bed3bd | |
15094 | .xword 0x2d7fff9f5efc8ce7 | |
15095 | .xword 0xd30506c884adb84d | |
15096 | .xword 0x41ced47c4dbec259 | |
15097 | .xword 0x2c2794ab4ebbec23 | |
15098 | .xword 0xbb9174c9c1743610 | |
15099 | .xword 0xcfc6afff468ddd94 | |
15100 | .xword 0x1594dd8f34a4201a | |
15101 | .xword 0x11a12b7cc62316db | |
15102 | .xword 0x7827513862ec92b2 | |
15103 | .xword 0xe74cda4436a30efe | |
15104 | .xword 0x9b7ba000ae6b005a | |
15105 | .xword 0xfb380f953dd56099 | |
15106 | .xword 0x2c50a7457396ccea | |
15107 | .xword 0x0b09d362204401da | |
15108 | .xword 0xf76f5b7b5899ff5c | |
15109 | .xword 0xf294065e31b42715 | |
15110 | .xword 0xc47c94ed9b6c947a | |
15111 | .xword 0x5b96006a215a4092 | |
15112 | .xword 0x7975d87108966628 | |
15113 | .xword 0x0ec2afe9304652b4 | |
15114 | ||
15115 | ||
15116 | ||
15117 | SECTION .MyDATA_1 TEXT_VA = 0x00000000e0340000, DATA_VA = 0x0000000060340000 | |
15118 | attr_data { | |
15119 | Name = .MyDATA_1, | |
15120 | RA = 0x0000000170300000, | |
15121 | PA = ra2pa(0x0000000170300000,0), | |
15122 | part_0_ctx_zero_tsb_config_0, | |
15123 | part_0_ctx_nonzero_tsb_config_0, | |
15124 | TTE_G = 1, | |
15125 | TTE_Context = PCONTEXT, | |
15126 | TTE_V = 1, | |
15127 | TTE_Size = 1, | |
15128 | TTE_NFO = 0, | |
15129 | TTE_IE = 0, | |
15130 | TTE_Soft2 = 0, | |
15131 | TTE_Diag = 0, | |
15132 | TTE_Soft = 0, | |
15133 | TTE_L = 0, | |
15134 | TTE_CP = 1, | |
15135 | TTE_CV = 1, | |
15136 | TTE_E = 1, | |
15137 | TTE_P = 0, | |
15138 | TTE_W = 0 | |
15139 | } | |
15140 | ||
15141 | ||
15142 | attr_data { | |
15143 | Name = .MyDATA_1, | |
15144 | hypervisor | |
15145 | } | |
15146 | ||
15147 | ||
15148 | attr_text { | |
15149 | Name = .MyDATA_1, | |
15150 | hypervisor | |
15151 | } | |
15152 | ||
15153 | .data | |
15154 | .xword 0xa9a0eab79cec742d | |
15155 | .xword 0x13a242ec9d8c5003 | |
15156 | .xword 0x3d0a24060adf37a2 | |
15157 | .xword 0x9f0736c1bc24adac | |
15158 | .xword 0x433473bd8bccc09c | |
15159 | .xword 0xdaa0453a7066fef9 | |
15160 | .xword 0x75b02e5cfdbee712 | |
15161 | .xword 0xeeefab6f144c0f50 | |
15162 | .xword 0x9ab97428435d0953 | |
15163 | .xword 0x5fb92e3aa7b1d757 | |
15164 | .xword 0xda5db943d82d37d7 | |
15165 | .xword 0xb0a9199b547de3d2 | |
15166 | .xword 0xf26c5479368c2b5b | |
15167 | .xword 0xe0a7ec93dfd6fc8b | |
15168 | .xword 0xcfebc93f2ced46dc | |
15169 | .xword 0x25c2a152ffb3d0b8 | |
15170 | .xword 0x36956df75e5b3dc9 | |
15171 | .xword 0xbb8d32951a0c1f04 | |
15172 | .xword 0x50a893a2ffca2ceb | |
15173 | .xword 0x9ed82f3acd4b176d | |
15174 | .xword 0xa760916469ba9a1a | |
15175 | .xword 0xc4570747835b1a1e | |
15176 | .xword 0x71fd6c771a82ea33 | |
15177 | .xword 0x04fdab20eeb44448 | |
15178 | .xword 0x394710b2d5dfc91f | |
15179 | .xword 0xaba896d97fa519a4 | |
15180 | .xword 0x6d57368a7eaeb6f4 | |
15181 | .xword 0x6bcd929c10d5ec24 | |
15182 | .xword 0x67a45bfb0b27f47c | |
15183 | .xword 0xc48f23405f5177bb | |
15184 | .xword 0x5ce4d557b9f2e4c8 | |
15185 | .xword 0x47f048141f1d9c7a | |
15186 | ||
15187 | ||
15188 | ||
15189 | SECTION .MyDATA_2 TEXT_VA = 0x00000000e0540000, DATA_VA = 0x0000000060540000 | |
15190 | attr_data { | |
15191 | Name = .MyDATA_2, | |
15192 | RA = 0x0000000170500000, | |
15193 | PA = ra2pa(0x0000000170500000,0), | |
15194 | part_0_ctx_zero_tsb_config_0, | |
15195 | part_0_ctx_nonzero_tsb_config_0, | |
15196 | TTE_G = 1, | |
15197 | TTE_Context = PCONTEXT, | |
15198 | TTE_V = 1, | |
15199 | TTE_Size = 0, | |
15200 | TTE_NFO = 0, | |
15201 | TTE_IE = 1, | |
15202 | TTE_Soft2 = 0, | |
15203 | TTE_Diag = 0, | |
15204 | TTE_Soft = 0, | |
15205 | TTE_L = 0, | |
15206 | TTE_CP = 1, | |
15207 | TTE_CV = 1, | |
15208 | TTE_E = 0, | |
15209 | TTE_P = 0, | |
15210 | TTE_W = 1 | |
15211 | } | |
15212 | ||
15213 | ||
15214 | attr_data { | |
15215 | Name = .MyDATA_2, | |
15216 | hypervisor | |
15217 | } | |
15218 | ||
15219 | ||
15220 | attr_text { | |
15221 | Name = .MyDATA_2, | |
15222 | hypervisor | |
15223 | } | |
15224 | ||
15225 | .data | |
15226 | .xword 0xc494ca42537868ed | |
15227 | .xword 0x31305c561279d18f | |
15228 | .xword 0x1688a1e8287de24a | |
15229 | .xword 0x99e7e19b2592ef41 | |
15230 | .xword 0x2161bf39b6e685e2 | |
15231 | .xword 0xa813ff437995b95a | |
15232 | .xword 0x3b16ce7638ca7dba | |
15233 | .xword 0x178c8e098884a02d | |
15234 | .xword 0x5597322476388c65 | |
15235 | .xword 0x867e62caa2d4c600 | |
15236 | .xword 0x16933a54bd8323f3 | |
15237 | .xword 0x891fbfebced2638c | |
15238 | .xword 0x02ae4780067182e7 | |
15239 | .xword 0x33c774db0b349dcf | |
15240 | .xword 0xf7148849075fcc62 | |
15241 | .xword 0xeaf75d3afef62038 | |
15242 | .xword 0x835645eaa2cfe33a | |
15243 | .xword 0x6ea51c03e58f5d86 | |
15244 | .xword 0x60b3ec905944dce6 | |
15245 | .xword 0x08d7d9fb07e56e20 | |
15246 | .xword 0xd8cc24494bb5d0b0 | |
15247 | .xword 0x0aeb2927bcd72b9c | |
15248 | .xword 0x509a58a5fbae549e | |
15249 | .xword 0x375c9057232d2106 | |
15250 | .xword 0x979223245676a363 | |
15251 | .xword 0xb10a4b3b79c8fda9 | |
15252 | .xword 0xd3b19d7484d71c9e | |
15253 | .xword 0x4f78272679e86b2c | |
15254 | .xword 0xa154c608dd5f5575 | |
15255 | .xword 0xa2dd2ce6d27e7d68 | |
15256 | .xword 0x8815c3a3821693eb | |
15257 | .xword 0x2e1d0c22d13366c2 | |
15258 | ||
15259 | ||
15260 | ||
15261 | SECTION .MyDATA_3 TEXT_VA = 0x00000000e0740000, DATA_VA = 0x0000000060740000 | |
15262 | attr_data { | |
15263 | Name = .MyDATA_3, | |
15264 | RA = 0x0000000170700000, | |
15265 | PA = ra2pa(0x0000000170700000,0), | |
15266 | part_0_ctx_zero_tsb_config_0, | |
15267 | part_0_ctx_nonzero_tsb_config_0, | |
15268 | TTE_G = 1, | |
15269 | TTE_Context = PCONTEXT, | |
15270 | TTE_V = 1, | |
15271 | TTE_Size = 0, | |
15272 | TTE_NFO = 1, | |
15273 | TTE_IE = 1, | |
15274 | TTE_Soft2 = 0, | |
15275 | TTE_Diag = 0, | |
15276 | TTE_Soft = 0, | |
15277 | TTE_L = 0, | |
15278 | TTE_CP = 1, | |
15279 | TTE_CV = 0, | |
15280 | TTE_E = 1, | |
15281 | TTE_P = 1, | |
15282 | TTE_W = 1 | |
15283 | } | |
15284 | ||
15285 | ||
15286 | attr_data { | |
15287 | Name = .MyDATA_3, | |
15288 | hypervisor | |
15289 | } | |
15290 | ||
15291 | ||
15292 | attr_text { | |
15293 | Name = .MyDATA_3, | |
15294 | hypervisor | |
15295 | } | |
15296 | ||
15297 | .data | |
15298 | .xword 0xefc1077c7b26e1b8 | |
15299 | .xword 0xad6df2712eef96b0 | |
15300 | .xword 0xf42dbff70cdeb27e | |
15301 | .xword 0x9460d68d898adec4 | |
15302 | .xword 0xec89bb23830a2190 | |
15303 | .xword 0x44392c90e8b9c4b9 | |
15304 | .xword 0x57fd5118b9086149 | |
15305 | .xword 0x8dec0be50f5d0534 | |
15306 | .xword 0xdbccd847455bb55d | |
15307 | .xword 0x4bd8127b5a0dd174 | |
15308 | .xword 0xe38955dda4811c6a | |
15309 | .xword 0xb9796c4cbeaa109e | |
15310 | .xword 0xfce6efe01a58be06 | |
15311 | .xword 0xcc894cec456ba651 | |
15312 | .xword 0x8fcf538998acb20d | |
15313 | .xword 0xd0d6dd06a0349c58 | |
15314 | .xword 0x1f764034ac25ceac | |
15315 | .xword 0xad9886c078f37ebe | |
15316 | .xword 0x6cba7ea3796bfd54 | |
15317 | .xword 0xfe816e8280e29852 | |
15318 | .xword 0x508a0a62fc553bc0 | |
15319 | .xword 0xe8bc3a81fd09ac05 | |
15320 | .xword 0xe9712aa70eaffbe0 | |
15321 | .xword 0xda9c9cfc3a16d193 | |
15322 | .xword 0x19233c6efcace08f | |
15323 | .xword 0x1adf76f3cb73d9f7 | |
15324 | .xword 0xbdd9fef8e399da2a | |
15325 | .xword 0x1ab8ae57f3e9d225 | |
15326 | .xword 0x7cb082b3b89c4ec2 | |
15327 | .xword 0xf697765bdcc4fe9d | |
15328 | .xword 0x458651f2f2b7e3eb | |
15329 | .xword 0x5da427f01f968dd3 | |
15330 | ||
15331 | ||
15332 | ||
15333 | #if 0 | |
15334 | #endif | |
15335 |