Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | /* |
2 | * ========== Copyright Header Begin ========================================== | |
3 | * | |
4 | * OpenSPARC T2 Processor File: tlu_rand05_ind_01_27_4.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, %g5; \ | |
776 | set cregs_lsu_ctl_reg_r64, %g5; \ | |
777 | stxa %g5, [%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, %g5 ;\ | |
795 | ldxa [%g0] ASI_SWVR_INTR_R, %g4 ;\ | |
796 | ldxa [%g0] ASI_SWVR_INTR_RECEIVE, %g3 ;\ | |
797 | cmp %g5, %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, %g4;\ | |
1110 | wr %g4, %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, %g4;\ | |
1273 | wr %g4, %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, %g4;\ | |
1436 | wr %g4, %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 0x33, %r14 | |
1507 | mov 0x30, %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 0xb2, %r14 | |
1540 | mov 0x30, %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 0x30, %r14 | |
1573 | mov 0xb2, %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 0xb0, %r14 | |
1606 | mov 0x34, %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 0x35, %r14 | |
1639 | mov 0x31, %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 0x34, %r14 | |
1672 | mov 0x30, %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 0x30, %r14 | |
1705 | mov 0x32, %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 | .word 0xa5b40ff4 ! 1: FONES e %f18 | |
1873 | splash_lsu_7_0: | |
1874 | setx 0xc00deaf062438e8f, %r1, %r2 | |
1875 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
1876 | .word 0x3d400001 ! 2: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
1877 | .word 0x91d020b4 ! 3: Tcc_I ta icc_or_xcc, %r0 + 180 | |
1878 | .word 0x87802020 ! 4: WRASI_I wr %r0, 0x0020, %asi | |
1879 | debug_7_1: | |
1880 | nop | |
1881 | rd %pc, %r19 | |
1882 | add %r19, (64+48), %r19 | |
1883 | mov 0x38, %r18 | |
1884 | .word 0xe6f00b12 ! 5: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
1885 | debug_7_2: | |
1886 | nop | |
1887 | mov 0x38, %r18 | |
1888 | .word 0xfef00b12 ! 6: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
1889 | tagged_7_3: | |
1890 | taddcctv %r5, 0x17e5, %r2 | |
1891 | .word 0xe807f373 ! 7: LDUW_I lduw [%r31 + 0xfffff373], %r20 | |
1892 | splash_cmpr_7_4: | |
1893 | setx 0x8a4596fc22a7c516, %g2, %g1 | |
1894 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
1895 | sub %g1, 100, %g1 | |
1896 | .word 0xb1800001 ! 8: WR_STICK_REG_R wr %r0, %r1, %- | |
1897 | .word 0x91d02035 ! 9: Tcc_I ta icc_or_xcc, %r0 + 53 | |
1898 | .word 0xe88008a0 ! 10: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
1899 | .word 0xe88008a0 ! 11: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
1900 | DS_7_5: | |
1901 | .word 0x97a349d2 ! 1: FDIVd fdivd %f44, %f18, %f42 | |
1902 | .word 0xbfe7c000 ! 12: SAVE_R save %r31, %r0, %r31 | |
1903 | .word 0xd85ff373 ! 13: LDX_I ldx [%r31 + 0xfffff373], %r12 | |
1904 | .word 0x8d802004 ! 14: WRFPRS_I wr %r0, 0x0004, %fprs | |
1905 | .word 0x83d020b3 ! 15: Tcc_I te icc_or_xcc, %r0 + 179 | |
1906 | .word 0xa1a00174 ! 16: FABSq dis not found | |
1907 | ||
1908 | nop | |
1909 | mov 0x80, %g3 | |
1910 | stxa %g3, [%g3] 0x5f | |
1911 | .word 0xd45fc000 ! 17: LDX_R ldx [%r31 + %r0], %r10 | |
1912 | splash_hpstate_7_6: | |
1913 | .word 0x81982875 ! 18: WRHPR_HPSTATE_I wrhpr %r0, 0x0875, %hpstate | |
1914 | .word 0xd4c80e80 ! 19: LDSBA_R ldsba [%r0, %r0] 0x74, %r10 | |
1915 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
1916 | ta T_CHANGE_NONHPRIV ! macro | |
1917 | .word 0x93a01962 ! 20: FqTOd dis not found | |
1918 | ||
1919 | nop | |
1920 | mov 0x80, %g3 | |
1921 | stxa %g3, [%g3] 0x5f | |
1922 | .word 0xd25fc000 ! 21: LDX_R ldx [%r31 + %r0], %r9 | |
1923 | .word 0xd2c7e010 ! 22: LDSWA_I ldswa [%r31, + 0x0010] %asi, %r9 | |
1924 | change_to_randtl_7_8: | |
1925 | ta T_CHANGE_PRIV ! macro | |
1926 | done_change_to_randtl_7_8: | |
1927 | .word 0x8f902002 ! 23: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
1928 | memptr_7_9: | |
1929 | set user_data_start, %r31 | |
1930 | .word 0x858237db ! 24: WRCCR_I wr %r8, 0x17db, %ccr | |
1931 | mondo_7_10: | |
1932 | nop | |
1933 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
1934 | ||
1935 | stxa %r19, [%r0+0x3d8] %asi | |
1936 | .word 0x9d91800a ! 25: WRPR_WSTATE_R wrpr %r6, %r10, %wstate | |
1937 | .word 0x87902371 ! 26: WRPR_TT_I wrpr %r0, 0x0371, %tt | |
1938 | .word 0xd21ff185 ! 27: LDD_I ldd [%r31 + 0xfffff185], %r9 | |
1939 | .word 0x91a01a69 ! 28: FqTOi fqtoi | |
1940 | change_to_randtl_7_11: | |
1941 | ta T_CHANGE_HPRIV ! macro | |
1942 | done_change_to_randtl_7_11: | |
1943 | .word 0x8f902002 ! 29: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
1944 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
1945 | ta T_CHANGE_NONPRIV ! macro | |
1946 | .word 0x976cf70e ! 30: SDIVX_I sdivx %r19, 0xfffff70e, %r11 | |
1947 | .word 0xd68804a0 ! 31: LDUBA_R lduba [%r0, %r0] 0x25, %r11 | |
1948 | mov (7+1), %r10 | |
1949 | ta T_CHANGE_HPRIV | |
1950 | set sync_thr_counter2, %r23 | |
1951 | cas [%r23],%g0,%r10 !lock | |
1952 | brnz %r10, sma_7_13 | |
1953 | rd %asi, %r12 | |
1954 | wr %g0, 0x40, %asi | |
1955 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
1956 | set 0x21fff, %g1 | |
1957 | stxa %g1, [%g0 + 0x80] %asi | |
1958 | wr %r12, %g0, %asi | |
1959 | st %g0, [%r23] | |
1960 | sma_7_13: | |
1961 | ta T_CHANGE_NONHPRIV | |
1962 | .word 0xd7e7e013 ! 32: CASA_R casa [%r31] %asi, %r19, %r11 | |
1963 | .word 0xd66fe760 ! 33: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
1964 | .word 0xd63fe760 ! 34: STD_I std %r11, [%r31 + 0x0760] | |
1965 | .word 0xd66fe760 ! 35: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
1966 | .word 0x87802083 ! 36: WRASI_I wr %r0, 0x0083, %asi | |
1967 | tagged_7_14: | |
1968 | tsubcctv %r20, 0x15a1, %r7 | |
1969 | .word 0xd607e760 ! 37: LDUW_I lduw [%r31 + 0x0760], %r11 | |
1970 | memptr_7_15: | |
1971 | set user_data_start, %r31 | |
1972 | .word 0x85822515 ! 38: WRCCR_I wr %r8, 0x0515, %ccr | |
1973 | tagged_7_16: | |
1974 | tsubcctv %r14, 0x1523, %r26 | |
1975 | .word 0xd607e356 ! 39: LDUW_I lduw [%r31 + 0x0356], %r11 | |
1976 | .word 0x8790212f ! 40: WRPR_TT_I wrpr %r0, 0x012f, %tt | |
1977 | mondo_7_17: | |
1978 | nop | |
1979 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
1980 | ||
1981 | stxa %r6, [%r0+0x3c0] %asi | |
1982 | .word 0x9d92c012 ! 41: WRPR_WSTATE_R wrpr %r11, %r18, %wstate | |
1983 | donret_7_18: | |
1984 | nop | |
1985 | rd %pc, %r12 | |
1986 | add %r12, (donretarg_7_18-donret_7_18), %r12 | |
1987 | mov 0x38, %r18 | |
1988 | stxa %r12, [%r18]0x58 | |
1989 | add %r12, 0x4, %r11 | |
1990 | wrpr %g0, 0x3, %tl | |
1991 | wrpr %g0, %r12, %tpc | |
1992 | wrpr %g0, %r11, %tnpc | |
1993 | wrpr %g0, %r13, %tstate | |
1994 | wrhpr %g0, %r14, %htstate | |
1995 | retry | |
1996 | donretarg_7_18: | |
1997 | .word 0xd6ffe356 ! 42: SWAPA_I swapa %r11, [%r31 + 0x0356] %asi | |
1998 | .word 0xd6cfe020 ! 43: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r11 | |
1999 | tagged_7_19: | |
2000 | taddcctv %r2, 0x1d5e, %r13 | |
2001 | .word 0xd607e356 ! 44: LDUW_I lduw [%r31 + 0x0356], %r11 | |
2002 | ta T_CHANGE_HPRIV | |
2003 | mov (7+1), %r10 | |
2004 | set sync_thr_counter1, %r23 | |
2005 | cas [%r23],%g0,%r10 !lock | |
2006 | brnz %r10, cwq_7_20 | |
2007 | rd %asi, %r12 | |
2008 | wr %g0, 0x40, %asi | |
2009 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2010 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2011 | cmp %l1, 1 | |
2012 | bne cwq_7_20 | |
2013 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2014 | sub %l2, 0x40, %l2 | |
2015 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2016 | wr %r12, %g0, %asi | |
2017 | st %g0, [%r23] | |
2018 | cwq_7_20: | |
2019 | ta T_CHANGE_NONHPRIV | |
2020 | .word 0xa3414000 ! 45: RDPC rd %pc, %r17 | |
2021 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_7_21)+48, 16, 16)) -> intp(7,1,3) | |
2022 | xir_7_21: | |
2023 | .word 0xa98537a3 ! 46: WR_SET_SOFTINT_I wr %r20, 0x17a3, %set_softint | |
2024 | mondo_7_22: | |
2025 | nop | |
2026 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2027 | ||
2028 | stxa %r9, [%r0+0x3c0] %asi | |
2029 | .word 0x9d94c004 ! 47: WRPR_WSTATE_R wrpr %r19, %r4, %wstate | |
2030 | donret_7_23: | |
2031 | nop | |
2032 | rd %pc, %r12 | |
2033 | add %r12, (donretarg_7_23-donret_7_23-4), %r12 | |
2034 | mov 0x38, %r18 | |
2035 | stxa %r12, [%r18]0x58 | |
2036 | add %r12, 0x4, %r11 | |
2037 | wrpr %g0, 0x2, %tl | |
2038 | wrpr %g0, %r12, %tpc | |
2039 | wrpr %g0, %r11, %tnpc | |
2040 | wrpr %g0, %r13, %tstate | |
2041 | wrhpr %g0, %r14, %htstate | |
2042 | done | |
2043 | donretarg_7_23: | |
2044 | .word 0xd6ffe271 ! 48: SWAPA_I swapa %r11, [%r31 + 0x0271] %asi | |
2045 | mov (7+1), %r10 | |
2046 | ta T_CHANGE_HPRIV | |
2047 | set sync_thr_counter2, %r23 | |
2048 | cas [%r23],%g0,%r10 !lock | |
2049 | brnz %r10, sma_7_24 | |
2050 | rd %asi, %r12 | |
2051 | wr %g0, 0x40, %asi | |
2052 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2053 | set 0x21fff, %g1 | |
2054 | stxa %g1, [%g0 + 0x80] %asi | |
2055 | wr %r12, %g0, %asi | |
2056 | st %g0, [%r23] | |
2057 | sma_7_24: | |
2058 | ta T_CHANGE_NONHPRIV | |
2059 | .word 0xd7e7e006 ! 49: CASA_R casa [%r31] %asi, %r6, %r11 | |
2060 | .word 0xd647e271 ! 50: LDSW_I ldsw [%r31 + 0x0271], %r11 | |
2061 | .word 0x91480000 ! 51: RDHPR_HPSTATE rdhpr %hpstate, %r8 | |
2062 | ta T_CHANGE_HPRIV | |
2063 | mov (7+1), %r10 | |
2064 | set sync_thr_counter1, %r23 | |
2065 | cas [%r23],%g0,%r10 !lock | |
2066 | brnz %r10, cwq_7_25 | |
2067 | rd %asi, %r12 | |
2068 | wr %g0, 0x40, %asi | |
2069 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2070 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2071 | cmp %l1, 1 | |
2072 | bne cwq_7_25 | |
2073 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2074 | sub %l2, 0x40, %l2 | |
2075 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2076 | wr %r12, %g0, %asi | |
2077 | st %g0, [%r23] | |
2078 | cwq_7_25: | |
2079 | ta T_CHANGE_NONHPRIV | |
2080 | .word 0xa1414000 ! 52: RDPC rd %pc, %r16 | |
2081 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_26) + 56, 16, 16)) -> intp(0,0,24) | |
2082 | intvec_7_26: | |
2083 | .word 0x39400001 ! 53: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2084 | .word 0xe657e271 ! 54: LDSH_I ldsh [%r31 + 0x0271], %r19 | |
2085 | intveclr_7_27: | |
2086 | setx 0xfff62baf8f37dcd9, %r1, %r28 | |
2087 | stxa %r28, [%g0] 0x72 | |
2088 | .word 0x25400001 ! 55: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2089 | .word 0xe68008a0 ! 56: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
2090 | .word 0xe737c000 ! 57: STQF_R - %f19, [%r0, %r31] | |
2091 | pmu_7_28: | |
2092 | nop | |
2093 | setx 0xfffffd19fffff68d, %g1, %g7 | |
2094 | .word 0xa3800007 ! 58: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
2095 | .word 0xe6880e60 ! 59: LDUBA_R lduba [%r0, %r0] 0x73, %r19 | |
2096 | intveclr_7_29: | |
2097 | setx 0xb8f312bc5bde7e6f, %r1, %r28 | |
2098 | stxa %r28, [%g0] 0x72 | |
2099 | .word 0x25400001 ! 60: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2100 | memptr_7_30: | |
2101 | set user_data_start, %r31 | |
2102 | .word 0x858462fe ! 61: WRCCR_I wr %r17, 0x02fe, %ccr | |
2103 | debug_7_31: | |
2104 | nop | |
2105 | rd %pc, %r19 | |
2106 | add %r19, (64+32), %r19 | |
2107 | mov 0x38, %r18 | |
2108 | .word 0xe6f00b12 ! 62: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2109 | .word 0x8780204f ! 63: WRASI_I wr %r0, 0x004f, %asi | |
2110 | invalw | |
2111 | mov 0x33, %r30 | |
2112 | .word 0x91d0001e ! 64: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2113 | .word 0xe69ff3b4 ! 65: LDDA_I ldda [%r31, + 0xfffff3b4] %asi, %r19 | |
2114 | .word 0xe6900e60 ! 66: LDUHA_R lduha [%r0, %r0] 0x73, %r19 | |
2115 | .word 0x91d02034 ! 67: Tcc_I ta icc_or_xcc, %r0 + 52 | |
2116 | .word 0xe68008a0 ! 68: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
2117 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2118 | ta T_CHANGE_NONPRIV ! macro | |
2119 | .word 0xa5a01973 ! 69: FqTOd dis not found | |
2120 | ||
2121 | .word 0xd28008a0 ! 70: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
2122 | splash_cmpr_7_33: | |
2123 | setx 0x73c93b4c12718848, %g2, %g1 | |
2124 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
2125 | sub %g1, 100, %g1 | |
2126 | .word 0xb1800001 ! 71: WR_STICK_REG_R wr %r0, %r1, %- | |
2127 | intveclr_7_34: | |
2128 | setx 0xbe0985ff22f0a947, %r1, %r28 | |
2129 | stxa %r28, [%g0] 0x72 | |
2130 | .word 0x25400001 ! 72: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2131 | splash_cmpr_7_35: | |
2132 | setx 0xd2dcda37fe4ded73, %g2, %g1 | |
2133 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
2134 | sub %g1, 100, %g1 | |
2135 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
2136 | intveclr_7_36: | |
2137 | setx 0x9cb05adf4a934de6, %r1, %r28 | |
2138 | stxa %r28, [%g0] 0x72 | |
2139 | .word 0x25400001 ! 74: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2140 | otherw | |
2141 | mov 0x33, %r30 | |
2142 | .word 0x91d0001e ! 75: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2143 | .word 0xa980800c ! 76: WR_SET_SOFTINT_R wr %r2, %r12, %set_softint | |
2144 | intveclr_7_37: | |
2145 | setx 0x3bfb9788dc80804e, %r1, %r28 | |
2146 | stxa %r28, [%g0] 0x72 | |
2147 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2148 | intveclr_7_38: | |
2149 | setx 0xb67e31143e24481f, %r1, %r28 | |
2150 | stxa %r28, [%g0] 0x72 | |
2151 | .word 0x25400001 ! 78: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2152 | .word 0x91d020b3 ! 79: Tcc_I ta icc_or_xcc, %r0 + 179 | |
2153 | DS_7_39: | |
2154 | .word 0x95a4c9c9 ! 1: FDIVd fdivd %f50, %f40, %f10 | |
2155 | .word 0x97a149c5 ! 1: FDIVd fdivd %f36, %f36, %f42 | |
2156 | .word 0x91a00542 ! 1: FSQRTd fsqrt | |
2157 | .word 0xa5a48831 ! 80: FADDs fadds %f18, %f17, %f18 | |
2158 | .word 0xd41fc000 ! 81: LDD_R ldd [%r31 + %r0], %r10 | |
2159 | .word 0x87802016 ! 82: WRASI_I wr %r0, 0x0016, %asi | |
2160 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_40) + 48, 16, 16)) -> intp(2,0,15) | |
2161 | intvec_7_40: | |
2162 | .word 0x39400001 ! 83: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2163 | .word 0xd48804a0 ! 84: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
2164 | .word 0x879023b0 ! 85: WRPR_TT_I wrpr %r0, 0x03b0, %tt | |
2165 | setx 0x3e4586648c5d06cb, %r1, %r28 | |
2166 | stxa %r28, [%g0] 0x73 | |
2167 | intvec_7_41: | |
2168 | .word 0x39400001 ! 86: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2169 | .word 0x93a00166 ! 87: FABSq dis not found | |
2170 | ||
2171 | rd %pc, %r19 | |
2172 | add %r19, (ivw_7_42-.+48), %r19 | |
2173 | mov 0x38, %r18 | |
2174 | stxa %r19, [%r18]0x58 | |
2175 | ivw_7_42: | |
2176 | .word 0x9194c002 ! 88: WRPR_PIL_R wrpr %r19, %r2, %pil | |
2177 | .word 0x8780204f ! 89: WRASI_I wr %r0, 0x004f, %asi | |
2178 | .word 0xa1902002 ! 90: WRPR_GL_I wrpr %r0, 0x0002, %- | |
2179 | splash_cmpr_7_43: | |
2180 | setx 0x84adbec1a41a2bc0, %g2, %g1 | |
2181 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
2182 | sub %g1, 100, %g1 | |
2183 | .word 0xb1800001 ! 91: WR_STICK_REG_R wr %r0, %r1, %- | |
2184 | .word 0xe3e7c028 ! 92: CASA_I casa [%r31] 0x 1, %r8, %r17 | |
2185 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2186 | ta T_CHANGE_NONPRIV ! macro | |
2187 | .word 0x936828f0 ! 93: SDIVX_I sdivx %r0, 0x08f0, %r9 | |
2188 | debug_7_45: | |
2189 | nop | |
2190 | mov 8, %r18 | |
2191 | .word 0xe6f00492 ! 94: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
2192 | .word 0x8d902813 ! 95: WRPR_PSTATE_I wrpr %r0, 0x0813, %pstate | |
2193 | .word 0x9950c000 ! 96: RDPR_TT rdpr %tt, %r12 | |
2194 | mov (7+1), %r10 | |
2195 | ta T_CHANGE_HPRIV | |
2196 | set sync_thr_counter2, %r23 | |
2197 | cas [%r23],%g0,%r10 !lock | |
2198 | brnz %r10, sma_7_46 | |
2199 | rd %asi, %r12 | |
2200 | wr %g0, 0x40, %asi | |
2201 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2202 | set 0x21fff, %g1 | |
2203 | stxa %g1, [%g0 + 0x80] %asi | |
2204 | wr %r12, %g0, %asi | |
2205 | st %g0, [%r23] | |
2206 | sma_7_46: | |
2207 | ta T_CHANGE_NONHPRIV | |
2208 | .word 0xd3e7e008 ! 97: CASA_R casa [%r31] %asi, %r8, %r9 | |
2209 | .word 0xa5450000 ! 98: RD_SET_SOFTINT rd %set_softint, %r18 | |
2210 | .word 0x8d802004 ! 99: WRFPRS_I wr %r0, 0x0004, %fprs | |
2211 | .word 0xe48008a0 ! 100: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
2212 | .word 0x32800001 ! 101: BNE bne,a <label_0x1> | |
2213 | debug_7_47: | |
2214 | nop | |
2215 | mov 0x38, %r18 | |
2216 | .word 0xfef00b12 ! 102: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2217 | memptr_7_48: | |
2218 | set user_data_start, %r31 | |
2219 | .word 0x858360f7 ! 103: WRCCR_I wr %r13, 0x00f7, %ccr | |
2220 | .word 0xe537c000 ! 104: STQF_R - %f18, [%r0, %r31] | |
2221 | mov (7+1), %r10 | |
2222 | ta T_CHANGE_HPRIV | |
2223 | set sync_thr_counter2, %r23 | |
2224 | cas [%r23],%g0,%r10 !lock | |
2225 | brnz %r10, sma_7_49 | |
2226 | rd %asi, %r12 | |
2227 | wr %g0, 0x40, %asi | |
2228 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2229 | set 0x21fff, %g1 | |
2230 | stxa %g1, [%g0 + 0x80] %asi | |
2231 | wr %r12, %g0, %asi | |
2232 | st %g0, [%r23] | |
2233 | sma_7_49: | |
2234 | ta T_CHANGE_NONHPRIV | |
2235 | .word 0xe5e7e008 ! 105: CASA_R casa [%r31] %asi, %r8, %r18 | |
2236 | intveclr_7_50: | |
2237 | setx 0x3c8150c7cb84275a, %r1, %r28 | |
2238 | stxa %r28, [%g0] 0x72 | |
2239 | .word 0x25400001 ! 106: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2240 | .word 0x8790235c ! 107: WRPR_TT_I wrpr %r0, 0x035c, %tt | |
2241 | .word 0x97a4cdc8 ! 108: FdMULq fdmulq | |
2242 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2243 | ta T_CHANGE_NONHPRIV ! macro | |
2244 | .word 0x93a01973 ! 109: FqTOd dis not found | |
2245 | ||
2246 | cwp_7_52: | |
2247 | set user_data_start, %o7 | |
2248 | .word 0x93902000 ! 110: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
2249 | nop | |
2250 | mov 0x80, %g3 | |
2251 | stxa %g3, [%g3] 0x57 | |
2252 | .word 0xda5fc000 ! 111: LDX_R ldx [%r31 + %r0], %r13 | |
2253 | otherw | |
2254 | mov 0x32, %r30 | |
2255 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2256 | intveclr_7_53: | |
2257 | setx 0x8cf3d9269cfd8263, %r1, %r28 | |
2258 | stxa %r28, [%g0] 0x72 | |
2259 | .word 0x25400001 ! 113: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2260 | .word 0xdad80e60 ! 114: LDXA_R ldxa [%r0, %r0] 0x73, %r13 | |
2261 | splash_hpstate_7_54: | |
2262 | .word 0x81982c0e ! 115: WRHPR_HPSTATE_I wrhpr %r0, 0x0c0e, %hpstate | |
2263 | .word 0xa968c010 ! 116: SDIVX_R sdivx %r3, %r16, %r20 | |
2264 | splash_htba_7_55: | |
2265 | set 0x80000, %r12 | |
2266 | ld [%r12+%r0], %r1 | |
2267 | ta T_CHANGE_HPRIV | |
2268 | set 0x80000, %r12 | |
2269 | .word 0x8b98000c ! 117: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
2270 | .word 0xd4c004a0 ! 118: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
2271 | splash_htba_7_56: | |
2272 | set 0x80000, %r12 | |
2273 | st %r1, [%r12+%r0] | |
2274 | ta T_CHANGE_HPRIV | |
2275 | set 0x80000, %r12 | |
2276 | .word 0x8b98000c ! 119: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
2277 | debug_7_57: | |
2278 | nop | |
2279 | mov 8, %r18 | |
2280 | .word 0xdef00492 ! 120: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
2281 | .word 0x91d02034 ! 121: Tcc_I ta icc_or_xcc, %r0 + 52 | |
2282 | DS_7_58: | |
2283 | .word 0xa9a1c9c3 ! 1: FDIVd fdivd %f38, %f34, %f20 | |
2284 | .word 0xd17c49bd ! Random illegal ? | |
2285 | .word 0x91a00546 ! 1: FSQRTd fsqrt | |
2286 | .word 0x93a2c82d ! 122: FADDs fadds %f11, %f13, %f9 | |
2287 | .word 0x24800001 ! 123: BLE ble,a <label_0x1> | |
2288 | .word 0x93d020b2 ! 124: Tcc_I tne icc_or_xcc, %r0 + 178 | |
2289 | .word 0xda0fee19 ! 125: LDUB_I ldub [%r31 + 0x0e19], %r13 | |
2290 | splash_lsu_7_59: | |
2291 | setx 0x94544d4d852dbdd5, %r1, %r2 | |
2292 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2293 | .word 0x3d400001 ! 126: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2294 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2295 | ta T_CHANGE_NONPRIV ! macro | |
2296 | .word 0x97697b5f ! 127: SDIVX_I sdivx %r5, 0xfffffb5f, %r11 | |
2297 | tagged_7_61: | |
2298 | taddcctv %r11, 0x18ca, %r17 | |
2299 | .word 0xd607ec1e ! 128: LDUW_I lduw [%r31 + 0x0c1e], %r11 | |
2300 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_62) + 24, 16, 16)) -> intp(5,0,27) | |
2301 | intvec_7_62: | |
2302 | .word 0x39400001 ! 129: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2303 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2304 | ta T_CHANGE_NONHPRIV ! macro | |
2305 | .word 0x95a01963 ! 130: FqTOd dis not found | |
2306 | ||
2307 | mov (7+1), %r10 | |
2308 | ta T_CHANGE_HPRIV | |
2309 | set sync_thr_counter2, %r23 | |
2310 | cas [%r23],%g0,%r10 !lock | |
2311 | brnz %r10, sma_7_64 | |
2312 | rd %asi, %r12 | |
2313 | wr %g0, 0x40, %asi | |
2314 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2315 | set 0x21fff, %g1 | |
2316 | stxa %g1, [%g0 + 0x80] %asi | |
2317 | wr %r12, %g0, %asi | |
2318 | st %g0, [%r23] | |
2319 | sma_7_64: | |
2320 | ta T_CHANGE_NONHPRIV | |
2321 | .word 0xd1e7e012 ! 131: CASA_R casa [%r31] %asi, %r18, %r8 | |
2322 | .word 0xa1a00170 ! 132: FABSq dis not found | |
2323 | ||
2324 | intveclr_7_65: | |
2325 | setx 0x0008650ad3d4ec9d, %r1, %r28 | |
2326 | stxa %r28, [%g0] 0x72 | |
2327 | .word 0x25400001 ! 133: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2328 | .word 0x93520000 ! 134: RDPR_PIL rdpr %pil, %r9 | |
2329 | .word 0x99a449d1 ! 135: FDIVd fdivd %f48, %f48, %f12 | |
2330 | cwp_7_66: | |
2331 | set user_data_start, %o7 | |
2332 | .word 0x93902001 ! 136: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
2333 | .word 0xa9828012 ! 137: WR_SET_SOFTINT_R wr %r10, %r18, %set_softint | |
2334 | .word 0xe0c00e60 ! 138: LDSWA_R ldswa [%r0, %r0] 0x73, %r16 | |
2335 | splash_hpstate_7_67: | |
2336 | .word 0x81982cc7 ! 139: WRHPR_HPSTATE_I wrhpr %r0, 0x0cc7, %hpstate | |
2337 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2338 | ta T_CHANGE_NONPRIV ! macro | |
2339 | .word 0x91a01963 ! 140: FqTOd dis not found | |
2340 | ||
2341 | mov (7+1), %r10 | |
2342 | ta T_CHANGE_HPRIV | |
2343 | set sync_thr_counter2, %r23 | |
2344 | cas [%r23],%g0,%r10 !lock | |
2345 | brnz %r10, sma_7_69 | |
2346 | rd %asi, %r12 | |
2347 | wr %g0, 0x40, %asi | |
2348 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2349 | set 0x21fff, %g1 | |
2350 | stxa %g1, [%g0 + 0x80] %asi | |
2351 | wr %r12, %g0, %asi | |
2352 | st %g0, [%r23] | |
2353 | sma_7_69: | |
2354 | ta T_CHANGE_NONHPRIV | |
2355 | .word 0xe7e7e003 ! 141: CASA_R casa [%r31] %asi, %r3, %r19 | |
2356 | ta T_CHANGE_HPRIV | |
2357 | mov (7+1), %r10 | |
2358 | set sync_thr_counter1, %r23 | |
2359 | cas [%r23],%g0,%r10 !lock | |
2360 | brnz %r10, cwq_7_70 | |
2361 | rd %asi, %r12 | |
2362 | wr %g0, 0x40, %asi | |
2363 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2364 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2365 | cmp %l1, 1 | |
2366 | bne cwq_7_70 | |
2367 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2368 | sub %l2, 0x40, %l2 | |
2369 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2370 | wr %r12, %g0, %asi | |
2371 | st %g0, [%r23] | |
2372 | cwq_7_70: | |
2373 | ta T_CHANGE_NONHPRIV | |
2374 | .word 0xa1414000 ! 142: RDPC rd %pc, %r16 | |
2375 | .word 0xe29004a0 ! 143: LDUHA_R lduha [%r0, %r0] 0x25, %r17 | |
2376 | ta T_CHANGE_HPRIV | |
2377 | mov (7+1), %r10 | |
2378 | set sync_thr_counter1, %r23 | |
2379 | cas [%r23],%g0,%r10 !lock | |
2380 | brnz %r10, cwq_7_71 | |
2381 | rd %asi, %r12 | |
2382 | wr %g0, 0x40, %asi | |
2383 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2384 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2385 | cmp %l1, 1 | |
2386 | bne cwq_7_71 | |
2387 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2388 | sub %l2, 0x40, %l2 | |
2389 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2390 | wr %r12, %g0, %asi | |
2391 | st %g0, [%r23] | |
2392 | cwq_7_71: | |
2393 | ta T_CHANGE_NONHPRIV | |
2394 | .word 0xa5414000 ! 144: RDPC rd %pc, %r18 | |
2395 | invalw | |
2396 | mov 0xb0, %r30 | |
2397 | .word 0x91d0001e ! 145: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2398 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_72) + 0, 16, 16)) -> intp(4,0,13) | |
2399 | intvec_7_72: | |
2400 | .word 0x39400001 ! 146: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2401 | .word 0x8790229f ! 147: WRPR_TT_I wrpr %r0, 0x029f, %tt | |
2402 | .word 0x9ba2c9cb ! 148: FDIVd fdivd %f42, %f42, %f44 | |
2403 | .word 0xd6c7e010 ! 149: LDSWA_I ldswa [%r31, + 0x0010] %asi, %r11 | |
2404 | change_to_randtl_7_73: | |
2405 | ta T_CHANGE_HPRIV ! macro | |
2406 | done_change_to_randtl_7_73: | |
2407 | .word 0x8f902003 ! 150: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
2408 | .word 0x8d9036f5 ! 151: WRPR_PSTATE_I wrpr %r0, 0x16f5, %pstate | |
2409 | memptr_7_74: | |
2410 | set 0x60540000, %r31 | |
2411 | .word 0x8582260d ! 152: WRCCR_I wr %r8, 0x060d, %ccr | |
2412 | .word 0xd727e6f2 ! 153: STF_I st %f11, [0x06f2, %r31] | |
2413 | mov (7+1), %r10 | |
2414 | ta T_CHANGE_HPRIV | |
2415 | set sync_thr_counter2, %r23 | |
2416 | cas [%r23],%g0,%r10 !lock | |
2417 | brnz %r10, sma_7_75 | |
2418 | rd %asi, %r12 | |
2419 | wr %g0, 0x40, %asi | |
2420 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2421 | set 0x21fff, %g1 | |
2422 | stxa %g1, [%g0 + 0x80] %asi | |
2423 | wr %r12, %g0, %asi | |
2424 | st %g0, [%r23] | |
2425 | sma_7_75: | |
2426 | ta T_CHANGE_NONHPRIV | |
2427 | .word 0xd7e7e013 ! 154: CASA_R casa [%r31] %asi, %r19, %r11 | |
2428 | splash_cmpr_7_76: | |
2429 | setx 0x87fdbdf81723a54b, %g2, %g1 | |
2430 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2431 | sub %g1, 100, %g1 | |
2432 | .word 0xb1800001 ! 155: WR_STICK_REG_R wr %r0, %r1, %- | |
2433 | .word 0x9350c000 ! 156: RDPR_TT <illegal instruction> | |
2434 | .word 0x3e700001 ! 157: BPVC <illegal instruction> | |
2435 | .word 0xd8d804a0 ! 158: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
2436 | rd %pc, %r19 | |
2437 | add %r19, (ivw_7_77-.+8), %r19 | |
2438 | mov 0x38, %r18 | |
2439 | stxa %r19, [%r18]0x58 | |
2440 | ivw_7_77: | |
2441 | .word 0x91940014 ! 159: WRPR_PIL_R wrpr %r16, %r20, %pil | |
2442 | .word 0x8d902a3b ! 160: WRPR_PSTATE_I wrpr %r0, 0x0a3b, %pstate | |
2443 | .word 0xd8880e80 ! 161: LDUBA_R lduba [%r0, %r0] 0x74, %r12 | |
2444 | .word 0xab84e620 ! 162: WR_CLEAR_SOFTINT_I wr %r19, 0x0620, %clear_softint | |
2445 | splash_lsu_7_78: | |
2446 | setx 0x3c535cf204c2dd61, %r1, %r2 | |
2447 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2448 | .word 0x3d400001 ! 163: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2449 | .word 0xd80fecf5 ! 164: LDUB_I ldub [%r31 + 0x0cf5], %r12 | |
2450 | splash_cmpr_7_79: | |
2451 | setx 0x36e10da788365369, %g2, %g1 | |
2452 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
2453 | sub %g1, 100, %g1 | |
2454 | .word 0xb1800001 ! 165: WR_STICK_REG_R wr %r0, %r1, %- | |
2455 | debug_7_80: | |
2456 | nop | |
2457 | mov 0x38, %r18 | |
2458 | .word 0xfef00b12 ! 166: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2459 | splash_hpstate_7_81: | |
2460 | .word 0x8198249c ! 167: WRHPR_HPSTATE_I wrhpr %r0, 0x049c, %hpstate | |
2461 | splash_htba_7_82: | |
2462 | set 0x80000, %r12 | |
2463 | st %r1, [%r12+%r0] | |
2464 | ta T_CHANGE_HPRIV | |
2465 | set 0x80000, %r12 | |
2466 | .word 0x8b98000c ! 168: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
2467 | splash_tba_7_83: | |
2468 | set 0x120000, %r12 | |
2469 | ld [%r12+%r0], %r1 | |
2470 | ta T_CHANGE_PRIV | |
2471 | set 0x120000, %r12 | |
2472 | .word 0x8b90000c ! 169: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2473 | .word 0x95a0c9d2 ! 170: FDIVd fdivd %f34, %f18, %f10 | |
2474 | splash_lsu_7_84: | |
2475 | setx 0x637148b543569b63, %r1, %r2 | |
2476 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2477 | .word 0x3d400001 ! 171: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2478 | .word 0x87802089 ! 172: WRASI_I wr %r0, 0x0089, %asi | |
2479 | .word 0x8780208b ! 173: WRASI_I wr %r0, 0x008b, %asi | |
2480 | DS_7_85: | |
2481 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
2482 | .word 0xbfefc000 ! 174: RESTORE_R restore %r31, %r0, %r31 | |
2483 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2484 | ta T_CHANGE_NONPRIV ! macro | |
2485 | .word 0xa1a01974 ! 175: FqTOd dis not found | |
2486 | ||
2487 | DS_7_87: | |
2488 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
2489 | allclean | |
2490 | .word 0x97b48307 ! 176: ALIGNADDRESS alignaddr %r18, %r7, %r11 | |
2491 | splash_hpstate_7_88: | |
2492 | .word 0x8198211e ! 177: WRHPR_HPSTATE_I wrhpr %r0, 0x011e, %hpstate | |
2493 | .word 0xa6dcc003 ! 178: SMULcc_R smulcc %r19, %r3, %r19 | |
2494 | .word 0x8780204f ! 179: WRASI_I wr %r0, 0x004f, %asi | |
2495 | splash_hpstate_7_89: | |
2496 | .word 0x81982957 ! 180: WRHPR_HPSTATE_I wrhpr %r0, 0x0957, %hpstate | |
2497 | .word 0xd44fecf5 ! 181: LDSB_I ldsb [%r31 + 0x0cf5], %r10 | |
2498 | debug_7_90: | |
2499 | nop | |
2500 | mov 8, %r18 | |
2501 | .word 0xe2f00492 ! 182: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
2502 | .word 0xd4cfe030 ! 183: LDSBA_I ldsba [%r31, + 0x0030] %asi, %r10 | |
2503 | splash_hpstate_7_91: | |
2504 | .word 0x81982104 ! 184: WRHPR_HPSTATE_I wrhpr %r0, 0x0104, %hpstate | |
2505 | debug_7_92: | |
2506 | nop | |
2507 | mov 0x38, %r18 | |
2508 | .word 0xfef00b12 ! 185: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2509 | splash_cmpr_7_93: | |
2510 | setx 0x51743d697cc8d99d, %g2, %g1 | |
2511 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
2512 | sub %g1, 100, %g1 | |
2513 | .word 0xb1800001 ! 186: WR_STICK_REG_R wr %r0, %r1, %- | |
2514 | DS_7_94: | |
2515 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
2516 | .word 0x9f452e19 ! Random illegal ? | |
2517 | .word 0x93a249c6 ! 1: FDIVd fdivd %f40, %f6, %f40 | |
2518 | .word 0x91a44833 ! 187: FADDs fadds %f17, %f19, %f8 | |
2519 | ta T_CHANGE_HPRIV | |
2520 | mov (7+1), %r10 | |
2521 | set sync_thr_counter1, %r23 | |
2522 | cas [%r23],%g0,%r10 !lock | |
2523 | brnz %r10, cwq_7_95 | |
2524 | rd %asi, %r12 | |
2525 | wr %g0, 0x40, %asi | |
2526 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2527 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2528 | cmp %l1, 1 | |
2529 | bne cwq_7_95 | |
2530 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2531 | sub %l2, 0x40, %l2 | |
2532 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2533 | wr %r12, %g0, %asi | |
2534 | st %g0, [%r23] | |
2535 | cwq_7_95: | |
2536 | ta T_CHANGE_NONHPRIV | |
2537 | .word 0x99414000 ! 188: RDPC rd %pc, %r12 | |
2538 | .word 0xe88fe000 ! 189: LDUBA_I lduba [%r31, + 0x0000] %asi, %r20 | |
2539 | splash_lsu_7_96: | |
2540 | setx 0xe875df3fb9b882dd, %r1, %r2 | |
2541 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2542 | .word 0x3d400001 ! 190: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2543 | .word 0xa7a109e9 ! 191: FDIVq dis not found | |
2544 | ||
2545 | cwp_7_97: | |
2546 | set user_data_start, %o7 | |
2547 | .word 0x93902001 ! 192: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
2548 | splash_decr_7_98: | |
2549 | nop | |
2550 | ta T_CHANGE_HPRIV | |
2551 | mov 8, %r1 | |
2552 | stxa %r6, [%r1] 0x45 | |
2553 | .word 0xa7804006 ! 193: WR_GRAPHICS_STATUS_REG_R wr %r1, %r6, %- | |
2554 | .word 0x879023ff ! 194: WRPR_TT_I wrpr %r0, 0x03ff, %tt | |
2555 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2556 | ta T_CHANGE_NONHPRIV ! macro | |
2557 | .word 0x99a01963 ! 195: FqTOd dis not found | |
2558 | ||
2559 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_100) + 40, 16, 16)) -> intp(2,0,13) | |
2560 | intvec_7_100: | |
2561 | .word 0x39400001 ! 196: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2562 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2563 | ta T_CHANGE_NONHPRIV ! macro | |
2564 | .word 0x99a01970 ! 197: FqTOd dis not found | |
2565 | ||
2566 | intveclr_7_102: | |
2567 | setx 0x0f5faff5762fc8e2, %r1, %r28 | |
2568 | stxa %r28, [%g0] 0x72 | |
2569 | .word 0x25400001 ! 198: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2570 | mondo_7_103: | |
2571 | nop | |
2572 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2573 | ||
2574 | stxa %r16, [%r0+0x3e0] %asi | |
2575 | .word 0x9d918011 ! 199: WRPR_WSTATE_R wrpr %r6, %r17, %wstate | |
2576 | memptr_7_104: | |
2577 | set 0x60540000, %r31 | |
2578 | .word 0x8581ad20 ! 200: WRCCR_I wr %r6, 0x0d20, %ccr | |
2579 | .word 0x8780208a ! 201: WRASI_I wr %r0, 0x008a, %asi | |
2580 | .word 0xa9810005 ! 202: WR_SET_SOFTINT_R wr %r4, %r5, %set_softint | |
2581 | .word 0x8780208b ! 203: WRASI_I wr %r0, 0x008b, %asi | |
2582 | DS_7_105: | |
2583 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
2584 | .word 0xbfefc000 ! 204: RESTORE_R restore %r31, %r0, %r31 | |
2585 | .word 0x26800001 ! 205: BL bl,a <label_0x1> | |
2586 | .word 0xe0d00e80 ! 206: LDSHA_R ldsha [%r0, %r0] 0x74, %r16 | |
2587 | debug_7_106: | |
2588 | nop | |
2589 | rd %pc, %r19 | |
2590 | add %r19, (64+24), %r19 | |
2591 | mov 0x38, %r18 | |
2592 | .word 0xe6f00b12 ! 207: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2593 | debug_7_107: | |
2594 | nop | |
2595 | mov 0x38, %r18 | |
2596 | .word 0xfef00b12 ! 208: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2597 | .word 0x8d903678 ! 209: WRPR_PSTATE_I wrpr %r0, 0x1678, %pstate | |
2598 | .word 0x2c700001 ! 210: BPNEG <illegal instruction> | |
2599 | .word 0x99902004 ! 211: WRPR_CLEANWIN_I wrpr %r0, 0x0004, %cleanwin | |
2600 | mov (7+1), %r10 | |
2601 | ta T_CHANGE_HPRIV | |
2602 | set sync_thr_counter2, %r23 | |
2603 | cas [%r23],%g0,%r10 !lock | |
2604 | brnz %r10, sma_7_108 | |
2605 | rd %asi, %r12 | |
2606 | wr %g0, 0x40, %asi | |
2607 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2608 | set 0x21fff, %g1 | |
2609 | stxa %g1, [%g0 + 0x80] %asi | |
2610 | wr %r12, %g0, %asi | |
2611 | st %g0, [%r23] | |
2612 | sma_7_108: | |
2613 | ta T_CHANGE_NONHPRIV | |
2614 | .word 0xe1e7e006 ! 212: CASA_R casa [%r31] %asi, %r6, %r16 | |
2615 | cwp_7_109: | |
2616 | set user_data_start, %o7 | |
2617 | .word 0x93902004 ! 213: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
2618 | ta T_CHANGE_HPRIV | |
2619 | mov (7+1), %r10 | |
2620 | set sync_thr_counter1, %r23 | |
2621 | cas [%r23],%g0,%r10 !lock | |
2622 | brnz %r10, cwq_7_110 | |
2623 | rd %asi, %r12 | |
2624 | wr %g0, 0x40, %asi | |
2625 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2626 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2627 | cmp %l1, 1 | |
2628 | bne cwq_7_110 | |
2629 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2630 | sub %l2, 0x40, %l2 | |
2631 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2632 | wr %r12, %g0, %asi | |
2633 | st %g0, [%r23] | |
2634 | cwq_7_110: | |
2635 | ta T_CHANGE_NONHPRIV | |
2636 | .word 0x93414000 ! 214: RDPC rd %pc, %r9 | |
2637 | debug_7_111: | |
2638 | nop | |
2639 | mov 8, %r18 | |
2640 | .word 0xe0f00492 ! 215: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
2641 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2642 | ta T_CHANGE_NONPRIV ! macro | |
2643 | .word 0xa96978e8 ! 216: SDIVX_I sdivx %r5, 0xfffff8e8, %r20 | |
2644 | .word 0xa1902004 ! 217: WRPR_GL_I wrpr %r0, 0x0004, %- | |
2645 | debug_7_113: | |
2646 | nop | |
2647 | mov 0x38, %r18 | |
2648 | .word 0xfef00b12 ! 218: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2649 | invalw | |
2650 | mov 0x32, %r30 | |
2651 | .word 0x83d0001e ! 219: Tcc_R te icc_or_xcc, %r0 + %r30 | |
2652 | splash_tba_7_114: | |
2653 | set 0x003d0000, %r12 | |
2654 | st %r1, [%r12+%r0] | |
2655 | ta T_CHANGE_PRIV | |
2656 | set 0x003d0000, %r12 | |
2657 | .word 0x8b90000c ! 220: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2658 | .word 0x9b450000 ! 221: RD_SET_SOFTINT rd %set_softint, %r13 | |
2659 | .word 0xd08008a0 ! 222: LDUWA_R lduwa [%r0, %r0] 0x45, %r8 | |
2660 | splash_hpstate_7_115: | |
2661 | .word 0x819826ce ! 223: WRHPR_HPSTATE_I wrhpr %r0, 0x06ce, %hpstate | |
2662 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_116) + 8, 16, 16)) -> intp(3,0,2) | |
2663 | intvec_7_116: | |
2664 | .word 0x39400001 ! 224: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2665 | ta T_CHANGE_HPRIV | |
2666 | mov (7+1), %r10 | |
2667 | set sync_thr_counter1, %r23 | |
2668 | cas [%r23],%g0,%r10 !lock | |
2669 | brnz %r10, cwq_7_117 | |
2670 | rd %asi, %r12 | |
2671 | wr %g0, 0x40, %asi | |
2672 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2673 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2674 | cmp %l1, 1 | |
2675 | bne cwq_7_117 | |
2676 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2677 | sub %l2, 0x40, %l2 | |
2678 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2679 | wr %r12, %g0, %asi | |
2680 | st %g0, [%r23] | |
2681 | cwq_7_117: | |
2682 | ta T_CHANGE_NONHPRIV | |
2683 | .word 0x93414000 ! 225: RDPC rd %pc, %r9 | |
2684 | .word 0xa153c000 ! 226: RDPR_FQ <illegal instruction> | |
2685 | memptr_7_118: | |
2686 | set 0x60740000, %r31 | |
2687 | .word 0x8580720d ! 227: WRCCR_I wr %r1, 0x120d, %ccr | |
2688 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2689 | ta T_CHANGE_NONHPRIV ! macro | |
2690 | .word 0x95a01960 ! 228: FqTOd dis not found | |
2691 | ||
2692 | .word 0x97a209cb ! 229: FDIVd fdivd %f8, %f42, %f42 | |
2693 | .word 0x87802010 ! 230: WRASI_I wr %r0, 0x0010, %asi | |
2694 | splash_tba_7_120: | |
2695 | set 0x003d0000, %r12 | |
2696 | st %r1, [%r12+%r0] | |
2697 | ta T_CHANGE_PRIV | |
2698 | set 0x003d0000, %r12 | |
2699 | .word 0x8b90000c ! 231: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2700 | splash_cmpr_7_121: | |
2701 | setx 0x44c706122c4954a2, %g2, %g1 | |
2702 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
2703 | sub %g1, 100, %g1 | |
2704 | .word 0xb1800001 ! 232: WR_STICK_REG_R wr %r0, %r1, %- | |
2705 | mov (7+1), %r10 | |
2706 | ta T_CHANGE_HPRIV | |
2707 | set sync_thr_counter2, %r23 | |
2708 | cas [%r23],%g0,%r10 !lock | |
2709 | brnz %r10, sma_7_122 | |
2710 | rd %asi, %r12 | |
2711 | wr %g0, 0x40, %asi | |
2712 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2713 | set 0x21fff, %g1 | |
2714 | stxa %g1, [%g0 + 0x80] %asi | |
2715 | wr %r12, %g0, %asi | |
2716 | st %g0, [%r23] | |
2717 | sma_7_122: | |
2718 | ta T_CHANGE_NONHPRIV | |
2719 | .word 0xd7e7e014 ! 233: CASA_R casa [%r31] %asi, %r20, %r11 | |
2720 | .word 0xd737e19a ! 234: STQF_I - %f11, [0x019a, %r31] | |
2721 | splash_hpstate_7_123: | |
2722 | .word 0x81982a26 ! 235: WRHPR_HPSTATE_I wrhpr %r0, 0x0a26, %hpstate | |
2723 | .word 0x9193778b ! 236: WRPR_PIL_I wrpr %r13, 0x178b, %pil | |
2724 | change_to_randtl_7_124: | |
2725 | ta T_CHANGE_PRIV ! macro | |
2726 | done_change_to_randtl_7_124: | |
2727 | .word 0x8f902002 ! 237: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2728 | splash_cmpr_7_125: | |
2729 | setx 0xc5681c97d66bcf2a, %g2, %g1 | |
2730 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
2731 | sub %g1, 100, %g1 | |
2732 | .word 0xb1800001 ! 238: WR_STICK_REG_R wr %r0, %r1, %- | |
2733 | invalw | |
2734 | mov 0x30, %r30 | |
2735 | .word 0x91d0001e ! 239: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2736 | ta T_CHANGE_HPRIV | |
2737 | mov (7+1), %r10 | |
2738 | set sync_thr_counter1, %r23 | |
2739 | cas [%r23],%g0,%r10 !lock | |
2740 | brnz %r10, cwq_7_126 | |
2741 | rd %asi, %r12 | |
2742 | wr %g0, 0x40, %asi | |
2743 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2744 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2745 | cmp %l1, 1 | |
2746 | bne cwq_7_126 | |
2747 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2748 | sub %l2, 0x40, %l2 | |
2749 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2750 | wr %r12, %g0, %asi | |
2751 | st %g0, [%r23] | |
2752 | cwq_7_126: | |
2753 | ta T_CHANGE_NONHPRIV | |
2754 | .word 0xa5414000 ! 240: RDPC rd %pc, %r18 | |
2755 | .word 0xe91fc000 ! 241: LDDF_R ldd [%r31, %r0], %f20 | |
2756 | change_to_randtl_7_127: | |
2757 | ta T_CHANGE_HPRIV ! macro | |
2758 | done_change_to_randtl_7_127: | |
2759 | .word 0x8f902002 ! 242: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
2760 | .word 0x9ba449d0 ! 243: FDIVd fdivd %f48, %f16, %f44 | |
2761 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
2762 | ta T_CHANGE_NONPRIV ! macro | |
2763 | .word 0x9b69a2f8 ! 244: SDIVX_I sdivx %r6, 0x02f8, %r13 | |
2764 | .word 0xe2800be0 ! 245: LDUWA_R lduwa [%r0, %r0] 0x5f, %r17 | |
2765 | cwp_7_129: | |
2766 | set user_data_start, %o7 | |
2767 | .word 0x93902006 ! 246: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
2768 | .word 0x91d02034 ! 247: Tcc_I ta icc_or_xcc, %r0 + 52 | |
2769 | .word 0x30700001 ! 248: BPA <illegal instruction> | |
2770 | .word 0x8780208b ! 249: WRASI_I wr %r0, 0x008b, %asi | |
2771 | splash_cmpr_7_130: | |
2772 | setx 0x3c29f275295171d9, %g2, %g1 | |
2773 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2774 | sub %g1, 100, %g1 | |
2775 | .word 0xb1800001 ! 250: WR_STICK_REG_R wr %r0, %r1, %- | |
2776 | change_to_randtl_7_131: | |
2777 | ta T_CHANGE_HPRIV ! macro | |
2778 | done_change_to_randtl_7_131: | |
2779 | .word 0x8f902001 ! 251: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2780 | .word 0xe31fc000 ! 252: LDDF_R ldd [%r31, %r0], %f17 | |
2781 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_7_132)+24, 16, 16)) -> intp(7,1,3) | |
2782 | xir_7_132: | |
2783 | .word 0xa98466d5 ! 253: WR_SET_SOFTINT_I wr %r17, 0x06d5, %set_softint | |
2784 | ta T_CHANGE_HPRIV | |
2785 | mov (7+1), %r10 | |
2786 | set sync_thr_counter1, %r23 | |
2787 | cas [%r23],%g0,%r10 !lock | |
2788 | brnz %r10, cwq_7_133 | |
2789 | rd %asi, %r12 | |
2790 | wr %g0, 0x40, %asi | |
2791 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2792 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2793 | cmp %l1, 1 | |
2794 | bne cwq_7_133 | |
2795 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2796 | sub %l2, 0x40, %l2 | |
2797 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2798 | wr %r12, %g0, %asi | |
2799 | st %g0, [%r23] | |
2800 | cwq_7_133: | |
2801 | ta T_CHANGE_NONHPRIV | |
2802 | .word 0x9b414000 ! 254: RDPC rd %pc, %r13 | |
2803 | DS_7_134: | |
2804 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
2805 | pdist %f28, %f30, %f22 | |
2806 | .word 0xa5b14314 ! 255: ALIGNADDRESS alignaddr %r5, %r20, %r18 | |
2807 | setx 0x4c367f32a0434c87, %r1, %r28 | |
2808 | stxa %r28, [%g0] 0x73 | |
2809 | intvec_7_135: | |
2810 | .word 0x39400001 ! 256: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
2811 | .word 0x879022ce ! 257: WRPR_TT_I wrpr %r0, 0x02ce, %tt | |
2812 | splash_tba_7_136: | |
2813 | set 0x120000, %r12 | |
2814 | st %r1, [%r12+%r0] | |
2815 | ta T_CHANGE_PRIV | |
2816 | set 0x120000, %r12 | |
2817 | .word 0x8b90000c ! 258: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2818 | .word 0x9550c000 ! 259: RDPR_TT rdpr %tt, %r10 | |
2819 | mov (7+1), %r10 | |
2820 | ta T_CHANGE_HPRIV | |
2821 | set sync_thr_counter2, %r23 | |
2822 | cas [%r23],%g0,%r10 !lock | |
2823 | brnz %r10, sma_7_137 | |
2824 | rd %asi, %r12 | |
2825 | wr %g0, 0x40, %asi | |
2826 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
2827 | set 0x21fff, %g1 | |
2828 | stxa %g1, [%g0 + 0x80] %asi | |
2829 | wr %r12, %g0, %asi | |
2830 | st %g0, [%r23] | |
2831 | sma_7_137: | |
2832 | ta T_CHANGE_NONHPRIV | |
2833 | .word 0xd5e7e001 ! 260: CASA_R casa [%r31] %asi, %r1, %r10 | |
2834 | .word 0x8d90290f ! 261: WRPR_PSTATE_I wrpr %r0, 0x090f, %pstate | |
2835 | DS_7_138: | |
2836 | .word 0x9ba309cb ! 1: FDIVd fdivd %f12, %f42, %f44 | |
2837 | .word 0xbfefc000 ! 262: RESTORE_R restore %r31, %r0, %r31 | |
2838 | splash_tba_7_139: | |
2839 | set 0x120000, %r12 | |
2840 | ld [%r12+%r0], %r1 | |
2841 | ta T_CHANGE_PRIV | |
2842 | set 0x120000, %r12 | |
2843 | .word 0x8b90000c ! 263: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2844 | DS_7_140: | |
2845 | nop | |
2846 | not %g0, %r12 | |
2847 | jmp %r12 | |
2848 | .word 0x9d902001 ! 264: WRPR_WSTATE_I wrpr %r0, 0x0001, %wstate | |
2849 | tagged_7_141: | |
2850 | taddcctv %r4, 0x181b, %r3 | |
2851 | .word 0xd407e18a ! 265: LDUW_I lduw [%r31 + 0x018a], %r10 | |
2852 | .word 0xd46fe18a ! 266: LDSTUB_I ldstub %r10, [%r31 + 0x018a] | |
2853 | .word 0xa7a00161 ! 267: FABSq dis not found | |
2854 | ||
2855 | .word 0x87902316 ! 268: WRPR_TT_I wrpr %r0, 0x0316, %tt | |
2856 | change_to_randtl_7_142: | |
2857 | ta T_CHANGE_PRIV ! macro | |
2858 | done_change_to_randtl_7_142: | |
2859 | .word 0x8f902001 ! 269: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
2860 | .word 0x93a309d2 ! 270: FDIVd fdivd %f12, %f18, %f40 | |
2861 | .word 0xd02fe18a ! 271: STB_I stb %r8, [%r31 + 0x018a] | |
2862 | .word 0x95450000 ! 272: RD_SET_SOFTINT rd %set_softint, %r10 | |
2863 | splash_tba_7_143: | |
2864 | set 0x120000, %r12 | |
2865 | ld [%r12+%r0], %r1 | |
2866 | ta T_CHANGE_PRIV | |
2867 | set 0x120000, %r12 | |
2868 | .word 0x8b90000c ! 273: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2869 | .word 0x8790237b ! 274: WRPR_TT_I wrpr %r0, 0x037b, %tt | |
2870 | ta T_CHANGE_HPRIV | |
2871 | mov (7+1), %r10 | |
2872 | set sync_thr_counter1, %r23 | |
2873 | cas [%r23],%g0,%r10 !lock | |
2874 | brnz %r10, cwq_7_144 | |
2875 | rd %asi, %r12 | |
2876 | wr %g0, 0x40, %asi | |
2877 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2878 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2879 | cmp %l1, 1 | |
2880 | bne cwq_7_144 | |
2881 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2882 | sub %l2, 0x40, %l2 | |
2883 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2884 | wr %r12, %g0, %asi | |
2885 | st %g0, [%r23] | |
2886 | cwq_7_144: | |
2887 | ta T_CHANGE_NONHPRIV | |
2888 | .word 0x97414000 ! 275: RDPC rd %pc, %r11 | |
2889 | splash_decr_7_145: | |
2890 | nop | |
2891 | ta T_CHANGE_HPRIV | |
2892 | mov 8, %r1 | |
2893 | stxa %r6, [%r1] 0x45 | |
2894 | .word 0xa7820011 ! 276: WR_GRAPHICS_STATUS_REG_R wr %r8, %r17, %- | |
2895 | nop | |
2896 | mov 0x80, %g3 | |
2897 | stxa %g3, [%g3] 0x57 | |
2898 | .word 0xe45fc000 ! 277: LDX_R ldx [%r31 + %r0], %r18 | |
2899 | .word 0x2e800001 ! 278: BVS bvs,a <label_0x1> | |
2900 | debug_7_146: | |
2901 | nop | |
2902 | mov 0x38, %r18 | |
2903 | .word 0xfef00b12 ! 279: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
2904 | debug_7_147: | |
2905 | nop | |
2906 | mov 8, %r18 | |
2907 | .word 0xdcf00492 ! 280: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
2908 | splash_tba_7_148: | |
2909 | set 0x120000, %r12 | |
2910 | st %r1, [%r12+%r0] | |
2911 | ta T_CHANGE_PRIV | |
2912 | set 0x120000, %r12 | |
2913 | .word 0x8b90000c ! 281: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2914 | .word 0x8790214b ! 282: WRPR_TT_I wrpr %r0, 0x014b, %tt | |
2915 | splash_tba_7_149: | |
2916 | set 0x120000, %r12 | |
2917 | ld [%r12+%r0], %r1 | |
2918 | ta T_CHANGE_PRIV | |
2919 | set 0x120000, %r12 | |
2920 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
2921 | intveclr_7_150: | |
2922 | setx 0x73bdac4f7962a5e2, %r1, %r28 | |
2923 | stxa %r28, [%g0] 0x72 | |
2924 | .word 0x25400001 ! 284: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
2925 | nop | |
2926 | mov 0x80, %g3 | |
2927 | stxa %g3, [%g3] 0x5f | |
2928 | .word 0xe45fc000 ! 285: LDX_R ldx [%r31 + %r0], %r18 | |
2929 | debug_7_151: | |
2930 | nop | |
2931 | rd %pc, %r19 | |
2932 | add %r19, (64+48), %r19 | |
2933 | mov 0x38, %r18 | |
2934 | .word 0xe6f00b12 ! 286: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
2935 | .word 0xe4800c60 ! 287: LDUWA_R lduwa [%r0, %r0] 0x63, %r18 | |
2936 | rd %pc, %r19 | |
2937 | add %r19, (ivw_7_152-.+24), %r19 | |
2938 | mov 0x38, %r18 | |
2939 | stxa %r19, [%r18]0x58 | |
2940 | ivw_7_152: | |
2941 | .word 0x91910008 ! 288: WRPR_PIL_R wrpr %r4, %r8, %pil | |
2942 | splash_cmpr_7_153: | |
2943 | setx 0x123a578900ab6270, %g2, %g1 | |
2944 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
2945 | sub %g1, 100, %g1 | |
2946 | .word 0xb1800001 ! 289: WR_STICK_REG_R wr %r0, %r1, %- | |
2947 | splash_cmpr_7_154: | |
2948 | setx 0x0a8fb6b51dcd1444, %g2, %g1 | |
2949 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
2950 | sub %g1, 100, %g1 | |
2951 | .word 0xb1800001 ! 290: WR_STICK_REG_R wr %r0, %r1, %- | |
2952 | .word 0x8d802000 ! 291: WRFPRS_I wr %r0, 0x0000, %fprs | |
2953 | memptr_7_155: | |
2954 | set 0x60140000, %r31 | |
2955 | .word 0x85843adc ! 292: WRCCR_I wr %r16, 0x1adc, %ccr | |
2956 | mondo_7_156: | |
2957 | nop | |
2958 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
2959 | ||
2960 | stxa %r6, [%r0+0x3c0] %asi | |
2961 | .word 0x9d91400c ! 293: WRPR_WSTATE_R wrpr %r5, %r12, %wstate | |
2962 | ta T_CHANGE_HPRIV | |
2963 | mov (7+1), %r10 | |
2964 | set sync_thr_counter1, %r23 | |
2965 | cas [%r23],%g0,%r10 !lock | |
2966 | brnz %r10, cwq_7_157 | |
2967 | rd %asi, %r12 | |
2968 | wr %g0, 0x40, %asi | |
2969 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
2970 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
2971 | cmp %l1, 1 | |
2972 | bne cwq_7_157 | |
2973 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
2974 | sub %l2, 0x40, %l2 | |
2975 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
2976 | wr %r12, %g0, %asi | |
2977 | st %g0, [%r23] | |
2978 | cwq_7_157: | |
2979 | ta T_CHANGE_NONHPRIV | |
2980 | .word 0x95414000 ! 294: RDPC rd %pc, %r10 | |
2981 | DS_7_158: | |
2982 | nop | |
2983 | not %g0, %r12 | |
2984 | jmp %r12 | |
2985 | .word 0x9d902002 ! 295: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
2986 | .word 0x81510000 ! 296: RDPR_TICK rdpr %tick, %r0 | |
2987 | otherw | |
2988 | mov 0xb1, %r30 | |
2989 | .word 0x91d0001e ! 297: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
2990 | splash_lsu_7_159: | |
2991 | setx 0xd23d8241738d6fb5, %r1, %r2 | |
2992 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
2993 | .word 0x3d400001 ! 298: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
2994 | .word 0x91d020b2 ! 299: Tcc_I ta icc_or_xcc, %r0 + 178 | |
2995 | splash_htba_7_160: | |
2996 | set 0x80000, %r12 | |
2997 | st %r1, [%r12+%r0] | |
2998 | ta T_CHANGE_HPRIV | |
2999 | set 0x80000, %r12 | |
3000 | .word 0x8b98000c ! 300: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3001 | splash_hpstate_7_161: | |
3002 | .word 0x8198225d ! 301: WRHPR_HPSTATE_I wrhpr %r0, 0x025d, %hpstate | |
3003 | .word 0x8d903da4 ! 302: WRPR_PSTATE_I wrpr %r0, 0x1da4, %pstate | |
3004 | splash_tba_7_162: | |
3005 | set 0x003d0000, %r12 | |
3006 | st %r1, [%r12+%r0] | |
3007 | ta T_CHANGE_PRIV | |
3008 | set 0x003d0000, %r12 | |
3009 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
3010 | setx 0x107f6b920127dec9, %r1, %r28 | |
3011 | stxa %r28, [%g0] 0x73 | |
3012 | intvec_7_163: | |
3013 | .word 0x39400001 ! 304: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3014 | cwp_7_164: | |
3015 | set user_data_start, %o7 | |
3016 | .word 0x93902000 ! 305: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
3017 | nop | |
3018 | mov 0x80, %g3 | |
3019 | stxa %g3, [%g3] 0x57 | |
3020 | .word 0xe05fc000 ! 306: LDX_R ldx [%r31 + %r0], %r16 | |
3021 | splash_cmpr_7_165: | |
3022 | setx 0xb7ca20804b5a9ac2, %g2, %g1 | |
3023 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3024 | sub %g1, 100, %g1 | |
3025 | .word 0xb1800001 ! 307: WR_STICK_REG_R wr %r0, %r1, %- | |
3026 | splash_tba_7_166: | |
3027 | set 0x120000, %r12 | |
3028 | st %r1, [%r12+%r0] | |
3029 | ta T_CHANGE_PRIV | |
3030 | set 0x120000, %r12 | |
3031 | .word 0x8b90000c ! 308: WRPR_TBA_R wrpr %r0, %r12, %tba | |
3032 | splash_hpstate_7_167: | |
3033 | .word 0x81982404 ! 309: WRHPR_HPSTATE_I wrhpr %r0, 0x0404, %hpstate | |
3034 | .word 0xe03fc000 ! 310: STD_R std %r16, [%r31 + %r0] | |
3035 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3036 | ta T_CHANGE_NONPRIV ! macro | |
3037 | .word 0x9ba01973 ! 311: FqTOd dis not found | |
3038 | ||
3039 | mondo_7_169: | |
3040 | nop | |
3041 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3042 | ||
3043 | stxa %r2, [%r0+0x3c0] %asi | |
3044 | .word 0x9d944012 ! 312: WRPR_WSTATE_R wrpr %r17, %r18, %wstate | |
3045 | splash_cmpr_7_170: | |
3046 | setx 0x68fa7f565041f899, %g2, %g1 | |
3047 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3048 | sub %g1, 100, %g1 | |
3049 | .word 0xb1800001 ! 313: WR_STICK_REG_R wr %r0, %r1, %- | |
3050 | change_to_randtl_7_171: | |
3051 | ta T_CHANGE_HPRIV ! macro | |
3052 | done_change_to_randtl_7_171: | |
3053 | .word 0x8f902002 ! 314: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3054 | DS_7_172: | |
3055 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
3056 | .word 0xbfefc000 ! 315: RESTORE_R restore %r31, %r0, %r31 | |
3057 | ta T_CHANGE_HPRIV | |
3058 | mov (7+1), %r10 | |
3059 | set sync_thr_counter1, %r23 | |
3060 | cas [%r23],%g0,%r10 !lock | |
3061 | brnz %r10, cwq_7_173 | |
3062 | rd %asi, %r12 | |
3063 | wr %g0, 0x40, %asi | |
3064 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3065 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3066 | cmp %l1, 1 | |
3067 | bne cwq_7_173 | |
3068 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3069 | sub %l2, 0x40, %l2 | |
3070 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3071 | wr %r12, %g0, %asi | |
3072 | st %g0, [%r23] | |
3073 | cwq_7_173: | |
3074 | ta T_CHANGE_NONHPRIV | |
3075 | .word 0xa3414000 ! 316: RDPC rd %pc, %r17 | |
3076 | splash_hpstate_7_174: | |
3077 | .word 0x8198242d ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x042d, %hpstate | |
3078 | .word 0xdad004a0 ! 318: LDSHA_R ldsha [%r0, %r0] 0x25, %r13 | |
3079 | setx 0x49c3a673420f0aea, %r1, %r28 | |
3080 | stxa %r28, [%g0] 0x73 | |
3081 | intvec_7_175: | |
3082 | .word 0x39400001 ! 319: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3083 | cwp_7_176: | |
3084 | set user_data_start, %o7 | |
3085 | .word 0x93902002 ! 320: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
3086 | splash_hpstate_7_177: | |
3087 | .word 0x819820bf ! 321: WRHPR_HPSTATE_I wrhpr %r0, 0x00bf, %hpstate | |
3088 | mondo_7_178: | |
3089 | nop | |
3090 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3091 | ||
3092 | stxa %r0, [%r0+0x3d0] %asi | |
3093 | .word 0x9d94c013 ! 322: WRPR_WSTATE_R wrpr %r19, %r19, %wstate | |
3094 | nop | |
3095 | mov 0x80, %g3 | |
3096 | stxa %g3, [%g3] 0x57 | |
3097 | .word 0xda5fc000 ! 323: LDX_R ldx [%r31 + %r0], %r13 | |
3098 | .word 0x91a009d0 ! 324: FDIVd fdivd %f0, %f16, %f8 | |
3099 | .word 0x879022ed ! 325: WRPR_TT_I wrpr %r0, 0x02ed, %tt | |
3100 | debug_7_179: | |
3101 | nop | |
3102 | mov 0x38, %r18 | |
3103 | .word 0xfef00b12 ! 326: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3104 | .word 0x99a0056a ! 327: FSQRTq fsqrt | |
3105 | intveclr_7_180: | |
3106 | setx 0xb578fd60232cb180, %r1, %r28 | |
3107 | stxa %r28, [%g0] 0x72 | |
3108 | .word 0x25400001 ! 328: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3109 | mondo_7_181: | |
3110 | nop | |
3111 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3112 | ||
3113 | stxa %r13, [%r0+0x3e0] %asi | |
3114 | .word 0x9d920005 ! 329: WRPR_WSTATE_R wrpr %r8, %r5, %wstate | |
3115 | .word 0xd2c804a0 ! 330: LDSBA_R ldsba [%r0, %r0] 0x25, %r9 | |
3116 | cwp_7_182: | |
3117 | set user_data_start, %o7 | |
3118 | .word 0x93902003 ! 331: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
3119 | debug_7_183: | |
3120 | nop | |
3121 | mov 8, %r18 | |
3122 | .word 0xd2f00492 ! 332: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
3123 | invalw | |
3124 | mov 0xb5, %r30 | |
3125 | .word 0x91d0001e ! 333: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3126 | cwp_7_184: | |
3127 | set user_data_start, %o7 | |
3128 | .word 0x93902004 ! 334: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
3129 | .word 0x8790213c ! 335: WRPR_TT_I wrpr %r0, 0x013c, %tt | |
3130 | splash_cmpr_7_185: | |
3131 | setx 0x5a292111461125bd, %g2, %g1 | |
3132 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
3133 | sub %g1, 100, %g1 | |
3134 | .word 0xb1800001 ! 336: WR_STICK_REG_R wr %r0, %r1, %- | |
3135 | .word 0x87802020 ! 337: WRASI_I wr %r0, 0x0020, %asi | |
3136 | tagged_7_186: | |
3137 | tsubcctv %r19, 0x18a4, %r14 | |
3138 | .word 0xd207e551 ! 338: LDUW_I lduw [%r31 + 0x0551], %r9 | |
3139 | .word 0x34700001 ! 339: BPG <illegal instruction> | |
3140 | cwp_7_187: | |
3141 | set user_data_start, %o7 | |
3142 | .word 0x93902005 ! 340: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
3143 | .word 0xd277e551 ! 341: STX_I stx %r9, [%r31 + 0x0551] | |
3144 | change_to_randtl_7_188: | |
3145 | ta T_CHANGE_PRIV ! macro | |
3146 | done_change_to_randtl_7_188: | |
3147 | .word 0x8f902001 ! 342: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3148 | .word 0xd297e000 ! 343: LDUHA_I lduha [%r31, + 0x0000] %asi, %r9 | |
3149 | intveclr_7_189: | |
3150 | setx 0x1ae7f1002c59edde, %r1, %r28 | |
3151 | stxa %r28, [%g0] 0x72 | |
3152 | .word 0x25400001 ! 344: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3153 | DS_7_190: | |
3154 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
3155 | .word 0xbfe7c000 ! 345: SAVE_R save %r31, %r0, %r31 | |
3156 | splash_htba_7_191: | |
3157 | set 0x80000, %r12 | |
3158 | ld [%r12+%r0], %r1 | |
3159 | ta T_CHANGE_HPRIV | |
3160 | set 0x80000, %r12 | |
3161 | .word 0x8b98000c ! 346: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3162 | debug_7_192: | |
3163 | nop | |
3164 | mov 8, %r18 | |
3165 | .word 0xe2f00492 ! 347: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
3166 | nop | |
3167 | mov 0x80, %g3 | |
3168 | stxa %g3, [%g3] 0x57 | |
3169 | .word 0xd25fc000 ! 348: LDX_R ldx [%r31 + %r0], %r9 | |
3170 | tagged_7_193: | |
3171 | taddcctv %r3, 0x1b9e, %r8 | |
3172 | .word 0xd207e551 ! 349: LDUW_I lduw [%r31 + 0x0551], %r9 | |
3173 | tagged_7_194: | |
3174 | tsubcctv %r20, 0x18f0, %r16 | |
3175 | .word 0xd207e551 ! 350: LDUW_I lduw [%r31 + 0x0551], %r9 | |
3176 | tagged_7_195: | |
3177 | taddcctv %r3, 0x1d76, %r18 | |
3178 | .word 0xd207e551 ! 351: LDUW_I lduw [%r31 + 0x0551], %r9 | |
3179 | .word 0x97a00167 ! 352: FABSq dis not found | |
3180 | ||
3181 | .word 0x919027dc ! 353: WRPR_PIL_I wrpr %r0, 0x07dc, %pil | |
3182 | .word 0x9f802a8a ! 354: SIR sir 0x0a8a | |
3183 | intveclr_7_196: | |
3184 | setx 0x0eab14a0e777c5e5, %r1, %r28 | |
3185 | stxa %r28, [%g0] 0x72 | |
3186 | .word 0x25400001 ! 355: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3187 | .word 0xa7a00572 ! 356: FSQRTq fsqrt | |
3188 | .word 0xe0800b00 ! 357: LDUWA_R lduwa [%r0, %r0] 0x58, %r16 | |
3189 | otherw | |
3190 | mov 0xb0, %r30 | |
3191 | .word 0x91d0001e ! 358: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3192 | .word 0xe027f503 ! 359: STW_I stw %r16, [%r31 + 0xfffff503] | |
3193 | .word 0x87902372 ! 360: WRPR_TT_I wrpr %r0, 0x0372, %tt | |
3194 | .word 0x879021f7 ! 361: WRPR_TT_I wrpr %r0, 0x01f7, %tt | |
3195 | debug_7_197: | |
3196 | nop | |
3197 | mov 0x38, %r18 | |
3198 | .word 0xfef00b12 ! 362: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3199 | .word 0xe08008a0 ! 363: LDUWA_R lduwa [%r0, %r0] 0x45, %r16 | |
3200 | .word 0x91933acf ! 364: WRPR_PIL_I wrpr %r12, 0x1acf, %pil | |
3201 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_7_198) + 16, 16, 16)) -> intp(0,0,1) | |
3202 | intvec_7_198: | |
3203 | .word 0x39400001 ! 365: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3204 | DS_7_199: | |
3205 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
3206 | .word 0xbfefc000 ! 366: RESTORE_R restore %r31, %r0, %r31 | |
3207 | rd %pc, %r19 | |
3208 | add %r19, (ivw_7_200-.+48), %r19 | |
3209 | mov 0x38, %r18 | |
3210 | stxa %r19, [%r18]0x58 | |
3211 | ivw_7_200: | |
3212 | .word 0x91910007 ! 367: WRPR_PIL_R wrpr %r4, %r7, %pil | |
3213 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3214 | ta T_CHANGE_NONHPRIV ! macro | |
3215 | .word 0x99a0196a ! 368: FqTOd dis not found | |
3216 | ||
3217 | splash_cmpr_7_202: | |
3218 | setx 0xaa0838288089d403, %g2, %g1 | |
3219 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3220 | sub %g1, 100, %g1 | |
3221 | .word 0xb1800001 ! 369: WR_STICK_REG_R wr %r0, %r1, %- | |
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_203 | |
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_203: | |
3235 | ta T_CHANGE_NONHPRIV | |
3236 | .word 0xd1e7e010 ! 370: CASA_R casa [%r31] %asi, %r16, %r8 | |
3237 | donret_7_204: | |
3238 | nop | |
3239 | rd %pc, %r12 | |
3240 | add %r12, (donretarg_7_204-donret_7_204), %r12 | |
3241 | mov 0x38, %r18 | |
3242 | stxa %r12, [%r18]0x58 | |
3243 | add %r12, 0x4, %r11 | |
3244 | wrpr %g0, 0x3, %tl | |
3245 | wrpr %g0, %r12, %tpc | |
3246 | wrpr %g0, %r11, %tnpc | |
3247 | wrpr %g0, %r13, %tstate | |
3248 | wrhpr %g0, %r14, %htstate | |
3249 | retry | |
3250 | donretarg_7_204: | |
3251 | .word 0xd0fff5d1 ! 371: SWAPA_I swapa %r8, [%r31 + 0xfffff5d1] %asi | |
3252 | .word 0x8d903e2b ! 372: WRPR_PSTATE_I wrpr %r0, 0x1e2b, %pstate | |
3253 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3254 | ta T_CHANGE_NONHPRIV ! macro | |
3255 | .word 0x9568ab9e ! 373: SDIVX_I sdivx %r2, 0x0b9e, %r10 | |
3256 | .word 0xd6d7e030 ! 374: LDSHA_I ldsha [%r31, + 0x0030] %asi, %r11 | |
3257 | .word 0x879022a6 ! 375: WRPR_TT_I wrpr %r0, 0x02a6, %tt | |
3258 | .word 0xd6900e40 ! 376: LDUHA_R lduha [%r0, %r0] 0x72, %r11 | |
3259 | .word 0xd6800c40 ! 377: LDUWA_R lduwa [%r0, %r0] 0x62, %r11 | |
3260 | memptr_7_206: | |
3261 | set 0x60140000, %r31 | |
3262 | .word 0x8584a990 ! 378: WRCCR_I wr %r18, 0x0990, %ccr | |
3263 | .word 0xd727c000 ! 379: STF_R st %f11, [%r0, %r31] | |
3264 | DS_7_207: | |
3265 | .word 0x91a4c9c6 ! 1: FDIVd fdivd %f50, %f6, %f8 | |
3266 | allclean | |
3267 | .word 0xa7b40302 ! 380: ALIGNADDRESS alignaddr %r16, %r2, %r19 | |
3268 | splash_hpstate_7_208: | |
3269 | .word 0x81982e54 ! 381: WRHPR_HPSTATE_I wrhpr %r0, 0x0e54, %hpstate | |
3270 | intveclr_7_209: | |
3271 | setx 0x39a337264654b5f0, %r1, %r28 | |
3272 | stxa %r28, [%g0] 0x72 | |
3273 | .word 0x25400001 ! 382: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3274 | memptr_7_210: | |
3275 | set user_data_start, %r31 | |
3276 | .word 0x8582b6e4 ! 383: WRCCR_I wr %r10, 0x16e4, %ccr | |
3277 | .word 0xab820013 ! 384: WR_CLEAR_SOFTINT_R wr %r8, %r19, %clear_softint | |
3278 | splash_cmpr_7_211: | |
3279 | setx 0x8f86d551b2f57e54, %g2, %g1 | |
3280 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
3281 | sub %g1, 100, %g1 | |
3282 | .word 0xb1800001 ! 385: WR_STICK_REG_R wr %r0, %r1, %- | |
3283 | .word 0xe0c80e60 ! 386: LDSBA_R ldsba [%r0, %r0] 0x73, %r16 | |
3284 | .word 0xa1a409c6 ! 387: FDIVd fdivd %f16, %f6, %f16 | |
3285 | .word 0x91d02033 ! 388: Tcc_I ta icc_or_xcc, %r0 + 51 | |
3286 | splash_htba_7_212: | |
3287 | set 0x80000, %r12 | |
3288 | st %r1, [%r12+%r0] | |
3289 | ta T_CHANGE_HPRIV | |
3290 | set 0x80000, %r12 | |
3291 | .word 0x8b98000c ! 389: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3292 | change_to_randtl_7_213: | |
3293 | ta T_CHANGE_HPRIV ! macro | |
3294 | done_change_to_randtl_7_213: | |
3295 | .word 0x8f902002 ! 390: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3296 | .word 0x91d02035 ! 391: Tcc_I ta icc_or_xcc, %r0 + 53 | |
3297 | splash_lsu_7_214: | |
3298 | setx 0x990abf9c397de9ef, %r1, %r2 | |
3299 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3300 | .word 0x3d400001 ! 392: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3301 | setx 0x37003d0a2c3c6891, %r1, %r28 | |
3302 | stxa %r28, [%g0] 0x73 | |
3303 | intvec_7_215: | |
3304 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3305 | intveclr_7_216: | |
3306 | setx 0x8e4d499e66c4e69a, %r1, %r28 | |
3307 | stxa %r28, [%g0] 0x72 | |
3308 | .word 0x25400001 ! 394: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3309 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3310 | ta T_CHANGE_NONHPRIV ! macro | |
3311 | .word 0x99a01967 ! 395: FqTOd dis not found | |
3312 | ||
3313 | .word 0xd097e010 ! 396: LDUHA_I lduha [%r31, + 0x0010] %asi, %r8 | |
3314 | .word 0xd09004a0 ! 397: LDUHA_R lduha [%r0, %r0] 0x25, %r8 | |
3315 | debug_7_218: | |
3316 | nop | |
3317 | mov 0x38, %r18 | |
3318 | .word 0xfef00b12 ! 398: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3319 | splash_hpstate_7_219: | |
3320 | .word 0x819821cf ! 399: WRHPR_HPSTATE_I wrhpr %r0, 0x01cf, %hpstate | |
3321 | DS_7_220: | |
3322 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
3323 | pdist %f0, %f16, %f12 | |
3324 | .word 0x99b04303 ! 400: ALIGNADDRESS alignaddr %r1, %r3, %r12 | |
3325 | nop | |
3326 | nop | |
3327 | setx join_lbl_0_0, %g1, %g2 | |
3328 | jmp %g2 | |
3329 | nop | |
3330 | fork_lbl_0_7: | |
3331 | .word 0x95b00fe0 ! 1: FONES e %f10 | |
3332 | splash_lsu_6_0: | |
3333 | setx 0xca35f9bcab9df5e7, %r1, %r2 | |
3334 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3335 | .word 0x3d400001 ! 2: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3336 | .word 0x83d02035 ! 3: Tcc_I te icc_or_xcc, %r0 + 53 | |
3337 | .word 0x8780204f ! 4: WRASI_I wr %r0, 0x004f, %asi | |
3338 | debug_6_1: | |
3339 | nop | |
3340 | rd %pc, %r19 | |
3341 | add %r19, (64+48), %r19 | |
3342 | mov 0x38, %r18 | |
3343 | .word 0xe6f00b12 ! 5: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3344 | debug_6_2: | |
3345 | nop | |
3346 | mov 0x38, %r18 | |
3347 | .word 0xfef00b12 ! 6: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3348 | tagged_6_3: | |
3349 | taddcctv %r6, 0x1a40, %r10 | |
3350 | .word 0xe807f373 ! 7: LDUW_I lduw [%r31 + 0xfffff373], %r20 | |
3351 | splash_cmpr_6_4: | |
3352 | setx 0x5a3ca50fb7a31f76, %g2, %g1 | |
3353 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3354 | sub %g1, 100, %g1 | |
3355 | .word 0xb1800001 ! 8: WR_STICK_REG_R wr %r0, %r1, %- | |
3356 | .word 0x93d02032 ! 9: Tcc_I tne icc_or_xcc, %r0 + 50 | |
3357 | .word 0xe88008a0 ! 10: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
3358 | .word 0xe88008a0 ! 11: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
3359 | DS_6_5: | |
3360 | .word 0x93a089d1 ! 1: FDIVd fdivd %f2, %f48, %f40 | |
3361 | .word 0xbfe7c000 ! 12: SAVE_R save %r31, %r0, %r31 | |
3362 | .word 0xd85ff373 ! 13: LDX_I ldx [%r31 + 0xfffff373], %r12 | |
3363 | .word 0x8d802000 ! 14: WRFPRS_I wr %r0, 0x0000, %fprs | |
3364 | .word 0x83d02032 ! 15: Tcc_I te icc_or_xcc, %r0 + 50 | |
3365 | .word 0xa3a00174 ! 16: FABSq dis not found | |
3366 | ||
3367 | nop | |
3368 | mov 0x80, %g3 | |
3369 | stxa %g3, [%g3] 0x57 | |
3370 | .word 0xd45fc000 ! 17: LDX_R ldx [%r31 + %r0], %r10 | |
3371 | splash_hpstate_6_6: | |
3372 | .word 0x8198220e ! 18: WRHPR_HPSTATE_I wrhpr %r0, 0x020e, %hpstate | |
3373 | .word 0xd4c804a0 ! 19: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
3374 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3375 | ta T_CHANGE_NONHPRIV ! macro | |
3376 | .word 0x99a01968 ! 20: FqTOd dis not found | |
3377 | ||
3378 | nop | |
3379 | mov 0x80, %g3 | |
3380 | stxa %g3, [%g3] 0x57 | |
3381 | .word 0xd25fc000 ! 21: LDX_R ldx [%r31 + %r0], %r9 | |
3382 | .word 0xd2c7e020 ! 22: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r9 | |
3383 | change_to_randtl_6_8: | |
3384 | ta T_CHANGE_PRIV ! macro | |
3385 | done_change_to_randtl_6_8: | |
3386 | .word 0x8f902002 ! 23: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3387 | memptr_6_9: | |
3388 | set user_data_start, %r31 | |
3389 | .word 0x8584f359 ! 24: WRCCR_I wr %r19, 0x1359, %ccr | |
3390 | mondo_6_10: | |
3391 | nop | |
3392 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3393 | ||
3394 | stxa %r16, [%r0+0x3c0] %asi | |
3395 | .word 0x9d90c012 ! 25: WRPR_WSTATE_R wrpr %r3, %r18, %wstate | |
3396 | .word 0x87902245 ! 26: WRPR_TT_I wrpr %r0, 0x0245, %tt | |
3397 | .word 0xd21ff185 ! 27: LDD_I ldd [%r31 + 0xfffff185], %r9 | |
3398 | .word 0x97a01a71 ! 28: FqTOi fqtoi | |
3399 | change_to_randtl_6_11: | |
3400 | ta T_CHANGE_HPRIV ! macro | |
3401 | done_change_to_randtl_6_11: | |
3402 | .word 0x8f902000 ! 29: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3403 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3404 | ta T_CHANGE_NONPRIV ! macro | |
3405 | .word 0x916d3d0b ! 30: SDIVX_I sdivx %r20, 0xfffffd0b, %r8 | |
3406 | .word 0xd68804a0 ! 31: LDUBA_R lduba [%r0, %r0] 0x25, %r11 | |
3407 | mov (6+1), %r10 | |
3408 | ta T_CHANGE_HPRIV | |
3409 | set sync_thr_counter2, %r23 | |
3410 | cas [%r23],%g0,%r10 !lock | |
3411 | brnz %r10, sma_6_13 | |
3412 | rd %asi, %r12 | |
3413 | wr %g0, 0x40, %asi | |
3414 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3415 | set 0x21fff, %g1 | |
3416 | stxa %g1, [%g0 + 0x80] %asi | |
3417 | wr %r12, %g0, %asi | |
3418 | st %g0, [%r23] | |
3419 | sma_6_13: | |
3420 | ta T_CHANGE_NONHPRIV | |
3421 | .word 0xd7e7e013 ! 32: CASA_R casa [%r31] %asi, %r19, %r11 | |
3422 | .word 0xd66fe760 ! 33: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
3423 | .word 0xd63fe760 ! 34: STD_I std %r11, [%r31 + 0x0760] | |
3424 | .word 0xd66fe760 ! 35: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
3425 | .word 0x8780201c ! 36: WRASI_I wr %r0, 0x001c, %asi | |
3426 | tagged_6_14: | |
3427 | tsubcctv %r14, 0x1694, %r7 | |
3428 | .word 0xd607e760 ! 37: LDUW_I lduw [%r31 + 0x0760], %r11 | |
3429 | memptr_6_15: | |
3430 | set user_data_start, %r31 | |
3431 | .word 0x85846d0e ! 38: WRCCR_I wr %r17, 0x0d0e, %ccr | |
3432 | tagged_6_16: | |
3433 | tsubcctv %r14, 0x1ee1, %r3 | |
3434 | .word 0xd607e356 ! 39: LDUW_I lduw [%r31 + 0x0356], %r11 | |
3435 | .word 0x879020c6 ! 40: WRPR_TT_I wrpr %r0, 0x00c6, %tt | |
3436 | mondo_6_17: | |
3437 | nop | |
3438 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3439 | ||
3440 | stxa %r6, [%r0+0x3c0] %asi | |
3441 | .word 0x9d944001 ! 41: WRPR_WSTATE_R wrpr %r17, %r1, %wstate | |
3442 | donret_6_18: | |
3443 | nop | |
3444 | rd %pc, %r12 | |
3445 | add %r12, (donretarg_6_18-donret_6_18), %r12 | |
3446 | mov 0x38, %r18 | |
3447 | stxa %r12, [%r18]0x58 | |
3448 | add %r12, 0x4, %r11 | |
3449 | wrpr %g0, 0x1, %tl | |
3450 | wrpr %g0, %r12, %tpc | |
3451 | wrpr %g0, %r11, %tnpc | |
3452 | wrpr %g0, %r13, %tstate | |
3453 | wrhpr %g0, %r14, %htstate | |
3454 | retry | |
3455 | donretarg_6_18: | |
3456 | .word 0xd6ffe356 ! 42: SWAPA_I swapa %r11, [%r31 + 0x0356] %asi | |
3457 | .word 0xd6cfe000 ! 43: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r11 | |
3458 | tagged_6_19: | |
3459 | taddcctv %r18, 0x1fc2, %r14 | |
3460 | .word 0xd607e356 ! 44: LDUW_I lduw [%r31 + 0x0356], %r11 | |
3461 | ta T_CHANGE_HPRIV | |
3462 | mov (6+1), %r10 | |
3463 | set sync_thr_counter1, %r23 | |
3464 | cas [%r23],%g0,%r10 !lock | |
3465 | brnz %r10, cwq_6_20 | |
3466 | rd %asi, %r12 | |
3467 | wr %g0, 0x40, %asi | |
3468 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3469 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3470 | cmp %l1, 1 | |
3471 | bne cwq_6_20 | |
3472 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3473 | sub %l2, 0x40, %l2 | |
3474 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3475 | wr %r12, %g0, %asi | |
3476 | st %g0, [%r23] | |
3477 | cwq_6_20: | |
3478 | ta T_CHANGE_NONHPRIV | |
3479 | .word 0x93414000 ! 45: RDPC rd %pc, %r9 | |
3480 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_6_21)+48, 16, 16)) -> intp(6,1,3) | |
3481 | xir_6_21: | |
3482 | .word 0xa98164bb ! 46: WR_SET_SOFTINT_I wr %r5, 0x04bb, %set_softint | |
3483 | mondo_6_22: | |
3484 | nop | |
3485 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
3486 | ||
3487 | stxa %r4, [%r0+0x3e8] %asi | |
3488 | .word 0x9d91c011 ! 47: WRPR_WSTATE_R wrpr %r7, %r17, %wstate | |
3489 | donret_6_23: | |
3490 | nop | |
3491 | rd %pc, %r12 | |
3492 | add %r12, (donretarg_6_23-donret_6_23-4), %r12 | |
3493 | mov 0x38, %r18 | |
3494 | stxa %r12, [%r18]0x58 | |
3495 | add %r12, 0x4, %r11 | |
3496 | wrpr %g0, 0x3, %tl | |
3497 | wrpr %g0, %r12, %tpc | |
3498 | wrpr %g0, %r11, %tnpc | |
3499 | wrpr %g0, %r13, %tstate | |
3500 | wrhpr %g0, %r14, %htstate | |
3501 | done | |
3502 | donretarg_6_23: | |
3503 | .word 0xd6ffe271 ! 48: SWAPA_I swapa %r11, [%r31 + 0x0271] %asi | |
3504 | mov (6+1), %r10 | |
3505 | ta T_CHANGE_HPRIV | |
3506 | set sync_thr_counter2, %r23 | |
3507 | cas [%r23],%g0,%r10 !lock | |
3508 | brnz %r10, sma_6_24 | |
3509 | rd %asi, %r12 | |
3510 | wr %g0, 0x40, %asi | |
3511 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3512 | set 0x21fff, %g1 | |
3513 | stxa %g1, [%g0 + 0x80] %asi | |
3514 | wr %r12, %g0, %asi | |
3515 | st %g0, [%r23] | |
3516 | sma_6_24: | |
3517 | ta T_CHANGE_NONHPRIV | |
3518 | .word 0xd7e7e006 ! 49: CASA_R casa [%r31] %asi, %r6, %r11 | |
3519 | .word 0xd647e271 ! 50: LDSW_I ldsw [%r31 + 0x0271], %r11 | |
3520 | .word 0x95480000 ! 51: RDHPR_HPSTATE rdhpr %hpstate, %r10 | |
3521 | ta T_CHANGE_HPRIV | |
3522 | mov (6+1), %r10 | |
3523 | set sync_thr_counter1, %r23 | |
3524 | cas [%r23],%g0,%r10 !lock | |
3525 | brnz %r10, cwq_6_25 | |
3526 | rd %asi, %r12 | |
3527 | wr %g0, 0x40, %asi | |
3528 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3529 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3530 | cmp %l1, 1 | |
3531 | bne cwq_6_25 | |
3532 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3533 | sub %l2, 0x40, %l2 | |
3534 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3535 | wr %r12, %g0, %asi | |
3536 | st %g0, [%r23] | |
3537 | cwq_6_25: | |
3538 | ta T_CHANGE_NONHPRIV | |
3539 | .word 0x99414000 ! 52: RDPC rd %pc, %r12 | |
3540 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_26) + 0, 16, 16)) -> intp(7,0,14) | |
3541 | intvec_6_26: | |
3542 | .word 0x39400001 ! 53: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3543 | .word 0xe657e271 ! 54: LDSH_I ldsh [%r31 + 0x0271], %r19 | |
3544 | intveclr_6_27: | |
3545 | setx 0xdb8349aeeb126dc4, %r1, %r28 | |
3546 | stxa %r28, [%g0] 0x72 | |
3547 | .word 0x25400001 ! 55: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3548 | .word 0xe68008a0 ! 56: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
3549 | .word 0xe737c000 ! 57: STQF_R - %f19, [%r0, %r31] | |
3550 | pmu_6_28: | |
3551 | nop | |
3552 | setx 0xfffff076fffff2f7, %g1, %g7 | |
3553 | .word 0xa3800007 ! 58: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
3554 | .word 0xe68804a0 ! 59: LDUBA_R lduba [%r0, %r0] 0x25, %r19 | |
3555 | intveclr_6_29: | |
3556 | setx 0x273424ed3c6a567c, %r1, %r28 | |
3557 | stxa %r28, [%g0] 0x72 | |
3558 | .word 0x25400001 ! 60: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3559 | memptr_6_30: | |
3560 | set user_data_start, %r31 | |
3561 | .word 0x8582b63f ! 61: WRCCR_I wr %r10, 0x163f, %ccr | |
3562 | debug_6_31: | |
3563 | nop | |
3564 | rd %pc, %r19 | |
3565 | add %r19, (64+24), %r19 | |
3566 | mov 0x38, %r18 | |
3567 | .word 0xe6f00b12 ! 62: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
3568 | .word 0x8780208a ! 63: WRASI_I wr %r0, 0x008a, %asi | |
3569 | invalw | |
3570 | mov 0xb5, %r30 | |
3571 | .word 0x83d0001e ! 64: Tcc_R te icc_or_xcc, %r0 + %r30 | |
3572 | .word 0xe69ff3b4 ! 65: LDDA_I ldda [%r31, + 0xfffff3b4] %asi, %r19 | |
3573 | .word 0xe69004a0 ! 66: LDUHA_R lduha [%r0, %r0] 0x25, %r19 | |
3574 | .word 0x91d02033 ! 67: Tcc_I ta icc_or_xcc, %r0 + 51 | |
3575 | .word 0xe68008a0 ! 68: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
3576 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3577 | ta T_CHANGE_NONPRIV ! macro | |
3578 | .word 0x91a01974 ! 69: FqTOd dis not found | |
3579 | ||
3580 | .word 0xd28008a0 ! 70: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
3581 | splash_cmpr_6_33: | |
3582 | setx 0x9d32c2dc8786c0a1, %g2, %g1 | |
3583 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
3584 | sub %g1, 100, %g1 | |
3585 | .word 0xb1800001 ! 71: WR_STICK_REG_R wr %r0, %r1, %- | |
3586 | intveclr_6_34: | |
3587 | setx 0xe7a99bf9cda37cb7, %r1, %r28 | |
3588 | stxa %r28, [%g0] 0x72 | |
3589 | .word 0x25400001 ! 72: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3590 | splash_cmpr_6_35: | |
3591 | setx 0x0a4d2301a7c3fcad, %g2, %g1 | |
3592 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3593 | sub %g1, 100, %g1 | |
3594 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
3595 | intveclr_6_36: | |
3596 | setx 0x229e1585dffeda6f, %r1, %r28 | |
3597 | stxa %r28, [%g0] 0x72 | |
3598 | .word 0x25400001 ! 74: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3599 | otherw | |
3600 | mov 0xb2, %r30 | |
3601 | .word 0x83d0001e ! 75: Tcc_R te icc_or_xcc, %r0 + %r30 | |
3602 | .word 0xa9808011 ! 76: WR_SET_SOFTINT_R wr %r2, %r17, %set_softint | |
3603 | intveclr_6_37: | |
3604 | setx 0x35966a817dd0e524, %r1, %r28 | |
3605 | stxa %r28, [%g0] 0x72 | |
3606 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3607 | intveclr_6_38: | |
3608 | setx 0x67539762af04af98, %r1, %r28 | |
3609 | stxa %r28, [%g0] 0x72 | |
3610 | .word 0x25400001 ! 78: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3611 | .word 0x91d02032 ! 79: Tcc_I ta icc_or_xcc, %r0 + 50 | |
3612 | DS_6_39: | |
3613 | .word 0x93a349d4 ! 1: FDIVd fdivd %f44, %f20, %f40 | |
3614 | .word 0x97a449c9 ! 1: FDIVd fdivd %f48, %f40, %f42 | |
3615 | .word 0x97a00551 ! 1: FSQRTd fsqrt | |
3616 | .word 0xa3a2882d ! 80: FADDs fadds %f10, %f13, %f17 | |
3617 | .word 0xd41fc000 ! 81: LDD_R ldd [%r31 + %r0], %r10 | |
3618 | .word 0x87802088 ! 82: WRASI_I wr %r0, 0x0088, %asi | |
3619 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_40) + 0, 16, 16)) -> intp(2,0,1) | |
3620 | intvec_6_40: | |
3621 | .word 0x39400001 ! 83: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3622 | .word 0xd48804a0 ! 84: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
3623 | .word 0x8790214c ! 85: WRPR_TT_I wrpr %r0, 0x014c, %tt | |
3624 | setx 0x3f09542102b6cf94, %r1, %r28 | |
3625 | stxa %r28, [%g0] 0x73 | |
3626 | intvec_6_41: | |
3627 | .word 0x39400001 ! 86: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3628 | .word 0xa9a00168 ! 87: FABSq dis not found | |
3629 | ||
3630 | rd %pc, %r19 | |
3631 | add %r19, (ivw_6_42-.+56), %r19 | |
3632 | mov 0x38, %r18 | |
3633 | stxa %r19, [%r18]0x58 | |
3634 | ivw_6_42: | |
3635 | .word 0x9194800b ! 88: WRPR_PIL_R wrpr %r18, %r11, %pil | |
3636 | .word 0x87802055 ! 89: WRASI_I wr %r0, 0x0055, %asi | |
3637 | .word 0xa190200f ! 90: WRPR_GL_I wrpr %r0, 0x000f, %- | |
3638 | splash_cmpr_6_43: | |
3639 | setx 0xaa978d1c8a0482b3, %g2, %g1 | |
3640 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3641 | sub %g1, 100, %g1 | |
3642 | .word 0xb1800001 ! 91: WR_STICK_REG_R wr %r0, %r1, %- | |
3643 | .word 0xe3e7c028 ! 92: CASA_I casa [%r31] 0x 1, %r8, %r17 | |
3644 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3645 | ta T_CHANGE_NONPRIV ! macro | |
3646 | .word 0x9b6af326 ! 93: SDIVX_I sdivx %r11, 0xfffff326, %r13 | |
3647 | debug_6_45: | |
3648 | nop | |
3649 | mov 8, %r18 | |
3650 | .word 0xdef00492 ! 94: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
3651 | .word 0x8d9030db ! 95: WRPR_PSTATE_I wrpr %r0, 0x10db, %pstate | |
3652 | .word 0xa950c000 ! 96: RDPR_TT rdpr %tt, %r20 | |
3653 | mov (6+1), %r10 | |
3654 | ta T_CHANGE_HPRIV | |
3655 | set sync_thr_counter2, %r23 | |
3656 | cas [%r23],%g0,%r10 !lock | |
3657 | brnz %r10, sma_6_46 | |
3658 | rd %asi, %r12 | |
3659 | wr %g0, 0x40, %asi | |
3660 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3661 | set 0x21fff, %g1 | |
3662 | stxa %g1, [%g0 + 0x80] %asi | |
3663 | wr %r12, %g0, %asi | |
3664 | st %g0, [%r23] | |
3665 | sma_6_46: | |
3666 | ta T_CHANGE_NONHPRIV | |
3667 | .word 0xd3e7e008 ! 97: CASA_R casa [%r31] %asi, %r8, %r9 | |
3668 | .word 0x99450000 ! 98: RD_SET_SOFTINT rd %set_softint, %r12 | |
3669 | .word 0x8d802000 ! 99: WRFPRS_I wr %r0, 0x0000, %fprs | |
3670 | .word 0xe48008a0 ! 100: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
3671 | .word 0x32800001 ! 101: BNE bne,a <label_0x1> | |
3672 | debug_6_47: | |
3673 | nop | |
3674 | mov 0x38, %r18 | |
3675 | .word 0xfef00b12 ! 102: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3676 | memptr_6_48: | |
3677 | set user_data_start, %r31 | |
3678 | .word 0x85816e36 ! 103: WRCCR_I wr %r5, 0x0e36, %ccr | |
3679 | .word 0xe537c000 ! 104: STQF_R - %f18, [%r0, %r31] | |
3680 | mov (6+1), %r10 | |
3681 | ta T_CHANGE_HPRIV | |
3682 | set sync_thr_counter2, %r23 | |
3683 | cas [%r23],%g0,%r10 !lock | |
3684 | brnz %r10, sma_6_49 | |
3685 | rd %asi, %r12 | |
3686 | wr %g0, 0x40, %asi | |
3687 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3688 | set 0x21fff, %g1 | |
3689 | stxa %g1, [%g0 + 0x80] %asi | |
3690 | wr %r12, %g0, %asi | |
3691 | st %g0, [%r23] | |
3692 | sma_6_49: | |
3693 | ta T_CHANGE_NONHPRIV | |
3694 | .word 0xe5e7e008 ! 105: CASA_R casa [%r31] %asi, %r8, %r18 | |
3695 | intveclr_6_50: | |
3696 | setx 0x7f29bdf5b2b23842, %r1, %r28 | |
3697 | stxa %r28, [%g0] 0x72 | |
3698 | .word 0x25400001 ! 106: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3699 | .word 0x879022ce ! 107: WRPR_TT_I wrpr %r0, 0x02ce, %tt | |
3700 | .word 0x93a1cdcb ! 108: FdMULq fdmulq | |
3701 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3702 | ta T_CHANGE_NONHPRIV ! macro | |
3703 | .word 0x99a0196b ! 109: FqTOd dis not found | |
3704 | ||
3705 | cwp_6_52: | |
3706 | set user_data_start, %o7 | |
3707 | .word 0x93902000 ! 110: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
3708 | nop | |
3709 | mov 0x80, %g3 | |
3710 | stxa %g3, [%g3] 0x57 | |
3711 | .word 0xda5fc000 ! 111: LDX_R ldx [%r31 + %r0], %r13 | |
3712 | otherw | |
3713 | mov 0x32, %r30 | |
3714 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3715 | intveclr_6_53: | |
3716 | setx 0x35221a7b966de8f1, %r1, %r28 | |
3717 | stxa %r28, [%g0] 0x72 | |
3718 | .word 0x25400001 ! 113: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3719 | .word 0xdad80e80 ! 114: LDXA_R ldxa [%r0, %r0] 0x74, %r13 | |
3720 | splash_hpstate_6_54: | |
3721 | .word 0x81982c85 ! 115: WRHPR_HPSTATE_I wrhpr %r0, 0x0c85, %hpstate | |
3722 | .word 0x95698014 ! 116: SDIVX_R sdivx %r6, %r20, %r10 | |
3723 | splash_htba_6_55: | |
3724 | set 0x80000, %r12 | |
3725 | ld [%r12+%r0], %r1 | |
3726 | ta T_CHANGE_HPRIV | |
3727 | set 0x80000, %r12 | |
3728 | .word 0x8b98000c ! 117: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3729 | .word 0xd4c00e80 ! 118: LDSWA_R ldswa [%r0, %r0] 0x74, %r10 | |
3730 | splash_htba_6_56: | |
3731 | set 0x80000, %r12 | |
3732 | st %r1, [%r12+%r0] | |
3733 | ta T_CHANGE_HPRIV | |
3734 | set 0x80000, %r12 | |
3735 | .word 0x8b98000c ! 119: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3736 | debug_6_57: | |
3737 | nop | |
3738 | mov 8, %r18 | |
3739 | .word 0xd2f00492 ! 120: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
3740 | .word 0x93d020b3 ! 121: Tcc_I tne icc_or_xcc, %r0 + 179 | |
3741 | DS_6_58: | |
3742 | .word 0x9ba4c9c3 ! 1: FDIVd fdivd %f50, %f34, %f44 | |
3743 | .word 0x9343f672 ! Random illegal ? | |
3744 | .word 0x91a00542 ! 1: FSQRTd fsqrt | |
3745 | .word 0xa7a1c827 ! 122: FADDs fadds %f7, %f7, %f19 | |
3746 | .word 0x24800001 ! 123: BLE ble,a <label_0x1> | |
3747 | .word 0x93d02032 ! 124: Tcc_I tne icc_or_xcc, %r0 + 50 | |
3748 | .word 0xda0fee19 ! 125: LDUB_I ldub [%r31 + 0x0e19], %r13 | |
3749 | splash_lsu_6_59: | |
3750 | setx 0x822ce831c09490c3, %r1, %r2 | |
3751 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3752 | .word 0x3d400001 ! 126: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3753 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
3754 | ta T_CHANGE_NONPRIV ! macro | |
3755 | .word 0xa969a363 ! 127: SDIVX_I sdivx %r6, 0x0363, %r20 | |
3756 | tagged_6_61: | |
3757 | taddcctv %r4, 0x1e06, %r14 | |
3758 | .word 0xd607ec1e ! 128: LDUW_I lduw [%r31 + 0x0c1e], %r11 | |
3759 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_62) + 0, 16, 16)) -> intp(6,0,13) | |
3760 | intvec_6_62: | |
3761 | .word 0x39400001 ! 129: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3762 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3763 | ta T_CHANGE_NONHPRIV ! macro | |
3764 | .word 0xa3a0196c ! 130: FqTOd dis not found | |
3765 | ||
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_64 | |
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_64: | |
3779 | ta T_CHANGE_NONHPRIV | |
3780 | .word 0xd1e7e012 ! 131: CASA_R casa [%r31] %asi, %r18, %r8 | |
3781 | .word 0x91a00169 ! 132: FABSq dis not found | |
3782 | ||
3783 | intveclr_6_65: | |
3784 | setx 0x011552b7b6bfa965, %r1, %r28 | |
3785 | stxa %r28, [%g0] 0x72 | |
3786 | .word 0x25400001 ! 133: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
3787 | .word 0xa9520000 ! 134: RDPR_PIL rdpr %pil, %r20 | |
3788 | .word 0xa9a109ca ! 135: FDIVd fdivd %f4, %f10, %f20 | |
3789 | cwp_6_66: | |
3790 | set user_data_start, %o7 | |
3791 | .word 0x93902000 ! 136: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
3792 | .word 0xa9824007 ! 137: WR_SET_SOFTINT_R wr %r9, %r7, %set_softint | |
3793 | .word 0xe0c00e80 ! 138: LDSWA_R ldswa [%r0, %r0] 0x74, %r16 | |
3794 | splash_hpstate_6_67: | |
3795 | .word 0x81982ec4 ! 139: WRHPR_HPSTATE_I wrhpr %r0, 0x0ec4, %hpstate | |
3796 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
3797 | ta T_CHANGE_NONPRIV ! macro | |
3798 | .word 0xa3a01971 ! 140: FqTOd dis not found | |
3799 | ||
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_69 | |
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_69: | |
3813 | ta T_CHANGE_NONHPRIV | |
3814 | .word 0xe7e7e003 ! 141: CASA_R casa [%r31] %asi, %r3, %r19 | |
3815 | ta T_CHANGE_HPRIV | |
3816 | mov (6+1), %r10 | |
3817 | set sync_thr_counter1, %r23 | |
3818 | cas [%r23],%g0,%r10 !lock | |
3819 | brnz %r10, cwq_6_70 | |
3820 | rd %asi, %r12 | |
3821 | wr %g0, 0x40, %asi | |
3822 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3823 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3824 | cmp %l1, 1 | |
3825 | bne cwq_6_70 | |
3826 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3827 | sub %l2, 0x40, %l2 | |
3828 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3829 | wr %r12, %g0, %asi | |
3830 | st %g0, [%r23] | |
3831 | cwq_6_70: | |
3832 | ta T_CHANGE_NONHPRIV | |
3833 | .word 0x95414000 ! 142: RDPC rd %pc, %r10 | |
3834 | .word 0xe2900e40 ! 143: LDUHA_R lduha [%r0, %r0] 0x72, %r17 | |
3835 | ta T_CHANGE_HPRIV | |
3836 | mov (6+1), %r10 | |
3837 | set sync_thr_counter1, %r23 | |
3838 | cas [%r23],%g0,%r10 !lock | |
3839 | brnz %r10, cwq_6_71 | |
3840 | rd %asi, %r12 | |
3841 | wr %g0, 0x40, %asi | |
3842 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3843 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3844 | cmp %l1, 1 | |
3845 | bne cwq_6_71 | |
3846 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3847 | sub %l2, 0x40, %l2 | |
3848 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3849 | wr %r12, %g0, %asi | |
3850 | st %g0, [%r23] | |
3851 | cwq_6_71: | |
3852 | ta T_CHANGE_NONHPRIV | |
3853 | .word 0x95414000 ! 144: RDPC rd %pc, %r10 | |
3854 | invalw | |
3855 | mov 0xb0, %r30 | |
3856 | .word 0x91d0001e ! 145: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
3857 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_72) + 0, 16, 16)) -> intp(0,0,8) | |
3858 | intvec_6_72: | |
3859 | .word 0x39400001 ! 146: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
3860 | .word 0x879022ac ! 147: WRPR_TT_I wrpr %r0, 0x02ac, %tt | |
3861 | .word 0xa7a149c2 ! 148: FDIVd fdivd %f36, %f2, %f50 | |
3862 | .word 0xd6c7e020 ! 149: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r11 | |
3863 | change_to_randtl_6_73: | |
3864 | ta T_CHANGE_HPRIV ! macro | |
3865 | done_change_to_randtl_6_73: | |
3866 | .word 0x8f902003 ! 150: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
3867 | .word 0x8d9034f9 ! 151: WRPR_PSTATE_I wrpr %r0, 0x14f9, %pstate | |
3868 | memptr_6_74: | |
3869 | set 0x60140000, %r31 | |
3870 | .word 0x858122e8 ! 152: WRCCR_I wr %r4, 0x02e8, %ccr | |
3871 | .word 0xd727e6f2 ! 153: STF_I st %f11, [0x06f2, %r31] | |
3872 | mov (6+1), %r10 | |
3873 | ta T_CHANGE_HPRIV | |
3874 | set sync_thr_counter2, %r23 | |
3875 | cas [%r23],%g0,%r10 !lock | |
3876 | brnz %r10, sma_6_75 | |
3877 | rd %asi, %r12 | |
3878 | wr %g0, 0x40, %asi | |
3879 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
3880 | set 0x21fff, %g1 | |
3881 | stxa %g1, [%g0 + 0x80] %asi | |
3882 | wr %r12, %g0, %asi | |
3883 | st %g0, [%r23] | |
3884 | sma_6_75: | |
3885 | ta T_CHANGE_NONHPRIV | |
3886 | .word 0xd7e7e013 ! 154: CASA_R casa [%r31] %asi, %r19, %r11 | |
3887 | splash_cmpr_6_76: | |
3888 | setx 0x2b99fd3e3c7bd938, %g2, %g1 | |
3889 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
3890 | sub %g1, 100, %g1 | |
3891 | .word 0xb1800001 ! 155: WR_STICK_REG_R wr %r0, %r1, %- | |
3892 | .word 0x9750c000 ! 156: RDPR_TT <illegal instruction> | |
3893 | .word 0x3e700001 ! 157: BPVC <illegal instruction> | |
3894 | .word 0xd8d804a0 ! 158: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
3895 | rd %pc, %r19 | |
3896 | add %r19, (ivw_6_77-.+56), %r19 | |
3897 | mov 0x38, %r18 | |
3898 | stxa %r19, [%r18]0x58 | |
3899 | ivw_6_77: | |
3900 | .word 0x9194c013 ! 159: WRPR_PIL_R wrpr %r19, %r19, %pil | |
3901 | .word 0x8d903e42 ! 160: WRPR_PSTATE_I wrpr %r0, 0x1e42, %pstate | |
3902 | .word 0xd88804a0 ! 161: LDUBA_R lduba [%r0, %r0] 0x25, %r12 | |
3903 | .word 0xab843fb1 ! 162: WR_CLEAR_SOFTINT_I wr %r16, 0x1fb1, %clear_softint | |
3904 | splash_lsu_6_78: | |
3905 | setx 0x195a0c0037544805, %r1, %r2 | |
3906 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3907 | .word 0x3d400001 ! 163: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3908 | .word 0xd80fecf5 ! 164: LDUB_I ldub [%r31 + 0x0cf5], %r12 | |
3909 | splash_cmpr_6_79: | |
3910 | setx 0x384d7a2cdbbc53e6, %g2, %g1 | |
3911 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3912 | sub %g1, 100, %g1 | |
3913 | .word 0xb1800001 ! 165: WR_STICK_REG_R wr %r0, %r1, %- | |
3914 | debug_6_80: | |
3915 | nop | |
3916 | mov 0x38, %r18 | |
3917 | .word 0xfef00b12 ! 166: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3918 | splash_hpstate_6_81: | |
3919 | .word 0x8198283c ! 167: WRHPR_HPSTATE_I wrhpr %r0, 0x083c, %hpstate | |
3920 | splash_htba_6_82: | |
3921 | set 0x80000, %r12 | |
3922 | st %r1, [%r12+%r0] | |
3923 | ta T_CHANGE_HPRIV | |
3924 | set 0x80000, %r12 | |
3925 | .word 0x8b98000c ! 168: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
3926 | splash_tba_6_83: | |
3927 | set 0x120000, %r12 | |
3928 | ld [%r12+%r0], %r1 | |
3929 | ta T_CHANGE_PRIV | |
3930 | set 0x120000, %r12 | |
3931 | .word 0x8b90000c ! 169: WRPR_TBA_R wrpr %r0, %r12, %tba | |
3932 | .word 0x93a309cd ! 170: FDIVd fdivd %f12, %f44, %f40 | |
3933 | splash_lsu_6_84: | |
3934 | setx 0xe605a3d0d45c3b69, %r1, %r2 | |
3935 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
3936 | .word 0x3d400001 ! 171: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
3937 | .word 0x87802089 ! 172: WRASI_I wr %r0, 0x0089, %asi | |
3938 | .word 0x8780201c ! 173: WRASI_I wr %r0, 0x001c, %asi | |
3939 | DS_6_85: | |
3940 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
3941 | .word 0xbfefc000 ! 174: RESTORE_R restore %r31, %r0, %r31 | |
3942 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
3943 | ta T_CHANGE_NONPRIV ! macro | |
3944 | .word 0xa7a0196c ! 175: FqTOd dis not found | |
3945 | ||
3946 | DS_6_87: | |
3947 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
3948 | allclean | |
3949 | .word 0x99b18311 ! 176: ALIGNADDRESS alignaddr %r6, %r17, %r12 | |
3950 | splash_hpstate_6_88: | |
3951 | .word 0x8198274c ! 177: WRHPR_HPSTATE_I wrhpr %r0, 0x074c, %hpstate | |
3952 | .word 0xa6db400b ! 178: SMULcc_R smulcc %r13, %r11, %r19 | |
3953 | .word 0x87802020 ! 179: WRASI_I wr %r0, 0x0020, %asi | |
3954 | splash_hpstate_6_89: | |
3955 | .word 0x819826de ! 180: WRHPR_HPSTATE_I wrhpr %r0, 0x06de, %hpstate | |
3956 | .word 0xd44fecf5 ! 181: LDSB_I ldsb [%r31 + 0x0cf5], %r10 | |
3957 | debug_6_90: | |
3958 | nop | |
3959 | mov 8, %r18 | |
3960 | .word 0xd8f00492 ! 182: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
3961 | .word 0xd4cfe030 ! 183: LDSBA_I ldsba [%r31, + 0x0030] %asi, %r10 | |
3962 | splash_hpstate_6_91: | |
3963 | .word 0x81982c1e ! 184: WRHPR_HPSTATE_I wrhpr %r0, 0x0c1e, %hpstate | |
3964 | debug_6_92: | |
3965 | nop | |
3966 | mov 0x38, %r18 | |
3967 | .word 0xfef00b12 ! 185: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
3968 | splash_cmpr_6_93: | |
3969 | setx 0xbe3b0f74f1bccb70, %g2, %g1 | |
3970 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
3971 | sub %g1, 100, %g1 | |
3972 | .word 0xb1800001 ! 186: WR_STICK_REG_R wr %r0, %r1, %- | |
3973 | DS_6_94: | |
3974 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
3975 | .word 0xaf4963c7 ! Random illegal ? | |
3976 | .word 0xa9a189c5 ! 1: FDIVd fdivd %f6, %f36, %f20 | |
3977 | .word 0x9ba24824 ! 187: FADDs fadds %f9, %f4, %f13 | |
3978 | ta T_CHANGE_HPRIV | |
3979 | mov (6+1), %r10 | |
3980 | set sync_thr_counter1, %r23 | |
3981 | cas [%r23],%g0,%r10 !lock | |
3982 | brnz %r10, cwq_6_95 | |
3983 | rd %asi, %r12 | |
3984 | wr %g0, 0x40, %asi | |
3985 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
3986 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
3987 | cmp %l1, 1 | |
3988 | bne cwq_6_95 | |
3989 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
3990 | sub %l2, 0x40, %l2 | |
3991 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
3992 | wr %r12, %g0, %asi | |
3993 | st %g0, [%r23] | |
3994 | cwq_6_95: | |
3995 | ta T_CHANGE_NONHPRIV | |
3996 | .word 0x91414000 ! 188: RDPC rd %pc, %r8 | |
3997 | .word 0xe88fe030 ! 189: LDUBA_I lduba [%r31, + 0x0030] %asi, %r20 | |
3998 | splash_lsu_6_96: | |
3999 | setx 0xb5df7f6024c99675, %r1, %r2 | |
4000 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4001 | .word 0x3d400001 ! 190: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4002 | .word 0xa7a089e6 ! 191: FDIVq dis not found | |
4003 | ||
4004 | cwp_6_97: | |
4005 | set user_data_start, %o7 | |
4006 | .word 0x93902000 ! 192: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
4007 | .word 0xa7830004 ! 193: WR_GRAPHICS_STATUS_REG_R wr %r12, %r4, %- | |
4008 | .word 0x87902316 ! 194: WRPR_TT_I wrpr %r0, 0x0316, %tt | |
4009 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4010 | ta T_CHANGE_NONHPRIV ! macro | |
4011 | .word 0x97a0196b ! 195: FqTOd dis not found | |
4012 | ||
4013 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_100) + 48, 16, 16)) -> intp(4,0,6) | |
4014 | intvec_6_100: | |
4015 | .word 0x39400001 ! 196: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4016 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4017 | ta T_CHANGE_NONHPRIV ! macro | |
4018 | .word 0x99a0196c ! 197: FqTOd dis not found | |
4019 | ||
4020 | intveclr_6_102: | |
4021 | setx 0xc5aebe2a9a12a956, %r1, %r28 | |
4022 | stxa %r28, [%g0] 0x72 | |
4023 | .word 0x25400001 ! 198: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4024 | mondo_6_103: | |
4025 | nop | |
4026 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4027 | ||
4028 | stxa %r13, [%r0+0x3d8] %asi | |
4029 | .word 0x9d91c006 ! 199: WRPR_WSTATE_R wrpr %r7, %r6, %wstate | |
4030 | memptr_6_104: | |
4031 | set 0x60340000, %r31 | |
4032 | .word 0x8581b066 ! 200: WRCCR_I wr %r6, 0x1066, %ccr | |
4033 | .word 0x87802089 ! 201: WRASI_I wr %r0, 0x0089, %asi | |
4034 | .word 0xa9840014 ! 202: WR_SET_SOFTINT_R wr %r16, %r20, %set_softint | |
4035 | .word 0x8780204f ! 203: WRASI_I wr %r0, 0x004f, %asi | |
4036 | DS_6_105: | |
4037 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
4038 | .word 0xbfefc000 ! 204: RESTORE_R restore %r31, %r0, %r31 | |
4039 | .word 0x26800001 ! 205: BL bl,a <label_0x1> | |
4040 | .word 0xe0d004a0 ! 206: LDSHA_R ldsha [%r0, %r0] 0x25, %r16 | |
4041 | debug_6_106: | |
4042 | nop | |
4043 | rd %pc, %r19 | |
4044 | add %r19, (64+56), %r19 | |
4045 | mov 0x38, %r18 | |
4046 | .word 0xe6f00b12 ! 207: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4047 | debug_6_107: | |
4048 | nop | |
4049 | mov 0x38, %r18 | |
4050 | .word 0xfef00b12 ! 208: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4051 | .word 0x8d903a6f ! 209: WRPR_PSTATE_I wrpr %r0, 0x1a6f, %pstate | |
4052 | .word 0x2c700001 ! 210: BPNEG <illegal instruction> | |
4053 | .word 0x99902004 ! 211: WRPR_CLEANWIN_I wrpr %r0, 0x0004, %cleanwin | |
4054 | mov (6+1), %r10 | |
4055 | ta T_CHANGE_HPRIV | |
4056 | set sync_thr_counter2, %r23 | |
4057 | cas [%r23],%g0,%r10 !lock | |
4058 | brnz %r10, sma_6_108 | |
4059 | rd %asi, %r12 | |
4060 | wr %g0, 0x40, %asi | |
4061 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4062 | set 0x21fff, %g1 | |
4063 | stxa %g1, [%g0 + 0x80] %asi | |
4064 | wr %r12, %g0, %asi | |
4065 | st %g0, [%r23] | |
4066 | sma_6_108: | |
4067 | ta T_CHANGE_NONHPRIV | |
4068 | .word 0xe1e7e006 ! 212: CASA_R casa [%r31] %asi, %r6, %r16 | |
4069 | cwp_6_109: | |
4070 | set user_data_start, %o7 | |
4071 | .word 0x93902003 ! 213: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
4072 | ta T_CHANGE_HPRIV | |
4073 | mov (6+1), %r10 | |
4074 | set sync_thr_counter1, %r23 | |
4075 | cas [%r23],%g0,%r10 !lock | |
4076 | brnz %r10, cwq_6_110 | |
4077 | rd %asi, %r12 | |
4078 | wr %g0, 0x40, %asi | |
4079 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4080 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4081 | cmp %l1, 1 | |
4082 | bne cwq_6_110 | |
4083 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4084 | sub %l2, 0x40, %l2 | |
4085 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4086 | wr %r12, %g0, %asi | |
4087 | st %g0, [%r23] | |
4088 | cwq_6_110: | |
4089 | ta T_CHANGE_NONHPRIV | |
4090 | .word 0x95414000 ! 214: RDPC rd %pc, %r10 | |
4091 | debug_6_111: | |
4092 | nop | |
4093 | mov 8, %r18 | |
4094 | .word 0xd8f00492 ! 215: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
4095 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4096 | ta T_CHANGE_NONPRIV ! macro | |
4097 | .word 0x996b2afd ! 216: SDIVX_I sdivx %r12, 0x0afd, %r12 | |
4098 | .word 0xa190200c ! 217: WRPR_GL_I wrpr %r0, 0x000c, %- | |
4099 | debug_6_113: | |
4100 | nop | |
4101 | mov 0x38, %r18 | |
4102 | .word 0xfef00b12 ! 218: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4103 | invalw | |
4104 | mov 0x34, %r30 | |
4105 | .word 0x91d0001e ! 219: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4106 | splash_tba_6_114: | |
4107 | set 0x003e0000, %r12 | |
4108 | st %r1, [%r12+%r0] | |
4109 | ta T_CHANGE_PRIV | |
4110 | set 0x003e0000, %r12 | |
4111 | .word 0x8b90000c ! 220: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4112 | .word 0xa7450000 ! 221: RD_SET_SOFTINT rd %set_softint, %r19 | |
4113 | .word 0xd0800b80 ! 222: LDUWA_R lduwa [%r0, %r0] 0x5c, %r8 | |
4114 | splash_hpstate_6_115: | |
4115 | .word 0x81982786 ! 223: WRHPR_HPSTATE_I wrhpr %r0, 0x0786, %hpstate | |
4116 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_116) + 8, 16, 16)) -> intp(2,0,30) | |
4117 | intvec_6_116: | |
4118 | .word 0x39400001 ! 224: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4119 | ta T_CHANGE_HPRIV | |
4120 | mov (6+1), %r10 | |
4121 | set sync_thr_counter1, %r23 | |
4122 | cas [%r23],%g0,%r10 !lock | |
4123 | brnz %r10, cwq_6_117 | |
4124 | rd %asi, %r12 | |
4125 | wr %g0, 0x40, %asi | |
4126 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4127 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4128 | cmp %l1, 1 | |
4129 | bne cwq_6_117 | |
4130 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4131 | sub %l2, 0x40, %l2 | |
4132 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4133 | wr %r12, %g0, %asi | |
4134 | st %g0, [%r23] | |
4135 | cwq_6_117: | |
4136 | ta T_CHANGE_NONHPRIV | |
4137 | .word 0xa1414000 ! 225: RDPC rd %pc, %r16 | |
4138 | .word 0x9753c000 ! 226: RDPR_FQ <illegal instruction> | |
4139 | memptr_6_118: | |
4140 | set 0x60140000, %r31 | |
4141 | .word 0x8582e11e ! 227: WRCCR_I wr %r11, 0x011e, %ccr | |
4142 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4143 | ta T_CHANGE_NONHPRIV ! macro | |
4144 | .word 0xa1a0196c ! 228: FqTOd dis not found | |
4145 | ||
4146 | .word 0xa9a0c9d3 ! 229: FDIVd fdivd %f34, %f50, %f20 | |
4147 | .word 0x87802080 ! 230: WRASI_I wr %r0, 0x0080, %asi | |
4148 | splash_tba_6_120: | |
4149 | set 0x003e0000, %r12 | |
4150 | st %r1, [%r12+%r0] | |
4151 | ta T_CHANGE_PRIV | |
4152 | set 0x003e0000, %r12 | |
4153 | .word 0x8b90000c ! 231: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4154 | splash_cmpr_6_121: | |
4155 | setx 0x9afc92518e9708af, %g2, %g1 | |
4156 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
4157 | sub %g1, 100, %g1 | |
4158 | .word 0xb1800001 ! 232: WR_STICK_REG_R wr %r0, %r1, %- | |
4159 | mov (6+1), %r10 | |
4160 | ta T_CHANGE_HPRIV | |
4161 | set sync_thr_counter2, %r23 | |
4162 | cas [%r23],%g0,%r10 !lock | |
4163 | brnz %r10, sma_6_122 | |
4164 | rd %asi, %r12 | |
4165 | wr %g0, 0x40, %asi | |
4166 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4167 | set 0x21fff, %g1 | |
4168 | stxa %g1, [%g0 + 0x80] %asi | |
4169 | wr %r12, %g0, %asi | |
4170 | st %g0, [%r23] | |
4171 | sma_6_122: | |
4172 | ta T_CHANGE_NONHPRIV | |
4173 | .word 0xd7e7e014 ! 233: CASA_R casa [%r31] %asi, %r20, %r11 | |
4174 | .word 0xd737e19a ! 234: STQF_I - %f11, [0x019a, %r31] | |
4175 | splash_hpstate_6_123: | |
4176 | .word 0x81982d6c ! 235: WRHPR_HPSTATE_I wrhpr %r0, 0x0d6c, %hpstate | |
4177 | .word 0x91906931 ! 236: WRPR_PIL_I wrpr %r1, 0x0931, %pil | |
4178 | change_to_randtl_6_124: | |
4179 | ta T_CHANGE_PRIV ! macro | |
4180 | done_change_to_randtl_6_124: | |
4181 | .word 0x8f902002 ! 237: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4182 | splash_cmpr_6_125: | |
4183 | setx 0xf729f6d8b09a41e0, %g2, %g1 | |
4184 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
4185 | sub %g1, 100, %g1 | |
4186 | .word 0xb1800001 ! 238: WR_STICK_REG_R wr %r0, %r1, %- | |
4187 | invalw | |
4188 | mov 0x32, %r30 | |
4189 | .word 0x91d0001e ! 239: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4190 | ta T_CHANGE_HPRIV | |
4191 | mov (6+1), %r10 | |
4192 | set sync_thr_counter1, %r23 | |
4193 | cas [%r23],%g0,%r10 !lock | |
4194 | brnz %r10, cwq_6_126 | |
4195 | rd %asi, %r12 | |
4196 | wr %g0, 0x40, %asi | |
4197 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4198 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4199 | cmp %l1, 1 | |
4200 | bne cwq_6_126 | |
4201 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4202 | sub %l2, 0x40, %l2 | |
4203 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4204 | wr %r12, %g0, %asi | |
4205 | st %g0, [%r23] | |
4206 | cwq_6_126: | |
4207 | ta T_CHANGE_NONHPRIV | |
4208 | .word 0x99414000 ! 240: RDPC rd %pc, %r12 | |
4209 | .word 0xe91fc000 ! 241: LDDF_R ldd [%r31, %r0], %f20 | |
4210 | change_to_randtl_6_127: | |
4211 | ta T_CHANGE_HPRIV ! macro | |
4212 | done_change_to_randtl_6_127: | |
4213 | .word 0x8f902002 ! 242: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4214 | .word 0x99a409cb ! 243: FDIVd fdivd %f16, %f42, %f12 | |
4215 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4216 | ta T_CHANGE_NONPRIV ! macro | |
4217 | .word 0x9769fffe ! 244: SDIVX_I sdivx %r7, 0xfffffffe, %r11 | |
4218 | .word 0xe2800b60 ! 245: LDUWA_R lduwa [%r0, %r0] 0x5b, %r17 | |
4219 | cwp_6_129: | |
4220 | set user_data_start, %o7 | |
4221 | .word 0x93902002 ! 246: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
4222 | .word 0x83d020b2 ! 247: Tcc_I te icc_or_xcc, %r0 + 178 | |
4223 | .word 0x30700001 ! 248: BPA <illegal instruction> | |
4224 | .word 0x8780208b ! 249: WRASI_I wr %r0, 0x008b, %asi | |
4225 | splash_cmpr_6_130: | |
4226 | setx 0xa60d35c038794bdb, %g2, %g1 | |
4227 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4228 | sub %g1, 100, %g1 | |
4229 | .word 0xb1800001 ! 250: WR_STICK_REG_R wr %r0, %r1, %- | |
4230 | change_to_randtl_6_131: | |
4231 | ta T_CHANGE_HPRIV ! macro | |
4232 | done_change_to_randtl_6_131: | |
4233 | .word 0x8f902000 ! 251: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
4234 | .word 0xe31fc000 ! 252: LDDF_R ldd [%r31, %r0], %f17 | |
4235 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_6_132)+0, 16, 16)) -> intp(6,1,3) | |
4236 | xir_6_132: | |
4237 | .word 0xa984fbdd ! 253: WR_SET_SOFTINT_I wr %r19, 0x1bdd, %set_softint | |
4238 | ta T_CHANGE_HPRIV | |
4239 | mov (6+1), %r10 | |
4240 | set sync_thr_counter1, %r23 | |
4241 | cas [%r23],%g0,%r10 !lock | |
4242 | brnz %r10, cwq_6_133 | |
4243 | rd %asi, %r12 | |
4244 | wr %g0, 0x40, %asi | |
4245 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4246 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4247 | cmp %l1, 1 | |
4248 | bne cwq_6_133 | |
4249 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4250 | sub %l2, 0x40, %l2 | |
4251 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4252 | wr %r12, %g0, %asi | |
4253 | st %g0, [%r23] | |
4254 | cwq_6_133: | |
4255 | ta T_CHANGE_NONHPRIV | |
4256 | .word 0x95414000 ! 254: RDPC rd %pc, %r10 | |
4257 | DS_6_134: | |
4258 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
4259 | pdist %f26, %f30, %f30 | |
4260 | .word 0xa5b04311 ! 255: ALIGNADDRESS alignaddr %r1, %r17, %r18 | |
4261 | setx 0xdda39428095ea911, %r1, %r28 | |
4262 | stxa %r28, [%g0] 0x73 | |
4263 | intvec_6_135: | |
4264 | .word 0x39400001 ! 256: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4265 | .word 0x879022b2 ! 257: WRPR_TT_I wrpr %r0, 0x02b2, %tt | |
4266 | splash_tba_6_136: | |
4267 | set 0x120000, %r12 | |
4268 | st %r1, [%r12+%r0] | |
4269 | ta T_CHANGE_PRIV | |
4270 | set 0x120000, %r12 | |
4271 | .word 0x8b90000c ! 258: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4272 | .word 0x9350c000 ! 259: RDPR_TT rdpr %tt, %r9 | |
4273 | mov (6+1), %r10 | |
4274 | ta T_CHANGE_HPRIV | |
4275 | set sync_thr_counter2, %r23 | |
4276 | cas [%r23],%g0,%r10 !lock | |
4277 | brnz %r10, sma_6_137 | |
4278 | rd %asi, %r12 | |
4279 | wr %g0, 0x40, %asi | |
4280 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4281 | set 0x21fff, %g1 | |
4282 | stxa %g1, [%g0 + 0x80] %asi | |
4283 | wr %r12, %g0, %asi | |
4284 | st %g0, [%r23] | |
4285 | sma_6_137: | |
4286 | ta T_CHANGE_NONHPRIV | |
4287 | .word 0xd5e7e001 ! 260: CASA_R casa [%r31] %asi, %r1, %r10 | |
4288 | .word 0x8d9039c0 ! 261: WRPR_PSTATE_I wrpr %r0, 0x19c0, %pstate | |
4289 | DS_6_138: | |
4290 | .word 0x93a4c9d2 ! 1: FDIVd fdivd %f50, %f18, %f40 | |
4291 | .word 0xbfefc000 ! 262: RESTORE_R restore %r31, %r0, %r31 | |
4292 | splash_tba_6_139: | |
4293 | set 0x120000, %r12 | |
4294 | ld [%r12+%r0], %r1 | |
4295 | ta T_CHANGE_PRIV | |
4296 | set 0x120000, %r12 | |
4297 | .word 0x8b90000c ! 263: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4298 | DS_6_140: | |
4299 | nop | |
4300 | not %g0, %r12 | |
4301 | jmp %r12 | |
4302 | .word 0x9d902005 ! 264: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
4303 | tagged_6_141: | |
4304 | taddcctv %r11, 0x1e5f, %r3 | |
4305 | .word 0xd407e18a ! 265: LDUW_I lduw [%r31 + 0x018a], %r10 | |
4306 | .word 0xd46fe18a ! 266: LDSTUB_I ldstub %r10, [%r31 + 0x018a] | |
4307 | .word 0x99a0016a ! 267: FABSq dis not found | |
4308 | ||
4309 | .word 0x8790205f ! 268: WRPR_TT_I wrpr %r0, 0x005f, %tt | |
4310 | change_to_randtl_6_142: | |
4311 | ta T_CHANGE_PRIV ! macro | |
4312 | done_change_to_randtl_6_142: | |
4313 | .word 0x8f902001 ! 269: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4314 | .word 0x97a189c5 ! 270: FDIVd fdivd %f6, %f36, %f42 | |
4315 | .word 0xd02fe18a ! 271: STB_I stb %r8, [%r31 + 0x018a] | |
4316 | .word 0x9b450000 ! 272: RD_SET_SOFTINT rd %set_softint, %r13 | |
4317 | splash_tba_6_143: | |
4318 | set 0x120000, %r12 | |
4319 | ld [%r12+%r0], %r1 | |
4320 | ta T_CHANGE_PRIV | |
4321 | set 0x120000, %r12 | |
4322 | .word 0x8b90000c ! 273: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4323 | .word 0x87902238 ! 274: WRPR_TT_I wrpr %r0, 0x0238, %tt | |
4324 | ta T_CHANGE_HPRIV | |
4325 | mov (6+1), %r10 | |
4326 | set sync_thr_counter1, %r23 | |
4327 | cas [%r23],%g0,%r10 !lock | |
4328 | brnz %r10, cwq_6_144 | |
4329 | rd %asi, %r12 | |
4330 | wr %g0, 0x40, %asi | |
4331 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4332 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4333 | cmp %l1, 1 | |
4334 | bne cwq_6_144 | |
4335 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4336 | sub %l2, 0x40, %l2 | |
4337 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4338 | wr %r12, %g0, %asi | |
4339 | st %g0, [%r23] | |
4340 | cwq_6_144: | |
4341 | ta T_CHANGE_NONHPRIV | |
4342 | .word 0xa3414000 ! 275: RDPC rd %pc, %r17 | |
4343 | .word 0xa7840009 ! 276: WR_GRAPHICS_STATUS_REG_R wr %r16, %r9, %- | |
4344 | nop | |
4345 | mov 0x80, %g3 | |
4346 | stxa %g3, [%g3] 0x5f | |
4347 | .word 0xe45fc000 ! 277: LDX_R ldx [%r31 + %r0], %r18 | |
4348 | .word 0x2e800001 ! 278: BVS bvs,a <label_0x1> | |
4349 | debug_6_146: | |
4350 | nop | |
4351 | mov 0x38, %r18 | |
4352 | .word 0xfef00b12 ! 279: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4353 | debug_6_147: | |
4354 | nop | |
4355 | mov 8, %r18 | |
4356 | .word 0xe0f00492 ! 280: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
4357 | splash_tba_6_148: | |
4358 | set 0x120000, %r12 | |
4359 | st %r1, [%r12+%r0] | |
4360 | ta T_CHANGE_PRIV | |
4361 | set 0x120000, %r12 | |
4362 | .word 0x8b90000c ! 281: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4363 | .word 0x8790203c ! 282: WRPR_TT_I wrpr %r0, 0x003c, %tt | |
4364 | splash_tba_6_149: | |
4365 | set 0x120000, %r12 | |
4366 | ld [%r12+%r0], %r1 | |
4367 | ta T_CHANGE_PRIV | |
4368 | set 0x120000, %r12 | |
4369 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4370 | intveclr_6_150: | |
4371 | setx 0xc3357d5dde825b14, %r1, %r28 | |
4372 | stxa %r28, [%g0] 0x72 | |
4373 | .word 0x25400001 ! 284: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4374 | nop | |
4375 | mov 0x80, %g3 | |
4376 | stxa %g3, [%g3] 0x5f | |
4377 | .word 0xe45fc000 ! 285: LDX_R ldx [%r31 + %r0], %r18 | |
4378 | debug_6_151: | |
4379 | nop | |
4380 | rd %pc, %r19 | |
4381 | add %r19, (64+24), %r19 | |
4382 | mov 0x38, %r18 | |
4383 | .word 0xe6f00b12 ! 286: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4384 | .word 0xe4800b00 ! 287: LDUWA_R lduwa [%r0, %r0] 0x58, %r18 | |
4385 | rd %pc, %r19 | |
4386 | add %r19, (ivw_6_152-.+56), %r19 | |
4387 | mov 0x38, %r18 | |
4388 | stxa %r19, [%r18]0x58 | |
4389 | ivw_6_152: | |
4390 | .word 0x91918003 ! 288: WRPR_PIL_R wrpr %r6, %r3, %pil | |
4391 | splash_cmpr_6_153: | |
4392 | setx 0x61b2b414acba4b50, %g2, %g1 | |
4393 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
4394 | sub %g1, 100, %g1 | |
4395 | .word 0xb1800001 ! 289: WR_STICK_REG_R wr %r0, %r1, %- | |
4396 | splash_cmpr_6_154: | |
4397 | setx 0x34a30c15a0fc3721, %g2, %g1 | |
4398 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4399 | sub %g1, 100, %g1 | |
4400 | .word 0xb1800001 ! 290: WR_STICK_REG_R wr %r0, %r1, %- | |
4401 | .word 0x8d802000 ! 291: WRFPRS_I wr %r0, 0x0000, %fprs | |
4402 | memptr_6_155: | |
4403 | set 0x60340000, %r31 | |
4404 | .word 0x8580b6a3 ! 292: WRCCR_I wr %r2, 0x16a3, %ccr | |
4405 | mondo_6_156: | |
4406 | nop | |
4407 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4408 | ||
4409 | stxa %r6, [%r0+0x3e0] %asi | |
4410 | .word 0x9d940009 ! 293: WRPR_WSTATE_R wrpr %r16, %r9, %wstate | |
4411 | ta T_CHANGE_HPRIV | |
4412 | mov (6+1), %r10 | |
4413 | set sync_thr_counter1, %r23 | |
4414 | cas [%r23],%g0,%r10 !lock | |
4415 | brnz %r10, cwq_6_157 | |
4416 | rd %asi, %r12 | |
4417 | wr %g0, 0x40, %asi | |
4418 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4419 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4420 | cmp %l1, 1 | |
4421 | bne cwq_6_157 | |
4422 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4423 | sub %l2, 0x40, %l2 | |
4424 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4425 | wr %r12, %g0, %asi | |
4426 | st %g0, [%r23] | |
4427 | cwq_6_157: | |
4428 | ta T_CHANGE_NONHPRIV | |
4429 | .word 0xa7414000 ! 294: RDPC rd %pc, %r19 | |
4430 | DS_6_158: | |
4431 | nop | |
4432 | not %g0, %r12 | |
4433 | jmp %r12 | |
4434 | .word 0x9d902001 ! 295: WRPR_WSTATE_I wrpr %r0, 0x0001, %wstate | |
4435 | .word 0x81510000 ! 296: RDPR_TICK rdpr %tick, %r0 | |
4436 | otherw | |
4437 | mov 0x33, %r30 | |
4438 | .word 0x91d0001e ! 297: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4439 | splash_lsu_6_159: | |
4440 | setx 0xf754d0104b4d18d5, %r1, %r2 | |
4441 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4442 | .word 0x3d400001 ! 298: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4443 | .word 0x83d02035 ! 299: Tcc_I te icc_or_xcc, %r0 + 53 | |
4444 | splash_htba_6_160: | |
4445 | set 0x80000, %r12 | |
4446 | st %r1, [%r12+%r0] | |
4447 | ta T_CHANGE_HPRIV | |
4448 | set 0x80000, %r12 | |
4449 | .word 0x8b98000c ! 300: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
4450 | splash_hpstate_6_161: | |
4451 | .word 0x81982305 ! 301: WRHPR_HPSTATE_I wrhpr %r0, 0x0305, %hpstate | |
4452 | .word 0x8d902482 ! 302: WRPR_PSTATE_I wrpr %r0, 0x0482, %pstate | |
4453 | splash_tba_6_162: | |
4454 | set 0x003e0000, %r12 | |
4455 | st %r1, [%r12+%r0] | |
4456 | ta T_CHANGE_PRIV | |
4457 | set 0x003e0000, %r12 | |
4458 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4459 | setx 0x5bc8720ae77b0e85, %r1, %r28 | |
4460 | stxa %r28, [%g0] 0x73 | |
4461 | intvec_6_163: | |
4462 | .word 0x39400001 ! 304: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4463 | cwp_6_164: | |
4464 | set user_data_start, %o7 | |
4465 | .word 0x93902001 ! 305: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
4466 | nop | |
4467 | mov 0x80, %g3 | |
4468 | stxa %g3, [%g3] 0x57 | |
4469 | .word 0xe05fc000 ! 306: LDX_R ldx [%r31 + %r0], %r16 | |
4470 | splash_cmpr_6_165: | |
4471 | setx 0x911deb72c1234f8b, %g2, %g1 | |
4472 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
4473 | sub %g1, 100, %g1 | |
4474 | .word 0xb1800001 ! 307: WR_STICK_REG_R wr %r0, %r1, %- | |
4475 | splash_tba_6_166: | |
4476 | set 0x120000, %r12 | |
4477 | st %r1, [%r12+%r0] | |
4478 | ta T_CHANGE_PRIV | |
4479 | set 0x120000, %r12 | |
4480 | .word 0x8b90000c ! 308: WRPR_TBA_R wrpr %r0, %r12, %tba | |
4481 | splash_hpstate_6_167: | |
4482 | .word 0x819823d5 ! 309: WRHPR_HPSTATE_I wrhpr %r0, 0x03d5, %hpstate | |
4483 | .word 0xe03fc000 ! 310: STD_R std %r16, [%r31 + %r0] | |
4484 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4485 | ta T_CHANGE_NONPRIV ! macro | |
4486 | .word 0x95a01971 ! 311: FqTOd dis not found | |
4487 | ||
4488 | mondo_6_169: | |
4489 | nop | |
4490 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4491 | ||
4492 | stxa %r0, [%r0+0x3c0] %asi | |
4493 | .word 0x9d914001 ! 312: WRPR_WSTATE_R wrpr %r5, %r1, %wstate | |
4494 | splash_cmpr_6_170: | |
4495 | setx 0xdbb0f9ea651966ce, %g2, %g1 | |
4496 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4497 | sub %g1, 100, %g1 | |
4498 | .word 0xb1800001 ! 313: WR_STICK_REG_R wr %r0, %r1, %- | |
4499 | change_to_randtl_6_171: | |
4500 | ta T_CHANGE_HPRIV ! macro | |
4501 | done_change_to_randtl_6_171: | |
4502 | .word 0x8f902002 ! 314: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4503 | DS_6_172: | |
4504 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
4505 | .word 0xbfefc000 ! 315: RESTORE_R restore %r31, %r0, %r31 | |
4506 | ta T_CHANGE_HPRIV | |
4507 | mov (6+1), %r10 | |
4508 | set sync_thr_counter1, %r23 | |
4509 | cas [%r23],%g0,%r10 !lock | |
4510 | brnz %r10, cwq_6_173 | |
4511 | rd %asi, %r12 | |
4512 | wr %g0, 0x40, %asi | |
4513 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4514 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4515 | cmp %l1, 1 | |
4516 | bne cwq_6_173 | |
4517 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4518 | sub %l2, 0x40, %l2 | |
4519 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4520 | wr %r12, %g0, %asi | |
4521 | st %g0, [%r23] | |
4522 | cwq_6_173: | |
4523 | ta T_CHANGE_NONHPRIV | |
4524 | .word 0x93414000 ! 316: RDPC rd %pc, %r9 | |
4525 | splash_hpstate_6_174: | |
4526 | .word 0x81982aee ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x0aee, %hpstate | |
4527 | .word 0xdad004a0 ! 318: LDSHA_R ldsha [%r0, %r0] 0x25, %r13 | |
4528 | setx 0xfa879f12c2f3ffcc, %r1, %r28 | |
4529 | stxa %r28, [%g0] 0x73 | |
4530 | intvec_6_175: | |
4531 | .word 0x39400001 ! 319: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4532 | cwp_6_176: | |
4533 | set user_data_start, %o7 | |
4534 | .word 0x93902001 ! 320: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
4535 | splash_hpstate_6_177: | |
4536 | .word 0x819823ee ! 321: WRHPR_HPSTATE_I wrhpr %r0, 0x03ee, %hpstate | |
4537 | mondo_6_178: | |
4538 | nop | |
4539 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4540 | ||
4541 | stxa %r16, [%r0+0x3c8] %asi | |
4542 | .word 0x9d94800b ! 322: WRPR_WSTATE_R wrpr %r18, %r11, %wstate | |
4543 | nop | |
4544 | mov 0x80, %g3 | |
4545 | stxa %g3, [%g3] 0x57 | |
4546 | .word 0xda5fc000 ! 323: LDX_R ldx [%r31 + %r0], %r13 | |
4547 | .word 0x93a209c4 ! 324: FDIVd fdivd %f8, %f4, %f40 | |
4548 | .word 0x879021c0 ! 325: WRPR_TT_I wrpr %r0, 0x01c0, %tt | |
4549 | debug_6_179: | |
4550 | nop | |
4551 | mov 0x38, %r18 | |
4552 | .word 0xfef00b12 ! 326: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4553 | .word 0x91a0056d ! 327: FSQRTq fsqrt | |
4554 | intveclr_6_180: | |
4555 | setx 0x32b4b3c6c7396bc3, %r1, %r28 | |
4556 | stxa %r28, [%g0] 0x72 | |
4557 | .word 0x25400001 ! 328: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4558 | mondo_6_181: | |
4559 | nop | |
4560 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4561 | ||
4562 | stxa %r10, [%r0+0x3c8] %asi | |
4563 | .word 0x9d940001 ! 329: WRPR_WSTATE_R wrpr %r16, %r1, %wstate | |
4564 | .word 0xd2c80e40 ! 330: LDSBA_R ldsba [%r0, %r0] 0x72, %r9 | |
4565 | cwp_6_182: | |
4566 | set user_data_start, %o7 | |
4567 | .word 0x93902006 ! 331: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
4568 | debug_6_183: | |
4569 | nop | |
4570 | mov 8, %r18 | |
4571 | .word 0xd2f00492 ! 332: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
4572 | invalw | |
4573 | mov 0x35, %r30 | |
4574 | .word 0x91d0001e ! 333: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4575 | cwp_6_184: | |
4576 | set user_data_start, %o7 | |
4577 | .word 0x93902002 ! 334: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
4578 | .word 0x879023f3 ! 335: WRPR_TT_I wrpr %r0, 0x03f3, %tt | |
4579 | splash_cmpr_6_185: | |
4580 | setx 0xa063f43fd3f456ac, %g2, %g1 | |
4581 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
4582 | sub %g1, 100, %g1 | |
4583 | .word 0xb1800001 ! 336: WR_STICK_REG_R wr %r0, %r1, %- | |
4584 | .word 0x87802088 ! 337: WRASI_I wr %r0, 0x0088, %asi | |
4585 | tagged_6_186: | |
4586 | tsubcctv %r8, 0x18a2, %r19 | |
4587 | .word 0xd207e551 ! 338: LDUW_I lduw [%r31 + 0x0551], %r9 | |
4588 | .word 0x34700001 ! 339: BPG <illegal instruction> | |
4589 | cwp_6_187: | |
4590 | set user_data_start, %o7 | |
4591 | .word 0x93902001 ! 340: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
4592 | .word 0xd277e551 ! 341: STX_I stx %r9, [%r31 + 0x0551] | |
4593 | change_to_randtl_6_188: | |
4594 | ta T_CHANGE_PRIV ! macro | |
4595 | done_change_to_randtl_6_188: | |
4596 | .word 0x8f902001 ! 342: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4597 | .word 0xd297e020 ! 343: LDUHA_I lduha [%r31, + 0x0020] %asi, %r9 | |
4598 | intveclr_6_189: | |
4599 | setx 0x8525b6f573b4f49f, %r1, %r28 | |
4600 | stxa %r28, [%g0] 0x72 | |
4601 | .word 0x25400001 ! 344: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4602 | DS_6_190: | |
4603 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
4604 | .word 0xbfe7c000 ! 345: SAVE_R save %r31, %r0, %r31 | |
4605 | splash_htba_6_191: | |
4606 | set 0x80000, %r12 | |
4607 | ld [%r12+%r0], %r1 | |
4608 | ta T_CHANGE_HPRIV | |
4609 | set 0x80000, %r12 | |
4610 | .word 0x8b98000c ! 346: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
4611 | debug_6_192: | |
4612 | nop | |
4613 | mov 8, %r18 | |
4614 | .word 0xe4f00492 ! 347: STXA_R stxa %r18, [%r0 + %r18] 0x24 | |
4615 | nop | |
4616 | mov 0x80, %g3 | |
4617 | stxa %g3, [%g3] 0x57 | |
4618 | .word 0xd25fc000 ! 348: LDX_R ldx [%r31 + %r0], %r9 | |
4619 | tagged_6_193: | |
4620 | taddcctv %r24, 0x1793, %r1 | |
4621 | .word 0xd207e551 ! 349: LDUW_I lduw [%r31 + 0x0551], %r9 | |
4622 | tagged_6_194: | |
4623 | tsubcctv %r5, 0x13b3, %r8 | |
4624 | .word 0xd207e551 ! 350: LDUW_I lduw [%r31 + 0x0551], %r9 | |
4625 | tagged_6_195: | |
4626 | taddcctv %r25, 0x16f0, %r25 | |
4627 | .word 0xd207e551 ! 351: LDUW_I lduw [%r31 + 0x0551], %r9 | |
4628 | .word 0xa5a00165 ! 352: FABSq dis not found | |
4629 | ||
4630 | .word 0x919479b3 ! 353: WRPR_PIL_I wrpr %r17, 0x19b3, %pil | |
4631 | .word 0x9f80204d ! 354: SIR sir 0x004d | |
4632 | intveclr_6_196: | |
4633 | setx 0x3cbaf7363b2e2442, %r1, %r28 | |
4634 | stxa %r28, [%g0] 0x72 | |
4635 | .word 0x25400001 ! 355: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4636 | .word 0xa7a00567 ! 356: FSQRTq fsqrt | |
4637 | .word 0xe08008a0 ! 357: LDUWA_R lduwa [%r0, %r0] 0x45, %r16 | |
4638 | otherw | |
4639 | mov 0xb5, %r30 | |
4640 | .word 0x91d0001e ! 358: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
4641 | .word 0xe027f503 ! 359: STW_I stw %r16, [%r31 + 0xfffff503] | |
4642 | .word 0x8790220f ! 360: WRPR_TT_I wrpr %r0, 0x020f, %tt | |
4643 | .word 0x87902320 ! 361: WRPR_TT_I wrpr %r0, 0x0320, %tt | |
4644 | debug_6_197: | |
4645 | nop | |
4646 | mov 0x38, %r18 | |
4647 | .word 0xfef00b12 ! 362: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4648 | .word 0xe08008a0 ! 363: LDUWA_R lduwa [%r0, %r0] 0x45, %r16 | |
4649 | .word 0x9192ad3d ! 364: WRPR_PIL_I wrpr %r10, 0x0d3d, %pil | |
4650 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_6_198) + 40, 16, 16)) -> intp(0,0,29) | |
4651 | intvec_6_198: | |
4652 | .word 0x39400001 ! 365: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4653 | DS_6_199: | |
4654 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
4655 | .word 0xbfefc000 ! 366: RESTORE_R restore %r31, %r0, %r31 | |
4656 | rd %pc, %r19 | |
4657 | add %r19, (ivw_6_200-.+48), %r19 | |
4658 | mov 0x38, %r18 | |
4659 | stxa %r19, [%r18]0x58 | |
4660 | ivw_6_200: | |
4661 | .word 0x91944008 ! 367: WRPR_PIL_R wrpr %r17, %r8, %pil | |
4662 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4663 | ta T_CHANGE_NONHPRIV ! macro | |
4664 | .word 0x97a01970 ! 368: FqTOd dis not found | |
4665 | ||
4666 | splash_cmpr_6_202: | |
4667 | setx 0xa8a0083a9d04e07e, %g2, %g1 | |
4668 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4669 | sub %g1, 100, %g1 | |
4670 | .word 0xb1800001 ! 369: WR_STICK_REG_R wr %r0, %r1, %- | |
4671 | mov (6+1), %r10 | |
4672 | ta T_CHANGE_HPRIV | |
4673 | set sync_thr_counter2, %r23 | |
4674 | cas [%r23],%g0,%r10 !lock | |
4675 | brnz %r10, sma_6_203 | |
4676 | rd %asi, %r12 | |
4677 | wr %g0, 0x40, %asi | |
4678 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4679 | set 0x21fff, %g1 | |
4680 | stxa %g1, [%g0 + 0x80] %asi | |
4681 | wr %r12, %g0, %asi | |
4682 | st %g0, [%r23] | |
4683 | sma_6_203: | |
4684 | ta T_CHANGE_NONHPRIV | |
4685 | .word 0xd1e7e010 ! 370: CASA_R casa [%r31] %asi, %r16, %r8 | |
4686 | donret_6_204: | |
4687 | nop | |
4688 | rd %pc, %r12 | |
4689 | add %r12, (donretarg_6_204-donret_6_204), %r12 | |
4690 | mov 0x38, %r18 | |
4691 | stxa %r12, [%r18]0x58 | |
4692 | add %r12, 0x4, %r11 | |
4693 | wrpr %g0, 0x2, %tl | |
4694 | wrpr %g0, %r12, %tpc | |
4695 | wrpr %g0, %r11, %tnpc | |
4696 | wrpr %g0, %r13, %tstate | |
4697 | wrhpr %g0, %r14, %htstate | |
4698 | retry | |
4699 | donretarg_6_204: | |
4700 | .word 0xd0fff5d1 ! 371: SWAPA_I swapa %r8, [%r31 + 0xfffff5d1] %asi | |
4701 | .word 0x8d9023aa ! 372: WRPR_PSTATE_I wrpr %r0, 0x03aa, %pstate | |
4702 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4703 | ta T_CHANGE_NONHPRIV ! macro | |
4704 | .word 0x9569be0e ! 373: SDIVX_I sdivx %r6, 0xfffffe0e, %r10 | |
4705 | .word 0xd6d7e030 ! 374: LDSHA_I ldsha [%r31, + 0x0030] %asi, %r11 | |
4706 | .word 0x879023fd ! 375: WRPR_TT_I wrpr %r0, 0x03fd, %tt | |
4707 | .word 0xd6900e40 ! 376: LDUHA_R lduha [%r0, %r0] 0x72, %r11 | |
4708 | .word 0xd68008a0 ! 377: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
4709 | memptr_6_206: | |
4710 | set 0x60140000, %r31 | |
4711 | .word 0x8584a5dd ! 378: WRCCR_I wr %r18, 0x05dd, %ccr | |
4712 | .word 0xd727c000 ! 379: STF_R st %f11, [%r0, %r31] | |
4713 | DS_6_207: | |
4714 | .word 0x93a489c5 ! 1: FDIVd fdivd %f18, %f36, %f40 | |
4715 | allclean | |
4716 | .word 0x93b24310 ! 380: ALIGNADDRESS alignaddr %r9, %r16, %r9 | |
4717 | splash_hpstate_6_208: | |
4718 | .word 0x81982c47 ! 381: WRHPR_HPSTATE_I wrhpr %r0, 0x0c47, %hpstate | |
4719 | intveclr_6_209: | |
4720 | setx 0x84bbeb4541fddf4b, %r1, %r28 | |
4721 | stxa %r28, [%g0] 0x72 | |
4722 | .word 0x25400001 ! 382: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4723 | memptr_6_210: | |
4724 | set user_data_start, %r31 | |
4725 | .word 0x8584fe8e ! 383: WRCCR_I wr %r19, 0x1e8e, %ccr | |
4726 | .word 0xab80000a ! 384: WR_CLEAR_SOFTINT_R wr %r0, %r10, %clear_softint | |
4727 | splash_cmpr_6_211: | |
4728 | setx 0x5a1fcbdfa3c06bbf, %g2, %g1 | |
4729 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
4730 | sub %g1, 100, %g1 | |
4731 | .word 0xb1800001 ! 385: WR_STICK_REG_R wr %r0, %r1, %- | |
4732 | .word 0xe0c80e80 ! 386: LDSBA_R ldsba [%r0, %r0] 0x74, %r16 | |
4733 | .word 0x9ba009ca ! 387: FDIVd fdivd %f0, %f10, %f44 | |
4734 | .word 0x91d020b3 ! 388: Tcc_I ta icc_or_xcc, %r0 + 179 | |
4735 | splash_htba_6_212: | |
4736 | set 0x80000, %r12 | |
4737 | st %r1, [%r12+%r0] | |
4738 | ta T_CHANGE_HPRIV | |
4739 | set 0x80000, %r12 | |
4740 | .word 0x8b98000c ! 389: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
4741 | change_to_randtl_6_213: | |
4742 | ta T_CHANGE_HPRIV ! macro | |
4743 | done_change_to_randtl_6_213: | |
4744 | .word 0x8f902001 ! 390: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4745 | .word 0x91d02034 ! 391: Tcc_I ta icc_or_xcc, %r0 + 52 | |
4746 | splash_lsu_6_214: | |
4747 | setx 0xcc5f39532e7f5865, %r1, %r2 | |
4748 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4749 | .word 0x3d400001 ! 392: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4750 | setx 0x15fa4cc2ca398563, %r1, %r28 | |
4751 | stxa %r28, [%g0] 0x73 | |
4752 | intvec_6_215: | |
4753 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4754 | intveclr_6_216: | |
4755 | setx 0x71a867b20867b200, %r1, %r28 | |
4756 | stxa %r28, [%g0] 0x72 | |
4757 | .word 0x25400001 ! 394: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4758 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
4759 | ta T_CHANGE_NONHPRIV ! macro | |
4760 | .word 0xa9a01963 ! 395: FqTOd dis not found | |
4761 | ||
4762 | .word 0xd097e010 ! 396: LDUHA_I lduha [%r31, + 0x0010] %asi, %r8 | |
4763 | .word 0xd09004a0 ! 397: LDUHA_R lduha [%r0, %r0] 0x25, %r8 | |
4764 | debug_6_218: | |
4765 | nop | |
4766 | mov 0x38, %r18 | |
4767 | .word 0xfef00b12 ! 398: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4768 | splash_hpstate_6_219: | |
4769 | .word 0x81982b9d ! 399: WRHPR_HPSTATE_I wrhpr %r0, 0x0b9d, %hpstate | |
4770 | DS_6_220: | |
4771 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
4772 | pdist %f22, %f4, %f14 | |
4773 | .word 0x95b10300 ! 400: ALIGNADDRESS alignaddr %r4, %r0, %r10 | |
4774 | nop | |
4775 | nop | |
4776 | setx join_lbl_0_0, %g1, %g2 | |
4777 | jmp %g2 | |
4778 | nop | |
4779 | fork_lbl_0_6: | |
4780 | .word 0x91b34ff2 ! 1: FONES e %f8 | |
4781 | splash_lsu_5_0: | |
4782 | setx 0xa52671aa486d4fa5, %r1, %r2 | |
4783 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
4784 | .word 0x3d400001 ! 2: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
4785 | .word 0x91d02033 ! 3: Tcc_I ta icc_or_xcc, %r0 + 51 | |
4786 | .word 0x87802020 ! 4: WRASI_I wr %r0, 0x0020, %asi | |
4787 | debug_5_1: | |
4788 | nop | |
4789 | rd %pc, %r19 | |
4790 | add %r19, (64+56), %r19 | |
4791 | mov 0x38, %r18 | |
4792 | .word 0xe6f00b12 ! 5: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
4793 | debug_5_2: | |
4794 | nop | |
4795 | mov 0x38, %r18 | |
4796 | .word 0xfef00b12 ! 6: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
4797 | tagged_5_3: | |
4798 | taddcctv %r17, 0x1f6c, %r18 | |
4799 | .word 0xe807f373 ! 7: LDUW_I lduw [%r31 + 0xfffff373], %r20 | |
4800 | splash_cmpr_5_4: | |
4801 | setx 0x5414b9791b46c141, %g2, %g1 | |
4802 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
4803 | sub %g1, 100, %g1 | |
4804 | .word 0xb1800001 ! 8: WR_STICK_REG_R wr %r0, %r1, %- | |
4805 | .word 0x83d02035 ! 9: Tcc_I te icc_or_xcc, %r0 + 53 | |
4806 | .word 0xe88008a0 ! 10: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
4807 | .word 0xe88008a0 ! 11: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
4808 | DS_5_5: | |
4809 | .word 0x91a289c7 ! 1: FDIVd fdivd %f10, %f38, %f8 | |
4810 | .word 0xbfe7c000 ! 12: SAVE_R save %r31, %r0, %r31 | |
4811 | .word 0xd85ff373 ! 13: LDX_I ldx [%r31 + 0xfffff373], %r12 | |
4812 | .word 0x8d802000 ! 14: WRFPRS_I wr %r0, 0x0000, %fprs | |
4813 | .word 0x93d020b2 ! 15: Tcc_I tne icc_or_xcc, %r0 + 178 | |
4814 | .word 0x93a0016d ! 16: FABSq dis not found | |
4815 | ||
4816 | nop | |
4817 | mov 0x80, %g3 | |
4818 | stxa %g3, [%g3] 0x5f | |
4819 | .word 0xd45fc000 ! 17: LDX_R ldx [%r31 + %r0], %r10 | |
4820 | splash_hpstate_5_6: | |
4821 | .word 0x81982c3e ! 18: WRHPR_HPSTATE_I wrhpr %r0, 0x0c3e, %hpstate | |
4822 | .word 0xd4c80e60 ! 19: LDSBA_R ldsba [%r0, %r0] 0x73, %r10 | |
4823 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4824 | ta T_CHANGE_NONHPRIV ! macro | |
4825 | .word 0x95a01962 ! 20: FqTOd dis not found | |
4826 | ||
4827 | nop | |
4828 | mov 0x80, %g3 | |
4829 | stxa %g3, [%g3] 0x57 | |
4830 | .word 0xd25fc000 ! 21: LDX_R ldx [%r31 + %r0], %r9 | |
4831 | .word 0xd2c7e020 ! 22: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r9 | |
4832 | change_to_randtl_5_8: | |
4833 | ta T_CHANGE_PRIV ! macro | |
4834 | done_change_to_randtl_5_8: | |
4835 | .word 0x8f902001 ! 23: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4836 | memptr_5_9: | |
4837 | set user_data_start, %r31 | |
4838 | .word 0x85803d6e ! 24: WRCCR_I wr %r0, 0x1d6e, %ccr | |
4839 | mondo_5_10: | |
4840 | nop | |
4841 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4842 | ||
4843 | stxa %r6, [%r0+0x3d8] %asi | |
4844 | .word 0x9d934004 ! 25: WRPR_WSTATE_R wrpr %r13, %r4, %wstate | |
4845 | .word 0x87902110 ! 26: WRPR_TT_I wrpr %r0, 0x0110, %tt | |
4846 | .word 0xd21ff185 ! 27: LDD_I ldd [%r31 + 0xfffff185], %r9 | |
4847 | .word 0x97a01a68 ! 28: FqTOi fqtoi | |
4848 | change_to_randtl_5_11: | |
4849 | ta T_CHANGE_HPRIV ! macro | |
4850 | done_change_to_randtl_5_11: | |
4851 | .word 0x8f902003 ! 29: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
4852 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
4853 | ta T_CHANGE_NONPRIV ! macro | |
4854 | .word 0x936ca86d ! 30: SDIVX_I sdivx %r18, 0x086d, %r9 | |
4855 | .word 0xd68804a0 ! 31: LDUBA_R lduba [%r0, %r0] 0x25, %r11 | |
4856 | mov (5+1), %r10 | |
4857 | ta T_CHANGE_HPRIV | |
4858 | set sync_thr_counter2, %r23 | |
4859 | cas [%r23],%g0,%r10 !lock | |
4860 | brnz %r10, sma_5_13 | |
4861 | rd %asi, %r12 | |
4862 | wr %g0, 0x40, %asi | |
4863 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4864 | set 0x21fff, %g1 | |
4865 | stxa %g1, [%g0 + 0x80] %asi | |
4866 | wr %r12, %g0, %asi | |
4867 | st %g0, [%r23] | |
4868 | sma_5_13: | |
4869 | ta T_CHANGE_NONHPRIV | |
4870 | .word 0xd7e7e013 ! 32: CASA_R casa [%r31] %asi, %r19, %r11 | |
4871 | .word 0xd66fe760 ! 33: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
4872 | .word 0xd63fe760 ! 34: STD_I std %r11, [%r31 + 0x0760] | |
4873 | .word 0xd66fe760 ! 35: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
4874 | .word 0x87802055 ! 36: WRASI_I wr %r0, 0x0055, %asi | |
4875 | tagged_5_14: | |
4876 | tsubcctv %r9, 0x11fb, %r6 | |
4877 | .word 0xd607e760 ! 37: LDUW_I lduw [%r31 + 0x0760], %r11 | |
4878 | memptr_5_15: | |
4879 | set user_data_start, %r31 | |
4880 | .word 0x8585373a ! 38: WRCCR_I wr %r20, 0x173a, %ccr | |
4881 | tagged_5_16: | |
4882 | tsubcctv %r24, 0x1299, %r7 | |
4883 | .word 0xd607e356 ! 39: LDUW_I lduw [%r31 + 0x0356], %r11 | |
4884 | .word 0x879021e4 ! 40: WRPR_TT_I wrpr %r0, 0x01e4, %tt | |
4885 | mondo_5_17: | |
4886 | nop | |
4887 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4888 | ||
4889 | stxa %r20, [%r0+0x3c0] %asi | |
4890 | .word 0x9d930014 ! 41: WRPR_WSTATE_R wrpr %r12, %r20, %wstate | |
4891 | donret_5_18: | |
4892 | nop | |
4893 | rd %pc, %r12 | |
4894 | add %r12, (donretarg_5_18-donret_5_18), %r12 | |
4895 | mov 0x38, %r18 | |
4896 | stxa %r12, [%r18]0x58 | |
4897 | add %r12, 0x4, %r11 | |
4898 | wrpr %g0, 0x3, %tl | |
4899 | wrpr %g0, %r12, %tpc | |
4900 | wrpr %g0, %r11, %tnpc | |
4901 | wrpr %g0, %r13, %tstate | |
4902 | wrhpr %g0, %r14, %htstate | |
4903 | retry | |
4904 | donretarg_5_18: | |
4905 | .word 0xd6ffe356 ! 42: SWAPA_I swapa %r11, [%r31 + 0x0356] %asi | |
4906 | .word 0xd6cfe020 ! 43: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r11 | |
4907 | tagged_5_19: | |
4908 | taddcctv %r23, 0x1a2d, %r11 | |
4909 | .word 0xd607e356 ! 44: LDUW_I lduw [%r31 + 0x0356], %r11 | |
4910 | ta T_CHANGE_HPRIV | |
4911 | mov (5+1), %r10 | |
4912 | set sync_thr_counter1, %r23 | |
4913 | cas [%r23],%g0,%r10 !lock | |
4914 | brnz %r10, cwq_5_20 | |
4915 | rd %asi, %r12 | |
4916 | wr %g0, 0x40, %asi | |
4917 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4918 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4919 | cmp %l1, 1 | |
4920 | bne cwq_5_20 | |
4921 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4922 | sub %l2, 0x40, %l2 | |
4923 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4924 | wr %r12, %g0, %asi | |
4925 | st %g0, [%r23] | |
4926 | cwq_5_20: | |
4927 | ta T_CHANGE_NONHPRIV | |
4928 | .word 0xa5414000 ! 45: RDPC rd %pc, %r18 | |
4929 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_5_21)+32, 16, 16)) -> intp(5,1,3) | |
4930 | xir_5_21: | |
4931 | .word 0xa984e080 ! 46: WR_SET_SOFTINT_I wr %r19, 0x0080, %set_softint | |
4932 | mondo_5_22: | |
4933 | nop | |
4934 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
4935 | ||
4936 | stxa %r18, [%r0+0x3e0] %asi | |
4937 | .word 0x9d948009 ! 47: WRPR_WSTATE_R wrpr %r18, %r9, %wstate | |
4938 | donret_5_23: | |
4939 | nop | |
4940 | rd %pc, %r12 | |
4941 | add %r12, (donretarg_5_23-donret_5_23-4), %r12 | |
4942 | mov 0x38, %r18 | |
4943 | stxa %r12, [%r18]0x58 | |
4944 | add %r12, 0x4, %r11 | |
4945 | wrpr %g0, 0x1, %tl | |
4946 | wrpr %g0, %r12, %tpc | |
4947 | wrpr %g0, %r11, %tnpc | |
4948 | wrpr %g0, %r13, %tstate | |
4949 | wrhpr %g0, %r14, %htstate | |
4950 | done | |
4951 | donretarg_5_23: | |
4952 | .word 0xd6ffe271 ! 48: SWAPA_I swapa %r11, [%r31 + 0x0271] %asi | |
4953 | mov (5+1), %r10 | |
4954 | ta T_CHANGE_HPRIV | |
4955 | set sync_thr_counter2, %r23 | |
4956 | cas [%r23],%g0,%r10 !lock | |
4957 | brnz %r10, sma_5_24 | |
4958 | rd %asi, %r12 | |
4959 | wr %g0, 0x40, %asi | |
4960 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
4961 | set 0x21fff, %g1 | |
4962 | stxa %g1, [%g0 + 0x80] %asi | |
4963 | wr %r12, %g0, %asi | |
4964 | st %g0, [%r23] | |
4965 | sma_5_24: | |
4966 | ta T_CHANGE_NONHPRIV | |
4967 | .word 0xd7e7e006 ! 49: CASA_R casa [%r31] %asi, %r6, %r11 | |
4968 | .word 0xd647e271 ! 50: LDSW_I ldsw [%r31 + 0x0271], %r11 | |
4969 | .word 0xa5480000 ! 51: RDHPR_HPSTATE rdhpr %hpstate, %r18 | |
4970 | ta T_CHANGE_HPRIV | |
4971 | mov (5+1), %r10 | |
4972 | set sync_thr_counter1, %r23 | |
4973 | cas [%r23],%g0,%r10 !lock | |
4974 | brnz %r10, cwq_5_25 | |
4975 | rd %asi, %r12 | |
4976 | wr %g0, 0x40, %asi | |
4977 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
4978 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
4979 | cmp %l1, 1 | |
4980 | bne cwq_5_25 | |
4981 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
4982 | sub %l2, 0x40, %l2 | |
4983 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
4984 | wr %r12, %g0, %asi | |
4985 | st %g0, [%r23] | |
4986 | cwq_5_25: | |
4987 | ta T_CHANGE_NONHPRIV | |
4988 | .word 0x95414000 ! 52: RDPC rd %pc, %r10 | |
4989 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_26) + 56, 16, 16)) -> intp(2,0,17) | |
4990 | intvec_5_26: | |
4991 | .word 0x39400001 ! 53: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
4992 | .word 0xe657e271 ! 54: LDSH_I ldsh [%r31 + 0x0271], %r19 | |
4993 | intveclr_5_27: | |
4994 | setx 0x99d40fb25c6e2ec1, %r1, %r28 | |
4995 | stxa %r28, [%g0] 0x72 | |
4996 | .word 0x25400001 ! 55: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
4997 | .word 0xe68008a0 ! 56: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
4998 | .word 0xe737c000 ! 57: STQF_R - %f19, [%r0, %r31] | |
4999 | pmu_5_28: | |
5000 | nop | |
5001 | setx 0xfffffcb6fffffdd1, %g1, %g7 | |
5002 | .word 0xa3800007 ! 58: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
5003 | .word 0xe68804a0 ! 59: LDUBA_R lduba [%r0, %r0] 0x25, %r19 | |
5004 | intveclr_5_29: | |
5005 | setx 0xaad0acc0e21edcf4, %r1, %r28 | |
5006 | stxa %r28, [%g0] 0x72 | |
5007 | .word 0x25400001 ! 60: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5008 | memptr_5_30: | |
5009 | set user_data_start, %r31 | |
5010 | .word 0x8584aae1 ! 61: WRCCR_I wr %r18, 0x0ae1, %ccr | |
5011 | debug_5_31: | |
5012 | nop | |
5013 | rd %pc, %r19 | |
5014 | add %r19, (64+48), %r19 | |
5015 | mov 0x38, %r18 | |
5016 | .word 0xe6f00b12 ! 62: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5017 | .word 0x8780201c ! 63: WRASI_I wr %r0, 0x001c, %asi | |
5018 | invalw | |
5019 | mov 0x31, %r30 | |
5020 | .word 0x91d0001e ! 64: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5021 | .word 0xe69ff3b4 ! 65: LDDA_I ldda [%r31, + 0xfffff3b4] %asi, %r19 | |
5022 | .word 0xe69004a0 ! 66: LDUHA_R lduha [%r0, %r0] 0x25, %r19 | |
5023 | .word 0x91d02033 ! 67: Tcc_I ta icc_or_xcc, %r0 + 51 | |
5024 | .word 0xe68008a0 ! 68: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
5025 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5026 | ta T_CHANGE_NONPRIV ! macro | |
5027 | .word 0xa5a01965 ! 69: FqTOd dis not found | |
5028 | ||
5029 | .word 0xd2800b00 ! 70: LDUWA_R lduwa [%r0, %r0] 0x58, %r9 | |
5030 | splash_cmpr_5_33: | |
5031 | setx 0x4d1c49b78f251f29, %g2, %g1 | |
5032 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
5033 | sub %g1, 100, %g1 | |
5034 | .word 0xb1800001 ! 71: WR_STICK_REG_R wr %r0, %r1, %- | |
5035 | intveclr_5_34: | |
5036 | setx 0xf6e74975bb5e100d, %r1, %r28 | |
5037 | stxa %r28, [%g0] 0x72 | |
5038 | .word 0x25400001 ! 72: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5039 | splash_cmpr_5_35: | |
5040 | setx 0xd1af6922c8b212d8, %g2, %g1 | |
5041 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5042 | sub %g1, 100, %g1 | |
5043 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
5044 | intveclr_5_36: | |
5045 | setx 0xcf0f4255fec7687f, %r1, %r28 | |
5046 | stxa %r28, [%g0] 0x72 | |
5047 | .word 0x25400001 ! 74: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5048 | otherw | |
5049 | mov 0x35, %r30 | |
5050 | .word 0x83d0001e ! 75: Tcc_R te icc_or_xcc, %r0 + %r30 | |
5051 | .word 0xa9834007 ! 76: WR_SET_SOFTINT_R wr %r13, %r7, %set_softint | |
5052 | intveclr_5_37: | |
5053 | setx 0x3d833d3bd3e40225, %r1, %r28 | |
5054 | stxa %r28, [%g0] 0x72 | |
5055 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5056 | intveclr_5_38: | |
5057 | setx 0x3325102c7d9b03e1, %r1, %r28 | |
5058 | stxa %r28, [%g0] 0x72 | |
5059 | .word 0x25400001 ! 78: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5060 | .word 0x91d02034 ! 79: Tcc_I ta icc_or_xcc, %r0 + 52 | |
5061 | DS_5_39: | |
5062 | .word 0x93a089c2 ! 1: FDIVd fdivd %f2, %f2, %f40 | |
5063 | .word 0x97a409cc ! 1: FDIVd fdivd %f16, %f12, %f42 | |
5064 | .word 0xa1a00548 ! 1: FSQRTd fsqrt | |
5065 | .word 0x95a2882b ! 80: FADDs fadds %f10, %f11, %f10 | |
5066 | .word 0xd41fc000 ! 81: LDD_R ldd [%r31 + %r0], %r10 | |
5067 | .word 0x8780208a ! 82: WRASI_I wr %r0, 0x008a, %asi | |
5068 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_40) + 48, 16, 16)) -> intp(7,0,7) | |
5069 | intvec_5_40: | |
5070 | .word 0x39400001 ! 83: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5071 | .word 0xd48804a0 ! 84: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
5072 | .word 0x87902275 ! 85: WRPR_TT_I wrpr %r0, 0x0275, %tt | |
5073 | setx 0xcfe9263ddecffd47, %r1, %r28 | |
5074 | stxa %r28, [%g0] 0x73 | |
5075 | intvec_5_41: | |
5076 | .word 0x39400001 ! 86: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5077 | .word 0x91a0016d ! 87: FABSq dis not found | |
5078 | ||
5079 | rd %pc, %r19 | |
5080 | add %r19, (ivw_5_42-.+16), %r19 | |
5081 | mov 0x38, %r18 | |
5082 | stxa %r19, [%r18]0x58 | |
5083 | ivw_5_42: | |
5084 | .word 0x9192400d ! 88: WRPR_PIL_R wrpr %r9, %r13, %pil | |
5085 | .word 0x87802083 ! 89: WRASI_I wr %r0, 0x0083, %asi | |
5086 | .word 0xa1902006 ! 90: WRPR_GL_I wrpr %r0, 0x0006, %- | |
5087 | splash_cmpr_5_43: | |
5088 | setx 0x8c3e47dfd60c9c47, %g2, %g1 | |
5089 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5090 | sub %g1, 100, %g1 | |
5091 | .word 0xb1800001 ! 91: WR_STICK_REG_R wr %r0, %r1, %- | |
5092 | .word 0xe3e7c028 ! 92: CASA_I casa [%r31] 0x 1, %r8, %r17 | |
5093 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5094 | ta T_CHANGE_NONPRIV ! macro | |
5095 | .word 0xa769a93e ! 93: SDIVX_I sdivx %r6, 0x093e, %r19 | |
5096 | debug_5_45: | |
5097 | nop | |
5098 | mov 8, %r18 | |
5099 | .word 0xe2f00492 ! 94: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
5100 | .word 0x8d902135 ! 95: WRPR_PSTATE_I wrpr %r0, 0x0135, %pstate | |
5101 | .word 0x9950c000 ! 96: RDPR_TT <illegal instruction> | |
5102 | mov (5+1), %r10 | |
5103 | ta T_CHANGE_HPRIV | |
5104 | set sync_thr_counter2, %r23 | |
5105 | cas [%r23],%g0,%r10 !lock | |
5106 | brnz %r10, sma_5_46 | |
5107 | rd %asi, %r12 | |
5108 | wr %g0, 0x40, %asi | |
5109 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5110 | set 0x21fff, %g1 | |
5111 | stxa %g1, [%g0 + 0x80] %asi | |
5112 | wr %r12, %g0, %asi | |
5113 | st %g0, [%r23] | |
5114 | sma_5_46: | |
5115 | ta T_CHANGE_NONHPRIV | |
5116 | .word 0xd3e7e008 ! 97: CASA_R casa [%r31] %asi, %r8, %r9 | |
5117 | .word 0xa1450000 ! 98: RD_SET_SOFTINT rd %set_softint, %r16 | |
5118 | .word 0x8d802000 ! 99: WRFPRS_I wr %r0, 0x0000, %fprs | |
5119 | .word 0xe48008a0 ! 100: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
5120 | .word 0x32800001 ! 101: BNE bne,a <label_0x1> | |
5121 | debug_5_47: | |
5122 | nop | |
5123 | mov 0x38, %r18 | |
5124 | .word 0xfef00b12 ! 102: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5125 | memptr_5_48: | |
5126 | set user_data_start, %r31 | |
5127 | .word 0x85852865 ! 103: WRCCR_I wr %r20, 0x0865, %ccr | |
5128 | .word 0xe537c000 ! 104: STQF_R - %f18, [%r0, %r31] | |
5129 | mov (5+1), %r10 | |
5130 | ta T_CHANGE_HPRIV | |
5131 | set sync_thr_counter2, %r23 | |
5132 | cas [%r23],%g0,%r10 !lock | |
5133 | brnz %r10, sma_5_49 | |
5134 | rd %asi, %r12 | |
5135 | wr %g0, 0x40, %asi | |
5136 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5137 | set 0x21fff, %g1 | |
5138 | stxa %g1, [%g0 + 0x80] %asi | |
5139 | wr %r12, %g0, %asi | |
5140 | st %g0, [%r23] | |
5141 | sma_5_49: | |
5142 | ta T_CHANGE_NONHPRIV | |
5143 | .word 0xe5e7e008 ! 105: CASA_R casa [%r31] %asi, %r8, %r18 | |
5144 | intveclr_5_50: | |
5145 | setx 0x9676d86586f26524, %r1, %r28 | |
5146 | stxa %r28, [%g0] 0x72 | |
5147 | .word 0x25400001 ! 106: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5148 | .word 0x87902317 ! 107: WRPR_TT_I wrpr %r0, 0x0317, %tt | |
5149 | .word 0x93a40dd1 ! 108: FdMULq fdmulq | |
5150 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5151 | ta T_CHANGE_NONHPRIV ! macro | |
5152 | .word 0x97a01964 ! 109: FqTOd dis not found | |
5153 | ||
5154 | cwp_5_52: | |
5155 | set user_data_start, %o7 | |
5156 | .word 0x93902000 ! 110: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
5157 | nop | |
5158 | mov 0x80, %g3 | |
5159 | stxa %g3, [%g3] 0x57 | |
5160 | .word 0xda5fc000 ! 111: LDX_R ldx [%r31 + %r0], %r13 | |
5161 | otherw | |
5162 | mov 0xb1, %r30 | |
5163 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5164 | intveclr_5_53: | |
5165 | setx 0xdb72b58443e56411, %r1, %r28 | |
5166 | stxa %r28, [%g0] 0x72 | |
5167 | .word 0x25400001 ! 113: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5168 | .word 0xdad804a0 ! 114: LDXA_R ldxa [%r0, %r0] 0x25, %r13 | |
5169 | splash_hpstate_5_54: | |
5170 | .word 0x81982684 ! 115: WRHPR_HPSTATE_I wrhpr %r0, 0x0684, %hpstate | |
5171 | .word 0x9569c013 ! 116: SDIVX_R sdivx %r7, %r19, %r10 | |
5172 | splash_htba_5_55: | |
5173 | set 0x80000, %r12 | |
5174 | ld [%r12+%r0], %r1 | |
5175 | ta T_CHANGE_HPRIV | |
5176 | set 0x80000, %r12 | |
5177 | .word 0x8b98000c ! 117: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
5178 | .word 0xd4c00e40 ! 118: LDSWA_R ldswa [%r0, %r0] 0x72, %r10 | |
5179 | splash_htba_5_56: | |
5180 | set 0x80000, %r12 | |
5181 | st %r1, [%r12+%r0] | |
5182 | ta T_CHANGE_HPRIV | |
5183 | set 0x80000, %r12 | |
5184 | .word 0x8b98000c ! 119: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
5185 | debug_5_57: | |
5186 | nop | |
5187 | mov 8, %r18 | |
5188 | .word 0xd4f00492 ! 120: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
5189 | .word 0x93d02034 ! 121: Tcc_I tne icc_or_xcc, %r0 + 52 | |
5190 | DS_5_58: | |
5191 | .word 0xa3a349c6 ! 1: FDIVd fdivd %f44, %f6, %f48 | |
5192 | .word 0xff67e851 ! Random illegal ? | |
5193 | .word 0xa1a00548 ! 1: FSQRTd fsqrt | |
5194 | .word 0x99a44832 ! 122: FADDs fadds %f17, %f18, %f12 | |
5195 | .word 0x24800001 ! 123: BLE ble,a <label_0x1> | |
5196 | .word 0x83d02034 ! 124: Tcc_I te icc_or_xcc, %r0 + 52 | |
5197 | .word 0xda0fee19 ! 125: LDUB_I ldub [%r31 + 0x0e19], %r13 | |
5198 | splash_lsu_5_59: | |
5199 | setx 0xa002de8c614abd3d, %r1, %r2 | |
5200 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5201 | .word 0x3d400001 ! 126: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5202 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5203 | ta T_CHANGE_NONPRIV ! macro | |
5204 | .word 0x996c7b33 ! 127: SDIVX_I sdivx %r17, 0xfffffb33, %r12 | |
5205 | tagged_5_61: | |
5206 | taddcctv %r26, 0x11e8, %r15 | |
5207 | .word 0xd607ec1e ! 128: LDUW_I lduw [%r31 + 0x0c1e], %r11 | |
5208 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_62) + 24, 16, 16)) -> intp(7,0,18) | |
5209 | intvec_5_62: | |
5210 | .word 0x39400001 ! 129: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5211 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
5212 | ta T_CHANGE_NONHPRIV ! macro | |
5213 | .word 0xa5a01964 ! 130: FqTOd dis not found | |
5214 | ||
5215 | mov (5+1), %r10 | |
5216 | ta T_CHANGE_HPRIV | |
5217 | set sync_thr_counter2, %r23 | |
5218 | cas [%r23],%g0,%r10 !lock | |
5219 | brnz %r10, sma_5_64 | |
5220 | rd %asi, %r12 | |
5221 | wr %g0, 0x40, %asi | |
5222 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5223 | set 0x21fff, %g1 | |
5224 | stxa %g1, [%g0 + 0x80] %asi | |
5225 | wr %r12, %g0, %asi | |
5226 | st %g0, [%r23] | |
5227 | sma_5_64: | |
5228 | ta T_CHANGE_NONHPRIV | |
5229 | .word 0xd1e7e012 ! 131: CASA_R casa [%r31] %asi, %r18, %r8 | |
5230 | .word 0xa1a0016a ! 132: FABSq dis not found | |
5231 | ||
5232 | intveclr_5_65: | |
5233 | setx 0xae5864a961c93c18, %r1, %r28 | |
5234 | stxa %r28, [%g0] 0x72 | |
5235 | .word 0x25400001 ! 133: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5236 | .word 0xa1520000 ! 134: RDPR_PIL <illegal instruction> | |
5237 | .word 0x9ba409c8 ! 135: FDIVd fdivd %f16, %f8, %f44 | |
5238 | cwp_5_66: | |
5239 | set user_data_start, %o7 | |
5240 | .word 0x93902007 ! 136: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
5241 | .word 0xa9850013 ! 137: WR_SET_SOFTINT_R wr %r20, %r19, %set_softint | |
5242 | .word 0xe0c00e60 ! 138: LDSWA_R ldswa [%r0, %r0] 0x73, %r16 | |
5243 | splash_hpstate_5_67: | |
5244 | .word 0x81982f44 ! 139: WRHPR_HPSTATE_I wrhpr %r0, 0x0f44, %hpstate | |
5245 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5246 | ta T_CHANGE_NONPRIV ! macro | |
5247 | .word 0x95a01970 ! 140: FqTOd dis not found | |
5248 | ||
5249 | mov (5+1), %r10 | |
5250 | ta T_CHANGE_HPRIV | |
5251 | set sync_thr_counter2, %r23 | |
5252 | cas [%r23],%g0,%r10 !lock | |
5253 | brnz %r10, sma_5_69 | |
5254 | rd %asi, %r12 | |
5255 | wr %g0, 0x40, %asi | |
5256 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5257 | set 0x21fff, %g1 | |
5258 | stxa %g1, [%g0 + 0x80] %asi | |
5259 | wr %r12, %g0, %asi | |
5260 | st %g0, [%r23] | |
5261 | sma_5_69: | |
5262 | ta T_CHANGE_NONHPRIV | |
5263 | .word 0xe7e7e003 ! 141: CASA_R casa [%r31] %asi, %r3, %r19 | |
5264 | ta T_CHANGE_HPRIV | |
5265 | mov (5+1), %r10 | |
5266 | set sync_thr_counter1, %r23 | |
5267 | cas [%r23],%g0,%r10 !lock | |
5268 | brnz %r10, cwq_5_70 | |
5269 | rd %asi, %r12 | |
5270 | wr %g0, 0x40, %asi | |
5271 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5272 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5273 | cmp %l1, 1 | |
5274 | bne cwq_5_70 | |
5275 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5276 | sub %l2, 0x40, %l2 | |
5277 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5278 | wr %r12, %g0, %asi | |
5279 | st %g0, [%r23] | |
5280 | cwq_5_70: | |
5281 | ta T_CHANGE_NONHPRIV | |
5282 | .word 0x93414000 ! 142: RDPC rd %pc, %r9 | |
5283 | .word 0xe2900e40 ! 143: LDUHA_R lduha [%r0, %r0] 0x72, %r17 | |
5284 | ta T_CHANGE_HPRIV | |
5285 | mov (5+1), %r10 | |
5286 | set sync_thr_counter1, %r23 | |
5287 | cas [%r23],%g0,%r10 !lock | |
5288 | brnz %r10, cwq_5_71 | |
5289 | rd %asi, %r12 | |
5290 | wr %g0, 0x40, %asi | |
5291 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5292 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5293 | cmp %l1, 1 | |
5294 | bne cwq_5_71 | |
5295 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5296 | sub %l2, 0x40, %l2 | |
5297 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5298 | wr %r12, %g0, %asi | |
5299 | st %g0, [%r23] | |
5300 | cwq_5_71: | |
5301 | ta T_CHANGE_NONHPRIV | |
5302 | .word 0x97414000 ! 144: RDPC rd %pc, %r11 | |
5303 | invalw | |
5304 | mov 0xb2, %r30 | |
5305 | .word 0x91d0001e ! 145: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5306 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_72) + 56, 16, 16)) -> intp(5,0,6) | |
5307 | intvec_5_72: | |
5308 | .word 0x39400001 ! 146: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5309 | .word 0x879021f4 ! 147: WRPR_TT_I wrpr %r0, 0x01f4, %tt | |
5310 | .word 0x91a409c7 ! 148: FDIVd fdivd %f16, %f38, %f8 | |
5311 | .word 0xd6c7e020 ! 149: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r11 | |
5312 | change_to_randtl_5_73: | |
5313 | ta T_CHANGE_HPRIV ! macro | |
5314 | done_change_to_randtl_5_73: | |
5315 | .word 0x8f902000 ! 150: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5316 | .word 0x8d9036e4 ! 151: WRPR_PSTATE_I wrpr %r0, 0x16e4, %pstate | |
5317 | memptr_5_74: | |
5318 | set 0x60540000, %r31 | |
5319 | .word 0x85816aa4 ! 152: WRCCR_I wr %r5, 0x0aa4, %ccr | |
5320 | .word 0xd727e6f2 ! 153: STF_I st %f11, [0x06f2, %r31] | |
5321 | mov (5+1), %r10 | |
5322 | ta T_CHANGE_HPRIV | |
5323 | set sync_thr_counter2, %r23 | |
5324 | cas [%r23],%g0,%r10 !lock | |
5325 | brnz %r10, sma_5_75 | |
5326 | rd %asi, %r12 | |
5327 | wr %g0, 0x40, %asi | |
5328 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5329 | set 0x21fff, %g1 | |
5330 | stxa %g1, [%g0 + 0x80] %asi | |
5331 | wr %r12, %g0, %asi | |
5332 | st %g0, [%r23] | |
5333 | sma_5_75: | |
5334 | ta T_CHANGE_NONHPRIV | |
5335 | .word 0xd7e7e013 ! 154: CASA_R casa [%r31] %asi, %r19, %r11 | |
5336 | splash_cmpr_5_76: | |
5337 | setx 0x9fd48b2cd2f483ff, %g2, %g1 | |
5338 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5339 | sub %g1, 100, %g1 | |
5340 | .word 0xb1800001 ! 155: WR_STICK_REG_R wr %r0, %r1, %- | |
5341 | .word 0xa350c000 ! 156: RDPR_TT <illegal instruction> | |
5342 | .word 0x3e700001 ! 157: BPVC <illegal instruction> | |
5343 | .word 0xd8d804a0 ! 158: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
5344 | rd %pc, %r19 | |
5345 | add %r19, (ivw_5_77-.+48), %r19 | |
5346 | mov 0x38, %r18 | |
5347 | stxa %r19, [%r18]0x58 | |
5348 | ivw_5_77: | |
5349 | .word 0x91910010 ! 159: WRPR_PIL_R wrpr %r4, %r16, %pil | |
5350 | .word 0x8d90271c ! 160: WRPR_PSTATE_I wrpr %r0, 0x071c, %pstate | |
5351 | .word 0xd88804a0 ! 161: LDUBA_R lduba [%r0, %r0] 0x25, %r12 | |
5352 | .word 0xab846072 ! 162: WR_CLEAR_SOFTINT_I wr %r17, 0x0072, %clear_softint | |
5353 | splash_lsu_5_78: | |
5354 | setx 0x9c3cc1131606307d, %r1, %r2 | |
5355 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5356 | .word 0x3d400001 ! 163: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5357 | .word 0xd80fecf5 ! 164: LDUB_I ldub [%r31 + 0x0cf5], %r12 | |
5358 | splash_cmpr_5_79: | |
5359 | setx 0x90091f4b242cf3a0, %g2, %g1 | |
5360 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5361 | sub %g1, 100, %g1 | |
5362 | .word 0xb1800001 ! 165: WR_STICK_REG_R wr %r0, %r1, %- | |
5363 | debug_5_80: | |
5364 | nop | |
5365 | mov 0x38, %r18 | |
5366 | .word 0xfef00b12 ! 166: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5367 | splash_hpstate_5_81: | |
5368 | .word 0x81982bae ! 167: WRHPR_HPSTATE_I wrhpr %r0, 0x0bae, %hpstate | |
5369 | splash_htba_5_82: | |
5370 | set 0x80000, %r12 | |
5371 | st %r1, [%r12+%r0] | |
5372 | ta T_CHANGE_HPRIV | |
5373 | set 0x80000, %r12 | |
5374 | .word 0x8b98000c ! 168: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
5375 | splash_tba_5_83: | |
5376 | set 0x120000, %r12 | |
5377 | ld [%r12+%r0], %r1 | |
5378 | ta T_CHANGE_PRIV | |
5379 | set 0x120000, %r12 | |
5380 | .word 0x8b90000c ! 169: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5381 | .word 0x93a149cb ! 170: FDIVd fdivd %f36, %f42, %f40 | |
5382 | splash_lsu_5_84: | |
5383 | setx 0xe1fc302d204bd7f3, %r1, %r2 | |
5384 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5385 | .word 0x3d400001 ! 171: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5386 | .word 0x8780208b ! 172: WRASI_I wr %r0, 0x008b, %asi | |
5387 | .word 0x87802016 ! 173: WRASI_I wr %r0, 0x0016, %asi | |
5388 | DS_5_85: | |
5389 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
5390 | .word 0xbfefc000 ! 174: RESTORE_R restore %r31, %r0, %r31 | |
5391 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5392 | ta T_CHANGE_NONPRIV ! macro | |
5393 | .word 0x99a0196b ! 175: FqTOd dis not found | |
5394 | ||
5395 | DS_5_87: | |
5396 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
5397 | allclean | |
5398 | .word 0x97b2830b ! 176: ALIGNADDRESS alignaddr %r10, %r11, %r11 | |
5399 | splash_hpstate_5_88: | |
5400 | .word 0x81982d07 ! 177: WRHPR_HPSTATE_I wrhpr %r0, 0x0d07, %hpstate | |
5401 | .word 0x90d94005 ! 178: SMULcc_R smulcc %r5, %r5, %r8 | |
5402 | .word 0x87802080 ! 179: WRASI_I wr %r0, 0x0080, %asi | |
5403 | splash_hpstate_5_89: | |
5404 | .word 0x819820d7 ! 180: WRHPR_HPSTATE_I wrhpr %r0, 0x00d7, %hpstate | |
5405 | .word 0xd44fecf5 ! 181: LDSB_I ldsb [%r31 + 0x0cf5], %r10 | |
5406 | debug_5_90: | |
5407 | nop | |
5408 | mov 8, %r18 | |
5409 | .word 0xe2f00492 ! 182: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
5410 | .word 0xd4cfe020 ! 183: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r10 | |
5411 | splash_hpstate_5_91: | |
5412 | .word 0x81982607 ! 184: WRHPR_HPSTATE_I wrhpr %r0, 0x0607, %hpstate | |
5413 | debug_5_92: | |
5414 | nop | |
5415 | mov 0x38, %r18 | |
5416 | .word 0xfef00b12 ! 185: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5417 | splash_cmpr_5_93: | |
5418 | setx 0xcfe661e211884ee5, %g2, %g1 | |
5419 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5420 | sub %g1, 100, %g1 | |
5421 | .word 0xb1800001 ! 186: WR_STICK_REG_R wr %r0, %r1, %- | |
5422 | DS_5_94: | |
5423 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
5424 | .word 0xa778a7fe ! Random illegal ? | |
5425 | .word 0x93a449c5 ! 1: FDIVd fdivd %f48, %f36, %f40 | |
5426 | .word 0x93a48826 ! 187: FADDs fadds %f18, %f6, %f9 | |
5427 | ta T_CHANGE_HPRIV | |
5428 | mov (5+1), %r10 | |
5429 | set sync_thr_counter1, %r23 | |
5430 | cas [%r23],%g0,%r10 !lock | |
5431 | brnz %r10, cwq_5_95 | |
5432 | rd %asi, %r12 | |
5433 | wr %g0, 0x40, %asi | |
5434 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5435 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5436 | cmp %l1, 1 | |
5437 | bne cwq_5_95 | |
5438 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5439 | sub %l2, 0x40, %l2 | |
5440 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5441 | wr %r12, %g0, %asi | |
5442 | st %g0, [%r23] | |
5443 | cwq_5_95: | |
5444 | ta T_CHANGE_NONHPRIV | |
5445 | .word 0xa9414000 ! 188: RDPC rd %pc, %r20 | |
5446 | .word 0xe88fe020 ! 189: LDUBA_I lduba [%r31, + 0x0020] %asi, %r20 | |
5447 | splash_lsu_5_96: | |
5448 | setx 0x754a1b7b3f18811f, %r1, %r2 | |
5449 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5450 | .word 0x3d400001 ! 190: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5451 | .word 0x99a109f1 ! 191: FDIVq dis not found | |
5452 | ||
5453 | cwp_5_97: | |
5454 | set user_data_start, %o7 | |
5455 | .word 0x93902003 ! 192: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
5456 | splash_decr_5_98: | |
5457 | nop | |
5458 | ta T_CHANGE_HPRIV | |
5459 | mov 8, %r1 | |
5460 | stxa %r9, [%r1] 0x45 | |
5461 | .word 0xa784c00a ! 193: WR_GRAPHICS_STATUS_REG_R wr %r19, %r10, %- | |
5462 | .word 0x8790230b ! 194: WRPR_TT_I wrpr %r0, 0x030b, %tt | |
5463 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5464 | ta T_CHANGE_NONHPRIV ! macro | |
5465 | .word 0x95a01963 ! 195: FqTOd dis not found | |
5466 | ||
5467 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_100) + 0, 16, 16)) -> intp(5,0,10) | |
5468 | intvec_5_100: | |
5469 | .word 0x39400001 ! 196: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5470 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5471 | ta T_CHANGE_NONHPRIV ! macro | |
5472 | .word 0x97a01970 ! 197: FqTOd dis not found | |
5473 | ||
5474 | intveclr_5_102: | |
5475 | setx 0x1f36561bc50ae5a6, %r1, %r28 | |
5476 | stxa %r28, [%g0] 0x72 | |
5477 | .word 0x25400001 ! 198: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5478 | mondo_5_103: | |
5479 | nop | |
5480 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5481 | ||
5482 | stxa %r0, [%r0+0x3c0] %asi | |
5483 | .word 0x9d90000b ! 199: WRPR_WSTATE_R wrpr %r0, %r11, %wstate | |
5484 | memptr_5_104: | |
5485 | set 0x60140000, %r31 | |
5486 | .word 0x8584222e ! 200: WRCCR_I wr %r16, 0x022e, %ccr | |
5487 | .word 0x87802004 ! 201: WRASI_I wr %r0, 0x0004, %asi | |
5488 | .word 0xa984c00b ! 202: WR_SET_SOFTINT_R wr %r19, %r11, %set_softint | |
5489 | .word 0x87802020 ! 203: WRASI_I wr %r0, 0x0020, %asi | |
5490 | DS_5_105: | |
5491 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
5492 | .word 0xbfefc000 ! 204: RESTORE_R restore %r31, %r0, %r31 | |
5493 | .word 0x26800001 ! 205: BL bl,a <label_0x1> | |
5494 | .word 0xe0d004a0 ! 206: LDSHA_R ldsha [%r0, %r0] 0x25, %r16 | |
5495 | debug_5_106: | |
5496 | nop | |
5497 | rd %pc, %r19 | |
5498 | add %r19, (64+40), %r19 | |
5499 | mov 0x38, %r18 | |
5500 | .word 0xe6f00b12 ! 207: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5501 | debug_5_107: | |
5502 | nop | |
5503 | mov 0x38, %r18 | |
5504 | .word 0xfef00b12 ! 208: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5505 | .word 0x8d903fa5 ! 209: WRPR_PSTATE_I wrpr %r0, 0x1fa5, %pstate | |
5506 | .word 0x2c700001 ! 210: BPNEG <illegal instruction> | |
5507 | .word 0x99902000 ! 211: WRPR_CLEANWIN_I wrpr %r0, 0x0000, %cleanwin | |
5508 | mov (5+1), %r10 | |
5509 | ta T_CHANGE_HPRIV | |
5510 | set sync_thr_counter2, %r23 | |
5511 | cas [%r23],%g0,%r10 !lock | |
5512 | brnz %r10, sma_5_108 | |
5513 | rd %asi, %r12 | |
5514 | wr %g0, 0x40, %asi | |
5515 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5516 | set 0x21fff, %g1 | |
5517 | stxa %g1, [%g0 + 0x80] %asi | |
5518 | wr %r12, %g0, %asi | |
5519 | st %g0, [%r23] | |
5520 | sma_5_108: | |
5521 | ta T_CHANGE_NONHPRIV | |
5522 | .word 0xe1e7e006 ! 212: CASA_R casa [%r31] %asi, %r6, %r16 | |
5523 | cwp_5_109: | |
5524 | set user_data_start, %o7 | |
5525 | .word 0x93902005 ! 213: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
5526 | ta T_CHANGE_HPRIV | |
5527 | mov (5+1), %r10 | |
5528 | set sync_thr_counter1, %r23 | |
5529 | cas [%r23],%g0,%r10 !lock | |
5530 | brnz %r10, cwq_5_110 | |
5531 | rd %asi, %r12 | |
5532 | wr %g0, 0x40, %asi | |
5533 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5534 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5535 | cmp %l1, 1 | |
5536 | bne cwq_5_110 | |
5537 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5538 | sub %l2, 0x40, %l2 | |
5539 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5540 | wr %r12, %g0, %asi | |
5541 | st %g0, [%r23] | |
5542 | cwq_5_110: | |
5543 | ta T_CHANGE_NONHPRIV | |
5544 | .word 0x97414000 ! 214: RDPC rd %pc, %r11 | |
5545 | debug_5_111: | |
5546 | nop | |
5547 | mov 8, %r18 | |
5548 | .word 0xdcf00492 ! 215: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
5549 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
5550 | ta T_CHANGE_NONPRIV ! macro | |
5551 | .word 0x9b6c334c ! 216: SDIVX_I sdivx %r16, 0xfffff34c, %r13 | |
5552 | .word 0xa190200b ! 217: WRPR_GL_I wrpr %r0, 0x000b, %- | |
5553 | debug_5_113: | |
5554 | nop | |
5555 | mov 0x38, %r18 | |
5556 | .word 0xfef00b12 ! 218: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5557 | invalw | |
5558 | mov 0x33, %r30 | |
5559 | .word 0x83d0001e ! 219: Tcc_R te icc_or_xcc, %r0 + %r30 | |
5560 | splash_tba_5_114: | |
5561 | set 0x003f0000, %r12 | |
5562 | st %r1, [%r12+%r0] | |
5563 | ta T_CHANGE_PRIV | |
5564 | set 0x003f0000, %r12 | |
5565 | .word 0x8b90000c ! 220: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5566 | .word 0x95450000 ! 221: RD_SET_SOFTINT rd %set_softint, %r10 | |
5567 | .word 0xd08008a0 ! 222: LDUWA_R lduwa [%r0, %r0] 0x45, %r8 | |
5568 | splash_hpstate_5_115: | |
5569 | .word 0x81982f54 ! 223: WRHPR_HPSTATE_I wrhpr %r0, 0x0f54, %hpstate | |
5570 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_116) + 8, 16, 16)) -> intp(6,0,2) | |
5571 | intvec_5_116: | |
5572 | .word 0x39400001 ! 224: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5573 | ta T_CHANGE_HPRIV | |
5574 | mov (5+1), %r10 | |
5575 | set sync_thr_counter1, %r23 | |
5576 | cas [%r23],%g0,%r10 !lock | |
5577 | brnz %r10, cwq_5_117 | |
5578 | rd %asi, %r12 | |
5579 | wr %g0, 0x40, %asi | |
5580 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5581 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5582 | cmp %l1, 1 | |
5583 | bne cwq_5_117 | |
5584 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5585 | sub %l2, 0x40, %l2 | |
5586 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5587 | wr %r12, %g0, %asi | |
5588 | st %g0, [%r23] | |
5589 | cwq_5_117: | |
5590 | ta T_CHANGE_NONHPRIV | |
5591 | .word 0x97414000 ! 225: RDPC rd %pc, %r11 | |
5592 | .word 0xa353c000 ! 226: RDPR_FQ <illegal instruction> | |
5593 | memptr_5_118: | |
5594 | set 0x60740000, %r31 | |
5595 | .word 0x8580b9e7 ! 227: WRCCR_I wr %r2, 0x19e7, %ccr | |
5596 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5597 | ta T_CHANGE_NONHPRIV ! macro | |
5598 | .word 0x93a01966 ! 228: FqTOd dis not found | |
5599 | ||
5600 | .word 0xa3a1c9c9 ! 229: FDIVd fdivd %f38, %f40, %f48 | |
5601 | .word 0x87802083 ! 230: WRASI_I wr %r0, 0x0083, %asi | |
5602 | splash_tba_5_120: | |
5603 | set 0x003f0000, %r12 | |
5604 | st %r1, [%r12+%r0] | |
5605 | ta T_CHANGE_PRIV | |
5606 | set 0x003f0000, %r12 | |
5607 | .word 0x8b90000c ! 231: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5608 | splash_cmpr_5_121: | |
5609 | setx 0x30e29820f3893f64, %g2, %g1 | |
5610 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
5611 | sub %g1, 100, %g1 | |
5612 | .word 0xb1800001 ! 232: WR_STICK_REG_R wr %r0, %r1, %- | |
5613 | mov (5+1), %r10 | |
5614 | ta T_CHANGE_HPRIV | |
5615 | set sync_thr_counter2, %r23 | |
5616 | cas [%r23],%g0,%r10 !lock | |
5617 | brnz %r10, sma_5_122 | |
5618 | rd %asi, %r12 | |
5619 | wr %g0, 0x40, %asi | |
5620 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5621 | set 0x21fff, %g1 | |
5622 | stxa %g1, [%g0 + 0x80] %asi | |
5623 | wr %r12, %g0, %asi | |
5624 | st %g0, [%r23] | |
5625 | sma_5_122: | |
5626 | ta T_CHANGE_NONHPRIV | |
5627 | .word 0xd7e7e014 ! 233: CASA_R casa [%r31] %asi, %r20, %r11 | |
5628 | .word 0xd737e19a ! 234: STQF_I - %f11, [0x019a, %r31] | |
5629 | splash_hpstate_5_123: | |
5630 | .word 0x819825b5 ! 235: WRHPR_HPSTATE_I wrhpr %r0, 0x05b5, %hpstate | |
5631 | .word 0x9190b980 ! 236: WRPR_PIL_I wrpr %r2, 0x1980, %pil | |
5632 | change_to_randtl_5_124: | |
5633 | ta T_CHANGE_PRIV ! macro | |
5634 | done_change_to_randtl_5_124: | |
5635 | .word 0x8f902002 ! 237: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
5636 | splash_cmpr_5_125: | |
5637 | setx 0x06214c777448d997, %g2, %g1 | |
5638 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5639 | sub %g1, 100, %g1 | |
5640 | .word 0xb1800001 ! 238: WR_STICK_REG_R wr %r0, %r1, %- | |
5641 | invalw | |
5642 | mov 0xb1, %r30 | |
5643 | .word 0x91d0001e ! 239: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5644 | ta T_CHANGE_HPRIV | |
5645 | mov (5+1), %r10 | |
5646 | set sync_thr_counter1, %r23 | |
5647 | cas [%r23],%g0,%r10 !lock | |
5648 | brnz %r10, cwq_5_126 | |
5649 | rd %asi, %r12 | |
5650 | wr %g0, 0x40, %asi | |
5651 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5652 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5653 | cmp %l1, 1 | |
5654 | bne cwq_5_126 | |
5655 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5656 | sub %l2, 0x40, %l2 | |
5657 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5658 | wr %r12, %g0, %asi | |
5659 | st %g0, [%r23] | |
5660 | cwq_5_126: | |
5661 | ta T_CHANGE_NONHPRIV | |
5662 | .word 0x91414000 ! 240: RDPC rd %pc, %r8 | |
5663 | .word 0xe91fc000 ! 241: LDDF_R ldd [%r31, %r0], %f20 | |
5664 | change_to_randtl_5_127: | |
5665 | ta T_CHANGE_HPRIV ! macro | |
5666 | done_change_to_randtl_5_127: | |
5667 | .word 0x8f902001 ! 242: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5668 | .word 0xa5a409c3 ! 243: FDIVd fdivd %f16, %f34, %f18 | |
5669 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
5670 | ta T_CHANGE_NONPRIV ! macro | |
5671 | .word 0x956ce9f7 ! 244: SDIVX_I sdivx %r19, 0x09f7, %r10 | |
5672 | .word 0xe28008a0 ! 245: LDUWA_R lduwa [%r0, %r0] 0x45, %r17 | |
5673 | cwp_5_129: | |
5674 | set user_data_start, %o7 | |
5675 | .word 0x93902001 ! 246: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
5676 | .word 0x83d02034 ! 247: Tcc_I te icc_or_xcc, %r0 + 52 | |
5677 | .word 0x30700001 ! 248: BPA <illegal instruction> | |
5678 | .word 0x87802020 ! 249: WRASI_I wr %r0, 0x0020, %asi | |
5679 | splash_cmpr_5_130: | |
5680 | setx 0xc1dc4f360d3a6a18, %g2, %g1 | |
5681 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5682 | sub %g1, 100, %g1 | |
5683 | .word 0xb1800001 ! 250: WR_STICK_REG_R wr %r0, %r1, %- | |
5684 | change_to_randtl_5_131: | |
5685 | ta T_CHANGE_HPRIV ! macro | |
5686 | done_change_to_randtl_5_131: | |
5687 | .word 0x8f902000 ! 251: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5688 | .word 0xe31fc000 ! 252: LDDF_R ldd [%r31, %r0], %f17 | |
5689 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_5_132)+32, 16, 16)) -> intp(5,1,3) | |
5690 | xir_5_132: | |
5691 | .word 0xa9843599 ! 253: WR_SET_SOFTINT_I wr %r16, 0x1599, %set_softint | |
5692 | ta T_CHANGE_HPRIV | |
5693 | mov (5+1), %r10 | |
5694 | set sync_thr_counter1, %r23 | |
5695 | cas [%r23],%g0,%r10 !lock | |
5696 | brnz %r10, cwq_5_133 | |
5697 | rd %asi, %r12 | |
5698 | wr %g0, 0x40, %asi | |
5699 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5700 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5701 | cmp %l1, 1 | |
5702 | bne cwq_5_133 | |
5703 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5704 | sub %l2, 0x40, %l2 | |
5705 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5706 | wr %r12, %g0, %asi | |
5707 | st %g0, [%r23] | |
5708 | cwq_5_133: | |
5709 | ta T_CHANGE_NONHPRIV | |
5710 | .word 0x91414000 ! 254: RDPC rd %pc, %r8 | |
5711 | DS_5_134: | |
5712 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
5713 | pdist %f10, %f28, %f6 | |
5714 | .word 0x91b14311 ! 255: ALIGNADDRESS alignaddr %r5, %r17, %r8 | |
5715 | setx 0xebc1d43c2ce46de2, %r1, %r28 | |
5716 | stxa %r28, [%g0] 0x73 | |
5717 | intvec_5_135: | |
5718 | .word 0x39400001 ! 256: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5719 | .word 0x87902132 ! 257: WRPR_TT_I wrpr %r0, 0x0132, %tt | |
5720 | splash_tba_5_136: | |
5721 | set 0x120000, %r12 | |
5722 | st %r1, [%r12+%r0] | |
5723 | ta T_CHANGE_PRIV | |
5724 | set 0x120000, %r12 | |
5725 | .word 0x8b90000c ! 258: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5726 | .word 0x9b50c000 ! 259: RDPR_TT rdpr %tt, %r13 | |
5727 | mov (5+1), %r10 | |
5728 | ta T_CHANGE_HPRIV | |
5729 | set sync_thr_counter2, %r23 | |
5730 | cas [%r23],%g0,%r10 !lock | |
5731 | brnz %r10, sma_5_137 | |
5732 | rd %asi, %r12 | |
5733 | wr %g0, 0x40, %asi | |
5734 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
5735 | set 0x21fff, %g1 | |
5736 | stxa %g1, [%g0 + 0x80] %asi | |
5737 | wr %r12, %g0, %asi | |
5738 | st %g0, [%r23] | |
5739 | sma_5_137: | |
5740 | ta T_CHANGE_NONHPRIV | |
5741 | .word 0xd5e7e001 ! 260: CASA_R casa [%r31] %asi, %r1, %r10 | |
5742 | .word 0x8d9029bd ! 261: WRPR_PSTATE_I wrpr %r0, 0x09bd, %pstate | |
5743 | DS_5_138: | |
5744 | .word 0xa9a189ca ! 1: FDIVd fdivd %f6, %f10, %f20 | |
5745 | .word 0xbfefc000 ! 262: RESTORE_R restore %r31, %r0, %r31 | |
5746 | splash_tba_5_139: | |
5747 | set 0x120000, %r12 | |
5748 | ld [%r12+%r0], %r1 | |
5749 | ta T_CHANGE_PRIV | |
5750 | set 0x120000, %r12 | |
5751 | .word 0x8b90000c ! 263: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5752 | DS_5_140: | |
5753 | nop | |
5754 | not %g0, %r12 | |
5755 | jmp %r12 | |
5756 | .word 0x9d902003 ! 264: WRPR_WSTATE_I wrpr %r0, 0x0003, %wstate | |
5757 | tagged_5_141: | |
5758 | taddcctv %r6, 0x1076, %r7 | |
5759 | .word 0xd407e18a ! 265: LDUW_I lduw [%r31 + 0x018a], %r10 | |
5760 | .word 0xd46fe18a ! 266: LDSTUB_I ldstub %r10, [%r31 + 0x018a] | |
5761 | .word 0x91a00173 ! 267: FABSq dis not found | |
5762 | ||
5763 | .word 0x8790230e ! 268: WRPR_TT_I wrpr %r0, 0x030e, %tt | |
5764 | change_to_randtl_5_142: | |
5765 | ta T_CHANGE_PRIV ! macro | |
5766 | done_change_to_randtl_5_142: | |
5767 | .word 0x8f902001 ! 269: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5768 | .word 0xa3a509c3 ! 270: FDIVd fdivd %f20, %f34, %f48 | |
5769 | .word 0xd02fe18a ! 271: STB_I stb %r8, [%r31 + 0x018a] | |
5770 | .word 0xa5450000 ! 272: RD_SET_SOFTINT rd %set_softint, %r18 | |
5771 | splash_tba_5_143: | |
5772 | set 0x120000, %r12 | |
5773 | ld [%r12+%r0], %r1 | |
5774 | ta T_CHANGE_PRIV | |
5775 | set 0x120000, %r12 | |
5776 | .word 0x8b90000c ! 273: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5777 | .word 0x879020c4 ! 274: WRPR_TT_I wrpr %r0, 0x00c4, %tt | |
5778 | ta T_CHANGE_HPRIV | |
5779 | mov (5+1), %r10 | |
5780 | set sync_thr_counter1, %r23 | |
5781 | cas [%r23],%g0,%r10 !lock | |
5782 | brnz %r10, cwq_5_144 | |
5783 | rd %asi, %r12 | |
5784 | wr %g0, 0x40, %asi | |
5785 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5786 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5787 | cmp %l1, 1 | |
5788 | bne cwq_5_144 | |
5789 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5790 | sub %l2, 0x40, %l2 | |
5791 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5792 | wr %r12, %g0, %asi | |
5793 | st %g0, [%r23] | |
5794 | cwq_5_144: | |
5795 | ta T_CHANGE_NONHPRIV | |
5796 | .word 0xa9414000 ! 275: RDPC rd %pc, %r20 | |
5797 | splash_decr_5_145: | |
5798 | nop | |
5799 | ta T_CHANGE_HPRIV | |
5800 | mov 8, %r1 | |
5801 | stxa %r19, [%r1] 0x45 | |
5802 | .word 0xa7824008 ! 276: WR_GRAPHICS_STATUS_REG_R wr %r9, %r8, %- | |
5803 | nop | |
5804 | mov 0x80, %g3 | |
5805 | stxa %g3, [%g3] 0x5f | |
5806 | .word 0xe45fc000 ! 277: LDX_R ldx [%r31 + %r0], %r18 | |
5807 | .word 0x2e800001 ! 278: BVS bvs,a <label_0x1> | |
5808 | debug_5_146: | |
5809 | nop | |
5810 | mov 0x38, %r18 | |
5811 | .word 0xfef00b12 ! 279: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
5812 | debug_5_147: | |
5813 | nop | |
5814 | mov 8, %r18 | |
5815 | .word 0xdcf00492 ! 280: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
5816 | splash_tba_5_148: | |
5817 | set 0x120000, %r12 | |
5818 | st %r1, [%r12+%r0] | |
5819 | ta T_CHANGE_PRIV | |
5820 | set 0x120000, %r12 | |
5821 | .word 0x8b90000c ! 281: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5822 | .word 0x87902024 ! 282: WRPR_TT_I wrpr %r0, 0x0024, %tt | |
5823 | splash_tba_5_149: | |
5824 | set 0x120000, %r12 | |
5825 | ld [%r12+%r0], %r1 | |
5826 | ta T_CHANGE_PRIV | |
5827 | set 0x120000, %r12 | |
5828 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5829 | intveclr_5_150: | |
5830 | setx 0xb45d00b2bd3e14f5, %r1, %r28 | |
5831 | stxa %r28, [%g0] 0x72 | |
5832 | .word 0x25400001 ! 284: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
5833 | nop | |
5834 | mov 0x80, %g3 | |
5835 | stxa %g3, [%g3] 0x57 | |
5836 | .word 0xe45fc000 ! 285: LDX_R ldx [%r31 + %r0], %r18 | |
5837 | debug_5_151: | |
5838 | nop | |
5839 | rd %pc, %r19 | |
5840 | add %r19, (64+48), %r19 | |
5841 | mov 0x38, %r18 | |
5842 | .word 0xe6f00b12 ! 286: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
5843 | .word 0xe48008a0 ! 287: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
5844 | rd %pc, %r19 | |
5845 | add %r19, (ivw_5_152-.+24), %r19 | |
5846 | mov 0x38, %r18 | |
5847 | stxa %r19, [%r18]0x58 | |
5848 | ivw_5_152: | |
5849 | .word 0x91940013 ! 288: WRPR_PIL_R wrpr %r16, %r19, %pil | |
5850 | splash_cmpr_5_153: | |
5851 | setx 0x23a4b847fd062381, %g2, %g1 | |
5852 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5853 | sub %g1, 100, %g1 | |
5854 | .word 0xb1800001 ! 289: WR_STICK_REG_R wr %r0, %r1, %- | |
5855 | splash_cmpr_5_154: | |
5856 | setx 0x1fc17962ca533b5d, %g2, %g1 | |
5857 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5858 | sub %g1, 100, %g1 | |
5859 | .word 0xb1800001 ! 290: WR_STICK_REG_R wr %r0, %r1, %- | |
5860 | .word 0x8d802004 ! 291: WRFPRS_I wr %r0, 0x0004, %fprs | |
5861 | memptr_5_155: | |
5862 | set 0x60540000, %r31 | |
5863 | .word 0x85842f21 ! 292: WRCCR_I wr %r16, 0x0f21, %ccr | |
5864 | mondo_5_156: | |
5865 | nop | |
5866 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5867 | ||
5868 | stxa %r1, [%r0+0x3d0] %asi | |
5869 | .word 0x9d940011 ! 293: WRPR_WSTATE_R wrpr %r16, %r17, %wstate | |
5870 | ta T_CHANGE_HPRIV | |
5871 | mov (5+1), %r10 | |
5872 | set sync_thr_counter1, %r23 | |
5873 | cas [%r23],%g0,%r10 !lock | |
5874 | brnz %r10, cwq_5_157 | |
5875 | rd %asi, %r12 | |
5876 | wr %g0, 0x40, %asi | |
5877 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5878 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5879 | cmp %l1, 1 | |
5880 | bne cwq_5_157 | |
5881 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5882 | sub %l2, 0x40, %l2 | |
5883 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5884 | wr %r12, %g0, %asi | |
5885 | st %g0, [%r23] | |
5886 | cwq_5_157: | |
5887 | ta T_CHANGE_NONHPRIV | |
5888 | .word 0x91414000 ! 294: RDPC rd %pc, %r8 | |
5889 | DS_5_158: | |
5890 | nop | |
5891 | not %g0, %r12 | |
5892 | jmp %r12 | |
5893 | .word 0x9d902004 ! 295: WRPR_WSTATE_I wrpr %r0, 0x0004, %wstate | |
5894 | .word 0x81510000 ! 296: RDPR_TICK rdpr %tick, %r0 | |
5895 | otherw | |
5896 | mov 0x30, %r30 | |
5897 | .word 0x91d0001e ! 297: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
5898 | splash_lsu_5_159: | |
5899 | setx 0x87d3449fb75235bb, %r1, %r2 | |
5900 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
5901 | .word 0x3d400001 ! 298: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
5902 | .word 0x91d02033 ! 299: Tcc_I ta icc_or_xcc, %r0 + 51 | |
5903 | splash_htba_5_160: | |
5904 | set 0x80000, %r12 | |
5905 | st %r1, [%r12+%r0] | |
5906 | ta T_CHANGE_HPRIV | |
5907 | set 0x80000, %r12 | |
5908 | .word 0x8b98000c ! 300: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
5909 | splash_hpstate_5_161: | |
5910 | .word 0x8198269f ! 301: WRHPR_HPSTATE_I wrhpr %r0, 0x069f, %hpstate | |
5911 | .word 0x8d902cc6 ! 302: WRPR_PSTATE_I wrpr %r0, 0x0cc6, %pstate | |
5912 | splash_tba_5_162: | |
5913 | set 0x003f0000, %r12 | |
5914 | st %r1, [%r12+%r0] | |
5915 | ta T_CHANGE_PRIV | |
5916 | set 0x003f0000, %r12 | |
5917 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5918 | setx 0x8688dbdff5f00768, %r1, %r28 | |
5919 | stxa %r28, [%g0] 0x73 | |
5920 | intvec_5_163: | |
5921 | .word 0x39400001 ! 304: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5922 | cwp_5_164: | |
5923 | set user_data_start, %o7 | |
5924 | .word 0x93902004 ! 305: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
5925 | nop | |
5926 | mov 0x80, %g3 | |
5927 | stxa %g3, [%g3] 0x57 | |
5928 | .word 0xe05fc000 ! 306: LDX_R ldx [%r31 + %r0], %r16 | |
5929 | splash_cmpr_5_165: | |
5930 | setx 0x43e87e765d38eb76, %g2, %g1 | |
5931 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
5932 | sub %g1, 100, %g1 | |
5933 | .word 0xb1800001 ! 307: WR_STICK_REG_R wr %r0, %r1, %- | |
5934 | splash_tba_5_166: | |
5935 | set 0x120000, %r12 | |
5936 | st %r1, [%r12+%r0] | |
5937 | ta T_CHANGE_PRIV | |
5938 | set 0x120000, %r12 | |
5939 | .word 0x8b90000c ! 308: WRPR_TBA_R wrpr %r0, %r12, %tba | |
5940 | splash_hpstate_5_167: | |
5941 | .word 0x8198278d ! 309: WRHPR_HPSTATE_I wrhpr %r0, 0x078d, %hpstate | |
5942 | .word 0xe03fc000 ! 310: STD_R std %r16, [%r31 + %r0] | |
5943 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
5944 | ta T_CHANGE_NONPRIV ! macro | |
5945 | .word 0x91a01966 ! 311: FqTOd dis not found | |
5946 | ||
5947 | mondo_5_169: | |
5948 | nop | |
5949 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5950 | ||
5951 | stxa %r0, [%r0+0x3d0] %asi | |
5952 | .word 0x9d91c001 ! 312: WRPR_WSTATE_R wrpr %r7, %r1, %wstate | |
5953 | splash_cmpr_5_170: | |
5954 | setx 0x8440905f9d1102c7, %g2, %g1 | |
5955 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
5956 | sub %g1, 100, %g1 | |
5957 | .word 0xb1800001 ! 313: WR_STICK_REG_R wr %r0, %r1, %- | |
5958 | change_to_randtl_5_171: | |
5959 | ta T_CHANGE_HPRIV ! macro | |
5960 | done_change_to_randtl_5_171: | |
5961 | .word 0x8f902001 ! 314: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
5962 | DS_5_172: | |
5963 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
5964 | .word 0xbfefc000 ! 315: RESTORE_R restore %r31, %r0, %r31 | |
5965 | ta T_CHANGE_HPRIV | |
5966 | mov (5+1), %r10 | |
5967 | set sync_thr_counter1, %r23 | |
5968 | cas [%r23],%g0,%r10 !lock | |
5969 | brnz %r10, cwq_5_173 | |
5970 | rd %asi, %r12 | |
5971 | wr %g0, 0x40, %asi | |
5972 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
5973 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
5974 | cmp %l1, 1 | |
5975 | bne cwq_5_173 | |
5976 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
5977 | sub %l2, 0x40, %l2 | |
5978 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
5979 | wr %r12, %g0, %asi | |
5980 | st %g0, [%r23] | |
5981 | cwq_5_173: | |
5982 | ta T_CHANGE_NONHPRIV | |
5983 | .word 0x97414000 ! 316: RDPC rd %pc, %r11 | |
5984 | splash_hpstate_5_174: | |
5985 | .word 0x8198203f ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x003f, %hpstate | |
5986 | .word 0xdad004a0 ! 318: LDSHA_R ldsha [%r0, %r0] 0x25, %r13 | |
5987 | setx 0x5dfe7519114d74aa, %r1, %r28 | |
5988 | stxa %r28, [%g0] 0x73 | |
5989 | intvec_5_175: | |
5990 | .word 0x39400001 ! 319: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
5991 | cwp_5_176: | |
5992 | set user_data_start, %o7 | |
5993 | .word 0x93902001 ! 320: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
5994 | splash_hpstate_5_177: | |
5995 | .word 0x81982536 ! 321: WRHPR_HPSTATE_I wrhpr %r0, 0x0536, %hpstate | |
5996 | mondo_5_178: | |
5997 | nop | |
5998 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
5999 | ||
6000 | stxa %r17, [%r0+0x3e0] %asi | |
6001 | .word 0x9d90c008 ! 322: WRPR_WSTATE_R wrpr %r3, %r8, %wstate | |
6002 | nop | |
6003 | mov 0x80, %g3 | |
6004 | stxa %g3, [%g3] 0x57 | |
6005 | .word 0xda5fc000 ! 323: LDX_R ldx [%r31 + %r0], %r13 | |
6006 | .word 0x91a449c4 ! 324: FDIVd fdivd %f48, %f4, %f8 | |
6007 | .word 0x8790218c ! 325: WRPR_TT_I wrpr %r0, 0x018c, %tt | |
6008 | debug_5_179: | |
6009 | nop | |
6010 | mov 0x38, %r18 | |
6011 | .word 0xfef00b12 ! 326: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6012 | .word 0x93a00572 ! 327: FSQRTq fsqrt | |
6013 | intveclr_5_180: | |
6014 | setx 0xca708ee76580ddf5, %r1, %r28 | |
6015 | stxa %r28, [%g0] 0x72 | |
6016 | .word 0x25400001 ! 328: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6017 | mondo_5_181: | |
6018 | nop | |
6019 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6020 | ||
6021 | stxa %r20, [%r0+0x3e0] %asi | |
6022 | .word 0x9d950003 ! 329: WRPR_WSTATE_R wrpr %r20, %r3, %wstate | |
6023 | .word 0xd2c80e60 ! 330: LDSBA_R ldsba [%r0, %r0] 0x73, %r9 | |
6024 | cwp_5_182: | |
6025 | set user_data_start, %o7 | |
6026 | .word 0x93902003 ! 331: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
6027 | debug_5_183: | |
6028 | nop | |
6029 | mov 8, %r18 | |
6030 | .word 0xdef00492 ! 332: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
6031 | invalw | |
6032 | mov 0xb5, %r30 | |
6033 | .word 0x91d0001e ! 333: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6034 | cwp_5_184: | |
6035 | set user_data_start, %o7 | |
6036 | .word 0x93902003 ! 334: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
6037 | .word 0x8790239f ! 335: WRPR_TT_I wrpr %r0, 0x039f, %tt | |
6038 | splash_cmpr_5_185: | |
6039 | setx 0x9617907374b146eb, %g2, %g1 | |
6040 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
6041 | sub %g1, 100, %g1 | |
6042 | .word 0xb1800001 ! 336: WR_STICK_REG_R wr %r0, %r1, %- | |
6043 | .word 0x8780204f ! 337: WRASI_I wr %r0, 0x004f, %asi | |
6044 | tagged_5_186: | |
6045 | tsubcctv %r24, 0x1a05, %r18 | |
6046 | .word 0xd207e551 ! 338: LDUW_I lduw [%r31 + 0x0551], %r9 | |
6047 | .word 0x34700001 ! 339: BPG <illegal instruction> | |
6048 | cwp_5_187: | |
6049 | set user_data_start, %o7 | |
6050 | .word 0x93902007 ! 340: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
6051 | .word 0xd277e551 ! 341: STX_I stx %r9, [%r31 + 0x0551] | |
6052 | change_to_randtl_5_188: | |
6053 | ta T_CHANGE_PRIV ! macro | |
6054 | done_change_to_randtl_5_188: | |
6055 | .word 0x8f902000 ! 342: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6056 | .word 0xd297e020 ! 343: LDUHA_I lduha [%r31, + 0x0020] %asi, %r9 | |
6057 | intveclr_5_189: | |
6058 | setx 0xc16559576f8d5a6b, %r1, %r28 | |
6059 | stxa %r28, [%g0] 0x72 | |
6060 | .word 0x25400001 ! 344: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6061 | DS_5_190: | |
6062 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
6063 | .word 0xbfe7c000 ! 345: SAVE_R save %r31, %r0, %r31 | |
6064 | splash_htba_5_191: | |
6065 | set 0x80000, %r12 | |
6066 | ld [%r12+%r0], %r1 | |
6067 | ta T_CHANGE_HPRIV | |
6068 | set 0x80000, %r12 | |
6069 | .word 0x8b98000c ! 346: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
6070 | debug_5_192: | |
6071 | nop | |
6072 | mov 8, %r18 | |
6073 | .word 0xe6f00492 ! 347: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
6074 | nop | |
6075 | mov 0x80, %g3 | |
6076 | stxa %g3, [%g3] 0x57 | |
6077 | .word 0xd25fc000 ! 348: LDX_R ldx [%r31 + %r0], %r9 | |
6078 | tagged_5_193: | |
6079 | taddcctv %r19, 0x12a4, %r15 | |
6080 | .word 0xd207e551 ! 349: LDUW_I lduw [%r31 + 0x0551], %r9 | |
6081 | tagged_5_194: | |
6082 | tsubcctv %r16, 0x1bd7, %r25 | |
6083 | .word 0xd207e551 ! 350: LDUW_I lduw [%r31 + 0x0551], %r9 | |
6084 | tagged_5_195: | |
6085 | taddcctv %r12, 0x1c04, %r9 | |
6086 | .word 0xd207e551 ! 351: LDUW_I lduw [%r31 + 0x0551], %r9 | |
6087 | .word 0x91a00166 ! 352: FABSq dis not found | |
6088 | ||
6089 | .word 0x919274be ! 353: WRPR_PIL_I wrpr %r9, 0x14be, %pil | |
6090 | .word 0x9f802290 ! 354: SIR sir 0x0290 | |
6091 | intveclr_5_196: | |
6092 | setx 0x5d24b900a4937001, %r1, %r28 | |
6093 | stxa %r28, [%g0] 0x72 | |
6094 | .word 0x25400001 ! 355: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6095 | .word 0x95a00567 ! 356: FSQRTq fsqrt | |
6096 | .word 0xe0800bc0 ! 357: LDUWA_R lduwa [%r0, %r0] 0x5e, %r16 | |
6097 | otherw | |
6098 | mov 0xb4, %r30 | |
6099 | .word 0x83d0001e ! 358: Tcc_R te icc_or_xcc, %r0 + %r30 | |
6100 | .word 0xe027f503 ! 359: STW_I stw %r16, [%r31 + 0xfffff503] | |
6101 | .word 0x879020b8 ! 360: WRPR_TT_I wrpr %r0, 0x00b8, %tt | |
6102 | .word 0x879021b8 ! 361: WRPR_TT_I wrpr %r0, 0x01b8, %tt | |
6103 | debug_5_197: | |
6104 | nop | |
6105 | mov 0x38, %r18 | |
6106 | .word 0xfef00b12 ! 362: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6107 | .word 0xe08008a0 ! 363: LDUWA_R lduwa [%r0, %r0] 0x45, %r16 | |
6108 | .word 0x91902752 ! 364: WRPR_PIL_I wrpr %r0, 0x0752, %pil | |
6109 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_5_198) + 56, 16, 16)) -> intp(0,0,9) | |
6110 | intvec_5_198: | |
6111 | .word 0x39400001 ! 365: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6112 | DS_5_199: | |
6113 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
6114 | .word 0xbfefc000 ! 366: RESTORE_R restore %r31, %r0, %r31 | |
6115 | rd %pc, %r19 | |
6116 | add %r19, (ivw_5_200-.+32), %r19 | |
6117 | mov 0x38, %r18 | |
6118 | stxa %r19, [%r18]0x58 | |
6119 | ivw_5_200: | |
6120 | .word 0x9192c003 ! 367: WRPR_PIL_R wrpr %r11, %r3, %pil | |
6121 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6122 | ta T_CHANGE_NONHPRIV ! macro | |
6123 | .word 0x93a01967 ! 368: FqTOd dis not found | |
6124 | ||
6125 | splash_cmpr_5_202: | |
6126 | setx 0xd3a0a4c8a0137ce9, %g2, %g1 | |
6127 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
6128 | sub %g1, 100, %g1 | |
6129 | .word 0xb1800001 ! 369: WR_STICK_REG_R wr %r0, %r1, %- | |
6130 | mov (5+1), %r10 | |
6131 | ta T_CHANGE_HPRIV | |
6132 | set sync_thr_counter2, %r23 | |
6133 | cas [%r23],%g0,%r10 !lock | |
6134 | brnz %r10, sma_5_203 | |
6135 | rd %asi, %r12 | |
6136 | wr %g0, 0x40, %asi | |
6137 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6138 | set 0x21fff, %g1 | |
6139 | stxa %g1, [%g0 + 0x80] %asi | |
6140 | wr %r12, %g0, %asi | |
6141 | st %g0, [%r23] | |
6142 | sma_5_203: | |
6143 | ta T_CHANGE_NONHPRIV | |
6144 | .word 0xd1e7e010 ! 370: CASA_R casa [%r31] %asi, %r16, %r8 | |
6145 | donret_5_204: | |
6146 | nop | |
6147 | rd %pc, %r12 | |
6148 | add %r12, (donretarg_5_204-donret_5_204), %r12 | |
6149 | mov 0x38, %r18 | |
6150 | stxa %r12, [%r18]0x58 | |
6151 | add %r12, 0x4, %r11 | |
6152 | wrpr %g0, 0x2, %tl | |
6153 | wrpr %g0, %r12, %tpc | |
6154 | wrpr %g0, %r11, %tnpc | |
6155 | wrpr %g0, %r13, %tstate | |
6156 | wrhpr %g0, %r14, %htstate | |
6157 | retry | |
6158 | donretarg_5_204: | |
6159 | .word 0xd0fff5d1 ! 371: SWAPA_I swapa %r8, [%r31 + 0xfffff5d1] %asi | |
6160 | .word 0x8d9028c0 ! 372: WRPR_PSTATE_I wrpr %r0, 0x08c0, %pstate | |
6161 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6162 | ta T_CHANGE_NONHPRIV ! macro | |
6163 | .word 0x9b6c282c ! 373: SDIVX_I sdivx %r16, 0x082c, %r13 | |
6164 | .word 0xd6d7e030 ! 374: LDSHA_I ldsha [%r31, + 0x0030] %asi, %r11 | |
6165 | .word 0x879023f5 ! 375: WRPR_TT_I wrpr %r0, 0x03f5, %tt | |
6166 | .word 0xd6900e60 ! 376: LDUHA_R lduha [%r0, %r0] 0x73, %r11 | |
6167 | .word 0xd68008a0 ! 377: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
6168 | memptr_5_206: | |
6169 | set 0x60140000, %r31 | |
6170 | .word 0x8580e1e9 ! 378: WRCCR_I wr %r3, 0x01e9, %ccr | |
6171 | .word 0xd727c000 ! 379: STF_R st %f11, [%r0, %r31] | |
6172 | DS_5_207: | |
6173 | .word 0xa7a009d3 ! 1: FDIVd fdivd %f0, %f50, %f50 | |
6174 | allclean | |
6175 | .word 0x9bb50311 ! 380: ALIGNADDRESS alignaddr %r20, %r17, %r13 | |
6176 | splash_hpstate_5_208: | |
6177 | .word 0x81982055 ! 381: WRHPR_HPSTATE_I wrhpr %r0, 0x0055, %hpstate | |
6178 | intveclr_5_209: | |
6179 | setx 0x5158e5aeb30e60cc, %r1, %r28 | |
6180 | stxa %r28, [%g0] 0x72 | |
6181 | .word 0x25400001 ! 382: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6182 | memptr_5_210: | |
6183 | set user_data_start, %r31 | |
6184 | .word 0x85832ea5 ! 383: WRCCR_I wr %r12, 0x0ea5, %ccr | |
6185 | .word 0xab848012 ! 384: WR_CLEAR_SOFTINT_R wr %r18, %r18, %clear_softint | |
6186 | splash_cmpr_5_211: | |
6187 | setx 0x88d5a29214add204, %g2, %g1 | |
6188 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
6189 | sub %g1, 100, %g1 | |
6190 | .word 0xb1800001 ! 385: WR_STICK_REG_R wr %r0, %r1, %- | |
6191 | .word 0xe0c804a0 ! 386: LDSBA_R ldsba [%r0, %r0] 0x25, %r16 | |
6192 | .word 0xa1a509d2 ! 387: FDIVd fdivd %f20, %f18, %f16 | |
6193 | .word 0x91d02035 ! 388: Tcc_I ta icc_or_xcc, %r0 + 53 | |
6194 | splash_htba_5_212: | |
6195 | set 0x80000, %r12 | |
6196 | st %r1, [%r12+%r0] | |
6197 | ta T_CHANGE_HPRIV | |
6198 | set 0x80000, %r12 | |
6199 | .word 0x8b98000c ! 389: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
6200 | change_to_randtl_5_213: | |
6201 | ta T_CHANGE_HPRIV ! macro | |
6202 | done_change_to_randtl_5_213: | |
6203 | .word 0x8f902003 ! 390: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
6204 | .word 0x93d02033 ! 391: Tcc_I tne icc_or_xcc, %r0 + 51 | |
6205 | splash_lsu_5_214: | |
6206 | setx 0xeaa3dd8d360c3695, %r1, %r2 | |
6207 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6208 | .word 0x3d400001 ! 392: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6209 | setx 0xd1350dbf53a09b12, %r1, %r28 | |
6210 | stxa %r28, [%g0] 0x73 | |
6211 | intvec_5_215: | |
6212 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6213 | intveclr_5_216: | |
6214 | setx 0xb103014dfb26af31, %r1, %r28 | |
6215 | stxa %r28, [%g0] 0x72 | |
6216 | .word 0x25400001 ! 394: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6217 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6218 | ta T_CHANGE_NONHPRIV ! macro | |
6219 | .word 0xa7a01974 ! 395: FqTOd dis not found | |
6220 | ||
6221 | .word 0xd097e020 ! 396: LDUHA_I lduha [%r31, + 0x0020] %asi, %r8 | |
6222 | .word 0xd0900e40 ! 397: LDUHA_R lduha [%r0, %r0] 0x72, %r8 | |
6223 | debug_5_218: | |
6224 | nop | |
6225 | mov 0x38, %r18 | |
6226 | .word 0xfef00b12 ! 398: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6227 | splash_hpstate_5_219: | |
6228 | .word 0x819823fe ! 399: WRHPR_HPSTATE_I wrhpr %r0, 0x03fe, %hpstate | |
6229 | DS_5_220: | |
6230 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
6231 | pdist %f0, %f16, %f24 | |
6232 | .word 0x9bb10309 ! 400: ALIGNADDRESS alignaddr %r4, %r9, %r13 | |
6233 | nop | |
6234 | nop | |
6235 | setx join_lbl_0_0, %g1, %g2 | |
6236 | jmp %g2 | |
6237 | nop | |
6238 | fork_lbl_0_5: | |
6239 | .word 0xa9b10ff3 ! 1: FONES e %f20 | |
6240 | splash_lsu_4_0: | |
6241 | setx 0x4f2c65725eecd6eb, %r1, %r2 | |
6242 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6243 | .word 0x3d400001 ! 2: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6244 | .word 0x83d02034 ! 3: Tcc_I te icc_or_xcc, %r0 + 52 | |
6245 | .word 0x8780208b ! 4: WRASI_I wr %r0, 0x008b, %asi | |
6246 | debug_4_1: | |
6247 | nop | |
6248 | rd %pc, %r19 | |
6249 | add %r19, (64+32), %r19 | |
6250 | mov 0x38, %r18 | |
6251 | .word 0xe6f00b12 ! 5: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6252 | debug_4_2: | |
6253 | nop | |
6254 | mov 0x38, %r18 | |
6255 | .word 0xfef00b12 ! 6: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6256 | tagged_4_3: | |
6257 | taddcctv %r11, 0x16ff, %r1 | |
6258 | .word 0xe807f373 ! 7: LDUW_I lduw [%r31 + 0xfffff373], %r20 | |
6259 | splash_cmpr_4_4: | |
6260 | setx 0xa1842c5021dc3a8b, %g2, %g1 | |
6261 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
6262 | sub %g1, 100, %g1 | |
6263 | .word 0xb1800001 ! 8: WR_STICK_REG_R wr %r0, %r1, %- | |
6264 | .word 0x91d02033 ! 9: Tcc_I ta icc_or_xcc, %r0 + 51 | |
6265 | .word 0xe8800c60 ! 10: LDUWA_R lduwa [%r0, %r0] 0x63, %r20 | |
6266 | .word 0xe88008a0 ! 11: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
6267 | DS_4_5: | |
6268 | .word 0x95a449cc ! 1: FDIVd fdivd %f48, %f12, %f10 | |
6269 | .word 0xbfe7c000 ! 12: SAVE_R save %r31, %r0, %r31 | |
6270 | .word 0xd85ff373 ! 13: LDX_I ldx [%r31 + 0xfffff373], %r12 | |
6271 | .word 0x8d802000 ! 14: WRFPRS_I wr %r0, 0x0000, %fprs | |
6272 | .word 0x91d020b2 ! 15: Tcc_I ta icc_or_xcc, %r0 + 178 | |
6273 | .word 0xa5a0016c ! 16: FABSq dis not found | |
6274 | ||
6275 | nop | |
6276 | mov 0x80, %g3 | |
6277 | stxa %g3, [%g3] 0x57 | |
6278 | .word 0xd45fc000 ! 17: LDX_R ldx [%r31 + %r0], %r10 | |
6279 | splash_hpstate_4_6: | |
6280 | .word 0x8198287d ! 18: WRHPR_HPSTATE_I wrhpr %r0, 0x087d, %hpstate | |
6281 | .word 0xd4c80e60 ! 19: LDSBA_R ldsba [%r0, %r0] 0x73, %r10 | |
6282 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6283 | ta T_CHANGE_NONHPRIV ! macro | |
6284 | .word 0xa3a01969 ! 20: FqTOd dis not found | |
6285 | ||
6286 | nop | |
6287 | mov 0x80, %g3 | |
6288 | stxa %g3, [%g3] 0x57 | |
6289 | .word 0xd25fc000 ! 21: LDX_R ldx [%r31 + %r0], %r9 | |
6290 | .word 0xd2c7e030 ! 22: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r9 | |
6291 | change_to_randtl_4_8: | |
6292 | ta T_CHANGE_PRIV ! macro | |
6293 | done_change_to_randtl_4_8: | |
6294 | .word 0x8f902000 ! 23: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
6295 | memptr_4_9: | |
6296 | set user_data_start, %r31 | |
6297 | .word 0x85823a9e ! 24: WRCCR_I wr %r8, 0x1a9e, %ccr | |
6298 | mondo_4_10: | |
6299 | nop | |
6300 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6301 | ||
6302 | stxa %r12, [%r0+0x3d0] %asi | |
6303 | .word 0x9d910004 ! 25: WRPR_WSTATE_R wrpr %r4, %r4, %wstate | |
6304 | .word 0x879020a7 ! 26: WRPR_TT_I wrpr %r0, 0x00a7, %tt | |
6305 | .word 0xd21ff185 ! 27: LDD_I ldd [%r31 + 0xfffff185], %r9 | |
6306 | .word 0xa7a01a63 ! 28: FqTOi fqtoi | |
6307 | change_to_randtl_4_11: | |
6308 | ta T_CHANGE_HPRIV ! macro | |
6309 | done_change_to_randtl_4_11: | |
6310 | .word 0x8f902001 ! 29: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6311 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6312 | ta T_CHANGE_NONPRIV ! macro | |
6313 | .word 0xa968b819 ! 30: SDIVX_I sdivx %r2, 0xfffff819, %r20 | |
6314 | .word 0xd6880e60 ! 31: LDUBA_R lduba [%r0, %r0] 0x73, %r11 | |
6315 | mov (4+1), %r10 | |
6316 | ta T_CHANGE_HPRIV | |
6317 | set sync_thr_counter2, %r23 | |
6318 | cas [%r23],%g0,%r10 !lock | |
6319 | brnz %r10, sma_4_13 | |
6320 | rd %asi, %r12 | |
6321 | wr %g0, 0x40, %asi | |
6322 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6323 | set 0x21fff, %g1 | |
6324 | stxa %g1, [%g0 + 0x80] %asi | |
6325 | wr %r12, %g0, %asi | |
6326 | st %g0, [%r23] | |
6327 | sma_4_13: | |
6328 | ta T_CHANGE_NONHPRIV | |
6329 | .word 0xd7e7e013 ! 32: CASA_R casa [%r31] %asi, %r19, %r11 | |
6330 | .word 0xd66fe760 ! 33: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
6331 | .word 0xd63fe760 ! 34: STD_I std %r11, [%r31 + 0x0760] | |
6332 | .word 0xd66fe760 ! 35: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
6333 | .word 0x8780204f ! 36: WRASI_I wr %r0, 0x004f, %asi | |
6334 | tagged_4_14: | |
6335 | tsubcctv %r13, 0x1602, %r26 | |
6336 | .word 0xd607e760 ! 37: LDUW_I lduw [%r31 + 0x0760], %r11 | |
6337 | memptr_4_15: | |
6338 | set user_data_start, %r31 | |
6339 | .word 0x8580b0d6 ! 38: WRCCR_I wr %r2, 0x10d6, %ccr | |
6340 | tagged_4_16: | |
6341 | tsubcctv %r6, 0x1de5, %r13 | |
6342 | .word 0xd607e356 ! 39: LDUW_I lduw [%r31 + 0x0356], %r11 | |
6343 | .word 0x87902095 ! 40: WRPR_TT_I wrpr %r0, 0x0095, %tt | |
6344 | mondo_4_17: | |
6345 | nop | |
6346 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6347 | ||
6348 | stxa %r11, [%r0+0x3c8] %asi | |
6349 | .word 0x9d90400b ! 41: WRPR_WSTATE_R wrpr %r1, %r11, %wstate | |
6350 | donret_4_18: | |
6351 | nop | |
6352 | rd %pc, %r12 | |
6353 | add %r12, (donretarg_4_18-donret_4_18), %r12 | |
6354 | mov 0x38, %r18 | |
6355 | stxa %r12, [%r18]0x58 | |
6356 | add %r12, 0x4, %r11 | |
6357 | wrpr %g0, 0x3, %tl | |
6358 | wrpr %g0, %r12, %tpc | |
6359 | wrpr %g0, %r11, %tnpc | |
6360 | wrpr %g0, %r13, %tstate | |
6361 | wrhpr %g0, %r14, %htstate | |
6362 | retry | |
6363 | donretarg_4_18: | |
6364 | .word 0xd6ffe356 ! 42: SWAPA_I swapa %r11, [%r31 + 0x0356] %asi | |
6365 | .word 0xd6cfe010 ! 43: LDSBA_I ldsba [%r31, + 0x0010] %asi, %r11 | |
6366 | tagged_4_19: | |
6367 | taddcctv %r4, 0x1e90, %r25 | |
6368 | .word 0xd607e356 ! 44: LDUW_I lduw [%r31 + 0x0356], %r11 | |
6369 | ta T_CHANGE_HPRIV | |
6370 | mov (4+1), %r10 | |
6371 | set sync_thr_counter1, %r23 | |
6372 | cas [%r23],%g0,%r10 !lock | |
6373 | brnz %r10, cwq_4_20 | |
6374 | rd %asi, %r12 | |
6375 | wr %g0, 0x40, %asi | |
6376 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6377 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6378 | cmp %l1, 1 | |
6379 | bne cwq_4_20 | |
6380 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6381 | sub %l2, 0x40, %l2 | |
6382 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6383 | wr %r12, %g0, %asi | |
6384 | st %g0, [%r23] | |
6385 | cwq_4_20: | |
6386 | ta T_CHANGE_NONHPRIV | |
6387 | .word 0x99414000 ! 45: RDPC rd %pc, %r12 | |
6388 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_4_21)+32, 16, 16)) -> intp(4,1,3) | |
6389 | xir_4_21: | |
6390 | .word 0xa980b890 ! 46: WR_SET_SOFTINT_I wr %r2, 0x1890, %set_softint | |
6391 | mondo_4_22: | |
6392 | nop | |
6393 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
6394 | ||
6395 | stxa %r0, [%r0+0x3c0] %asi | |
6396 | .word 0x9d924012 ! 47: WRPR_WSTATE_R wrpr %r9, %r18, %wstate | |
6397 | donret_4_23: | |
6398 | nop | |
6399 | rd %pc, %r12 | |
6400 | add %r12, (donretarg_4_23-donret_4_23-4), %r12 | |
6401 | mov 0x38, %r18 | |
6402 | stxa %r12, [%r18]0x58 | |
6403 | add %r12, 0x4, %r11 | |
6404 | wrpr %g0, 0x2, %tl | |
6405 | wrpr %g0, %r12, %tpc | |
6406 | wrpr %g0, %r11, %tnpc | |
6407 | wrpr %g0, %r13, %tstate | |
6408 | wrhpr %g0, %r14, %htstate | |
6409 | done | |
6410 | donretarg_4_23: | |
6411 | .word 0xd6ffe271 ! 48: SWAPA_I swapa %r11, [%r31 + 0x0271] %asi | |
6412 | mov (4+1), %r10 | |
6413 | ta T_CHANGE_HPRIV | |
6414 | set sync_thr_counter2, %r23 | |
6415 | cas [%r23],%g0,%r10 !lock | |
6416 | brnz %r10, sma_4_24 | |
6417 | rd %asi, %r12 | |
6418 | wr %g0, 0x40, %asi | |
6419 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6420 | set 0x21fff, %g1 | |
6421 | stxa %g1, [%g0 + 0x80] %asi | |
6422 | wr %r12, %g0, %asi | |
6423 | st %g0, [%r23] | |
6424 | sma_4_24: | |
6425 | ta T_CHANGE_NONHPRIV | |
6426 | .word 0xd7e7e006 ! 49: CASA_R casa [%r31] %asi, %r6, %r11 | |
6427 | .word 0xd647e271 ! 50: LDSW_I ldsw [%r31 + 0x0271], %r11 | |
6428 | .word 0x93480000 ! 51: RDHPR_HPSTATE rdhpr %hpstate, %r9 | |
6429 | ta T_CHANGE_HPRIV | |
6430 | mov (4+1), %r10 | |
6431 | set sync_thr_counter1, %r23 | |
6432 | cas [%r23],%g0,%r10 !lock | |
6433 | brnz %r10, cwq_4_25 | |
6434 | rd %asi, %r12 | |
6435 | wr %g0, 0x40, %asi | |
6436 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6437 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6438 | cmp %l1, 1 | |
6439 | bne cwq_4_25 | |
6440 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6441 | sub %l2, 0x40, %l2 | |
6442 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6443 | wr %r12, %g0, %asi | |
6444 | st %g0, [%r23] | |
6445 | cwq_4_25: | |
6446 | ta T_CHANGE_NONHPRIV | |
6447 | .word 0xa3414000 ! 52: RDPC rd %pc, %r17 | |
6448 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_26) + 32, 16, 16)) -> intp(4,0,14) | |
6449 | intvec_4_26: | |
6450 | .word 0x39400001 ! 53: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6451 | .word 0xe657e271 ! 54: LDSH_I ldsh [%r31 + 0x0271], %r19 | |
6452 | intveclr_4_27: | |
6453 | setx 0xd9a6f183db455f64, %r1, %r28 | |
6454 | stxa %r28, [%g0] 0x72 | |
6455 | .word 0x25400001 ! 55: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6456 | .word 0xe68008a0 ! 56: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
6457 | .word 0xe737c000 ! 57: STQF_R - %f19, [%r0, %r31] | |
6458 | pmu_4_28: | |
6459 | nop | |
6460 | setx 0xfffff3f9fffffe3c, %g1, %g7 | |
6461 | .word 0xa3800007 ! 58: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
6462 | .word 0xe68804a0 ! 59: LDUBA_R lduba [%r0, %r0] 0x25, %r19 | |
6463 | intveclr_4_29: | |
6464 | setx 0x59eea3518ea06859, %r1, %r28 | |
6465 | stxa %r28, [%g0] 0x72 | |
6466 | .word 0x25400001 ! 60: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6467 | memptr_4_30: | |
6468 | set user_data_start, %r31 | |
6469 | .word 0x8580f607 ! 61: WRCCR_I wr %r3, 0x1607, %ccr | |
6470 | debug_4_31: | |
6471 | nop | |
6472 | rd %pc, %r19 | |
6473 | add %r19, (64+32), %r19 | |
6474 | mov 0x38, %r18 | |
6475 | .word 0xe6f00b12 ! 62: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
6476 | .word 0x87802055 ! 63: WRASI_I wr %r0, 0x0055, %asi | |
6477 | invalw | |
6478 | mov 0xb4, %r30 | |
6479 | .word 0x91d0001e ! 64: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6480 | .word 0xe69ff3b4 ! 65: LDDA_I ldda [%r31, + 0xfffff3b4] %asi, %r19 | |
6481 | .word 0xe69004a0 ! 66: LDUHA_R lduha [%r0, %r0] 0x25, %r19 | |
6482 | .word 0x91d02032 ! 67: Tcc_I ta icc_or_xcc, %r0 + 50 | |
6483 | .word 0xe68008a0 ! 68: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
6484 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6485 | ta T_CHANGE_NONPRIV ! macro | |
6486 | .word 0x99a01973 ! 69: FqTOd dis not found | |
6487 | ||
6488 | .word 0xd2800b00 ! 70: LDUWA_R lduwa [%r0, %r0] 0x58, %r9 | |
6489 | splash_cmpr_4_33: | |
6490 | setx 0x7515ccd97ab33327, %g2, %g1 | |
6491 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
6492 | sub %g1, 100, %g1 | |
6493 | .word 0xb1800001 ! 71: WR_STICK_REG_R wr %r0, %r1, %- | |
6494 | intveclr_4_34: | |
6495 | setx 0xa9940f05a0989b3f, %r1, %r28 | |
6496 | stxa %r28, [%g0] 0x72 | |
6497 | .word 0x25400001 ! 72: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6498 | splash_cmpr_4_35: | |
6499 | setx 0xf828a672c01881f2, %g2, %g1 | |
6500 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
6501 | sub %g1, 100, %g1 | |
6502 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
6503 | intveclr_4_36: | |
6504 | setx 0xb8e79b3ffcef9664, %r1, %r28 | |
6505 | stxa %r28, [%g0] 0x72 | |
6506 | .word 0x25400001 ! 74: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6507 | otherw | |
6508 | mov 0x31, %r30 | |
6509 | .word 0x91d0001e ! 75: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6510 | .word 0xa9850008 ! 76: WR_SET_SOFTINT_R wr %r20, %r8, %set_softint | |
6511 | intveclr_4_37: | |
6512 | setx 0x25a9ffc6385d4852, %r1, %r28 | |
6513 | stxa %r28, [%g0] 0x72 | |
6514 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6515 | intveclr_4_38: | |
6516 | setx 0xc7ef19b591ef212a, %r1, %r28 | |
6517 | stxa %r28, [%g0] 0x72 | |
6518 | .word 0x25400001 ! 78: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6519 | .word 0x91d02034 ! 79: Tcc_I ta icc_or_xcc, %r0 + 52 | |
6520 | DS_4_39: | |
6521 | .word 0xa3a049c8 ! 1: FDIVd fdivd %f32, %f8, %f48 | |
6522 | .word 0x93a489c6 ! 1: FDIVd fdivd %f18, %f6, %f40 | |
6523 | .word 0x91a00540 ! 1: FSQRTd fsqrt | |
6524 | .word 0x91a24830 ! 80: FADDs fadds %f9, %f16, %f8 | |
6525 | .word 0xd41fc000 ! 81: LDD_R ldd [%r31 + %r0], %r10 | |
6526 | .word 0x87802004 ! 82: WRASI_I wr %r0, 0x0004, %asi | |
6527 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_40) + 56, 16, 16)) -> intp(5,0,22) | |
6528 | intvec_4_40: | |
6529 | .word 0x39400001 ! 83: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6530 | .word 0xd48804a0 ! 84: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
6531 | .word 0x879023ca ! 85: WRPR_TT_I wrpr %r0, 0x03ca, %tt | |
6532 | setx 0x9a5afe913cda1a15, %r1, %r28 | |
6533 | stxa %r28, [%g0] 0x73 | |
6534 | intvec_4_41: | |
6535 | .word 0x39400001 ! 86: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6536 | .word 0xa7a0016c ! 87: FABSq dis not found | |
6537 | ||
6538 | rd %pc, %r19 | |
6539 | add %r19, (ivw_4_42-.+8), %r19 | |
6540 | mov 0x38, %r18 | |
6541 | stxa %r19, [%r18]0x58 | |
6542 | ivw_4_42: | |
6543 | .word 0x9191c010 ! 88: WRPR_PIL_R wrpr %r7, %r16, %pil | |
6544 | .word 0x87802088 ! 89: WRASI_I wr %r0, 0x0088, %asi | |
6545 | .word 0xa190200d ! 90: WRPR_GL_I wrpr %r0, 0x000d, %- | |
6546 | splash_cmpr_4_43: | |
6547 | setx 0x6ee5be9a8a0426f1, %g2, %g1 | |
6548 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
6549 | sub %g1, 100, %g1 | |
6550 | .word 0xb1800001 ! 91: WR_STICK_REG_R wr %r0, %r1, %- | |
6551 | .word 0xe3e7c028 ! 92: CASA_I casa [%r31] 0x 1, %r8, %r17 | |
6552 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6553 | ta T_CHANGE_NONPRIV ! macro | |
6554 | .word 0xa76d267b ! 93: SDIVX_I sdivx %r20, 0x067b, %r19 | |
6555 | debug_4_45: | |
6556 | nop | |
6557 | mov 8, %r18 | |
6558 | ta T_CHANGE_HPRIV | |
6559 | rd %asi, %r12 | |
6560 | wr %r0, 0x41, %asi | |
6561 | set sync_thr_counter, %r23 | |
6562 | debug_startwait4_45: | |
6563 | mov 0x4, %r16 | |
6564 | cas [%r23],%g0,%r16 !lock | |
6565 | brz,a %r16, continue_debug_4_45 | |
6566 | nop | |
6567 | debug_wait4_45: | |
6568 | ld [%r23], %r16 | |
6569 | brnz %r16, debug_wait4_45 | |
6570 | nop | |
6571 | ba,a debug_startwait4_45 | |
6572 | continue_debug_4_45: | |
6573 | mov 0xe0, %r16 | |
6574 | ldxa [0x50]%asi, %r13 !Running_rw | |
6575 | ldxa [0x58]%asi, %r15 !Running_status | |
6576 | wait_for_stat_4_45: | |
6577 | cmp %r13, %r15 | |
6578 | bne,a wait_for_stat_4_45 | |
6579 | ldxa [0x58]%asi, %r15 !Running_status | |
6580 | stxa %r16, [0x68]%asi | |
6581 | ldxa [0x50]%asi, %r14 !Running_rw | |
6582 | wait_for_debug_4_45: | |
6583 | ldxa [0x58]%asi, %r15 !Running_status | |
6584 | cmp %r14, %r15 | |
6585 | bne,a wait_for_debug_4_45 | |
6586 | ldxa [0x50]%asi, %r14 !Running_rw | |
6587 | stxa %11, [%r18]0x42 | |
6588 | stxa %r13, [0x50] %asi ! Running_rw | |
6589 | st %g0, [%r23] !clear lock | |
6590 | wr %r0, %r12, %asi ! restore %asi | |
6591 | .word 0xd4f00492 ! 94: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
6592 | .word 0x8d903f52 ! 95: WRPR_PSTATE_I wrpr %r0, 0x1f52, %pstate | |
6593 | .word 0x9350c000 ! 96: RDPR_TT <illegal instruction> | |
6594 | mov (4+1), %r10 | |
6595 | ta T_CHANGE_HPRIV | |
6596 | set sync_thr_counter2, %r23 | |
6597 | cas [%r23],%g0,%r10 !lock | |
6598 | brnz %r10, sma_4_46 | |
6599 | rd %asi, %r12 | |
6600 | wr %g0, 0x40, %asi | |
6601 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6602 | set 0x21fff, %g1 | |
6603 | stxa %g1, [%g0 + 0x80] %asi | |
6604 | wr %r12, %g0, %asi | |
6605 | st %g0, [%r23] | |
6606 | sma_4_46: | |
6607 | ta T_CHANGE_NONHPRIV | |
6608 | .word 0xd3e7e008 ! 97: CASA_R casa [%r31] %asi, %r8, %r9 | |
6609 | .word 0xa7450000 ! 98: RD_SET_SOFTINT rd %set_softint, %r19 | |
6610 | .word 0x8d802004 ! 99: WRFPRS_I wr %r0, 0x0004, %fprs | |
6611 | .word 0xe48008a0 ! 100: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
6612 | .word 0x32800001 ! 101: BNE bne,a <label_0x1> | |
6613 | debug_4_47: | |
6614 | nop | |
6615 | mov 0x38, %r18 | |
6616 | .word 0xfef00b12 ! 102: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6617 | memptr_4_48: | |
6618 | set user_data_start, %r31 | |
6619 | .word 0x8584a51b ! 103: WRCCR_I wr %r18, 0x051b, %ccr | |
6620 | .word 0xe537c000 ! 104: STQF_R - %f18, [%r0, %r31] | |
6621 | mov (4+1), %r10 | |
6622 | ta T_CHANGE_HPRIV | |
6623 | set sync_thr_counter2, %r23 | |
6624 | cas [%r23],%g0,%r10 !lock | |
6625 | brnz %r10, sma_4_49 | |
6626 | rd %asi, %r12 | |
6627 | wr %g0, 0x40, %asi | |
6628 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6629 | set 0x21fff, %g1 | |
6630 | stxa %g1, [%g0 + 0x80] %asi | |
6631 | wr %r12, %g0, %asi | |
6632 | st %g0, [%r23] | |
6633 | sma_4_49: | |
6634 | ta T_CHANGE_NONHPRIV | |
6635 | .word 0xe5e7e008 ! 105: CASA_R casa [%r31] %asi, %r8, %r18 | |
6636 | intveclr_4_50: | |
6637 | setx 0xec75ecf24121215d, %r1, %r28 | |
6638 | stxa %r28, [%g0] 0x72 | |
6639 | .word 0x25400001 ! 106: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6640 | .word 0x879022bd ! 107: WRPR_TT_I wrpr %r0, 0x02bd, %tt | |
6641 | .word 0x93a20dc0 ! 108: FdMULq fdmulq | |
6642 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6643 | ta T_CHANGE_NONHPRIV ! macro | |
6644 | .word 0xa7a01970 ! 109: FqTOd dis not found | |
6645 | ||
6646 | cwp_4_52: | |
6647 | set user_data_start, %o7 | |
6648 | .word 0x93902003 ! 110: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
6649 | nop | |
6650 | mov 0x80, %g3 | |
6651 | stxa %g3, [%g3] 0x5f | |
6652 | .word 0xda5fc000 ! 111: LDX_R ldx [%r31 + %r0], %r13 | |
6653 | otherw | |
6654 | mov 0xb5, %r30 | |
6655 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
6656 | intveclr_4_53: | |
6657 | setx 0x4cf89ec9eaa0a794, %r1, %r28 | |
6658 | stxa %r28, [%g0] 0x72 | |
6659 | .word 0x25400001 ! 113: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6660 | .word 0xdad804a0 ! 114: LDXA_R ldxa [%r0, %r0] 0x25, %r13 | |
6661 | splash_hpstate_4_54: | |
6662 | .word 0x81982826 ! 115: WRHPR_HPSTATE_I wrhpr %r0, 0x0826, %hpstate | |
6663 | .word 0x9b6d0008 ! 116: SDIVX_R sdivx %r20, %r8, %r13 | |
6664 | splash_htba_4_55: | |
6665 | set 0x80000, %r12 | |
6666 | ld [%r12+%r0], %r1 | |
6667 | ta T_CHANGE_HPRIV | |
6668 | set 0x80000, %r12 | |
6669 | .word 0x8b98000c ! 117: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
6670 | .word 0xd4c004a0 ! 118: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
6671 | splash_htba_4_56: | |
6672 | set 0x80000, %r12 | |
6673 | st %r1, [%r12+%r0] | |
6674 | ta T_CHANGE_HPRIV | |
6675 | set 0x80000, %r12 | |
6676 | .word 0x8b98000c ! 119: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
6677 | debug_4_57: | |
6678 | nop | |
6679 | mov 8, %r18 | |
6680 | ta T_CHANGE_HPRIV | |
6681 | rd %asi, %r12 | |
6682 | wr %r0, 0x41, %asi | |
6683 | set sync_thr_counter, %r23 | |
6684 | debug_startwait4_57: | |
6685 | mov 0x4, %r16 | |
6686 | cas [%r23],%g0,%r16 !lock | |
6687 | brz,a %r16, continue_debug_4_57 | |
6688 | nop | |
6689 | debug_wait4_57: | |
6690 | ld [%r23], %r16 | |
6691 | brnz %r16, debug_wait4_57 | |
6692 | nop | |
6693 | ba,a debug_startwait4_57 | |
6694 | continue_debug_4_57: | |
6695 | mov 0xe0, %r16 | |
6696 | ldxa [0x50]%asi, %r13 !Running_rw | |
6697 | ldxa [0x58]%asi, %r15 !Running_status | |
6698 | wait_for_stat_4_57: | |
6699 | cmp %r13, %r15 | |
6700 | bne,a wait_for_stat_4_57 | |
6701 | ldxa [0x58]%asi, %r15 !Running_status | |
6702 | stxa %r16, [0x68]%asi | |
6703 | ldxa [0x50]%asi, %r14 !Running_rw | |
6704 | wait_for_debug_4_57: | |
6705 | ldxa [0x58]%asi, %r15 !Running_status | |
6706 | cmp %r14, %r15 | |
6707 | bne,a wait_for_debug_4_57 | |
6708 | ldxa [0x50]%asi, %r14 !Running_rw | |
6709 | stxa %14, [%r18]0x42 | |
6710 | stxa %r13, [0x50] %asi ! Running_rw | |
6711 | st %g0, [%r23] !clear lock | |
6712 | wr %r0, %r12, %asi ! restore %asi | |
6713 | .word 0xe8f00492 ! 120: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
6714 | .word 0x83d02032 ! 121: Tcc_I te icc_or_xcc, %r0 + 50 | |
6715 | DS_4_58: | |
6716 | .word 0x99a149ca ! 1: FDIVd fdivd %f36, %f10, %f12 | |
6717 | .word 0xa549ba90 ! Random illegal ? | |
6718 | .word 0xa7a00542 ! 1: FSQRTd fsqrt | |
6719 | .word 0xa7a48824 ! 122: FADDs fadds %f18, %f4, %f19 | |
6720 | .word 0x24800001 ! 123: BLE ble,a <label_0x1> | |
6721 | .word 0x91d02033 ! 124: Tcc_I ta icc_or_xcc, %r0 + 51 | |
6722 | .word 0xda0fee19 ! 125: LDUB_I ldub [%r31 + 0x0e19], %r13 | |
6723 | splash_lsu_4_59: | |
6724 | setx 0x660fa2bd4ab80907, %r1, %r2 | |
6725 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6726 | .word 0x3d400001 ! 126: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6727 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6728 | ta T_CHANGE_NONPRIV ! macro | |
6729 | .word 0x976a23f6 ! 127: SDIVX_I sdivx %r8, 0x03f6, %r11 | |
6730 | tagged_4_61: | |
6731 | taddcctv %r8, 0x1607, %r20 | |
6732 | .word 0xd607ec1e ! 128: LDUW_I lduw [%r31 + 0x0c1e], %r11 | |
6733 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_62) + 0, 16, 16)) -> intp(7,0,11) | |
6734 | intvec_4_62: | |
6735 | .word 0x39400001 ! 129: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6736 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6737 | ta T_CHANGE_NONHPRIV ! macro | |
6738 | .word 0x95a01967 ! 130: FqTOd dis not found | |
6739 | ||
6740 | mov (4+1), %r10 | |
6741 | ta T_CHANGE_HPRIV | |
6742 | set sync_thr_counter2, %r23 | |
6743 | cas [%r23],%g0,%r10 !lock | |
6744 | brnz %r10, sma_4_64 | |
6745 | rd %asi, %r12 | |
6746 | wr %g0, 0x40, %asi | |
6747 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6748 | set 0x21fff, %g1 | |
6749 | stxa %g1, [%g0 + 0x80] %asi | |
6750 | wr %r12, %g0, %asi | |
6751 | st %g0, [%r23] | |
6752 | sma_4_64: | |
6753 | ta T_CHANGE_NONHPRIV | |
6754 | .word 0xd1e7e012 ! 131: CASA_R casa [%r31] %asi, %r18, %r8 | |
6755 | .word 0x9ba00169 ! 132: FABSq dis not found | |
6756 | ||
6757 | intveclr_4_65: | |
6758 | setx 0x5b8333a310ddeefc, %r1, %r28 | |
6759 | stxa %r28, [%g0] 0x72 | |
6760 | .word 0x25400001 ! 133: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
6761 | .word 0x93520000 ! 134: RDPR_PIL <illegal instruction> | |
6762 | .word 0xa9a449c2 ! 135: FDIVd fdivd %f48, %f2, %f20 | |
6763 | cwp_4_66: | |
6764 | set user_data_start, %o7 | |
6765 | .word 0x93902007 ! 136: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
6766 | .word 0xa981000d ! 137: WR_SET_SOFTINT_R wr %r4, %r13, %set_softint | |
6767 | .word 0xe0c004a0 ! 138: LDSWA_R ldswa [%r0, %r0] 0x25, %r16 | |
6768 | splash_hpstate_4_67: | |
6769 | .word 0x819828c7 ! 139: WRHPR_HPSTATE_I wrhpr %r0, 0x08c7, %hpstate | |
6770 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6771 | ta T_CHANGE_NONPRIV ! macro | |
6772 | .word 0xa1a01961 ! 140: FqTOd dis not found | |
6773 | ||
6774 | mov (4+1), %r10 | |
6775 | ta T_CHANGE_HPRIV | |
6776 | set sync_thr_counter2, %r23 | |
6777 | cas [%r23],%g0,%r10 !lock | |
6778 | brnz %r10, sma_4_69 | |
6779 | rd %asi, %r12 | |
6780 | wr %g0, 0x40, %asi | |
6781 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6782 | set 0x21fff, %g1 | |
6783 | stxa %g1, [%g0 + 0x80] %asi | |
6784 | wr %r12, %g0, %asi | |
6785 | st %g0, [%r23] | |
6786 | sma_4_69: | |
6787 | ta T_CHANGE_NONHPRIV | |
6788 | .word 0xe7e7e003 ! 141: CASA_R casa [%r31] %asi, %r3, %r19 | |
6789 | ta T_CHANGE_HPRIV | |
6790 | mov (4+1), %r10 | |
6791 | set sync_thr_counter1, %r23 | |
6792 | cas [%r23],%g0,%r10 !lock | |
6793 | brnz %r10, cwq_4_70 | |
6794 | rd %asi, %r12 | |
6795 | wr %g0, 0x40, %asi | |
6796 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6797 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6798 | cmp %l1, 1 | |
6799 | bne cwq_4_70 | |
6800 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6801 | sub %l2, 0x40, %l2 | |
6802 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6803 | wr %r12, %g0, %asi | |
6804 | st %g0, [%r23] | |
6805 | cwq_4_70: | |
6806 | ta T_CHANGE_NONHPRIV | |
6807 | .word 0x9b414000 ! 142: RDPC rd %pc, %r13 | |
6808 | .word 0xe29004a0 ! 143: LDUHA_R lduha [%r0, %r0] 0x25, %r17 | |
6809 | ta T_CHANGE_HPRIV | |
6810 | mov (4+1), %r10 | |
6811 | set sync_thr_counter1, %r23 | |
6812 | cas [%r23],%g0,%r10 !lock | |
6813 | brnz %r10, cwq_4_71 | |
6814 | rd %asi, %r12 | |
6815 | wr %g0, 0x40, %asi | |
6816 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6817 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6818 | cmp %l1, 1 | |
6819 | bne cwq_4_71 | |
6820 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6821 | sub %l2, 0x40, %l2 | |
6822 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6823 | wr %r12, %g0, %asi | |
6824 | st %g0, [%r23] | |
6825 | cwq_4_71: | |
6826 | ta T_CHANGE_NONHPRIV | |
6827 | .word 0x9b414000 ! 144: RDPC rd %pc, %r13 | |
6828 | invalw | |
6829 | mov 0xb4, %r30 | |
6830 | .word 0x83d0001e ! 145: Tcc_R te icc_or_xcc, %r0 + %r30 | |
6831 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_72) + 16, 16, 16)) -> intp(1,0,18) | |
6832 | intvec_4_72: | |
6833 | .word 0x39400001 ! 146: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
6834 | .word 0x8790222a ! 147: WRPR_TT_I wrpr %r0, 0x022a, %tt | |
6835 | .word 0x9ba049d2 ! 148: FDIVd fdivd %f32, %f18, %f44 | |
6836 | .word 0xd6c7e000 ! 149: LDSWA_I ldswa [%r31, + 0x0000] %asi, %r11 | |
6837 | change_to_randtl_4_73: | |
6838 | ta T_CHANGE_HPRIV ! macro | |
6839 | done_change_to_randtl_4_73: | |
6840 | .word 0x8f902001 ! 150: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
6841 | .word 0x8d9025a0 ! 151: WRPR_PSTATE_I wrpr %r0, 0x05a0, %pstate | |
6842 | memptr_4_74: | |
6843 | set 0x60540000, %r31 | |
6844 | .word 0x8584fd62 ! 152: WRCCR_I wr %r19, 0x1d62, %ccr | |
6845 | .word 0xd727e6f2 ! 153: STF_I st %f11, [0x06f2, %r31] | |
6846 | mov (4+1), %r10 | |
6847 | ta T_CHANGE_HPRIV | |
6848 | set sync_thr_counter2, %r23 | |
6849 | cas [%r23],%g0,%r10 !lock | |
6850 | brnz %r10, sma_4_75 | |
6851 | rd %asi, %r12 | |
6852 | wr %g0, 0x40, %asi | |
6853 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
6854 | set 0x21fff, %g1 | |
6855 | stxa %g1, [%g0 + 0x80] %asi | |
6856 | wr %r12, %g0, %asi | |
6857 | st %g0, [%r23] | |
6858 | sma_4_75: | |
6859 | ta T_CHANGE_NONHPRIV | |
6860 | .word 0xd7e7e013 ! 154: CASA_R casa [%r31] %asi, %r19, %r11 | |
6861 | splash_cmpr_4_76: | |
6862 | setx 0x83a2b362e048e140, %g2, %g1 | |
6863 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
6864 | sub %g1, 100, %g1 | |
6865 | .word 0xb1800001 ! 155: WR_STICK_REG_R wr %r0, %r1, %- | |
6866 | .word 0x9350c000 ! 156: RDPR_TT <illegal instruction> | |
6867 | .word 0x3e700001 ! 157: BPVC <illegal instruction> | |
6868 | .word 0xd8d804a0 ! 158: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
6869 | rd %pc, %r19 | |
6870 | add %r19, (ivw_4_77-.+0), %r19 | |
6871 | mov 0x38, %r18 | |
6872 | stxa %r19, [%r18]0x58 | |
6873 | ivw_4_77: | |
6874 | .word 0x9190400d ! 159: WRPR_PIL_R wrpr %r1, %r13, %pil | |
6875 | .word 0x8d903a69 ! 160: WRPR_PSTATE_I wrpr %r0, 0x1a69, %pstate | |
6876 | .word 0xd88804a0 ! 161: LDUBA_R lduba [%r0, %r0] 0x25, %r12 | |
6877 | .word 0xab84331a ! 162: WR_CLEAR_SOFTINT_I wr %r16, 0x131a, %clear_softint | |
6878 | splash_lsu_4_78: | |
6879 | setx 0x8635cd4ac4022f51, %r1, %r2 | |
6880 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6881 | .word 0x3d400001 ! 163: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6882 | .word 0xd80fecf5 ! 164: LDUB_I ldub [%r31 + 0x0cf5], %r12 | |
6883 | splash_cmpr_4_79: | |
6884 | setx 0x76900a76ddbe75a5, %g2, %g1 | |
6885 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
6886 | sub %g1, 100, %g1 | |
6887 | .word 0xb1800001 ! 165: WR_STICK_REG_R wr %r0, %r1, %- | |
6888 | debug_4_80: | |
6889 | nop | |
6890 | mov 0x38, %r18 | |
6891 | .word 0xfef00b12 ! 166: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6892 | splash_hpstate_4_81: | |
6893 | .word 0x8198254d ! 167: WRHPR_HPSTATE_I wrhpr %r0, 0x054d, %hpstate | |
6894 | splash_htba_4_82: | |
6895 | set 0x80000, %r12 | |
6896 | st %r1, [%r12+%r0] | |
6897 | ta T_CHANGE_HPRIV | |
6898 | set 0x80000, %r12 | |
6899 | .word 0x8b98000c ! 168: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
6900 | splash_tba_4_83: | |
6901 | set 0x120000, %r12 | |
6902 | ld [%r12+%r0], %r1 | |
6903 | ta T_CHANGE_PRIV | |
6904 | set 0x120000, %r12 | |
6905 | .word 0x8b90000c ! 169: WRPR_TBA_R wrpr %r0, %r12, %tba | |
6906 | .word 0x99a309cb ! 170: FDIVd fdivd %f12, %f42, %f12 | |
6907 | splash_lsu_4_84: | |
6908 | setx 0xabec60067d2e9a27, %r1, %r2 | |
6909 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
6910 | .word 0x3d400001 ! 171: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
6911 | .word 0x8780204f ! 172: WRASI_I wr %r0, 0x004f, %asi | |
6912 | .word 0x87802010 ! 173: WRASI_I wr %r0, 0x0010, %asi | |
6913 | DS_4_85: | |
6914 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
6915 | .word 0xbfefc000 ! 174: RESTORE_R restore %r31, %r0, %r31 | |
6916 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
6917 | ta T_CHANGE_NONPRIV ! macro | |
6918 | .word 0x99a01970 ! 175: FqTOd dis not found | |
6919 | ||
6920 | DS_4_87: | |
6921 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
6922 | allclean | |
6923 | .word 0x99b04301 ! 176: ALIGNADDRESS alignaddr %r1, %r1, %r12 | |
6924 | splash_hpstate_4_88: | |
6925 | .word 0x81982f94 ! 177: WRHPR_HPSTATE_I wrhpr %r0, 0x0f94, %hpstate | |
6926 | .word 0xa2dc0004 ! 178: SMULcc_R smulcc %r16, %r4, %r17 | |
6927 | .word 0x87802010 ! 179: WRASI_I wr %r0, 0x0010, %asi | |
6928 | splash_hpstate_4_89: | |
6929 | .word 0x8198245f ! 180: WRHPR_HPSTATE_I wrhpr %r0, 0x045f, %hpstate | |
6930 | .word 0xd44fecf5 ! 181: LDSB_I ldsb [%r31 + 0x0cf5], %r10 | |
6931 | debug_4_90: | |
6932 | nop | |
6933 | mov 8, %r18 | |
6934 | ta T_CHANGE_HPRIV | |
6935 | rd %asi, %r12 | |
6936 | wr %r0, 0x41, %asi | |
6937 | set sync_thr_counter, %r23 | |
6938 | debug_startwait4_90: | |
6939 | mov 0x4, %r16 | |
6940 | cas [%r23],%g0,%r16 !lock | |
6941 | brz,a %r16, continue_debug_4_90 | |
6942 | nop | |
6943 | debug_wait4_90: | |
6944 | ld [%r23], %r16 | |
6945 | brnz %r16, debug_wait4_90 | |
6946 | nop | |
6947 | ba,a debug_startwait4_90 | |
6948 | continue_debug_4_90: | |
6949 | mov 0xe0, %r16 | |
6950 | ldxa [0x50]%asi, %r13 !Running_rw | |
6951 | ldxa [0x58]%asi, %r15 !Running_status | |
6952 | wait_for_stat_4_90: | |
6953 | cmp %r13, %r15 | |
6954 | bne,a wait_for_stat_4_90 | |
6955 | ldxa [0x58]%asi, %r15 !Running_status | |
6956 | stxa %r16, [0x68]%asi | |
6957 | ldxa [0x50]%asi, %r14 !Running_rw | |
6958 | wait_for_debug_4_90: | |
6959 | ldxa [0x58]%asi, %r15 !Running_status | |
6960 | cmp %r14, %r15 | |
6961 | bne,a wait_for_debug_4_90 | |
6962 | ldxa [0x50]%asi, %r14 !Running_rw | |
6963 | stxa %14, [%r18]0x42 | |
6964 | stxa %r13, [0x50] %asi ! Running_rw | |
6965 | st %g0, [%r23] !clear lock | |
6966 | wr %r0, %r12, %asi ! restore %asi | |
6967 | .word 0xe4f00492 ! 182: STXA_R stxa %r18, [%r0 + %r18] 0x24 | |
6968 | .word 0xd4cfe020 ! 183: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r10 | |
6969 | splash_hpstate_4_91: | |
6970 | .word 0x8198234f ! 184: WRHPR_HPSTATE_I wrhpr %r0, 0x034f, %hpstate | |
6971 | debug_4_92: | |
6972 | nop | |
6973 | mov 0x38, %r18 | |
6974 | .word 0xfef00b12 ! 185: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
6975 | splash_cmpr_4_93: | |
6976 | setx 0x1ccdfc700073250e, %g2, %g1 | |
6977 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
6978 | sub %g1, 100, %g1 | |
6979 | .word 0xb1800001 ! 186: WR_STICK_REG_R wr %r0, %r1, %- | |
6980 | DS_4_94: | |
6981 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
6982 | .word 0xbb74ce64 ! Random illegal ? | |
6983 | .word 0x97a009ca ! 1: FDIVd fdivd %f0, %f10, %f42 | |
6984 | .word 0x97a1c834 ! 187: FADDs fadds %f7, %f20, %f11 | |
6985 | ta T_CHANGE_HPRIV | |
6986 | mov (4+1), %r10 | |
6987 | set sync_thr_counter1, %r23 | |
6988 | cas [%r23],%g0,%r10 !lock | |
6989 | brnz %r10, cwq_4_95 | |
6990 | rd %asi, %r12 | |
6991 | wr %g0, 0x40, %asi | |
6992 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
6993 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
6994 | cmp %l1, 1 | |
6995 | bne cwq_4_95 | |
6996 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
6997 | sub %l2, 0x40, %l2 | |
6998 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
6999 | wr %r12, %g0, %asi | |
7000 | st %g0, [%r23] | |
7001 | cwq_4_95: | |
7002 | ta T_CHANGE_NONHPRIV | |
7003 | .word 0x97414000 ! 188: RDPC rd %pc, %r11 | |
7004 | .word 0xe88fe020 ! 189: LDUBA_I lduba [%r31, + 0x0020] %asi, %r20 | |
7005 | splash_lsu_4_96: | |
7006 | setx 0xb61523dde274a59f, %r1, %r2 | |
7007 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7008 | .word 0x3d400001 ! 190: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7009 | .word 0xa3a409f3 ! 191: FDIVq dis not found | |
7010 | ||
7011 | cwp_4_97: | |
7012 | set user_data_start, %o7 | |
7013 | .word 0x93902000 ! 192: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
7014 | .word 0xa781000c ! 193: WR_GRAPHICS_STATUS_REG_R wr %r4, %r12, %- | |
7015 | .word 0x8790212a ! 194: WRPR_TT_I wrpr %r0, 0x012a, %tt | |
7016 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7017 | ta T_CHANGE_NONHPRIV ! macro | |
7018 | .word 0x95a01971 ! 195: FqTOd dis not found | |
7019 | ||
7020 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_100) + 48, 16, 16)) -> intp(7,0,7) | |
7021 | intvec_4_100: | |
7022 | .word 0x39400001 ! 196: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7023 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
7024 | ta T_CHANGE_NONHPRIV ! macro | |
7025 | .word 0xa5a01969 ! 197: FqTOd dis not found | |
7026 | ||
7027 | intveclr_4_102: | |
7028 | setx 0x3e74ea552bb021c9, %r1, %r28 | |
7029 | stxa %r28, [%g0] 0x72 | |
7030 | .word 0x25400001 ! 198: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7031 | mondo_4_103: | |
7032 | nop | |
7033 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7034 | ||
7035 | stxa %r18, [%r0+0x3e0] %asi | |
7036 | .word 0x9d91c010 ! 199: WRPR_WSTATE_R wrpr %r7, %r16, %wstate | |
7037 | memptr_4_104: | |
7038 | set 0x60340000, %r31 | |
7039 | .word 0x85823307 ! 200: WRCCR_I wr %r8, 0x1307, %ccr | |
7040 | .word 0x87802014 ! 201: WRASI_I wr %r0, 0x0014, %asi | |
7041 | .word 0xa9840008 ! 202: WR_SET_SOFTINT_R wr %r16, %r8, %set_softint | |
7042 | .word 0x8780208a ! 203: WRASI_I wr %r0, 0x008a, %asi | |
7043 | DS_4_105: | |
7044 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
7045 | .word 0xbfefc000 ! 204: RESTORE_R restore %r31, %r0, %r31 | |
7046 | .word 0x26800001 ! 205: BL bl,a <label_0x1> | |
7047 | .word 0xe0d00e80 ! 206: LDSHA_R ldsha [%r0, %r0] 0x74, %r16 | |
7048 | debug_4_106: | |
7049 | nop | |
7050 | rd %pc, %r19 | |
7051 | add %r19, (64+0), %r19 | |
7052 | mov 0x38, %r18 | |
7053 | .word 0xe6f00b12 ! 207: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7054 | debug_4_107: | |
7055 | nop | |
7056 | mov 0x38, %r18 | |
7057 | .word 0xfef00b12 ! 208: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7058 | .word 0x8d902506 ! 209: WRPR_PSTATE_I wrpr %r0, 0x0506, %pstate | |
7059 | .word 0x2c700001 ! 210: BPNEG <illegal instruction> | |
7060 | .word 0x99902002 ! 211: WRPR_CLEANWIN_I wrpr %r0, 0x0002, %cleanwin | |
7061 | mov (4+1), %r10 | |
7062 | ta T_CHANGE_HPRIV | |
7063 | set sync_thr_counter2, %r23 | |
7064 | cas [%r23],%g0,%r10 !lock | |
7065 | brnz %r10, sma_4_108 | |
7066 | rd %asi, %r12 | |
7067 | wr %g0, 0x40, %asi | |
7068 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
7069 | set 0x21fff, %g1 | |
7070 | stxa %g1, [%g0 + 0x80] %asi | |
7071 | wr %r12, %g0, %asi | |
7072 | st %g0, [%r23] | |
7073 | sma_4_108: | |
7074 | ta T_CHANGE_NONHPRIV | |
7075 | .word 0xe1e7e006 ! 212: CASA_R casa [%r31] %asi, %r6, %r16 | |
7076 | cwp_4_109: | |
7077 | set user_data_start, %o7 | |
7078 | .word 0x93902000 ! 213: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
7079 | ta T_CHANGE_HPRIV | |
7080 | mov (4+1), %r10 | |
7081 | set sync_thr_counter1, %r23 | |
7082 | cas [%r23],%g0,%r10 !lock | |
7083 | brnz %r10, cwq_4_110 | |
7084 | rd %asi, %r12 | |
7085 | wr %g0, 0x40, %asi | |
7086 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7087 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7088 | cmp %l1, 1 | |
7089 | bne cwq_4_110 | |
7090 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7091 | sub %l2, 0x40, %l2 | |
7092 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7093 | wr %r12, %g0, %asi | |
7094 | st %g0, [%r23] | |
7095 | cwq_4_110: | |
7096 | ta T_CHANGE_NONHPRIV | |
7097 | .word 0xa3414000 ! 214: RDPC rd %pc, %r17 | |
7098 | debug_4_111: | |
7099 | nop | |
7100 | mov 8, %r18 | |
7101 | ta T_CHANGE_HPRIV | |
7102 | rd %asi, %r12 | |
7103 | wr %r0, 0x41, %asi | |
7104 | set sync_thr_counter, %r23 | |
7105 | debug_startwait4_111: | |
7106 | mov 0x4, %r16 | |
7107 | cas [%r23],%g0,%r16 !lock | |
7108 | brz,a %r16, continue_debug_4_111 | |
7109 | nop | |
7110 | debug_wait4_111: | |
7111 | ld [%r23], %r16 | |
7112 | brnz %r16, debug_wait4_111 | |
7113 | nop | |
7114 | ba,a debug_startwait4_111 | |
7115 | continue_debug_4_111: | |
7116 | mov 0xe0, %r16 | |
7117 | ldxa [0x50]%asi, %r13 !Running_rw | |
7118 | ldxa [0x58]%asi, %r15 !Running_status | |
7119 | wait_for_stat_4_111: | |
7120 | cmp %r13, %r15 | |
7121 | bne,a wait_for_stat_4_111 | |
7122 | ldxa [0x58]%asi, %r15 !Running_status | |
7123 | stxa %r16, [0x68]%asi | |
7124 | ldxa [0x50]%asi, %r14 !Running_rw | |
7125 | wait_for_debug_4_111: | |
7126 | ldxa [0x58]%asi, %r15 !Running_status | |
7127 | cmp %r14, %r15 | |
7128 | bne,a wait_for_debug_4_111 | |
7129 | ldxa [0x50]%asi, %r14 !Running_rw | |
7130 | stxa %17, [%r18]0x42 | |
7131 | stxa %r13, [0x50] %asi ! Running_rw | |
7132 | st %g0, [%r23] !clear lock | |
7133 | wr %r0, %r12, %asi ! restore %asi | |
7134 | .word 0xd0f00492 ! 215: STXA_R stxa %r8, [%r0 + %r18] 0x24 | |
7135 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
7136 | ta T_CHANGE_NONPRIV ! macro | |
7137 | .word 0xa16a213d ! 216: SDIVX_I sdivx %r8, 0x013d, %r16 | |
7138 | .word 0xa1902000 ! 217: WRPR_GL_I wrpr %r0, 0x0000, %- | |
7139 | debug_4_113: | |
7140 | nop | |
7141 | mov 0x38, %r18 | |
7142 | .word 0xfef00b12 ! 218: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7143 | invalw | |
7144 | mov 0x32, %r30 | |
7145 | .word 0x91d0001e ! 219: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
7146 | splash_tba_4_114: | |
7147 | set 0x003c0000, %r12 | |
7148 | st %r1, [%r12+%r0] | |
7149 | ta T_CHANGE_PRIV | |
7150 | set 0x003c0000, %r12 | |
7151 | .word 0x8b90000c ! 220: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7152 | .word 0xa5450000 ! 221: RD_SET_SOFTINT rd %set_softint, %r18 | |
7153 | .word 0xd08008a0 ! 222: LDUWA_R lduwa [%r0, %r0] 0x45, %r8 | |
7154 | splash_hpstate_4_115: | |
7155 | .word 0x81982dd6 ! 223: WRHPR_HPSTATE_I wrhpr %r0, 0x0dd6, %hpstate | |
7156 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_116) + 56, 16, 16)) -> intp(0,0,22) | |
7157 | intvec_4_116: | |
7158 | .word 0x39400001 ! 224: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7159 | ta T_CHANGE_HPRIV | |
7160 | mov (4+1), %r10 | |
7161 | set sync_thr_counter1, %r23 | |
7162 | cas [%r23],%g0,%r10 !lock | |
7163 | brnz %r10, cwq_4_117 | |
7164 | rd %asi, %r12 | |
7165 | wr %g0, 0x40, %asi | |
7166 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7167 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7168 | cmp %l1, 1 | |
7169 | bne cwq_4_117 | |
7170 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7171 | sub %l2, 0x40, %l2 | |
7172 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7173 | wr %r12, %g0, %asi | |
7174 | st %g0, [%r23] | |
7175 | cwq_4_117: | |
7176 | ta T_CHANGE_NONHPRIV | |
7177 | .word 0xa7414000 ! 225: RDPC rd %pc, %r19 | |
7178 | .word 0x9153c000 ! 226: RDPR_FQ <illegal instruction> | |
7179 | memptr_4_118: | |
7180 | set 0x60540000, %r31 | |
7181 | .word 0x85813495 ! 227: WRCCR_I wr %r4, 0x1495, %ccr | |
7182 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
7183 | ta T_CHANGE_NONHPRIV ! macro | |
7184 | .word 0x95a01962 ! 228: FqTOd dis not found | |
7185 | ||
7186 | .word 0x95a089cc ! 229: FDIVd fdivd %f2, %f12, %f10 | |
7187 | .word 0x8780201c ! 230: WRASI_I wr %r0, 0x001c, %asi | |
7188 | splash_tba_4_120: | |
7189 | set 0x003c0000, %r12 | |
7190 | st %r1, [%r12+%r0] | |
7191 | ta T_CHANGE_PRIV | |
7192 | set 0x003c0000, %r12 | |
7193 | .word 0x8b90000c ! 231: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7194 | splash_cmpr_4_121: | |
7195 | setx 0x87a3f626cb7a20dc, %g2, %g1 | |
7196 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
7197 | sub %g1, 100, %g1 | |
7198 | .word 0xb1800001 ! 232: WR_STICK_REG_R wr %r0, %r1, %- | |
7199 | mov (4+1), %r10 | |
7200 | ta T_CHANGE_HPRIV | |
7201 | set sync_thr_counter2, %r23 | |
7202 | cas [%r23],%g0,%r10 !lock | |
7203 | brnz %r10, sma_4_122 | |
7204 | rd %asi, %r12 | |
7205 | wr %g0, 0x40, %asi | |
7206 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
7207 | set 0x21fff, %g1 | |
7208 | stxa %g1, [%g0 + 0x80] %asi | |
7209 | wr %r12, %g0, %asi | |
7210 | st %g0, [%r23] | |
7211 | sma_4_122: | |
7212 | ta T_CHANGE_NONHPRIV | |
7213 | .word 0xd7e7e014 ! 233: CASA_R casa [%r31] %asi, %r20, %r11 | |
7214 | .word 0xd737e19a ! 234: STQF_I - %f11, [0x019a, %r31] | |
7215 | splash_hpstate_4_123: | |
7216 | .word 0x81982e3c ! 235: WRHPR_HPSTATE_I wrhpr %r0, 0x0e3c, %hpstate | |
7217 | .word 0x919177ad ! 236: WRPR_PIL_I wrpr %r5, 0x17ad, %pil | |
7218 | change_to_randtl_4_124: | |
7219 | ta T_CHANGE_PRIV ! macro | |
7220 | done_change_to_randtl_4_124: | |
7221 | .word 0x8f902001 ! 237: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
7222 | splash_cmpr_4_125: | |
7223 | setx 0x3c19b8d46e28613b, %g2, %g1 | |
7224 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
7225 | sub %g1, 100, %g1 | |
7226 | .word 0xb1800001 ! 238: WR_STICK_REG_R wr %r0, %r1, %- | |
7227 | invalw | |
7228 | mov 0x31, %r30 | |
7229 | .word 0x91d0001e ! 239: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
7230 | ta T_CHANGE_HPRIV | |
7231 | mov (4+1), %r10 | |
7232 | set sync_thr_counter1, %r23 | |
7233 | cas [%r23],%g0,%r10 !lock | |
7234 | brnz %r10, cwq_4_126 | |
7235 | rd %asi, %r12 | |
7236 | wr %g0, 0x40, %asi | |
7237 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7238 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7239 | cmp %l1, 1 | |
7240 | bne cwq_4_126 | |
7241 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7242 | sub %l2, 0x40, %l2 | |
7243 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7244 | wr %r12, %g0, %asi | |
7245 | st %g0, [%r23] | |
7246 | cwq_4_126: | |
7247 | ta T_CHANGE_NONHPRIV | |
7248 | .word 0x97414000 ! 240: RDPC rd %pc, %r11 | |
7249 | .word 0xe91fc000 ! 241: LDDF_R ldd [%r31, %r0], %f20 | |
7250 | change_to_randtl_4_127: | |
7251 | ta T_CHANGE_HPRIV ! macro | |
7252 | done_change_to_randtl_4_127: | |
7253 | .word 0x8f902003 ! 242: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
7254 | .word 0x9ba349c2 ! 243: FDIVd fdivd %f44, %f2, %f44 | |
7255 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
7256 | ta T_CHANGE_NONPRIV ! macro | |
7257 | .word 0xa9697d74 ! 244: SDIVX_I sdivx %r5, 0xfffffd74, %r20 | |
7258 | .word 0xe28008a0 ! 245: LDUWA_R lduwa [%r0, %r0] 0x45, %r17 | |
7259 | cwp_4_129: | |
7260 | set user_data_start, %o7 | |
7261 | .word 0x93902004 ! 246: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
7262 | .word 0x91d020b4 ! 247: Tcc_I ta icc_or_xcc, %r0 + 180 | |
7263 | .word 0x30700001 ! 248: BPA <illegal instruction> | |
7264 | .word 0x87802089 ! 249: WRASI_I wr %r0, 0x0089, %asi | |
7265 | splash_cmpr_4_130: | |
7266 | setx 0x2e2a8140f69fa92f, %g2, %g1 | |
7267 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7268 | sub %g1, 100, %g1 | |
7269 | .word 0xb1800001 ! 250: WR_STICK_REG_R wr %r0, %r1, %- | |
7270 | change_to_randtl_4_131: | |
7271 | ta T_CHANGE_HPRIV ! macro | |
7272 | done_change_to_randtl_4_131: | |
7273 | .word 0x8f902001 ! 251: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
7274 | .word 0xe31fc000 ! 252: LDDF_R ldd [%r31, %r0], %f17 | |
7275 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_4_132)+0, 16, 16)) -> intp(4,1,3) | |
7276 | xir_4_132: | |
7277 | .word 0xa9847c59 ! 253: WR_SET_SOFTINT_I wr %r17, 0x1c59, %set_softint | |
7278 | ta T_CHANGE_HPRIV | |
7279 | mov (4+1), %r10 | |
7280 | set sync_thr_counter1, %r23 | |
7281 | cas [%r23],%g0,%r10 !lock | |
7282 | brnz %r10, cwq_4_133 | |
7283 | rd %asi, %r12 | |
7284 | wr %g0, 0x40, %asi | |
7285 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7286 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7287 | cmp %l1, 1 | |
7288 | bne cwq_4_133 | |
7289 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7290 | sub %l2, 0x40, %l2 | |
7291 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7292 | wr %r12, %g0, %asi | |
7293 | st %g0, [%r23] | |
7294 | cwq_4_133: | |
7295 | ta T_CHANGE_NONHPRIV | |
7296 | .word 0xa9414000 ! 254: RDPC rd %pc, %r20 | |
7297 | DS_4_134: | |
7298 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
7299 | pdist %f26, %f14, %f30 | |
7300 | .word 0xa5b40313 ! 255: ALIGNADDRESS alignaddr %r16, %r19, %r18 | |
7301 | setx 0x899286004bb0a53e, %r1, %r28 | |
7302 | stxa %r28, [%g0] 0x73 | |
7303 | intvec_4_135: | |
7304 | .word 0x39400001 ! 256: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7305 | .word 0x87902312 ! 257: WRPR_TT_I wrpr %r0, 0x0312, %tt | |
7306 | splash_tba_4_136: | |
7307 | set 0x120000, %r12 | |
7308 | st %r1, [%r12+%r0] | |
7309 | ta T_CHANGE_PRIV | |
7310 | set 0x120000, %r12 | |
7311 | .word 0x8b90000c ! 258: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7312 | .word 0x9b50c000 ! 259: RDPR_TT rdpr %tt, %r13 | |
7313 | mov (4+1), %r10 | |
7314 | ta T_CHANGE_HPRIV | |
7315 | set sync_thr_counter2, %r23 | |
7316 | cas [%r23],%g0,%r10 !lock | |
7317 | brnz %r10, sma_4_137 | |
7318 | rd %asi, %r12 | |
7319 | wr %g0, 0x40, %asi | |
7320 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
7321 | set 0x21fff, %g1 | |
7322 | stxa %g1, [%g0 + 0x80] %asi | |
7323 | wr %r12, %g0, %asi | |
7324 | st %g0, [%r23] | |
7325 | sma_4_137: | |
7326 | ta T_CHANGE_NONHPRIV | |
7327 | .word 0xd5e7e001 ! 260: CASA_R casa [%r31] %asi, %r1, %r10 | |
7328 | .word 0x8d90340b ! 261: WRPR_PSTATE_I wrpr %r0, 0x140b, %pstate | |
7329 | DS_4_138: | |
7330 | .word 0xa1a1c9cd ! 1: FDIVd fdivd %f38, %f44, %f16 | |
7331 | .word 0xbfefc000 ! 262: RESTORE_R restore %r31, %r0, %r31 | |
7332 | splash_tba_4_139: | |
7333 | set 0x120000, %r12 | |
7334 | ld [%r12+%r0], %r1 | |
7335 | ta T_CHANGE_PRIV | |
7336 | set 0x120000, %r12 | |
7337 | .word 0x8b90000c ! 263: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7338 | DS_4_140: | |
7339 | nop | |
7340 | not %g0, %r12 | |
7341 | jmp %r12 | |
7342 | .word 0x9d902000 ! 264: WRPR_WSTATE_I wrpr %r0, 0x0000, %wstate | |
7343 | tagged_4_141: | |
7344 | taddcctv %r24, 0x104e, %r11 | |
7345 | .word 0xd407e18a ! 265: LDUW_I lduw [%r31 + 0x018a], %r10 | |
7346 | .word 0xd46fe18a ! 266: LDSTUB_I ldstub %r10, [%r31 + 0x018a] | |
7347 | .word 0xa9a00163 ! 267: FABSq dis not found | |
7348 | ||
7349 | .word 0x8790219d ! 268: WRPR_TT_I wrpr %r0, 0x019d, %tt | |
7350 | change_to_randtl_4_142: | |
7351 | ta T_CHANGE_PRIV ! macro | |
7352 | done_change_to_randtl_4_142: | |
7353 | .word 0x8f902002 ! 269: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7354 | .word 0xa3a4c9c3 ! 270: FDIVd fdivd %f50, %f34, %f48 | |
7355 | .word 0xd02fe18a ! 271: STB_I stb %r8, [%r31 + 0x018a] | |
7356 | .word 0xa5450000 ! 272: RD_SET_SOFTINT rd %set_softint, %r18 | |
7357 | splash_tba_4_143: | |
7358 | set 0x120000, %r12 | |
7359 | ld [%r12+%r0], %r1 | |
7360 | ta T_CHANGE_PRIV | |
7361 | set 0x120000, %r12 | |
7362 | .word 0x8b90000c ! 273: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7363 | .word 0x87902297 ! 274: WRPR_TT_I wrpr %r0, 0x0297, %tt | |
7364 | ta T_CHANGE_HPRIV | |
7365 | mov (4+1), %r10 | |
7366 | set sync_thr_counter1, %r23 | |
7367 | cas [%r23],%g0,%r10 !lock | |
7368 | brnz %r10, cwq_4_144 | |
7369 | rd %asi, %r12 | |
7370 | wr %g0, 0x40, %asi | |
7371 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7372 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7373 | cmp %l1, 1 | |
7374 | bne cwq_4_144 | |
7375 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7376 | sub %l2, 0x40, %l2 | |
7377 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7378 | wr %r12, %g0, %asi | |
7379 | st %g0, [%r23] | |
7380 | cwq_4_144: | |
7381 | ta T_CHANGE_NONHPRIV | |
7382 | .word 0x95414000 ! 275: RDPC rd %pc, %r10 | |
7383 | .word 0xa7848003 ! 276: WR_GRAPHICS_STATUS_REG_R wr %r18, %r3, %- | |
7384 | nop | |
7385 | mov 0x80, %g3 | |
7386 | stxa %g3, [%g3] 0x5f | |
7387 | .word 0xe45fc000 ! 277: LDX_R ldx [%r31 + %r0], %r18 | |
7388 | .word 0x2e800001 ! 278: BVS bvs,a <label_0x1> | |
7389 | debug_4_146: | |
7390 | nop | |
7391 | mov 0x38, %r18 | |
7392 | .word 0xfef00b12 ! 279: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7393 | debug_4_147: | |
7394 | nop | |
7395 | mov 8, %r18 | |
7396 | ta T_CHANGE_HPRIV | |
7397 | rd %asi, %r12 | |
7398 | wr %r0, 0x41, %asi | |
7399 | set sync_thr_counter, %r23 | |
7400 | debug_startwait4_147: | |
7401 | mov 0x4, %r16 | |
7402 | cas [%r23],%g0,%r16 !lock | |
7403 | brz,a %r16, continue_debug_4_147 | |
7404 | nop | |
7405 | debug_wait4_147: | |
7406 | ld [%r23], %r16 | |
7407 | brnz %r16, debug_wait4_147 | |
7408 | nop | |
7409 | ba,a debug_startwait4_147 | |
7410 | continue_debug_4_147: | |
7411 | mov 0xe0, %r16 | |
7412 | ldxa [0x50]%asi, %r13 !Running_rw | |
7413 | ldxa [0x58]%asi, %r15 !Running_status | |
7414 | wait_for_stat_4_147: | |
7415 | cmp %r13, %r15 | |
7416 | bne,a wait_for_stat_4_147 | |
7417 | ldxa [0x58]%asi, %r15 !Running_status | |
7418 | stxa %r16, [0x68]%asi | |
7419 | ldxa [0x50]%asi, %r14 !Running_rw | |
7420 | wait_for_debug_4_147: | |
7421 | ldxa [0x58]%asi, %r15 !Running_status | |
7422 | cmp %r14, %r15 | |
7423 | bne,a wait_for_debug_4_147 | |
7424 | ldxa [0x50]%asi, %r14 !Running_rw | |
7425 | stxa %10, [%r18]0x42 | |
7426 | stxa %r13, [0x50] %asi ! Running_rw | |
7427 | st %g0, [%r23] !clear lock | |
7428 | wr %r0, %r12, %asi ! restore %asi | |
7429 | .word 0xd0f00492 ! 280: STXA_R stxa %r8, [%r0 + %r18] 0x24 | |
7430 | splash_tba_4_148: | |
7431 | set 0x120000, %r12 | |
7432 | st %r1, [%r12+%r0] | |
7433 | ta T_CHANGE_PRIV | |
7434 | set 0x120000, %r12 | |
7435 | .word 0x8b90000c ! 281: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7436 | .word 0x879021f9 ! 282: WRPR_TT_I wrpr %r0, 0x01f9, %tt | |
7437 | splash_tba_4_149: | |
7438 | set 0x120000, %r12 | |
7439 | ld [%r12+%r0], %r1 | |
7440 | ta T_CHANGE_PRIV | |
7441 | set 0x120000, %r12 | |
7442 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7443 | intveclr_4_150: | |
7444 | setx 0xba26c6b39c215012, %r1, %r28 | |
7445 | stxa %r28, [%g0] 0x72 | |
7446 | .word 0x25400001 ! 284: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7447 | nop | |
7448 | mov 0x80, %g3 | |
7449 | stxa %g3, [%g3] 0x57 | |
7450 | .word 0xe45fc000 ! 285: LDX_R ldx [%r31 + %r0], %r18 | |
7451 | debug_4_151: | |
7452 | nop | |
7453 | rd %pc, %r19 | |
7454 | add %r19, (64+40), %r19 | |
7455 | mov 0x38, %r18 | |
7456 | .word 0xe6f00b12 ! 286: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7457 | .word 0xe48008a0 ! 287: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
7458 | rd %pc, %r19 | |
7459 | add %r19, (ivw_4_152-.+48), %r19 | |
7460 | mov 0x38, %r18 | |
7461 | stxa %r19, [%r18]0x58 | |
7462 | ivw_4_152: | |
7463 | .word 0x91920010 ! 288: WRPR_PIL_R wrpr %r8, %r16, %pil | |
7464 | splash_cmpr_4_153: | |
7465 | setx 0xe9f6e42b1567a1b2, %g2, %g1 | |
7466 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
7467 | sub %g1, 100, %g1 | |
7468 | .word 0xb1800001 ! 289: WR_STICK_REG_R wr %r0, %r1, %- | |
7469 | splash_cmpr_4_154: | |
7470 | setx 0xafd121120de74c09, %g2, %g1 | |
7471 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7472 | sub %g1, 100, %g1 | |
7473 | .word 0xb1800001 ! 290: WR_STICK_REG_R wr %r0, %r1, %- | |
7474 | .word 0x8d802000 ! 291: WRFPRS_I wr %r0, 0x0000, %fprs | |
7475 | memptr_4_155: | |
7476 | set 0x60740000, %r31 | |
7477 | .word 0x8584b98f ! 292: WRCCR_I wr %r18, 0x198f, %ccr | |
7478 | mondo_4_156: | |
7479 | nop | |
7480 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7481 | ||
7482 | stxa %r9, [%r0+0x3c0] %asi | |
7483 | .word 0x9d94400c ! 293: WRPR_WSTATE_R wrpr %r17, %r12, %wstate | |
7484 | ta T_CHANGE_HPRIV | |
7485 | mov (4+1), %r10 | |
7486 | set sync_thr_counter1, %r23 | |
7487 | cas [%r23],%g0,%r10 !lock | |
7488 | brnz %r10, cwq_4_157 | |
7489 | rd %asi, %r12 | |
7490 | wr %g0, 0x40, %asi | |
7491 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7492 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7493 | cmp %l1, 1 | |
7494 | bne cwq_4_157 | |
7495 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7496 | sub %l2, 0x40, %l2 | |
7497 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7498 | wr %r12, %g0, %asi | |
7499 | st %g0, [%r23] | |
7500 | cwq_4_157: | |
7501 | ta T_CHANGE_NONHPRIV | |
7502 | .word 0x99414000 ! 294: RDPC rd %pc, %r12 | |
7503 | DS_4_158: | |
7504 | nop | |
7505 | not %g0, %r12 | |
7506 | jmp %r12 | |
7507 | .word 0x9d902002 ! 295: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
7508 | .word 0x81510000 ! 296: RDPR_TICK rdpr %tick, %r0 | |
7509 | otherw | |
7510 | mov 0xb5, %r30 | |
7511 | .word 0x91d0001e ! 297: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
7512 | splash_lsu_4_159: | |
7513 | setx 0x03e329bd92dcc333, %r1, %r2 | |
7514 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7515 | .word 0x3d400001 ! 298: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7516 | .word 0x83d020b4 ! 299: Tcc_I te icc_or_xcc, %r0 + 180 | |
7517 | splash_htba_4_160: | |
7518 | set 0x80000, %r12 | |
7519 | st %r1, [%r12+%r0] | |
7520 | ta T_CHANGE_HPRIV | |
7521 | set 0x80000, %r12 | |
7522 | .word 0x8b98000c ! 300: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
7523 | splash_hpstate_4_161: | |
7524 | .word 0x8198250f ! 301: WRHPR_HPSTATE_I wrhpr %r0, 0x050f, %hpstate | |
7525 | .word 0x8d902afa ! 302: WRPR_PSTATE_I wrpr %r0, 0x0afa, %pstate | |
7526 | splash_tba_4_162: | |
7527 | set 0x003c0000, %r12 | |
7528 | st %r1, [%r12+%r0] | |
7529 | ta T_CHANGE_PRIV | |
7530 | set 0x003c0000, %r12 | |
7531 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7532 | setx 0xc4588566942cb9c2, %r1, %r28 | |
7533 | stxa %r28, [%g0] 0x73 | |
7534 | intvec_4_163: | |
7535 | .word 0x39400001 ! 304: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7536 | cwp_4_164: | |
7537 | set user_data_start, %o7 | |
7538 | .word 0x93902005 ! 305: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
7539 | nop | |
7540 | mov 0x80, %g3 | |
7541 | stxa %g3, [%g3] 0x57 | |
7542 | .word 0xe05fc000 ! 306: LDX_R ldx [%r31 + %r0], %r16 | |
7543 | splash_cmpr_4_165: | |
7544 | setx 0x8fc3efe7a70334b6, %g2, %g1 | |
7545 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
7546 | sub %g1, 100, %g1 | |
7547 | .word 0xb1800001 ! 307: WR_STICK_REG_R wr %r0, %r1, %- | |
7548 | splash_tba_4_166: | |
7549 | set 0x120000, %r12 | |
7550 | st %r1, [%r12+%r0] | |
7551 | ta T_CHANGE_PRIV | |
7552 | set 0x120000, %r12 | |
7553 | .word 0x8b90000c ! 308: WRPR_TBA_R wrpr %r0, %r12, %tba | |
7554 | splash_hpstate_4_167: | |
7555 | .word 0x81982705 ! 309: WRHPR_HPSTATE_I wrhpr %r0, 0x0705, %hpstate | |
7556 | .word 0xe03fc000 ! 310: STD_R std %r16, [%r31 + %r0] | |
7557 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7558 | ta T_CHANGE_NONPRIV ! macro | |
7559 | .word 0x97a01963 ! 311: FqTOd dis not found | |
7560 | ||
7561 | mondo_4_169: | |
7562 | nop | |
7563 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7564 | ||
7565 | stxa %r10, [%r0+0x3c0] %asi | |
7566 | .word 0x9d940013 ! 312: WRPR_WSTATE_R wrpr %r16, %r19, %wstate | |
7567 | splash_cmpr_4_170: | |
7568 | setx 0x5a202a84bedce733, %g2, %g1 | |
7569 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7570 | sub %g1, 100, %g1 | |
7571 | .word 0xb1800001 ! 313: WR_STICK_REG_R wr %r0, %r1, %- | |
7572 | change_to_randtl_4_171: | |
7573 | ta T_CHANGE_HPRIV ! macro | |
7574 | done_change_to_randtl_4_171: | |
7575 | .word 0x8f902002 ! 314: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7576 | DS_4_172: | |
7577 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
7578 | .word 0xbfefc000 ! 315: RESTORE_R restore %r31, %r0, %r31 | |
7579 | ta T_CHANGE_HPRIV | |
7580 | mov (4+1), %r10 | |
7581 | set sync_thr_counter1, %r23 | |
7582 | cas [%r23],%g0,%r10 !lock | |
7583 | brnz %r10, cwq_4_173 | |
7584 | rd %asi, %r12 | |
7585 | wr %g0, 0x40, %asi | |
7586 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
7587 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
7588 | cmp %l1, 1 | |
7589 | bne cwq_4_173 | |
7590 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
7591 | sub %l2, 0x40, %l2 | |
7592 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
7593 | wr %r12, %g0, %asi | |
7594 | st %g0, [%r23] | |
7595 | cwq_4_173: | |
7596 | ta T_CHANGE_NONHPRIV | |
7597 | .word 0xa7414000 ! 316: RDPC rd %pc, %r19 | |
7598 | splash_hpstate_4_174: | |
7599 | .word 0x81982136 ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x0136, %hpstate | |
7600 | .word 0xdad004a0 ! 318: LDSHA_R ldsha [%r0, %r0] 0x25, %r13 | |
7601 | setx 0x243c965cc3c4fb8d, %r1, %r28 | |
7602 | stxa %r28, [%g0] 0x73 | |
7603 | intvec_4_175: | |
7604 | .word 0x39400001 ! 319: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7605 | cwp_4_176: | |
7606 | set user_data_start, %o7 | |
7607 | .word 0x93902004 ! 320: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
7608 | splash_hpstate_4_177: | |
7609 | .word 0x81982c75 ! 321: WRHPR_HPSTATE_I wrhpr %r0, 0x0c75, %hpstate | |
7610 | mondo_4_178: | |
7611 | nop | |
7612 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7613 | ||
7614 | stxa %r0, [%r0+0x3d8] %asi | |
7615 | .word 0x9d91c011 ! 322: WRPR_WSTATE_R wrpr %r7, %r17, %wstate | |
7616 | nop | |
7617 | mov 0x80, %g3 | |
7618 | stxa %g3, [%g3] 0x5f | |
7619 | .word 0xda5fc000 ! 323: LDX_R ldx [%r31 + %r0], %r13 | |
7620 | .word 0x95a049d4 ! 324: FDIVd fdivd %f32, %f20, %f10 | |
7621 | .word 0x8790219d ! 325: WRPR_TT_I wrpr %r0, 0x019d, %tt | |
7622 | debug_4_179: | |
7623 | nop | |
7624 | mov 0x38, %r18 | |
7625 | .word 0xfef00b12 ! 326: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7626 | .word 0xa1a0056a ! 327: FSQRTq fsqrt | |
7627 | intveclr_4_180: | |
7628 | setx 0xde41cbb22776a63a, %r1, %r28 | |
7629 | stxa %r28, [%g0] 0x72 | |
7630 | .word 0x25400001 ! 328: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7631 | mondo_4_181: | |
7632 | nop | |
7633 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7634 | ||
7635 | stxa %r20, [%r0+0x3e0] %asi | |
7636 | .word 0x9d93000a ! 329: WRPR_WSTATE_R wrpr %r12, %r10, %wstate | |
7637 | .word 0xd2c80e80 ! 330: LDSBA_R ldsba [%r0, %r0] 0x74, %r9 | |
7638 | cwp_4_182: | |
7639 | set user_data_start, %o7 | |
7640 | .word 0x93902003 ! 331: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
7641 | debug_4_183: | |
7642 | nop | |
7643 | mov 8, %r18 | |
7644 | ta T_CHANGE_HPRIV | |
7645 | rd %asi, %r12 | |
7646 | wr %r0, 0x41, %asi | |
7647 | set sync_thr_counter, %r23 | |
7648 | debug_startwait4_183: | |
7649 | mov 0x4, %r16 | |
7650 | cas [%r23],%g0,%r16 !lock | |
7651 | brz,a %r16, continue_debug_4_183 | |
7652 | nop | |
7653 | debug_wait4_183: | |
7654 | ld [%r23], %r16 | |
7655 | brnz %r16, debug_wait4_183 | |
7656 | nop | |
7657 | ba,a debug_startwait4_183 | |
7658 | continue_debug_4_183: | |
7659 | mov 0xe0, %r16 | |
7660 | ldxa [0x50]%asi, %r13 !Running_rw | |
7661 | ldxa [0x58]%asi, %r15 !Running_status | |
7662 | wait_for_stat_4_183: | |
7663 | cmp %r13, %r15 | |
7664 | bne,a wait_for_stat_4_183 | |
7665 | ldxa [0x58]%asi, %r15 !Running_status | |
7666 | stxa %r16, [0x68]%asi | |
7667 | ldxa [0x50]%asi, %r14 !Running_rw | |
7668 | wait_for_debug_4_183: | |
7669 | ldxa [0x58]%asi, %r15 !Running_status | |
7670 | cmp %r14, %r15 | |
7671 | bne,a wait_for_debug_4_183 | |
7672 | ldxa [0x50]%asi, %r14 !Running_rw | |
7673 | stxa %13, [%r18]0x42 | |
7674 | stxa %r13, [0x50] %asi ! Running_rw | |
7675 | st %g0, [%r23] !clear lock | |
7676 | wr %r0, %r12, %asi ! restore %asi | |
7677 | .word 0xd4f00492 ! 332: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
7678 | invalw | |
7679 | mov 0xb4, %r30 | |
7680 | .word 0x83d0001e ! 333: Tcc_R te icc_or_xcc, %r0 + %r30 | |
7681 | cwp_4_184: | |
7682 | set user_data_start, %o7 | |
7683 | .word 0x93902001 ! 334: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
7684 | .word 0x879023eb ! 335: WRPR_TT_I wrpr %r0, 0x03eb, %tt | |
7685 | splash_cmpr_4_185: | |
7686 | setx 0x6320aa9474f73462, %g2, %g1 | |
7687 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
7688 | sub %g1, 100, %g1 | |
7689 | .word 0xb1800001 ! 336: WR_STICK_REG_R wr %r0, %r1, %- | |
7690 | .word 0x8780208b ! 337: WRASI_I wr %r0, 0x008b, %asi | |
7691 | tagged_4_186: | |
7692 | tsubcctv %r1, 0x1828, %r23 | |
7693 | .word 0xd207e551 ! 338: LDUW_I lduw [%r31 + 0x0551], %r9 | |
7694 | .word 0x34700001 ! 339: BPG <illegal instruction> | |
7695 | cwp_4_187: | |
7696 | set user_data_start, %o7 | |
7697 | .word 0x93902000 ! 340: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
7698 | .word 0xd277e551 ! 341: STX_I stx %r9, [%r31 + 0x0551] | |
7699 | change_to_randtl_4_188: | |
7700 | ta T_CHANGE_PRIV ! macro | |
7701 | done_change_to_randtl_4_188: | |
7702 | .word 0x8f902001 ! 342: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
7703 | .word 0xd297e010 ! 343: LDUHA_I lduha [%r31, + 0x0010] %asi, %r9 | |
7704 | intveclr_4_189: | |
7705 | setx 0x429b3ce0ff5db43e, %r1, %r28 | |
7706 | stxa %r28, [%g0] 0x72 | |
7707 | .word 0x25400001 ! 344: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7708 | DS_4_190: | |
7709 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
7710 | .word 0xbfe7c000 ! 345: SAVE_R save %r31, %r0, %r31 | |
7711 | splash_htba_4_191: | |
7712 | set 0x80000, %r12 | |
7713 | ld [%r12+%r0], %r1 | |
7714 | ta T_CHANGE_HPRIV | |
7715 | set 0x80000, %r12 | |
7716 | .word 0x8b98000c ! 346: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
7717 | debug_4_192: | |
7718 | nop | |
7719 | mov 8, %r18 | |
7720 | ta T_CHANGE_HPRIV | |
7721 | rd %asi, %r12 | |
7722 | wr %r0, 0x41, %asi | |
7723 | set sync_thr_counter, %r23 | |
7724 | debug_startwait4_192: | |
7725 | mov 0x4, %r16 | |
7726 | cas [%r23],%g0,%r16 !lock | |
7727 | brz,a %r16, continue_debug_4_192 | |
7728 | nop | |
7729 | debug_wait4_192: | |
7730 | ld [%r23], %r16 | |
7731 | brnz %r16, debug_wait4_192 | |
7732 | nop | |
7733 | ba,a debug_startwait4_192 | |
7734 | continue_debug_4_192: | |
7735 | mov 0xe0, %r16 | |
7736 | ldxa [0x50]%asi, %r13 !Running_rw | |
7737 | ldxa [0x58]%asi, %r15 !Running_status | |
7738 | wait_for_stat_4_192: | |
7739 | cmp %r13, %r15 | |
7740 | bne,a wait_for_stat_4_192 | |
7741 | ldxa [0x58]%asi, %r15 !Running_status | |
7742 | stxa %r16, [0x68]%asi | |
7743 | ldxa [0x50]%asi, %r14 !Running_rw | |
7744 | wait_for_debug_4_192: | |
7745 | ldxa [0x58]%asi, %r15 !Running_status | |
7746 | cmp %r14, %r15 | |
7747 | bne,a wait_for_debug_4_192 | |
7748 | ldxa [0x50]%asi, %r14 !Running_rw | |
7749 | stxa %10, [%r18]0x42 | |
7750 | stxa %r13, [0x50] %asi ! Running_rw | |
7751 | st %g0, [%r23] !clear lock | |
7752 | wr %r0, %r12, %asi ! restore %asi | |
7753 | .word 0xd0f00492 ! 347: STXA_R stxa %r8, [%r0 + %r18] 0x24 | |
7754 | nop | |
7755 | mov 0x80, %g3 | |
7756 | stxa %g3, [%g3] 0x57 | |
7757 | .word 0xd25fc000 ! 348: LDX_R ldx [%r31 + %r0], %r9 | |
7758 | tagged_4_193: | |
7759 | taddcctv %r26, 0x1029, %r1 | |
7760 | .word 0xd207e551 ! 349: LDUW_I lduw [%r31 + 0x0551], %r9 | |
7761 | tagged_4_194: | |
7762 | tsubcctv %r19, 0x1661, %r16 | |
7763 | .word 0xd207e551 ! 350: LDUW_I lduw [%r31 + 0x0551], %r9 | |
7764 | tagged_4_195: | |
7765 | taddcctv %r20, 0x1b01, %r11 | |
7766 | .word 0xd207e551 ! 351: LDUW_I lduw [%r31 + 0x0551], %r9 | |
7767 | .word 0x93a00171 ! 352: FABSq dis not found | |
7768 | ||
7769 | .word 0x91946068 ! 353: WRPR_PIL_I wrpr %r17, 0x0068, %pil | |
7770 | .word 0x9f8030b8 ! 354: SIR sir 0x10b8 | |
7771 | intveclr_4_196: | |
7772 | setx 0x77c47508a940381b, %r1, %r28 | |
7773 | stxa %r28, [%g0] 0x72 | |
7774 | .word 0x25400001 ! 355: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7775 | .word 0xa9a00570 ! 356: FSQRTq fsqrt | |
7776 | .word 0xe08008a0 ! 357: LDUWA_R lduwa [%r0, %r0] 0x45, %r16 | |
7777 | otherw | |
7778 | mov 0x33, %r30 | |
7779 | .word 0x91d0001e ! 358: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
7780 | .word 0xe027f503 ! 359: STW_I stw %r16, [%r31 + 0xfffff503] | |
7781 | .word 0x879021e4 ! 360: WRPR_TT_I wrpr %r0, 0x01e4, %tt | |
7782 | .word 0x87902108 ! 361: WRPR_TT_I wrpr %r0, 0x0108, %tt | |
7783 | debug_4_197: | |
7784 | nop | |
7785 | mov 0x38, %r18 | |
7786 | .word 0xfef00b12 ! 362: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7787 | .word 0xe0800ac0 ! 363: LDUWA_R lduwa [%r0, %r0] 0x56, %r16 | |
7788 | .word 0x919226ae ! 364: WRPR_PIL_I wrpr %r8, 0x06ae, %pil | |
7789 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_4_198) + 48, 16, 16)) -> intp(2,0,25) | |
7790 | intvec_4_198: | |
7791 | .word 0x39400001 ! 365: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7792 | DS_4_199: | |
7793 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
7794 | .word 0xbfefc000 ! 366: RESTORE_R restore %r31, %r0, %r31 | |
7795 | rd %pc, %r19 | |
7796 | add %r19, (ivw_4_200-.+16), %r19 | |
7797 | mov 0x38, %r18 | |
7798 | stxa %r19, [%r18]0x58 | |
7799 | ivw_4_200: | |
7800 | .word 0x91950007 ! 367: WRPR_PIL_R wrpr %r20, %r7, %pil | |
7801 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7802 | ta T_CHANGE_NONHPRIV ! macro | |
7803 | .word 0xa7a01965 ! 368: FqTOd dis not found | |
7804 | ||
7805 | splash_cmpr_4_202: | |
7806 | setx 0xf667909fce804f20, %g2, %g1 | |
7807 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7808 | sub %g1, 100, %g1 | |
7809 | .word 0xb1800001 ! 369: WR_STICK_REG_R wr %r0, %r1, %- | |
7810 | mov (4+1), %r10 | |
7811 | ta T_CHANGE_HPRIV | |
7812 | set sync_thr_counter2, %r23 | |
7813 | cas [%r23],%g0,%r10 !lock | |
7814 | brnz %r10, sma_4_203 | |
7815 | rd %asi, %r12 | |
7816 | wr %g0, 0x40, %asi | |
7817 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
7818 | set 0x21fff, %g1 | |
7819 | stxa %g1, [%g0 + 0x80] %asi | |
7820 | wr %r12, %g0, %asi | |
7821 | st %g0, [%r23] | |
7822 | sma_4_203: | |
7823 | ta T_CHANGE_NONHPRIV | |
7824 | .word 0xd1e7e010 ! 370: CASA_R casa [%r31] %asi, %r16, %r8 | |
7825 | donret_4_204: | |
7826 | nop | |
7827 | rd %pc, %r12 | |
7828 | add %r12, (donretarg_4_204-donret_4_204), %r12 | |
7829 | mov 0x38, %r18 | |
7830 | stxa %r12, [%r18]0x58 | |
7831 | add %r12, 0x4, %r11 | |
7832 | wrpr %g0, 0x1, %tl | |
7833 | wrpr %g0, %r12, %tpc | |
7834 | wrpr %g0, %r11, %tnpc | |
7835 | wrpr %g0, %r13, %tstate | |
7836 | wrhpr %g0, %r14, %htstate | |
7837 | retry | |
7838 | donretarg_4_204: | |
7839 | .word 0xd0fff5d1 ! 371: SWAPA_I swapa %r8, [%r31 + 0xfffff5d1] %asi | |
7840 | .word 0x8d902fcf ! 372: WRPR_PSTATE_I wrpr %r0, 0x0fcf, %pstate | |
7841 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7842 | ta T_CHANGE_NONHPRIV ! macro | |
7843 | .word 0x996cb985 ! 373: SDIVX_I sdivx %r18, 0xfffff985, %r12 | |
7844 | .word 0xd6d7e010 ! 374: LDSHA_I ldsha [%r31, + 0x0010] %asi, %r11 | |
7845 | .word 0x8790223e ! 375: WRPR_TT_I wrpr %r0, 0x023e, %tt | |
7846 | .word 0xd6900e40 ! 376: LDUHA_R lduha [%r0, %r0] 0x72, %r11 | |
7847 | .word 0xd6800ac0 ! 377: LDUWA_R lduwa [%r0, %r0] 0x56, %r11 | |
7848 | memptr_4_206: | |
7849 | set 0x60540000, %r31 | |
7850 | .word 0x858174dd ! 378: WRCCR_I wr %r5, 0x14dd, %ccr | |
7851 | .word 0xd727c000 ! 379: STF_R st %f11, [%r0, %r31] | |
7852 | DS_4_207: | |
7853 | .word 0x99a2c9c4 ! 1: FDIVd fdivd %f42, %f4, %f12 | |
7854 | allclean | |
7855 | .word 0x97b4030c ! 380: ALIGNADDRESS alignaddr %r16, %r12, %r11 | |
7856 | splash_hpstate_4_208: | |
7857 | .word 0x81982254 ! 381: WRHPR_HPSTATE_I wrhpr %r0, 0x0254, %hpstate | |
7858 | intveclr_4_209: | |
7859 | setx 0xcaf63a8e4bb7e82a, %r1, %r28 | |
7860 | stxa %r28, [%g0] 0x72 | |
7861 | .word 0x25400001 ! 382: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7862 | memptr_4_210: | |
7863 | set user_data_start, %r31 | |
7864 | .word 0x8580b881 ! 383: WRCCR_I wr %r2, 0x1881, %ccr | |
7865 | .word 0xab84c010 ! 384: WR_CLEAR_SOFTINT_R wr %r19, %r16, %clear_softint | |
7866 | splash_cmpr_4_211: | |
7867 | setx 0x1ad0428a58c238de, %g2, %g1 | |
7868 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
7869 | sub %g1, 100, %g1 | |
7870 | .word 0xb1800001 ! 385: WR_STICK_REG_R wr %r0, %r1, %- | |
7871 | .word 0xe0c80e60 ! 386: LDSBA_R ldsba [%r0, %r0] 0x73, %r16 | |
7872 | .word 0x91a189d4 ! 387: FDIVd fdivd %f6, %f20, %f8 | |
7873 | .word 0x83d02033 ! 388: Tcc_I te icc_or_xcc, %r0 + 51 | |
7874 | splash_htba_4_212: | |
7875 | set 0x80000, %r12 | |
7876 | st %r1, [%r12+%r0] | |
7877 | ta T_CHANGE_HPRIV | |
7878 | set 0x80000, %r12 | |
7879 | .word 0x8b98000c ! 389: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
7880 | change_to_randtl_4_213: | |
7881 | ta T_CHANGE_HPRIV ! macro | |
7882 | done_change_to_randtl_4_213: | |
7883 | .word 0x8f902002 ! 390: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
7884 | .word 0x91d020b5 ! 391: Tcc_I ta icc_or_xcc, %r0 + 181 | |
7885 | splash_lsu_4_214: | |
7886 | setx 0x6a1efd6289beef99, %r1, %r2 | |
7887 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7888 | .word 0x3d400001 ! 392: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7889 | setx 0xd78edb86f3987f17, %r1, %r28 | |
7890 | stxa %r28, [%g0] 0x73 | |
7891 | intvec_4_215: | |
7892 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
7893 | intveclr_4_216: | |
7894 | setx 0xec7a9fcabc2b4685, %r1, %r28 | |
7895 | stxa %r28, [%g0] 0x72 | |
7896 | .word 0x25400001 ! 394: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
7897 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
7898 | ta T_CHANGE_NONHPRIV ! macro | |
7899 | .word 0x91a01961 ! 395: FqTOd dis not found | |
7900 | ||
7901 | .word 0xd097e030 ! 396: LDUHA_I lduha [%r31, + 0x0030] %asi, %r8 | |
7902 | .word 0xd09004a0 ! 397: LDUHA_R lduha [%r0, %r0] 0x25, %r8 | |
7903 | debug_4_218: | |
7904 | nop | |
7905 | mov 0x38, %r18 | |
7906 | .word 0xfef00b12 ! 398: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7907 | splash_hpstate_4_219: | |
7908 | .word 0x819824a6 ! 399: WRHPR_HPSTATE_I wrhpr %r0, 0x04a6, %hpstate | |
7909 | DS_4_220: | |
7910 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
7911 | pdist %f28, %f18, %f2 | |
7912 | .word 0xa1b0c304 ! 400: ALIGNADDRESS alignaddr %r3, %r4, %r16 | |
7913 | nop | |
7914 | nop | |
7915 | setx join_lbl_0_0, %g1, %g2 | |
7916 | jmp %g2 | |
7917 | nop | |
7918 | fork_lbl_0_4: | |
7919 | .word 0xa3b44fea ! 1: FONES e %f17 | |
7920 | splash_lsu_3_0: | |
7921 | setx 0x11319da2938daef9, %r1, %r2 | |
7922 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
7923 | .word 0x3d400001 ! 2: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
7924 | .word 0x93d02032 ! 3: Tcc_I tne icc_or_xcc, %r0 + 50 | |
7925 | .word 0x8780201c ! 4: WRASI_I wr %r0, 0x001c, %asi | |
7926 | debug_3_1: | |
7927 | nop | |
7928 | rd %pc, %r19 | |
7929 | add %r19, (64+8), %r19 | |
7930 | mov 0x38, %r18 | |
7931 | .word 0xe6f00b12 ! 5: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
7932 | debug_3_2: | |
7933 | nop | |
7934 | mov 0x38, %r18 | |
7935 | .word 0xfef00b12 ! 6: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
7936 | tagged_3_3: | |
7937 | taddcctv %r26, 0x11bd, %r19 | |
7938 | .word 0xe807f373 ! 7: LDUW_I lduw [%r31 + 0xfffff373], %r20 | |
7939 | splash_cmpr_3_4: | |
7940 | setx 0x31e470b0bd6db917, %g2, %g1 | |
7941 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
7942 | sub %g1, 100, %g1 | |
7943 | .word 0xb1800001 ! 8: WR_STICK_REG_R wr %r0, %r1, %- | |
7944 | .word 0x91d020b4 ! 9: Tcc_I ta icc_or_xcc, %r0 + 180 | |
7945 | .word 0xe88008a0 ! 10: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
7946 | .word 0xe88008a0 ! 11: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
7947 | DS_3_5: | |
7948 | .word 0x93a1c9d4 ! 1: FDIVd fdivd %f38, %f20, %f40 | |
7949 | .word 0xbfe7c000 ! 12: SAVE_R save %r31, %r0, %r31 | |
7950 | .word 0xd85ff373 ! 13: LDX_I ldx [%r31 + 0xfffff373], %r12 | |
7951 | .word 0x8d802000 ! 14: WRFPRS_I wr %r0, 0x0000, %fprs | |
7952 | .word 0x93d020b2 ! 15: Tcc_I tne icc_or_xcc, %r0 + 178 | |
7953 | .word 0x93a00162 ! 16: FABSq dis not found | |
7954 | ||
7955 | nop | |
7956 | mov 0x80, %g3 | |
7957 | stxa %g3, [%g3] 0x5f | |
7958 | .word 0xd45fc000 ! 17: LDX_R ldx [%r31 + %r0], %r10 | |
7959 | splash_hpstate_3_6: | |
7960 | .word 0x81982574 ! 18: WRHPR_HPSTATE_I wrhpr %r0, 0x0574, %hpstate | |
7961 | .word 0xd4c804a0 ! 19: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
7962 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
7963 | ta T_CHANGE_NONHPRIV ! macro | |
7964 | .word 0xa9a01971 ! 20: FqTOd dis not found | |
7965 | ||
7966 | nop | |
7967 | mov 0x80, %g3 | |
7968 | stxa %g3, [%g3] 0x5f | |
7969 | .word 0xd25fc000 ! 21: LDX_R ldx [%r31 + %r0], %r9 | |
7970 | .word 0xd2c7e000 ! 22: LDSWA_I ldswa [%r31, + 0x0000] %asi, %r9 | |
7971 | change_to_randtl_3_8: | |
7972 | ta T_CHANGE_PRIV ! macro | |
7973 | done_change_to_randtl_3_8: | |
7974 | .word 0x8f902001 ! 23: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
7975 | memptr_3_9: | |
7976 | set user_data_start, %r31 | |
7977 | .word 0x85822e2d ! 24: WRCCR_I wr %r8, 0x0e2d, %ccr | |
7978 | mondo_3_10: | |
7979 | nop | |
7980 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
7981 | ||
7982 | stxa %r17, [%r0+0x3c8] %asi | |
7983 | .word 0x9d940010 ! 25: WRPR_WSTATE_R wrpr %r16, %r16, %wstate | |
7984 | .word 0x87902311 ! 26: WRPR_TT_I wrpr %r0, 0x0311, %tt | |
7985 | .word 0xd21ff185 ! 27: LDD_I ldd [%r31 + 0xfffff185], %r9 | |
7986 | .word 0x91a01a66 ! 28: FqTOi fqtoi | |
7987 | change_to_randtl_3_11: | |
7988 | ta T_CHANGE_HPRIV ! macro | |
7989 | done_change_to_randtl_3_11: | |
7990 | .word 0x8f902001 ! 29: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
7991 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
7992 | ta T_CHANGE_NONPRIV ! macro | |
7993 | .word 0xa36965f4 ! 30: SDIVX_I sdivx %r5, 0x05f4, %r17 | |
7994 | .word 0xd68804a0 ! 31: LDUBA_R lduba [%r0, %r0] 0x25, %r11 | |
7995 | mov (3+1), %r10 | |
7996 | ta T_CHANGE_HPRIV | |
7997 | set sync_thr_counter2, %r23 | |
7998 | cas [%r23],%g0,%r10 !lock | |
7999 | brnz %r10, sma_3_13 | |
8000 | rd %asi, %r12 | |
8001 | wr %g0, 0x40, %asi | |
8002 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8003 | set 0x21fff, %g1 | |
8004 | stxa %g1, [%g0 + 0x80] %asi | |
8005 | wr %r12, %g0, %asi | |
8006 | st %g0, [%r23] | |
8007 | sma_3_13: | |
8008 | ta T_CHANGE_NONHPRIV | |
8009 | .word 0xd7e7e013 ! 32: CASA_R casa [%r31] %asi, %r19, %r11 | |
8010 | .word 0xd66fe760 ! 33: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
8011 | .word 0xd63fe760 ! 34: STD_I std %r11, [%r31 + 0x0760] | |
8012 | .word 0xd66fe760 ! 35: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
8013 | .word 0x87802010 ! 36: WRASI_I wr %r0, 0x0010, %asi | |
8014 | tagged_3_14: | |
8015 | tsubcctv %r8, 0x1a66, %r10 | |
8016 | .word 0xd607e760 ! 37: LDUW_I lduw [%r31 + 0x0760], %r11 | |
8017 | memptr_3_15: | |
8018 | set user_data_start, %r31 | |
8019 | .word 0x85843a56 ! 38: WRCCR_I wr %r16, 0x1a56, %ccr | |
8020 | tagged_3_16: | |
8021 | tsubcctv %r12, 0x19f0, %r17 | |
8022 | .word 0xd607e356 ! 39: LDUW_I lduw [%r31 + 0x0356], %r11 | |
8023 | .word 0x879022b8 ! 40: WRPR_TT_I wrpr %r0, 0x02b8, %tt | |
8024 | mondo_3_17: | |
8025 | nop | |
8026 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8027 | ||
8028 | stxa %r4, [%r0+0x3c0] %asi | |
8029 | .word 0x9d94c00d ! 41: WRPR_WSTATE_R wrpr %r19, %r13, %wstate | |
8030 | donret_3_18: | |
8031 | nop | |
8032 | rd %pc, %r12 | |
8033 | add %r12, (donretarg_3_18-donret_3_18), %r12 | |
8034 | mov 0x38, %r18 | |
8035 | stxa %r12, [%r18]0x58 | |
8036 | add %r12, 0x4, %r11 | |
8037 | wrpr %g0, 0x2, %tl | |
8038 | wrpr %g0, %r12, %tpc | |
8039 | wrpr %g0, %r11, %tnpc | |
8040 | wrpr %g0, %r13, %tstate | |
8041 | wrhpr %g0, %r14, %htstate | |
8042 | retry | |
8043 | donretarg_3_18: | |
8044 | .word 0xd6ffe356 ! 42: SWAPA_I swapa %r11, [%r31 + 0x0356] %asi | |
8045 | .word 0xd6cfe030 ! 43: LDSBA_I ldsba [%r31, + 0x0030] %asi, %r11 | |
8046 | tagged_3_19: | |
8047 | taddcctv %r22, 0x1ac3, %r10 | |
8048 | .word 0xd607e356 ! 44: LDUW_I lduw [%r31 + 0x0356], %r11 | |
8049 | ta T_CHANGE_HPRIV | |
8050 | mov (3+1), %r10 | |
8051 | set sync_thr_counter1, %r23 | |
8052 | cas [%r23],%g0,%r10 !lock | |
8053 | brnz %r10, cwq_3_20 | |
8054 | rd %asi, %r12 | |
8055 | wr %g0, 0x40, %asi | |
8056 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8057 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8058 | cmp %l1, 1 | |
8059 | bne cwq_3_20 | |
8060 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8061 | sub %l2, 0x40, %l2 | |
8062 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8063 | wr %r12, %g0, %asi | |
8064 | st %g0, [%r23] | |
8065 | cwq_3_20: | |
8066 | ta T_CHANGE_NONHPRIV | |
8067 | .word 0x9b414000 ! 45: RDPC rd %pc, %r13 | |
8068 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_3_21)+0, 16, 16)) -> intp(3,1,3) | |
8069 | xir_3_21: | |
8070 | .word 0xa982f081 ! 46: WR_SET_SOFTINT_I wr %r11, 0x1081, %set_softint | |
8071 | mondo_3_22: | |
8072 | nop | |
8073 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8074 | ||
8075 | stxa %r19, [%r0+0x3e0] %asi | |
8076 | .word 0x9d914006 ! 47: WRPR_WSTATE_R wrpr %r5, %r6, %wstate | |
8077 | donret_3_23: | |
8078 | nop | |
8079 | rd %pc, %r12 | |
8080 | add %r12, (donretarg_3_23-donret_3_23-4), %r12 | |
8081 | mov 0x38, %r18 | |
8082 | stxa %r12, [%r18]0x58 | |
8083 | add %r12, 0x4, %r11 | |
8084 | wrpr %g0, 0x2, %tl | |
8085 | wrpr %g0, %r12, %tpc | |
8086 | wrpr %g0, %r11, %tnpc | |
8087 | wrpr %g0, %r13, %tstate | |
8088 | wrhpr %g0, %r14, %htstate | |
8089 | done | |
8090 | donretarg_3_23: | |
8091 | .word 0xd6ffe271 ! 48: SWAPA_I swapa %r11, [%r31 + 0x0271] %asi | |
8092 | mov (3+1), %r10 | |
8093 | ta T_CHANGE_HPRIV | |
8094 | set sync_thr_counter2, %r23 | |
8095 | cas [%r23],%g0,%r10 !lock | |
8096 | brnz %r10, sma_3_24 | |
8097 | rd %asi, %r12 | |
8098 | wr %g0, 0x40, %asi | |
8099 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8100 | set 0x21fff, %g1 | |
8101 | stxa %g1, [%g0 + 0x80] %asi | |
8102 | wr %r12, %g0, %asi | |
8103 | st %g0, [%r23] | |
8104 | sma_3_24: | |
8105 | ta T_CHANGE_NONHPRIV | |
8106 | .word 0xd7e7e006 ! 49: CASA_R casa [%r31] %asi, %r6, %r11 | |
8107 | .word 0xd647e271 ! 50: LDSW_I ldsw [%r31 + 0x0271], %r11 | |
8108 | .word 0x91480000 ! 51: RDHPR_HPSTATE rdhpr %hpstate, %r8 | |
8109 | ta T_CHANGE_HPRIV | |
8110 | mov (3+1), %r10 | |
8111 | set sync_thr_counter1, %r23 | |
8112 | cas [%r23],%g0,%r10 !lock | |
8113 | brnz %r10, cwq_3_25 | |
8114 | rd %asi, %r12 | |
8115 | wr %g0, 0x40, %asi | |
8116 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8117 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8118 | cmp %l1, 1 | |
8119 | bne cwq_3_25 | |
8120 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8121 | sub %l2, 0x40, %l2 | |
8122 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8123 | wr %r12, %g0, %asi | |
8124 | st %g0, [%r23] | |
8125 | cwq_3_25: | |
8126 | ta T_CHANGE_NONHPRIV | |
8127 | .word 0xa1414000 ! 52: RDPC rd %pc, %r16 | |
8128 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_26) + 8, 16, 16)) -> intp(6,0,4) | |
8129 | intvec_3_26: | |
8130 | .word 0x39400001 ! 53: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8131 | .word 0xe657e271 ! 54: LDSH_I ldsh [%r31 + 0x0271], %r19 | |
8132 | intveclr_3_27: | |
8133 | setx 0xee0e0dab6f88491f, %r1, %r28 | |
8134 | stxa %r28, [%g0] 0x72 | |
8135 | .word 0x25400001 ! 55: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8136 | .word 0xe6800ac0 ! 56: LDUWA_R lduwa [%r0, %r0] 0x56, %r19 | |
8137 | .word 0xe737c000 ! 57: STQF_R - %f19, [%r0, %r31] | |
8138 | pmu_3_28: | |
8139 | nop | |
8140 | setx 0xfffff2effffff45e, %g1, %g7 | |
8141 | .word 0xa3800007 ! 58: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
8142 | .word 0xe68804a0 ! 59: LDUBA_R lduba [%r0, %r0] 0x25, %r19 | |
8143 | intveclr_3_29: | |
8144 | setx 0xca3bbc4accf0a3f6, %r1, %r28 | |
8145 | stxa %r28, [%g0] 0x72 | |
8146 | .word 0x25400001 ! 60: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8147 | memptr_3_30: | |
8148 | set user_data_start, %r31 | |
8149 | .word 0x85843699 ! 61: WRCCR_I wr %r16, 0x1699, %ccr | |
8150 | debug_3_31: | |
8151 | nop | |
8152 | rd %pc, %r19 | |
8153 | add %r19, (64+56), %r19 | |
8154 | mov 0x38, %r18 | |
8155 | .word 0xe6f00b12 ! 62: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8156 | .word 0x8780201c ! 63: WRASI_I wr %r0, 0x001c, %asi | |
8157 | invalw | |
8158 | mov 0x30, %r30 | |
8159 | .word 0x91d0001e ! 64: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8160 | .word 0xe69ff3b4 ! 65: LDDA_I ldda [%r31, + 0xfffff3b4] %asi, %r19 | |
8161 | .word 0xe69004a0 ! 66: LDUHA_R lduha [%r0, %r0] 0x25, %r19 | |
8162 | .word 0x93d02034 ! 67: Tcc_I tne icc_or_xcc, %r0 + 52 | |
8163 | .word 0xe68008a0 ! 68: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
8164 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8165 | ta T_CHANGE_NONPRIV ! macro | |
8166 | .word 0x9ba01960 ! 69: FqTOd dis not found | |
8167 | ||
8168 | .word 0xd28008a0 ! 70: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
8169 | splash_cmpr_3_33: | |
8170 | setx 0xe9a863e7876055be, %g2, %g1 | |
8171 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
8172 | sub %g1, 100, %g1 | |
8173 | .word 0xb1800001 ! 71: WR_STICK_REG_R wr %r0, %r1, %- | |
8174 | intveclr_3_34: | |
8175 | setx 0x73ee41bda883e5ff, %r1, %r28 | |
8176 | stxa %r28, [%g0] 0x72 | |
8177 | .word 0x25400001 ! 72: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8178 | splash_cmpr_3_35: | |
8179 | setx 0xe8fc1da50fe6784f, %g2, %g1 | |
8180 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
8181 | sub %g1, 100, %g1 | |
8182 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
8183 | intveclr_3_36: | |
8184 | setx 0x3213ec478bc3512a, %r1, %r28 | |
8185 | stxa %r28, [%g0] 0x72 | |
8186 | .word 0x25400001 ! 74: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8187 | otherw | |
8188 | mov 0x33, %r30 | |
8189 | .word 0x91d0001e ! 75: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8190 | .word 0xa9840012 ! 76: WR_SET_SOFTINT_R wr %r16, %r18, %set_softint | |
8191 | intveclr_3_37: | |
8192 | setx 0xde3c788c768cde73, %r1, %r28 | |
8193 | stxa %r28, [%g0] 0x72 | |
8194 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8195 | intveclr_3_38: | |
8196 | setx 0xce6e587dd4972d51, %r1, %r28 | |
8197 | stxa %r28, [%g0] 0x72 | |
8198 | .word 0x25400001 ! 78: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8199 | .word 0x91d02034 ! 79: Tcc_I ta icc_or_xcc, %r0 + 52 | |
8200 | DS_3_39: | |
8201 | .word 0x9ba289d4 ! 1: FDIVd fdivd %f10, %f20, %f44 | |
8202 | .word 0x91a289c6 ! 1: FDIVd fdivd %f10, %f6, %f8 | |
8203 | .word 0xa9a00550 ! 1: FSQRTd fsqrt | |
8204 | .word 0x95a24825 ! 80: FADDs fadds %f9, %f5, %f10 | |
8205 | .word 0xd41fc000 ! 81: LDD_R ldd [%r31 + %r0], %r10 | |
8206 | .word 0x87802016 ! 82: WRASI_I wr %r0, 0x0016, %asi | |
8207 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_40) + 32, 16, 16)) -> intp(0,0,4) | |
8208 | intvec_3_40: | |
8209 | .word 0x39400001 ! 83: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8210 | .word 0xd48804a0 ! 84: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
8211 | .word 0x8790208e ! 85: WRPR_TT_I wrpr %r0, 0x008e, %tt | |
8212 | setx 0x79d452fa4b82de4e, %r1, %r28 | |
8213 | stxa %r28, [%g0] 0x73 | |
8214 | intvec_3_41: | |
8215 | .word 0x39400001 ! 86: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8216 | .word 0x93a00163 ! 87: FABSq dis not found | |
8217 | ||
8218 | rd %pc, %r19 | |
8219 | add %r19, (ivw_3_42-.+56), %r19 | |
8220 | mov 0x38, %r18 | |
8221 | stxa %r19, [%r18]0x58 | |
8222 | ivw_3_42: | |
8223 | .word 0x9190c00c ! 88: WRPR_PIL_R wrpr %r3, %r12, %pil | |
8224 | .word 0x87802010 ! 89: WRASI_I wr %r0, 0x0010, %asi | |
8225 | .word 0xa1902004 ! 90: WRPR_GL_I wrpr %r0, 0x0004, %- | |
8226 | splash_cmpr_3_43: | |
8227 | setx 0xaade3c52c956c8f1, %g2, %g1 | |
8228 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
8229 | sub %g1, 100, %g1 | |
8230 | .word 0xb1800001 ! 91: WR_STICK_REG_R wr %r0, %r1, %- | |
8231 | .word 0xe3e7c028 ! 92: CASA_I casa [%r31] 0x 1, %r8, %r17 | |
8232 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8233 | ta T_CHANGE_NONPRIV ! macro | |
8234 | .word 0x996c3670 ! 93: SDIVX_I sdivx %r16, 0xfffff670, %r12 | |
8235 | debug_3_45: | |
8236 | nop | |
8237 | mov 8, %r18 | |
8238 | .word 0xe6f00492 ! 94: STXA_R stxa %r19, [%r0 + %r18] 0x24 | |
8239 | .word 0x8d902c07 ! 95: WRPR_PSTATE_I wrpr %r0, 0x0c07, %pstate | |
8240 | .word 0x9350c000 ! 96: RDPR_TT <illegal instruction> | |
8241 | mov (3+1), %r10 | |
8242 | ta T_CHANGE_HPRIV | |
8243 | set sync_thr_counter2, %r23 | |
8244 | cas [%r23],%g0,%r10 !lock | |
8245 | brnz %r10, sma_3_46 | |
8246 | rd %asi, %r12 | |
8247 | wr %g0, 0x40, %asi | |
8248 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8249 | set 0x21fff, %g1 | |
8250 | stxa %g1, [%g0 + 0x80] %asi | |
8251 | wr %r12, %g0, %asi | |
8252 | st %g0, [%r23] | |
8253 | sma_3_46: | |
8254 | ta T_CHANGE_NONHPRIV | |
8255 | .word 0xd3e7e008 ! 97: CASA_R casa [%r31] %asi, %r8, %r9 | |
8256 | .word 0x97450000 ! 98: RD_SET_SOFTINT rd %set_softint, %r11 | |
8257 | .word 0x8d802004 ! 99: WRFPRS_I wr %r0, 0x0004, %fprs | |
8258 | .word 0xe48008a0 ! 100: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
8259 | .word 0x32800001 ! 101: BNE bne,a <label_0x1> | |
8260 | debug_3_47: | |
8261 | nop | |
8262 | mov 0x38, %r18 | |
8263 | .word 0xfef00b12 ! 102: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8264 | memptr_3_48: | |
8265 | set user_data_start, %r31 | |
8266 | .word 0x85843478 ! 103: WRCCR_I wr %r16, 0x1478, %ccr | |
8267 | .word 0xe537c000 ! 104: STQF_R - %f18, [%r0, %r31] | |
8268 | mov (3+1), %r10 | |
8269 | ta T_CHANGE_HPRIV | |
8270 | set sync_thr_counter2, %r23 | |
8271 | cas [%r23],%g0,%r10 !lock | |
8272 | brnz %r10, sma_3_49 | |
8273 | rd %asi, %r12 | |
8274 | wr %g0, 0x40, %asi | |
8275 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8276 | set 0x21fff, %g1 | |
8277 | stxa %g1, [%g0 + 0x80] %asi | |
8278 | wr %r12, %g0, %asi | |
8279 | st %g0, [%r23] | |
8280 | sma_3_49: | |
8281 | ta T_CHANGE_NONHPRIV | |
8282 | .word 0xe5e7e008 ! 105: CASA_R casa [%r31] %asi, %r8, %r18 | |
8283 | intveclr_3_50: | |
8284 | setx 0x0455e05570efa61e, %r1, %r28 | |
8285 | stxa %r28, [%g0] 0x72 | |
8286 | .word 0x25400001 ! 106: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8287 | .word 0x87902335 ! 107: WRPR_TT_I wrpr %r0, 0x0335, %tt | |
8288 | .word 0x93a48dc1 ! 108: FdMULq fdmulq | |
8289 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8290 | ta T_CHANGE_NONHPRIV ! macro | |
8291 | .word 0xa1a0196b ! 109: FqTOd dis not found | |
8292 | ||
8293 | cwp_3_52: | |
8294 | set user_data_start, %o7 | |
8295 | .word 0x93902001 ! 110: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
8296 | nop | |
8297 | mov 0x80, %g3 | |
8298 | stxa %g3, [%g3] 0x57 | |
8299 | .word 0xda5fc000 ! 111: LDX_R ldx [%r31 + %r0], %r13 | |
8300 | otherw | |
8301 | mov 0xb3, %r30 | |
8302 | .word 0x83d0001e ! 112: Tcc_R te icc_or_xcc, %r0 + %r30 | |
8303 | intveclr_3_53: | |
8304 | setx 0xaf77a9c116300072, %r1, %r28 | |
8305 | stxa %r28, [%g0] 0x72 | |
8306 | .word 0x25400001 ! 113: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8307 | .word 0xdad804a0 ! 114: LDXA_R ldxa [%r0, %r0] 0x25, %r13 | |
8308 | splash_hpstate_3_54: | |
8309 | .word 0x81982f7f ! 115: WRHPR_HPSTATE_I wrhpr %r0, 0x0f7f, %hpstate | |
8310 | .word 0xa168c014 ! 116: SDIVX_R sdivx %r3, %r20, %r16 | |
8311 | splash_htba_3_55: | |
8312 | set 0x80000, %r12 | |
8313 | ld [%r12+%r0], %r1 | |
8314 | ta T_CHANGE_HPRIV | |
8315 | set 0x80000, %r12 | |
8316 | .word 0x8b98000c ! 117: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
8317 | .word 0xd4c004a0 ! 118: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
8318 | splash_htba_3_56: | |
8319 | set 0x80000, %r12 | |
8320 | st %r1, [%r12+%r0] | |
8321 | ta T_CHANGE_HPRIV | |
8322 | set 0x80000, %r12 | |
8323 | .word 0x8b98000c ! 119: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
8324 | debug_3_57: | |
8325 | nop | |
8326 | mov 8, %r18 | |
8327 | .word 0xdef00492 ! 120: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
8328 | .word 0x91d02034 ! 121: Tcc_I ta icc_or_xcc, %r0 + 52 | |
8329 | DS_3_58: | |
8330 | .word 0x99a109cd ! 1: FDIVd fdivd %f4, %f44, %f12 | |
8331 | .word 0x917b2552 ! Random illegal ? | |
8332 | .word 0x93a00548 ! 1: FSQRTd fsqrt | |
8333 | .word 0x93a2082d ! 122: FADDs fadds %f8, %f13, %f9 | |
8334 | .word 0x24800001 ! 123: BLE ble,a <label_0x1> | |
8335 | .word 0x93d02032 ! 124: Tcc_I tne icc_or_xcc, %r0 + 50 | |
8336 | .word 0xda0fee19 ! 125: LDUB_I ldub [%r31 + 0x0e19], %r13 | |
8337 | splash_lsu_3_59: | |
8338 | setx 0x9d521580abcfaaad, %r1, %r2 | |
8339 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8340 | .word 0x3d400001 ! 126: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8341 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8342 | ta T_CHANGE_NONPRIV ! macro | |
8343 | .word 0x996af0ab ! 127: SDIVX_I sdivx %r11, 0xfffff0ab, %r12 | |
8344 | tagged_3_61: | |
8345 | taddcctv %r17, 0x1bc0, %r25 | |
8346 | .word 0xd607ec1e ! 128: LDUW_I lduw [%r31 + 0x0c1e], %r11 | |
8347 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_62) + 32, 16, 16)) -> intp(5,0,11) | |
8348 | intvec_3_62: | |
8349 | .word 0x39400001 ! 129: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8350 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8351 | ta T_CHANGE_NONHPRIV ! macro | |
8352 | .word 0x93a01970 ! 130: FqTOd dis not found | |
8353 | ||
8354 | mov (3+1), %r10 | |
8355 | ta T_CHANGE_HPRIV | |
8356 | set sync_thr_counter2, %r23 | |
8357 | cas [%r23],%g0,%r10 !lock | |
8358 | brnz %r10, sma_3_64 | |
8359 | rd %asi, %r12 | |
8360 | wr %g0, 0x40, %asi | |
8361 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8362 | set 0x21fff, %g1 | |
8363 | stxa %g1, [%g0 + 0x80] %asi | |
8364 | wr %r12, %g0, %asi | |
8365 | st %g0, [%r23] | |
8366 | sma_3_64: | |
8367 | ta T_CHANGE_NONHPRIV | |
8368 | .word 0xd1e7e012 ! 131: CASA_R casa [%r31] %asi, %r18, %r8 | |
8369 | .word 0x9ba00164 ! 132: FABSq dis not found | |
8370 | ||
8371 | intveclr_3_65: | |
8372 | setx 0xb94f34ff334c3d04, %r1, %r28 | |
8373 | stxa %r28, [%g0] 0x72 | |
8374 | .word 0x25400001 ! 133: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8375 | .word 0x95520000 ! 134: RDPR_PIL <illegal instruction> | |
8376 | .word 0x97a509c4 ! 135: FDIVd fdivd %f20, %f4, %f42 | |
8377 | cwp_3_66: | |
8378 | set user_data_start, %o7 | |
8379 | .word 0x93902004 ! 136: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
8380 | .word 0xa981c012 ! 137: WR_SET_SOFTINT_R wr %r7, %r18, %set_softint | |
8381 | .word 0xe0c00e60 ! 138: LDSWA_R ldswa [%r0, %r0] 0x73, %r16 | |
8382 | splash_hpstate_3_67: | |
8383 | .word 0x81982fdd ! 139: WRHPR_HPSTATE_I wrhpr %r0, 0x0fdd, %hpstate | |
8384 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8385 | ta T_CHANGE_NONPRIV ! macro | |
8386 | .word 0xa7a01964 ! 140: FqTOd dis not found | |
8387 | ||
8388 | mov (3+1), %r10 | |
8389 | ta T_CHANGE_HPRIV | |
8390 | set sync_thr_counter2, %r23 | |
8391 | cas [%r23],%g0,%r10 !lock | |
8392 | brnz %r10, sma_3_69 | |
8393 | rd %asi, %r12 | |
8394 | wr %g0, 0x40, %asi | |
8395 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8396 | set 0x21fff, %g1 | |
8397 | stxa %g1, [%g0 + 0x80] %asi | |
8398 | wr %r12, %g0, %asi | |
8399 | st %g0, [%r23] | |
8400 | sma_3_69: | |
8401 | ta T_CHANGE_NONHPRIV | |
8402 | .word 0xe7e7e003 ! 141: CASA_R casa [%r31] %asi, %r3, %r19 | |
8403 | ta T_CHANGE_HPRIV | |
8404 | mov (3+1), %r10 | |
8405 | set sync_thr_counter1, %r23 | |
8406 | cas [%r23],%g0,%r10 !lock | |
8407 | brnz %r10, cwq_3_70 | |
8408 | rd %asi, %r12 | |
8409 | wr %g0, 0x40, %asi | |
8410 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8411 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8412 | cmp %l1, 1 | |
8413 | bne cwq_3_70 | |
8414 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8415 | sub %l2, 0x40, %l2 | |
8416 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8417 | wr %r12, %g0, %asi | |
8418 | st %g0, [%r23] | |
8419 | cwq_3_70: | |
8420 | ta T_CHANGE_NONHPRIV | |
8421 | .word 0x99414000 ! 142: RDPC rd %pc, %r12 | |
8422 | .word 0xe2900e60 ! 143: LDUHA_R lduha [%r0, %r0] 0x73, %r17 | |
8423 | ta T_CHANGE_HPRIV | |
8424 | mov (3+1), %r10 | |
8425 | set sync_thr_counter1, %r23 | |
8426 | cas [%r23],%g0,%r10 !lock | |
8427 | brnz %r10, cwq_3_71 | |
8428 | rd %asi, %r12 | |
8429 | wr %g0, 0x40, %asi | |
8430 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8431 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8432 | cmp %l1, 1 | |
8433 | bne cwq_3_71 | |
8434 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8435 | sub %l2, 0x40, %l2 | |
8436 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8437 | wr %r12, %g0, %asi | |
8438 | st %g0, [%r23] | |
8439 | cwq_3_71: | |
8440 | ta T_CHANGE_NONHPRIV | |
8441 | .word 0x97414000 ! 144: RDPC rd %pc, %r11 | |
8442 | invalw | |
8443 | mov 0xb1, %r30 | |
8444 | .word 0x83d0001e ! 145: Tcc_R te icc_or_xcc, %r0 + %r30 | |
8445 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_72) + 40, 16, 16)) -> intp(6,0,0) | |
8446 | intvec_3_72: | |
8447 | .word 0x39400001 ! 146: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8448 | .word 0x8790228f ! 147: WRPR_TT_I wrpr %r0, 0x028f, %tt | |
8449 | .word 0x99a209d1 ! 148: FDIVd fdivd %f8, %f48, %f12 | |
8450 | .word 0xd6c7e030 ! 149: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r11 | |
8451 | change_to_randtl_3_73: | |
8452 | ta T_CHANGE_HPRIV ! macro | |
8453 | done_change_to_randtl_3_73: | |
8454 | .word 0x8f902003 ! 150: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
8455 | .word 0x8d9020da ! 151: WRPR_PSTATE_I wrpr %r0, 0x00da, %pstate | |
8456 | memptr_3_74: | |
8457 | set 0x60540000, %r31 | |
8458 | .word 0x85803b26 ! 152: WRCCR_I wr %r0, 0x1b26, %ccr | |
8459 | .word 0xd727e6f2 ! 153: STF_I st %f11, [0x06f2, %r31] | |
8460 | mov (3+1), %r10 | |
8461 | ta T_CHANGE_HPRIV | |
8462 | set sync_thr_counter2, %r23 | |
8463 | cas [%r23],%g0,%r10 !lock | |
8464 | brnz %r10, sma_3_75 | |
8465 | rd %asi, %r12 | |
8466 | wr %g0, 0x40, %asi | |
8467 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8468 | set 0x21fff, %g1 | |
8469 | stxa %g1, [%g0 + 0x80] %asi | |
8470 | wr %r12, %g0, %asi | |
8471 | st %g0, [%r23] | |
8472 | sma_3_75: | |
8473 | ta T_CHANGE_NONHPRIV | |
8474 | .word 0xd7e7e013 ! 154: CASA_R casa [%r31] %asi, %r19, %r11 | |
8475 | splash_cmpr_3_76: | |
8476 | setx 0x61b8a10adb9846a8, %g2, %g1 | |
8477 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8478 | sub %g1, 100, %g1 | |
8479 | .word 0xb1800001 ! 155: WR_STICK_REG_R wr %r0, %r1, %- | |
8480 | .word 0x9350c000 ! 156: RDPR_TT <illegal instruction> | |
8481 | .word 0x3e700001 ! 157: BPVC <illegal instruction> | |
8482 | .word 0xd8d80e80 ! 158: LDXA_R ldxa [%r0, %r0] 0x74, %r12 | |
8483 | rd %pc, %r19 | |
8484 | add %r19, (ivw_3_77-.+16), %r19 | |
8485 | mov 0x38, %r18 | |
8486 | stxa %r19, [%r18]0x58 | |
8487 | ivw_3_77: | |
8488 | .word 0x9194c009 ! 159: WRPR_PIL_R wrpr %r19, %r9, %pil | |
8489 | .word 0x8d9032c1 ! 160: WRPR_PSTATE_I wrpr %r0, 0x12c1, %pstate | |
8490 | .word 0xd88804a0 ! 161: LDUBA_R lduba [%r0, %r0] 0x25, %r12 | |
8491 | .word 0xab82e805 ! 162: WR_CLEAR_SOFTINT_I wr %r11, 0x0805, %clear_softint | |
8492 | splash_lsu_3_78: | |
8493 | setx 0x5fe103d3a7da3c83, %r1, %r2 | |
8494 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8495 | .word 0x3d400001 ! 163: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8496 | .word 0xd80fecf5 ! 164: LDUB_I ldub [%r31 + 0x0cf5], %r12 | |
8497 | splash_cmpr_3_79: | |
8498 | setx 0x525e7b014d0e447e, %g2, %g1 | |
8499 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
8500 | sub %g1, 100, %g1 | |
8501 | .word 0xb1800001 ! 165: WR_STICK_REG_R wr %r0, %r1, %- | |
8502 | debug_3_80: | |
8503 | nop | |
8504 | mov 0x38, %r18 | |
8505 | .word 0xfef00b12 ! 166: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8506 | splash_hpstate_3_81: | |
8507 | .word 0x819827df ! 167: WRHPR_HPSTATE_I wrhpr %r0, 0x07df, %hpstate | |
8508 | splash_htba_3_82: | |
8509 | set 0x80000, %r12 | |
8510 | st %r1, [%r12+%r0] | |
8511 | ta T_CHANGE_HPRIV | |
8512 | set 0x80000, %r12 | |
8513 | .word 0x8b98000c ! 168: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
8514 | splash_tba_3_83: | |
8515 | set 0x120000, %r12 | |
8516 | ld [%r12+%r0], %r1 | |
8517 | ta T_CHANGE_PRIV | |
8518 | set 0x120000, %r12 | |
8519 | .word 0x8b90000c ! 169: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8520 | .word 0x95a009d0 ! 170: FDIVd fdivd %f0, %f16, %f10 | |
8521 | splash_lsu_3_84: | |
8522 | setx 0x55b7e74b112a3547, %r1, %r2 | |
8523 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8524 | .word 0x3d400001 ! 171: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8525 | .word 0x8780208b ! 172: WRASI_I wr %r0, 0x008b, %asi | |
8526 | .word 0x87802014 ! 173: WRASI_I wr %r0, 0x0014, %asi | |
8527 | DS_3_85: | |
8528 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
8529 | .word 0xbfefc000 ! 174: RESTORE_R restore %r31, %r0, %r31 | |
8530 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8531 | ta T_CHANGE_NONPRIV ! macro | |
8532 | .word 0x93a01971 ! 175: FqTOd dis not found | |
8533 | ||
8534 | DS_3_87: | |
8535 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
8536 | allclean | |
8537 | .word 0x91b44307 ! 176: ALIGNADDRESS alignaddr %r17, %r7, %r8 | |
8538 | splash_hpstate_3_88: | |
8539 | .word 0x81982185 ! 177: WRHPR_HPSTATE_I wrhpr %r0, 0x0185, %hpstate | |
8540 | .word 0x94d94010 ! 178: SMULcc_R smulcc %r5, %r16, %r10 | |
8541 | .word 0x87802020 ! 179: WRASI_I wr %r0, 0x0020, %asi | |
8542 | splash_hpstate_3_89: | |
8543 | .word 0x81982215 ! 180: WRHPR_HPSTATE_I wrhpr %r0, 0x0215, %hpstate | |
8544 | .word 0xd44fecf5 ! 181: LDSB_I ldsb [%r31 + 0x0cf5], %r10 | |
8545 | debug_3_90: | |
8546 | nop | |
8547 | mov 8, %r18 | |
8548 | .word 0xe0f00492 ! 182: STXA_R stxa %r16, [%r0 + %r18] 0x24 | |
8549 | .word 0xd4cfe030 ! 183: LDSBA_I ldsba [%r31, + 0x0030] %asi, %r10 | |
8550 | splash_hpstate_3_91: | |
8551 | .word 0x81982d0e ! 184: WRHPR_HPSTATE_I wrhpr %r0, 0x0d0e, %hpstate | |
8552 | debug_3_92: | |
8553 | nop | |
8554 | mov 0x38, %r18 | |
8555 | .word 0xfef00b12 ! 185: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8556 | splash_cmpr_3_93: | |
8557 | setx 0xa326cebd52a93be0, %g2, %g1 | |
8558 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
8559 | sub %g1, 100, %g1 | |
8560 | .word 0xb1800001 ! 186: WR_STICK_REG_R wr %r0, %r1, %- | |
8561 | DS_3_94: | |
8562 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
8563 | .word 0xf76b3eaa ! Random illegal ? | |
8564 | .word 0xa7a289d0 ! 1: FDIVd fdivd %f10, %f16, %f50 | |
8565 | .word 0xa9a50831 ! 187: FADDs fadds %f20, %f17, %f20 | |
8566 | ta T_CHANGE_HPRIV | |
8567 | mov (3+1), %r10 | |
8568 | set sync_thr_counter1, %r23 | |
8569 | cas [%r23],%g0,%r10 !lock | |
8570 | brnz %r10, cwq_3_95 | |
8571 | rd %asi, %r12 | |
8572 | wr %g0, 0x40, %asi | |
8573 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8574 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8575 | cmp %l1, 1 | |
8576 | bne cwq_3_95 | |
8577 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8578 | sub %l2, 0x40, %l2 | |
8579 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8580 | wr %r12, %g0, %asi | |
8581 | st %g0, [%r23] | |
8582 | cwq_3_95: | |
8583 | ta T_CHANGE_NONHPRIV | |
8584 | .word 0x95414000 ! 188: RDPC rd %pc, %r10 | |
8585 | .word 0xe88fe010 ! 189: LDUBA_I lduba [%r31, + 0x0010] %asi, %r20 | |
8586 | splash_lsu_3_96: | |
8587 | setx 0x74ddb0afcc31ee53, %r1, %r2 | |
8588 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
8589 | .word 0x3d400001 ! 190: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
8590 | .word 0x97a149f0 ! 191: FDIVq dis not found | |
8591 | ||
8592 | cwp_3_97: | |
8593 | set user_data_start, %o7 | |
8594 | .word 0x93902005 ! 192: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
8595 | .word 0xa783000c ! 193: WR_GRAPHICS_STATUS_REG_R wr %r12, %r12, %- | |
8596 | .word 0x879020ac ! 194: WRPR_TT_I wrpr %r0, 0x00ac, %tt | |
8597 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8598 | ta T_CHANGE_NONHPRIV ! macro | |
8599 | .word 0x93a01965 ! 195: FqTOd dis not found | |
8600 | ||
8601 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_100) + 24, 16, 16)) -> intp(3,0,11) | |
8602 | intvec_3_100: | |
8603 | .word 0x39400001 ! 196: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8604 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8605 | ta T_CHANGE_NONHPRIV ! macro | |
8606 | .word 0x95a01968 ! 197: FqTOd dis not found | |
8607 | ||
8608 | intveclr_3_102: | |
8609 | setx 0x1710749120f28a2f, %r1, %r28 | |
8610 | stxa %r28, [%g0] 0x72 | |
8611 | .word 0x25400001 ! 198: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8612 | mondo_3_103: | |
8613 | nop | |
8614 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8615 | ||
8616 | stxa %r12, [%r0+0x3e0] %asi | |
8617 | .word 0x9d950014 ! 199: WRPR_WSTATE_R wrpr %r20, %r20, %wstate | |
8618 | memptr_3_104: | |
8619 | set 0x60540000, %r31 | |
8620 | .word 0x8581ef51 ! 200: WRCCR_I wr %r7, 0x0f51, %ccr | |
8621 | .word 0x87802080 ! 201: WRASI_I wr %r0, 0x0080, %asi | |
8622 | .word 0xa984c002 ! 202: WR_SET_SOFTINT_R wr %r19, %r2, %set_softint | |
8623 | .word 0x87802020 ! 203: WRASI_I wr %r0, 0x0020, %asi | |
8624 | DS_3_105: | |
8625 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
8626 | .word 0xbfefc000 ! 204: RESTORE_R restore %r31, %r0, %r31 | |
8627 | .word 0x26800001 ! 205: BL bl,a <label_0x1> | |
8628 | .word 0xe0d00e80 ! 206: LDSHA_R ldsha [%r0, %r0] 0x74, %r16 | |
8629 | debug_3_106: | |
8630 | nop | |
8631 | rd %pc, %r19 | |
8632 | add %r19, (64+16), %r19 | |
8633 | mov 0x38, %r18 | |
8634 | .word 0xe6f00b12 ! 207: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8635 | debug_3_107: | |
8636 | nop | |
8637 | mov 0x38, %r18 | |
8638 | .word 0xfef00b12 ! 208: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8639 | .word 0x8d902505 ! 209: WRPR_PSTATE_I wrpr %r0, 0x0505, %pstate | |
8640 | .word 0x2c700001 ! 210: BPNEG <illegal instruction> | |
8641 | .word 0x99902000 ! 211: WRPR_CLEANWIN_I wrpr %r0, 0x0000, %cleanwin | |
8642 | mov (3+1), %r10 | |
8643 | ta T_CHANGE_HPRIV | |
8644 | set sync_thr_counter2, %r23 | |
8645 | cas [%r23],%g0,%r10 !lock | |
8646 | brnz %r10, sma_3_108 | |
8647 | rd %asi, %r12 | |
8648 | wr %g0, 0x40, %asi | |
8649 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8650 | set 0x21fff, %g1 | |
8651 | stxa %g1, [%g0 + 0x80] %asi | |
8652 | wr %r12, %g0, %asi | |
8653 | st %g0, [%r23] | |
8654 | sma_3_108: | |
8655 | ta T_CHANGE_NONHPRIV | |
8656 | .word 0xe1e7e006 ! 212: CASA_R casa [%r31] %asi, %r6, %r16 | |
8657 | cwp_3_109: | |
8658 | set user_data_start, %o7 | |
8659 | .word 0x93902001 ! 213: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
8660 | ta T_CHANGE_HPRIV | |
8661 | mov (3+1), %r10 | |
8662 | set sync_thr_counter1, %r23 | |
8663 | cas [%r23],%g0,%r10 !lock | |
8664 | brnz %r10, cwq_3_110 | |
8665 | rd %asi, %r12 | |
8666 | wr %g0, 0x40, %asi | |
8667 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8668 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8669 | cmp %l1, 1 | |
8670 | bne cwq_3_110 | |
8671 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8672 | sub %l2, 0x40, %l2 | |
8673 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8674 | wr %r12, %g0, %asi | |
8675 | st %g0, [%r23] | |
8676 | cwq_3_110: | |
8677 | ta T_CHANGE_NONHPRIV | |
8678 | .word 0xa7414000 ! 214: RDPC rd %pc, %r19 | |
8679 | debug_3_111: | |
8680 | nop | |
8681 | mov 8, %r18 | |
8682 | .word 0xd2f00492 ! 215: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
8683 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8684 | ta T_CHANGE_NONPRIV ! macro | |
8685 | .word 0x9b68ffeb ! 216: SDIVX_I sdivx %r3, 0xffffffeb, %r13 | |
8686 | .word 0xa1902006 ! 217: WRPR_GL_I wrpr %r0, 0x0006, %- | |
8687 | debug_3_113: | |
8688 | nop | |
8689 | mov 0x38, %r18 | |
8690 | .word 0xfef00b12 ! 218: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8691 | invalw | |
8692 | mov 0x33, %r30 | |
8693 | .word 0x91d0001e ! 219: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8694 | splash_tba_3_114: | |
8695 | set 0x003d0000, %r12 | |
8696 | st %r1, [%r12+%r0] | |
8697 | ta T_CHANGE_PRIV | |
8698 | set 0x003d0000, %r12 | |
8699 | .word 0x8b90000c ! 220: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8700 | .word 0x99450000 ! 221: RD_SET_SOFTINT rd %set_softint, %r12 | |
8701 | .word 0xd08008a0 ! 222: LDUWA_R lduwa [%r0, %r0] 0x45, %r8 | |
8702 | splash_hpstate_3_115: | |
8703 | .word 0x81982a9e ! 223: WRHPR_HPSTATE_I wrhpr %r0, 0x0a9e, %hpstate | |
8704 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_116) + 32, 16, 16)) -> intp(2,0,17) | |
8705 | intvec_3_116: | |
8706 | .word 0x39400001 ! 224: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8707 | ta T_CHANGE_HPRIV | |
8708 | mov (3+1), %r10 | |
8709 | set sync_thr_counter1, %r23 | |
8710 | cas [%r23],%g0,%r10 !lock | |
8711 | brnz %r10, cwq_3_117 | |
8712 | rd %asi, %r12 | |
8713 | wr %g0, 0x40, %asi | |
8714 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8715 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8716 | cmp %l1, 1 | |
8717 | bne cwq_3_117 | |
8718 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8719 | sub %l2, 0x40, %l2 | |
8720 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8721 | wr %r12, %g0, %asi | |
8722 | st %g0, [%r23] | |
8723 | cwq_3_117: | |
8724 | ta T_CHANGE_NONHPRIV | |
8725 | .word 0x97414000 ! 225: RDPC rd %pc, %r11 | |
8726 | .word 0xa753c000 ! 226: RDPR_FQ <illegal instruction> | |
8727 | memptr_3_118: | |
8728 | set 0x60340000, %r31 | |
8729 | .word 0x85826aee ! 227: WRCCR_I wr %r9, 0x0aee, %ccr | |
8730 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8731 | ta T_CHANGE_NONHPRIV ! macro | |
8732 | .word 0x97a0196c ! 228: FqTOd dis not found | |
8733 | ||
8734 | .word 0xa7a449c1 ! 229: FDIVd fdivd %f48, %f32, %f50 | |
8735 | .word 0x8780208b ! 230: WRASI_I wr %r0, 0x008b, %asi | |
8736 | splash_tba_3_120: | |
8737 | set 0x003d0000, %r12 | |
8738 | st %r1, [%r12+%r0] | |
8739 | ta T_CHANGE_PRIV | |
8740 | set 0x003d0000, %r12 | |
8741 | .word 0x8b90000c ! 231: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8742 | splash_cmpr_3_121: | |
8743 | setx 0x3c8880b76ea86054, %g2, %g1 | |
8744 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
8745 | sub %g1, 100, %g1 | |
8746 | .word 0xb1800001 ! 232: WR_STICK_REG_R wr %r0, %r1, %- | |
8747 | mov (3+1), %r10 | |
8748 | ta T_CHANGE_HPRIV | |
8749 | set sync_thr_counter2, %r23 | |
8750 | cas [%r23],%g0,%r10 !lock | |
8751 | brnz %r10, sma_3_122 | |
8752 | rd %asi, %r12 | |
8753 | wr %g0, 0x40, %asi | |
8754 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8755 | set 0x21fff, %g1 | |
8756 | stxa %g1, [%g0 + 0x80] %asi | |
8757 | wr %r12, %g0, %asi | |
8758 | st %g0, [%r23] | |
8759 | sma_3_122: | |
8760 | ta T_CHANGE_NONHPRIV | |
8761 | .word 0xd7e7e014 ! 233: CASA_R casa [%r31] %asi, %r20, %r11 | |
8762 | .word 0xd737e19a ! 234: STQF_I - %f11, [0x019a, %r31] | |
8763 | splash_hpstate_3_123: | |
8764 | .word 0x81982635 ! 235: WRHPR_HPSTATE_I wrhpr %r0, 0x0635, %hpstate | |
8765 | .word 0x919465ac ! 236: WRPR_PIL_I wrpr %r17, 0x05ac, %pil | |
8766 | change_to_randtl_3_124: | |
8767 | ta T_CHANGE_PRIV ! macro | |
8768 | done_change_to_randtl_3_124: | |
8769 | .word 0x8f902001 ! 237: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8770 | splash_cmpr_3_125: | |
8771 | setx 0xb3bbb53eb35a5bbd, %g2, %g1 | |
8772 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
8773 | sub %g1, 100, %g1 | |
8774 | .word 0xb1800001 ! 238: WR_STICK_REG_R wr %r0, %r1, %- | |
8775 | invalw | |
8776 | mov 0x30, %r30 | |
8777 | .word 0x91d0001e ! 239: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
8778 | ta T_CHANGE_HPRIV | |
8779 | mov (3+1), %r10 | |
8780 | set sync_thr_counter1, %r23 | |
8781 | cas [%r23],%g0,%r10 !lock | |
8782 | brnz %r10, cwq_3_126 | |
8783 | rd %asi, %r12 | |
8784 | wr %g0, 0x40, %asi | |
8785 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8786 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8787 | cmp %l1, 1 | |
8788 | bne cwq_3_126 | |
8789 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8790 | sub %l2, 0x40, %l2 | |
8791 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8792 | wr %r12, %g0, %asi | |
8793 | st %g0, [%r23] | |
8794 | cwq_3_126: | |
8795 | ta T_CHANGE_NONHPRIV | |
8796 | .word 0xa9414000 ! 240: RDPC rd %pc, %r20 | |
8797 | .word 0xe91fc000 ! 241: LDDF_R ldd [%r31, %r0], %f20 | |
8798 | change_to_randtl_3_127: | |
8799 | ta T_CHANGE_HPRIV ! macro | |
8800 | done_change_to_randtl_3_127: | |
8801 | .word 0x8f902000 ! 242: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
8802 | .word 0x95a2c9d2 ! 243: FDIVd fdivd %f42, %f18, %f10 | |
8803 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8804 | ta T_CHANGE_NONPRIV ! macro | |
8805 | .word 0x9369f3c7 ! 244: SDIVX_I sdivx %r7, 0xfffff3c7, %r9 | |
8806 | .word 0xe28008a0 ! 245: LDUWA_R lduwa [%r0, %r0] 0x45, %r17 | |
8807 | cwp_3_129: | |
8808 | set user_data_start, %o7 | |
8809 | .word 0x93902002 ! 246: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
8810 | .word 0x93d02035 ! 247: Tcc_I tne icc_or_xcc, %r0 + 53 | |
8811 | .word 0x30700001 ! 248: BPA <illegal instruction> | |
8812 | .word 0x8780201c ! 249: WRASI_I wr %r0, 0x001c, %asi | |
8813 | splash_cmpr_3_130: | |
8814 | setx 0x2c95010933859493, %g2, %g1 | |
8815 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8816 | sub %g1, 100, %g1 | |
8817 | .word 0xb1800001 ! 250: WR_STICK_REG_R wr %r0, %r1, %- | |
8818 | change_to_randtl_3_131: | |
8819 | ta T_CHANGE_HPRIV ! macro | |
8820 | done_change_to_randtl_3_131: | |
8821 | .word 0x8f902002 ! 251: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
8822 | .word 0xe31fc000 ! 252: LDDF_R ldd [%r31, %r0], %f17 | |
8823 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_3_132)+16, 16, 16)) -> intp(3,1,3) | |
8824 | xir_3_132: | |
8825 | .word 0xa982eb4e ! 253: WR_SET_SOFTINT_I wr %r11, 0x0b4e, %set_softint | |
8826 | ta T_CHANGE_HPRIV | |
8827 | mov (3+1), %r10 | |
8828 | set sync_thr_counter1, %r23 | |
8829 | cas [%r23],%g0,%r10 !lock | |
8830 | brnz %r10, cwq_3_133 | |
8831 | rd %asi, %r12 | |
8832 | wr %g0, 0x40, %asi | |
8833 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8834 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8835 | cmp %l1, 1 | |
8836 | bne cwq_3_133 | |
8837 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8838 | sub %l2, 0x40, %l2 | |
8839 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8840 | wr %r12, %g0, %asi | |
8841 | st %g0, [%r23] | |
8842 | cwq_3_133: | |
8843 | ta T_CHANGE_NONHPRIV | |
8844 | .word 0xa3414000 ! 254: RDPC rd %pc, %r17 | |
8845 | DS_3_134: | |
8846 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
8847 | pdist %f22, %f12, %f4 | |
8848 | .word 0x91b14300 ! 255: ALIGNADDRESS alignaddr %r5, %r0, %r8 | |
8849 | setx 0x2fd7718b89c38db9, %r1, %r28 | |
8850 | stxa %r28, [%g0] 0x73 | |
8851 | intvec_3_135: | |
8852 | .word 0x39400001 ! 256: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
8853 | .word 0x8790206a ! 257: WRPR_TT_I wrpr %r0, 0x006a, %tt | |
8854 | splash_tba_3_136: | |
8855 | set 0x120000, %r12 | |
8856 | st %r1, [%r12+%r0] | |
8857 | ta T_CHANGE_PRIV | |
8858 | set 0x120000, %r12 | |
8859 | .word 0x8b90000c ! 258: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8860 | .word 0xa150c000 ! 259: RDPR_TT rdpr %tt, %r16 | |
8861 | mov (3+1), %r10 | |
8862 | ta T_CHANGE_HPRIV | |
8863 | set sync_thr_counter2, %r23 | |
8864 | cas [%r23],%g0,%r10 !lock | |
8865 | brnz %r10, sma_3_137 | |
8866 | rd %asi, %r12 | |
8867 | wr %g0, 0x40, %asi | |
8868 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
8869 | set 0x21fff, %g1 | |
8870 | stxa %g1, [%g0 + 0x80] %asi | |
8871 | wr %r12, %g0, %asi | |
8872 | st %g0, [%r23] | |
8873 | sma_3_137: | |
8874 | ta T_CHANGE_NONHPRIV | |
8875 | .word 0xd5e7e001 ! 260: CASA_R casa [%r31] %asi, %r1, %r10 | |
8876 | .word 0x8d903606 ! 261: WRPR_PSTATE_I wrpr %r0, 0x1606, %pstate | |
8877 | DS_3_138: | |
8878 | .word 0x99a409c2 ! 1: FDIVd fdivd %f16, %f2, %f12 | |
8879 | .word 0xbfefc000 ! 262: RESTORE_R restore %r31, %r0, %r31 | |
8880 | splash_tba_3_139: | |
8881 | set 0x120000, %r12 | |
8882 | ld [%r12+%r0], %r1 | |
8883 | ta T_CHANGE_PRIV | |
8884 | set 0x120000, %r12 | |
8885 | .word 0x8b90000c ! 263: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8886 | DS_3_140: | |
8887 | nop | |
8888 | not %g0, %r12 | |
8889 | jmp %r12 | |
8890 | .word 0x9d902003 ! 264: WRPR_WSTATE_I wrpr %r0, 0x0003, %wstate | |
8891 | tagged_3_141: | |
8892 | taddcctv %r21, 0x12ff, %r17 | |
8893 | .word 0xd407e18a ! 265: LDUW_I lduw [%r31 + 0x018a], %r10 | |
8894 | .word 0xd46fe18a ! 266: LDSTUB_I ldstub %r10, [%r31 + 0x018a] | |
8895 | .word 0x91a00167 ! 267: FABSq dis not found | |
8896 | ||
8897 | .word 0x87902274 ! 268: WRPR_TT_I wrpr %r0, 0x0274, %tt | |
8898 | change_to_randtl_3_142: | |
8899 | ta T_CHANGE_PRIV ! macro | |
8900 | done_change_to_randtl_3_142: | |
8901 | .word 0x8f902001 ! 269: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
8902 | .word 0x95a309c7 ! 270: FDIVd fdivd %f12, %f38, %f10 | |
8903 | .word 0xd02fe18a ! 271: STB_I stb %r8, [%r31 + 0x018a] | |
8904 | .word 0x93450000 ! 272: RD_SET_SOFTINT rd %set_softint, %r9 | |
8905 | splash_tba_3_143: | |
8906 | set 0x120000, %r12 | |
8907 | ld [%r12+%r0], %r1 | |
8908 | ta T_CHANGE_PRIV | |
8909 | set 0x120000, %r12 | |
8910 | .word 0x8b90000c ! 273: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8911 | .word 0x87902257 ! 274: WRPR_TT_I wrpr %r0, 0x0257, %tt | |
8912 | ta T_CHANGE_HPRIV | |
8913 | mov (3+1), %r10 | |
8914 | set sync_thr_counter1, %r23 | |
8915 | cas [%r23],%g0,%r10 !lock | |
8916 | brnz %r10, cwq_3_144 | |
8917 | rd %asi, %r12 | |
8918 | wr %g0, 0x40, %asi | |
8919 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
8920 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
8921 | cmp %l1, 1 | |
8922 | bne cwq_3_144 | |
8923 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
8924 | sub %l2, 0x40, %l2 | |
8925 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
8926 | wr %r12, %g0, %asi | |
8927 | st %g0, [%r23] | |
8928 | cwq_3_144: | |
8929 | ta T_CHANGE_NONHPRIV | |
8930 | .word 0x99414000 ! 275: RDPC rd %pc, %r12 | |
8931 | .word 0xa7828005 ! 276: WR_GRAPHICS_STATUS_REG_R wr %r10, %r5, %- | |
8932 | nop | |
8933 | mov 0x80, %g3 | |
8934 | stxa %g3, [%g3] 0x57 | |
8935 | .word 0xe45fc000 ! 277: LDX_R ldx [%r31 + %r0], %r18 | |
8936 | .word 0x2e800001 ! 278: BVS bvs,a <label_0x1> | |
8937 | debug_3_146: | |
8938 | nop | |
8939 | mov 0x38, %r18 | |
8940 | .word 0xfef00b12 ! 279: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
8941 | debug_3_147: | |
8942 | nop | |
8943 | mov 8, %r18 | |
8944 | .word 0xe8f00492 ! 280: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
8945 | splash_tba_3_148: | |
8946 | set 0x120000, %r12 | |
8947 | st %r1, [%r12+%r0] | |
8948 | ta T_CHANGE_PRIV | |
8949 | set 0x120000, %r12 | |
8950 | .word 0x8b90000c ! 281: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8951 | .word 0x87902018 ! 282: WRPR_TT_I wrpr %r0, 0x0018, %tt | |
8952 | splash_tba_3_149: | |
8953 | set 0x120000, %r12 | |
8954 | ld [%r12+%r0], %r1 | |
8955 | ta T_CHANGE_PRIV | |
8956 | set 0x120000, %r12 | |
8957 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
8958 | intveclr_3_150: | |
8959 | setx 0x75884914d6b0b637, %r1, %r28 | |
8960 | stxa %r28, [%g0] 0x72 | |
8961 | .word 0x25400001 ! 284: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
8962 | nop | |
8963 | mov 0x80, %g3 | |
8964 | stxa %g3, [%g3] 0x57 | |
8965 | .word 0xe45fc000 ! 285: LDX_R ldx [%r31 + %r0], %r18 | |
8966 | debug_3_151: | |
8967 | nop | |
8968 | rd %pc, %r19 | |
8969 | add %r19, (64+24), %r19 | |
8970 | mov 0x38, %r18 | |
8971 | .word 0xe6f00b12 ! 286: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
8972 | .word 0xe4800b80 ! 287: LDUWA_R lduwa [%r0, %r0] 0x5c, %r18 | |
8973 | rd %pc, %r19 | |
8974 | add %r19, (ivw_3_152-.+32), %r19 | |
8975 | mov 0x38, %r18 | |
8976 | stxa %r19, [%r18]0x58 | |
8977 | ivw_3_152: | |
8978 | .word 0x9191c006 ! 288: WRPR_PIL_R wrpr %r7, %r6, %pil | |
8979 | splash_cmpr_3_153: | |
8980 | setx 0x71328b819cb80382, %g2, %g1 | |
8981 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
8982 | sub %g1, 100, %g1 | |
8983 | .word 0xb1800001 ! 289: WR_STICK_REG_R wr %r0, %r1, %- | |
8984 | splash_cmpr_3_154: | |
8985 | setx 0x59e8bb9aba5e0b77, %g2, %g1 | |
8986 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
8987 | sub %g1, 100, %g1 | |
8988 | .word 0xb1800001 ! 290: WR_STICK_REG_R wr %r0, %r1, %- | |
8989 | .word 0x8d802000 ! 291: WRFPRS_I wr %r0, 0x0000, %fprs | |
8990 | memptr_3_155: | |
8991 | set 0x60140000, %r31 | |
8992 | .word 0x8580ad06 ! 292: WRCCR_I wr %r2, 0x0d06, %ccr | |
8993 | mondo_3_156: | |
8994 | nop | |
8995 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
8996 | ||
8997 | stxa %r1, [%r0+0x3e0] %asi | |
8998 | .word 0x9d91c004 ! 293: WRPR_WSTATE_R wrpr %r7, %r4, %wstate | |
8999 | ta T_CHANGE_HPRIV | |
9000 | mov (3+1), %r10 | |
9001 | set sync_thr_counter1, %r23 | |
9002 | cas [%r23],%g0,%r10 !lock | |
9003 | brnz %r10, cwq_3_157 | |
9004 | rd %asi, %r12 | |
9005 | wr %g0, 0x40, %asi | |
9006 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9007 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9008 | cmp %l1, 1 | |
9009 | bne cwq_3_157 | |
9010 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9011 | sub %l2, 0x40, %l2 | |
9012 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9013 | wr %r12, %g0, %asi | |
9014 | st %g0, [%r23] | |
9015 | cwq_3_157: | |
9016 | ta T_CHANGE_NONHPRIV | |
9017 | .word 0x95414000 ! 294: RDPC rd %pc, %r10 | |
9018 | DS_3_158: | |
9019 | nop | |
9020 | not %g0, %r12 | |
9021 | jmp %r12 | |
9022 | .word 0x9d902004 ! 295: WRPR_WSTATE_I wrpr %r0, 0x0004, %wstate | |
9023 | .word 0x81510000 ! 296: RDPR_TICK rdpr %tick, %r0 | |
9024 | otherw | |
9025 | mov 0xb4, %r30 | |
9026 | .word 0x91d0001e ! 297: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9027 | splash_lsu_3_159: | |
9028 | setx 0x04c57e88ca0d4947, %r1, %r2 | |
9029 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9030 | .word 0x3d400001 ! 298: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9031 | .word 0x83d020b4 ! 299: Tcc_I te icc_or_xcc, %r0 + 180 | |
9032 | splash_htba_3_160: | |
9033 | set 0x80000, %r12 | |
9034 | st %r1, [%r12+%r0] | |
9035 | ta T_CHANGE_HPRIV | |
9036 | set 0x80000, %r12 | |
9037 | .word 0x8b98000c ! 300: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9038 | splash_hpstate_3_161: | |
9039 | .word 0x81982a14 ! 301: WRHPR_HPSTATE_I wrhpr %r0, 0x0a14, %hpstate | |
9040 | .word 0x8d903417 ! 302: WRPR_PSTATE_I wrpr %r0, 0x1417, %pstate | |
9041 | splash_tba_3_162: | |
9042 | set 0x003d0000, %r12 | |
9043 | st %r1, [%r12+%r0] | |
9044 | ta T_CHANGE_PRIV | |
9045 | set 0x003d0000, %r12 | |
9046 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9047 | setx 0xe5a5423eb70361b6, %r1, %r28 | |
9048 | stxa %r28, [%g0] 0x73 | |
9049 | intvec_3_163: | |
9050 | .word 0x39400001 ! 304: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9051 | cwp_3_164: | |
9052 | set user_data_start, %o7 | |
9053 | .word 0x93902003 ! 305: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
9054 | nop | |
9055 | mov 0x80, %g3 | |
9056 | stxa %g3, [%g3] 0x57 | |
9057 | .word 0xe05fc000 ! 306: LDX_R ldx [%r31 + %r0], %r16 | |
9058 | splash_cmpr_3_165: | |
9059 | setx 0x5b7f4110b37e0fde, %g2, %g1 | |
9060 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9061 | sub %g1, 100, %g1 | |
9062 | .word 0xb1800001 ! 307: WR_STICK_REG_R wr %r0, %r1, %- | |
9063 | splash_tba_3_166: | |
9064 | set 0x120000, %r12 | |
9065 | st %r1, [%r12+%r0] | |
9066 | ta T_CHANGE_PRIV | |
9067 | set 0x120000, %r12 | |
9068 | .word 0x8b90000c ! 308: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9069 | splash_hpstate_3_167: | |
9070 | .word 0x81982d4c ! 309: WRHPR_HPSTATE_I wrhpr %r0, 0x0d4c, %hpstate | |
9071 | .word 0xe03fc000 ! 310: STD_R std %r16, [%r31 + %r0] | |
9072 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
9073 | ta T_CHANGE_NONPRIV ! macro | |
9074 | .word 0xa9a01973 ! 311: FqTOd dis not found | |
9075 | ||
9076 | mondo_3_169: | |
9077 | nop | |
9078 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9079 | ||
9080 | stxa %r18, [%r0+0x3d8] %asi | |
9081 | .word 0x9d920001 ! 312: WRPR_WSTATE_R wrpr %r8, %r1, %wstate | |
9082 | splash_cmpr_3_170: | |
9083 | setx 0x82b27f31bae592f1, %g2, %g1 | |
9084 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9085 | sub %g1, 100, %g1 | |
9086 | .word 0xb1800001 ! 313: WR_STICK_REG_R wr %r0, %r1, %- | |
9087 | change_to_randtl_3_171: | |
9088 | ta T_CHANGE_HPRIV ! macro | |
9089 | done_change_to_randtl_3_171: | |
9090 | .word 0x8f902001 ! 314: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9091 | DS_3_172: | |
9092 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
9093 | .word 0xbfefc000 ! 315: RESTORE_R restore %r31, %r0, %r31 | |
9094 | ta T_CHANGE_HPRIV | |
9095 | mov (3+1), %r10 | |
9096 | set sync_thr_counter1, %r23 | |
9097 | cas [%r23],%g0,%r10 !lock | |
9098 | brnz %r10, cwq_3_173 | |
9099 | rd %asi, %r12 | |
9100 | wr %g0, 0x40, %asi | |
9101 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9102 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9103 | cmp %l1, 1 | |
9104 | bne cwq_3_173 | |
9105 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9106 | sub %l2, 0x40, %l2 | |
9107 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9108 | wr %r12, %g0, %asi | |
9109 | st %g0, [%r23] | |
9110 | cwq_3_173: | |
9111 | ta T_CHANGE_NONHPRIV | |
9112 | .word 0x9b414000 ! 316: RDPC rd %pc, %r13 | |
9113 | splash_hpstate_3_174: | |
9114 | .word 0x819829c4 ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x09c4, %hpstate | |
9115 | .word 0xdad00e80 ! 318: LDSHA_R ldsha [%r0, %r0] 0x74, %r13 | |
9116 | setx 0x546c84db090c3f4c, %r1, %r28 | |
9117 | stxa %r28, [%g0] 0x73 | |
9118 | intvec_3_175: | |
9119 | .word 0x39400001 ! 319: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9120 | cwp_3_176: | |
9121 | set user_data_start, %o7 | |
9122 | .word 0x93902006 ! 320: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
9123 | splash_hpstate_3_177: | |
9124 | .word 0x81982dcc ! 321: WRHPR_HPSTATE_I wrhpr %r0, 0x0dcc, %hpstate | |
9125 | mondo_3_178: | |
9126 | nop | |
9127 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9128 | ||
9129 | stxa %r1, [%r0+0x3c0] %asi | |
9130 | .word 0x9d90000c ! 322: WRPR_WSTATE_R wrpr %r0, %r12, %wstate | |
9131 | nop | |
9132 | mov 0x80, %g3 | |
9133 | stxa %g3, [%g3] 0x5f | |
9134 | .word 0xda5fc000 ! 323: LDX_R ldx [%r31 + %r0], %r13 | |
9135 | .word 0x95a049d4 ! 324: FDIVd fdivd %f32, %f20, %f10 | |
9136 | .word 0x87902379 ! 325: WRPR_TT_I wrpr %r0, 0x0379, %tt | |
9137 | debug_3_179: | |
9138 | nop | |
9139 | mov 0x38, %r18 | |
9140 | .word 0xfef00b12 ! 326: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9141 | .word 0x99a0056c ! 327: FSQRTq fsqrt | |
9142 | intveclr_3_180: | |
9143 | setx 0x9cb74eb56cd71fd3, %r1, %r28 | |
9144 | stxa %r28, [%g0] 0x72 | |
9145 | .word 0x25400001 ! 328: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9146 | mondo_3_181: | |
9147 | nop | |
9148 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9149 | ||
9150 | stxa %r5, [%r0+0x3c0] %asi | |
9151 | .word 0x9d928010 ! 329: WRPR_WSTATE_R wrpr %r10, %r16, %wstate | |
9152 | .word 0xd2c804a0 ! 330: LDSBA_R ldsba [%r0, %r0] 0x25, %r9 | |
9153 | cwp_3_182: | |
9154 | set user_data_start, %o7 | |
9155 | .word 0x93902006 ! 331: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
9156 | debug_3_183: | |
9157 | nop | |
9158 | mov 8, %r18 | |
9159 | .word 0xdef00492 ! 332: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
9160 | invalw | |
9161 | mov 0x31, %r30 | |
9162 | .word 0x91d0001e ! 333: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9163 | cwp_3_184: | |
9164 | set user_data_start, %o7 | |
9165 | .word 0x93902005 ! 334: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
9166 | .word 0x879023a2 ! 335: WRPR_TT_I wrpr %r0, 0x03a2, %tt | |
9167 | splash_cmpr_3_185: | |
9168 | setx 0xb44fbc491138753a, %g2, %g1 | |
9169 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
9170 | sub %g1, 100, %g1 | |
9171 | .word 0xb1800001 ! 336: WR_STICK_REG_R wr %r0, %r1, %- | |
9172 | .word 0x87802083 ! 337: WRASI_I wr %r0, 0x0083, %asi | |
9173 | tagged_3_186: | |
9174 | tsubcctv %r16, 0x195b, %r11 | |
9175 | .word 0xd207e551 ! 338: LDUW_I lduw [%r31 + 0x0551], %r9 | |
9176 | .word 0x34700001 ! 339: BPG <illegal instruction> | |
9177 | cwp_3_187: | |
9178 | set user_data_start, %o7 | |
9179 | .word 0x93902006 ! 340: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
9180 | .word 0xd277e551 ! 341: STX_I stx %r9, [%r31 + 0x0551] | |
9181 | change_to_randtl_3_188: | |
9182 | ta T_CHANGE_PRIV ! macro | |
9183 | done_change_to_randtl_3_188: | |
9184 | .word 0x8f902002 ! 342: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9185 | .word 0xd297e020 ! 343: LDUHA_I lduha [%r31, + 0x0020] %asi, %r9 | |
9186 | intveclr_3_189: | |
9187 | setx 0x241430f8545788c8, %r1, %r28 | |
9188 | stxa %r28, [%g0] 0x72 | |
9189 | .word 0x25400001 ! 344: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9190 | DS_3_190: | |
9191 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
9192 | .word 0xbfe7c000 ! 345: SAVE_R save %r31, %r0, %r31 | |
9193 | splash_htba_3_191: | |
9194 | set 0x80000, %r12 | |
9195 | ld [%r12+%r0], %r1 | |
9196 | ta T_CHANGE_HPRIV | |
9197 | set 0x80000, %r12 | |
9198 | .word 0x8b98000c ! 346: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9199 | debug_3_192: | |
9200 | nop | |
9201 | mov 8, %r18 | |
9202 | .word 0xe4f00492 ! 347: STXA_R stxa %r18, [%r0 + %r18] 0x24 | |
9203 | nop | |
9204 | mov 0x80, %g3 | |
9205 | stxa %g3, [%g3] 0x57 | |
9206 | .word 0xd25fc000 ! 348: LDX_R ldx [%r31 + %r0], %r9 | |
9207 | tagged_3_193: | |
9208 | taddcctv %r15, 0x1196, %r7 | |
9209 | .word 0xd207e551 ! 349: LDUW_I lduw [%r31 + 0x0551], %r9 | |
9210 | tagged_3_194: | |
9211 | tsubcctv %r3, 0x1efd, %r13 | |
9212 | .word 0xd207e551 ! 350: LDUW_I lduw [%r31 + 0x0551], %r9 | |
9213 | tagged_3_195: | |
9214 | taddcctv %r25, 0x13c0, %r26 | |
9215 | .word 0xd207e551 ! 351: LDUW_I lduw [%r31 + 0x0551], %r9 | |
9216 | .word 0x91a00168 ! 352: FABSq dis not found | |
9217 | ||
9218 | .word 0x9192ecb3 ! 353: WRPR_PIL_I wrpr %r11, 0x0cb3, %pil | |
9219 | .word 0x9f80357f ! 354: SIR sir 0x157f | |
9220 | intveclr_3_196: | |
9221 | setx 0xf737220a9927b510, %r1, %r28 | |
9222 | stxa %r28, [%g0] 0x72 | |
9223 | .word 0x25400001 ! 355: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9224 | .word 0xa1a00569 ! 356: FSQRTq fsqrt | |
9225 | .word 0xe0800b00 ! 357: LDUWA_R lduwa [%r0, %r0] 0x58, %r16 | |
9226 | otherw | |
9227 | mov 0x34, %r30 | |
9228 | .word 0x91d0001e ! 358: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9229 | .word 0xe027f503 ! 359: STW_I stw %r16, [%r31 + 0xfffff503] | |
9230 | .word 0x87902393 ! 360: WRPR_TT_I wrpr %r0, 0x0393, %tt | |
9231 | .word 0x87902010 ! 361: WRPR_TT_I wrpr %r0, 0x0010, %tt | |
9232 | debug_3_197: | |
9233 | nop | |
9234 | mov 0x38, %r18 | |
9235 | .word 0xfef00b12 ! 362: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9236 | .word 0xe08008a0 ! 363: LDUWA_R lduwa [%r0, %r0] 0x45, %r16 | |
9237 | .word 0x9190acfc ! 364: WRPR_PIL_I wrpr %r2, 0x0cfc, %pil | |
9238 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_3_198) + 56, 16, 16)) -> intp(0,0,17) | |
9239 | intvec_3_198: | |
9240 | .word 0x39400001 ! 365: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9241 | DS_3_199: | |
9242 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
9243 | .word 0xbfefc000 ! 366: RESTORE_R restore %r31, %r0, %r31 | |
9244 | rd %pc, %r19 | |
9245 | add %r19, (ivw_3_200-.+40), %r19 | |
9246 | mov 0x38, %r18 | |
9247 | stxa %r19, [%r18]0x58 | |
9248 | ivw_3_200: | |
9249 | .word 0x91940000 ! 367: WRPR_PIL_R wrpr %r16, %r0, %pil | |
9250 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
9251 | ta T_CHANGE_NONHPRIV ! macro | |
9252 | .word 0x97a01966 ! 368: FqTOd dis not found | |
9253 | ||
9254 | splash_cmpr_3_202: | |
9255 | setx 0x2af4d536393a964e, %g2, %g1 | |
9256 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9257 | sub %g1, 100, %g1 | |
9258 | .word 0xb1800001 ! 369: WR_STICK_REG_R wr %r0, %r1, %- | |
9259 | mov (3+1), %r10 | |
9260 | ta T_CHANGE_HPRIV | |
9261 | set sync_thr_counter2, %r23 | |
9262 | cas [%r23],%g0,%r10 !lock | |
9263 | brnz %r10, sma_3_203 | |
9264 | rd %asi, %r12 | |
9265 | wr %g0, 0x40, %asi | |
9266 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9267 | set 0x21fff, %g1 | |
9268 | stxa %g1, [%g0 + 0x80] %asi | |
9269 | wr %r12, %g0, %asi | |
9270 | st %g0, [%r23] | |
9271 | sma_3_203: | |
9272 | ta T_CHANGE_NONHPRIV | |
9273 | .word 0xd1e7e010 ! 370: CASA_R casa [%r31] %asi, %r16, %r8 | |
9274 | donret_3_204: | |
9275 | nop | |
9276 | rd %pc, %r12 | |
9277 | add %r12, (donretarg_3_204-donret_3_204), %r12 | |
9278 | mov 0x38, %r18 | |
9279 | stxa %r12, [%r18]0x58 | |
9280 | add %r12, 0x4, %r11 | |
9281 | wrpr %g0, 0x1, %tl | |
9282 | wrpr %g0, %r12, %tpc | |
9283 | wrpr %g0, %r11, %tnpc | |
9284 | wrpr %g0, %r13, %tstate | |
9285 | wrhpr %g0, %r14, %htstate | |
9286 | retry | |
9287 | donretarg_3_204: | |
9288 | .word 0xd0fff5d1 ! 371: SWAPA_I swapa %r8, [%r31 + 0xfffff5d1] %asi | |
9289 | .word 0x8d903cbe ! 372: WRPR_PSTATE_I wrpr %r0, 0x1cbe, %pstate | |
9290 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9291 | ta T_CHANGE_NONHPRIV ! macro | |
9292 | .word 0x9968a344 ! 373: SDIVX_I sdivx %r2, 0x0344, %r12 | |
9293 | .word 0xd6d7e030 ! 374: LDSHA_I ldsha [%r31, + 0x0030] %asi, %r11 | |
9294 | .word 0x87902331 ! 375: WRPR_TT_I wrpr %r0, 0x0331, %tt | |
9295 | .word 0xd69004a0 ! 376: LDUHA_R lduha [%r0, %r0] 0x25, %r11 | |
9296 | .word 0xd68008a0 ! 377: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
9297 | memptr_3_206: | |
9298 | set 0x60740000, %r31 | |
9299 | .word 0x858170c0 ! 378: WRCCR_I wr %r5, 0x10c0, %ccr | |
9300 | .word 0xd727c000 ! 379: STF_R st %f11, [%r0, %r31] | |
9301 | DS_3_207: | |
9302 | .word 0xa1a209c2 ! 1: FDIVd fdivd %f8, %f2, %f16 | |
9303 | allclean | |
9304 | .word 0x97b4430d ! 380: ALIGNADDRESS alignaddr %r17, %r13, %r11 | |
9305 | splash_hpstate_3_208: | |
9306 | .word 0x81982acd ! 381: WRHPR_HPSTATE_I wrhpr %r0, 0x0acd, %hpstate | |
9307 | intveclr_3_209: | |
9308 | setx 0x1908ae2a4a920ffa, %r1, %r28 | |
9309 | stxa %r28, [%g0] 0x72 | |
9310 | .word 0x25400001 ! 382: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9311 | memptr_3_210: | |
9312 | set user_data_start, %r31 | |
9313 | .word 0x8581e898 ! 383: WRCCR_I wr %r7, 0x0898, %ccr | |
9314 | .word 0xab814006 ! 384: WR_CLEAR_SOFTINT_R wr %r5, %r6, %clear_softint | |
9315 | splash_cmpr_3_211: | |
9316 | setx 0xc82f03e1e6a6cfd6, %g2, %g1 | |
9317 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
9318 | sub %g1, 100, %g1 | |
9319 | .word 0xb1800001 ! 385: WR_STICK_REG_R wr %r0, %r1, %- | |
9320 | .word 0xe0c804a0 ! 386: LDSBA_R ldsba [%r0, %r0] 0x25, %r16 | |
9321 | .word 0x97a289c9 ! 387: FDIVd fdivd %f10, %f40, %f42 | |
9322 | .word 0x91d02033 ! 388: Tcc_I ta icc_or_xcc, %r0 + 51 | |
9323 | splash_htba_3_212: | |
9324 | set 0x80000, %r12 | |
9325 | st %r1, [%r12+%r0] | |
9326 | ta T_CHANGE_HPRIV | |
9327 | set 0x80000, %r12 | |
9328 | .word 0x8b98000c ! 389: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9329 | change_to_randtl_3_213: | |
9330 | ta T_CHANGE_HPRIV ! macro | |
9331 | done_change_to_randtl_3_213: | |
9332 | .word 0x8f902001 ! 390: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9333 | .word 0x91d02032 ! 391: Tcc_I ta icc_or_xcc, %r0 + 50 | |
9334 | splash_lsu_3_214: | |
9335 | setx 0xcc702e25322d8c57, %r1, %r2 | |
9336 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9337 | .word 0x3d400001 ! 392: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9338 | setx 0x5cc3dae3e467e041, %r1, %r28 | |
9339 | stxa %r28, [%g0] 0x73 | |
9340 | intvec_3_215: | |
9341 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9342 | intveclr_3_216: | |
9343 | setx 0x5cfec46a29608f84, %r1, %r28 | |
9344 | stxa %r28, [%g0] 0x72 | |
9345 | .word 0x25400001 ! 394: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9346 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
9347 | ta T_CHANGE_NONHPRIV ! macro | |
9348 | .word 0xa7a01970 ! 395: FqTOd dis not found | |
9349 | ||
9350 | .word 0xd097e010 ! 396: LDUHA_I lduha [%r31, + 0x0010] %asi, %r8 | |
9351 | .word 0xd09004a0 ! 397: LDUHA_R lduha [%r0, %r0] 0x25, %r8 | |
9352 | debug_3_218: | |
9353 | nop | |
9354 | mov 0x38, %r18 | |
9355 | .word 0xfef00b12 ! 398: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9356 | splash_hpstate_3_219: | |
9357 | .word 0x819829df ! 399: WRHPR_HPSTATE_I wrhpr %r0, 0x09df, %hpstate | |
9358 | DS_3_220: | |
9359 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
9360 | pdist %f16, %f20, %f16 | |
9361 | .word 0xa3b44312 ! 400: ALIGNADDRESS alignaddr %r17, %r18, %r17 | |
9362 | nop | |
9363 | nop | |
9364 | setx join_lbl_0_0, %g1, %g2 | |
9365 | jmp %g2 | |
9366 | nop | |
9367 | fork_lbl_0_3: | |
9368 | .word 0xa5b2cfe7 ! 1: FONES e %f18 | |
9369 | splash_lsu_2_0: | |
9370 | setx 0x81905cb4b7a266c5, %r1, %r2 | |
9371 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9372 | .word 0x3d400001 ! 2: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9373 | .word 0x91d02035 ! 3: Tcc_I ta icc_or_xcc, %r0 + 53 | |
9374 | .word 0x87802083 ! 4: WRASI_I wr %r0, 0x0083, %asi | |
9375 | debug_2_1: | |
9376 | nop | |
9377 | rd %pc, %r19 | |
9378 | add %r19, (64+56), %r19 | |
9379 | mov 0x38, %r18 | |
9380 | .word 0xe6f00b12 ! 5: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9381 | debug_2_2: | |
9382 | nop | |
9383 | mov 0x38, %r18 | |
9384 | .word 0xfef00b12 ! 6: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9385 | tagged_2_3: | |
9386 | taddcctv %r16, 0x1c54, %r17 | |
9387 | .word 0xe807f373 ! 7: LDUW_I lduw [%r31 + 0xfffff373], %r20 | |
9388 | splash_cmpr_2_4: | |
9389 | setx 0x287c69c3aa85dda2, %g2, %g1 | |
9390 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9391 | sub %g1, 100, %g1 | |
9392 | .word 0xb1800001 ! 8: WR_STICK_REG_R wr %r0, %r1, %- | |
9393 | .word 0x83d02035 ! 9: Tcc_I te icc_or_xcc, %r0 + 53 | |
9394 | .word 0xe88008a0 ! 10: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
9395 | .word 0xe88008a0 ! 11: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
9396 | DS_2_5: | |
9397 | .word 0x91a109cb ! 1: FDIVd fdivd %f4, %f42, %f8 | |
9398 | .word 0xbfe7c000 ! 12: SAVE_R save %r31, %r0, %r31 | |
9399 | .word 0xd85ff373 ! 13: LDX_I ldx [%r31 + 0xfffff373], %r12 | |
9400 | .word 0x8d802004 ! 14: WRFPRS_I wr %r0, 0x0004, %fprs | |
9401 | .word 0x83d02034 ! 15: Tcc_I te icc_or_xcc, %r0 + 52 | |
9402 | .word 0x9ba00165 ! 16: FABSq dis not found | |
9403 | ||
9404 | nop | |
9405 | mov 0x80, %g3 | |
9406 | stxa %g3, [%g3] 0x57 | |
9407 | .word 0xd45fc000 ! 17: LDX_R ldx [%r31 + %r0], %r10 | |
9408 | splash_hpstate_2_6: | |
9409 | .word 0x81982a1e ! 18: WRHPR_HPSTATE_I wrhpr %r0, 0x0a1e, %hpstate | |
9410 | .word 0xd4c804a0 ! 19: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
9411 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
9412 | ta T_CHANGE_NONHPRIV ! macro | |
9413 | .word 0x95a01973 ! 20: FqTOd dis not found | |
9414 | ||
9415 | nop | |
9416 | mov 0x80, %g3 | |
9417 | stxa %g3, [%g3] 0x57 | |
9418 | .word 0xd25fc000 ! 21: LDX_R ldx [%r31 + %r0], %r9 | |
9419 | .word 0xd2c7e010 ! 22: LDSWA_I ldswa [%r31, + 0x0010] %asi, %r9 | |
9420 | change_to_randtl_2_8: | |
9421 | ta T_CHANGE_PRIV ! macro | |
9422 | done_change_to_randtl_2_8: | |
9423 | .word 0x8f902001 ! 23: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9424 | memptr_2_9: | |
9425 | set user_data_start, %r31 | |
9426 | .word 0x85803f30 ! 24: WRCCR_I wr %r0, 0x1f30, %ccr | |
9427 | mondo_2_10: | |
9428 | nop | |
9429 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9430 | ||
9431 | stxa %r20, [%r0+0x3c0] %asi | |
9432 | .word 0x9d910010 ! 25: WRPR_WSTATE_R wrpr %r4, %r16, %wstate | |
9433 | .word 0x87902198 ! 26: WRPR_TT_I wrpr %r0, 0x0198, %tt | |
9434 | .word 0xd21ff185 ! 27: LDD_I ldd [%r31 + 0xfffff185], %r9 | |
9435 | .word 0xa1a01a6d ! 28: FqTOi fqtoi | |
9436 | change_to_randtl_2_11: | |
9437 | ta T_CHANGE_HPRIV ! macro | |
9438 | done_change_to_randtl_2_11: | |
9439 | .word 0x8f902003 ! 29: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
9440 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9441 | ta T_CHANGE_NONPRIV ! macro | |
9442 | .word 0xa96a393b ! 30: SDIVX_I sdivx %r8, 0xfffff93b, %r20 | |
9443 | .word 0xd68804a0 ! 31: LDUBA_R lduba [%r0, %r0] 0x25, %r11 | |
9444 | mov (2+1), %r10 | |
9445 | ta T_CHANGE_HPRIV | |
9446 | set sync_thr_counter2, %r23 | |
9447 | cas [%r23],%g0,%r10 !lock | |
9448 | brnz %r10, sma_2_13 | |
9449 | rd %asi, %r12 | |
9450 | wr %g0, 0x40, %asi | |
9451 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9452 | set 0x21fff, %g1 | |
9453 | stxa %g1, [%g0 + 0x80] %asi | |
9454 | wr %r12, %g0, %asi | |
9455 | st %g0, [%r23] | |
9456 | sma_2_13: | |
9457 | ta T_CHANGE_NONHPRIV | |
9458 | .word 0xd7e7e013 ! 32: CASA_R casa [%r31] %asi, %r19, %r11 | |
9459 | .word 0xd66fe760 ! 33: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
9460 | .word 0xd63fe760 ! 34: STD_I std %r11, [%r31 + 0x0760] | |
9461 | .word 0xd66fe760 ! 35: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
9462 | .word 0x87802004 ! 36: WRASI_I wr %r0, 0x0004, %asi | |
9463 | tagged_2_14: | |
9464 | tsubcctv %r16, 0x1e10, %r26 | |
9465 | .word 0xd607e760 ! 37: LDUW_I lduw [%r31 + 0x0760], %r11 | |
9466 | memptr_2_15: | |
9467 | set user_data_start, %r31 | |
9468 | .word 0x85836d6e ! 38: WRCCR_I wr %r13, 0x0d6e, %ccr | |
9469 | tagged_2_16: | |
9470 | tsubcctv %r20, 0x1ae2, %r12 | |
9471 | .word 0xd607e356 ! 39: LDUW_I lduw [%r31 + 0x0356], %r11 | |
9472 | .word 0x87902321 ! 40: WRPR_TT_I wrpr %r0, 0x0321, %tt | |
9473 | mondo_2_17: | |
9474 | nop | |
9475 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9476 | ||
9477 | stxa %r17, [%r0+0x3e0] %asi | |
9478 | .word 0x9d94c004 ! 41: WRPR_WSTATE_R wrpr %r19, %r4, %wstate | |
9479 | donret_2_18: | |
9480 | nop | |
9481 | rd %pc, %r12 | |
9482 | add %r12, (donretarg_2_18-donret_2_18), %r12 | |
9483 | mov 0x38, %r18 | |
9484 | stxa %r12, [%r18]0x58 | |
9485 | add %r12, 0x4, %r11 | |
9486 | wrpr %g0, 0x3, %tl | |
9487 | wrpr %g0, %r12, %tpc | |
9488 | wrpr %g0, %r11, %tnpc | |
9489 | wrpr %g0, %r13, %tstate | |
9490 | wrhpr %g0, %r14, %htstate | |
9491 | retry | |
9492 | donretarg_2_18: | |
9493 | .word 0xd6ffe356 ! 42: SWAPA_I swapa %r11, [%r31 + 0x0356] %asi | |
9494 | .word 0xd6cfe000 ! 43: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r11 | |
9495 | tagged_2_19: | |
9496 | taddcctv %r6, 0x1e26, %r14 | |
9497 | .word 0xd607e356 ! 44: LDUW_I lduw [%r31 + 0x0356], %r11 | |
9498 | ta T_CHANGE_HPRIV | |
9499 | mov (2+1), %r10 | |
9500 | set sync_thr_counter1, %r23 | |
9501 | cas [%r23],%g0,%r10 !lock | |
9502 | brnz %r10, cwq_2_20 | |
9503 | rd %asi, %r12 | |
9504 | wr %g0, 0x40, %asi | |
9505 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9506 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9507 | cmp %l1, 1 | |
9508 | bne cwq_2_20 | |
9509 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9510 | sub %l2, 0x40, %l2 | |
9511 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9512 | wr %r12, %g0, %asi | |
9513 | st %g0, [%r23] | |
9514 | cwq_2_20: | |
9515 | ta T_CHANGE_NONHPRIV | |
9516 | .word 0x93414000 ! 45: RDPC rd %pc, %r9 | |
9517 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_2_21)+24, 16, 16)) -> intp(2,1,3) | |
9518 | xir_2_21: | |
9519 | .word 0xa981ac3a ! 46: WR_SET_SOFTINT_I wr %r6, 0x0c3a, %set_softint | |
9520 | mondo_2_22: | |
9521 | nop | |
9522 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
9523 | ||
9524 | stxa %r4, [%r0+0x3c0] %asi | |
9525 | .word 0x9d950000 ! 47: WRPR_WSTATE_R wrpr %r20, %r0, %wstate | |
9526 | donret_2_23: | |
9527 | nop | |
9528 | rd %pc, %r12 | |
9529 | add %r12, (donretarg_2_23-donret_2_23-4), %r12 | |
9530 | mov 0x38, %r18 | |
9531 | stxa %r12, [%r18]0x58 | |
9532 | add %r12, 0x4, %r11 | |
9533 | wrpr %g0, 0x2, %tl | |
9534 | wrpr %g0, %r12, %tpc | |
9535 | wrpr %g0, %r11, %tnpc | |
9536 | wrpr %g0, %r13, %tstate | |
9537 | wrhpr %g0, %r14, %htstate | |
9538 | done | |
9539 | donretarg_2_23: | |
9540 | .word 0xd6ffe271 ! 48: SWAPA_I swapa %r11, [%r31 + 0x0271] %asi | |
9541 | mov (2+1), %r10 | |
9542 | ta T_CHANGE_HPRIV | |
9543 | set sync_thr_counter2, %r23 | |
9544 | cas [%r23],%g0,%r10 !lock | |
9545 | brnz %r10, sma_2_24 | |
9546 | rd %asi, %r12 | |
9547 | wr %g0, 0x40, %asi | |
9548 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9549 | set 0x21fff, %g1 | |
9550 | stxa %g1, [%g0 + 0x80] %asi | |
9551 | wr %r12, %g0, %asi | |
9552 | st %g0, [%r23] | |
9553 | sma_2_24: | |
9554 | ta T_CHANGE_NONHPRIV | |
9555 | .word 0xd7e7e006 ! 49: CASA_R casa [%r31] %asi, %r6, %r11 | |
9556 | .word 0xd647e271 ! 50: LDSW_I ldsw [%r31 + 0x0271], %r11 | |
9557 | .word 0xa1480000 ! 51: RDHPR_HPSTATE rdhpr %hpstate, %r16 | |
9558 | ta T_CHANGE_HPRIV | |
9559 | mov (2+1), %r10 | |
9560 | set sync_thr_counter1, %r23 | |
9561 | cas [%r23],%g0,%r10 !lock | |
9562 | brnz %r10, cwq_2_25 | |
9563 | rd %asi, %r12 | |
9564 | wr %g0, 0x40, %asi | |
9565 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9566 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9567 | cmp %l1, 1 | |
9568 | bne cwq_2_25 | |
9569 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9570 | sub %l2, 0x40, %l2 | |
9571 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9572 | wr %r12, %g0, %asi | |
9573 | st %g0, [%r23] | |
9574 | cwq_2_25: | |
9575 | ta T_CHANGE_NONHPRIV | |
9576 | .word 0x9b414000 ! 52: RDPC rd %pc, %r13 | |
9577 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_26) + 0, 16, 16)) -> intp(3,0,28) | |
9578 | intvec_2_26: | |
9579 | .word 0x39400001 ! 53: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9580 | .word 0xe657e271 ! 54: LDSH_I ldsh [%r31 + 0x0271], %r19 | |
9581 | intveclr_2_27: | |
9582 | setx 0x3647ffaa7754611b, %r1, %r28 | |
9583 | stxa %r28, [%g0] 0x72 | |
9584 | .word 0x25400001 ! 55: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9585 | .word 0xe6800c40 ! 56: LDUWA_R lduwa [%r0, %r0] 0x62, %r19 | |
9586 | .word 0xe737c000 ! 57: STQF_R - %f19, [%r0, %r31] | |
9587 | pmu_2_28: | |
9588 | nop | |
9589 | setx 0xfffffbc7fffff170, %g1, %g7 | |
9590 | .word 0xa3800007 ! 58: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
9591 | .word 0xe68804a0 ! 59: LDUBA_R lduba [%r0, %r0] 0x25, %r19 | |
9592 | intveclr_2_29: | |
9593 | setx 0xc3aa0eb46603850c, %r1, %r28 | |
9594 | stxa %r28, [%g0] 0x72 | |
9595 | .word 0x25400001 ! 60: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9596 | memptr_2_30: | |
9597 | set user_data_start, %r31 | |
9598 | .word 0x85843e19 ! 61: WRCCR_I wr %r16, 0x1e19, %ccr | |
9599 | debug_2_31: | |
9600 | nop | |
9601 | rd %pc, %r19 | |
9602 | add %r19, (64+8), %r19 | |
9603 | mov 0x38, %r18 | |
9604 | .word 0xe6f00b12 ! 62: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
9605 | .word 0x87802010 ! 63: WRASI_I wr %r0, 0x0010, %asi | |
9606 | invalw | |
9607 | mov 0xb1, %r30 | |
9608 | .word 0x93d0001e ! 64: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
9609 | .word 0xe69ff3b4 ! 65: LDDA_I ldda [%r31, + 0xfffff3b4] %asi, %r19 | |
9610 | .word 0xe69004a0 ! 66: LDUHA_R lduha [%r0, %r0] 0x25, %r19 | |
9611 | .word 0x91d020b4 ! 67: Tcc_I ta icc_or_xcc, %r0 + 180 | |
9612 | .word 0xe68008a0 ! 68: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
9613 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9614 | ta T_CHANGE_NONPRIV ! macro | |
9615 | .word 0x9ba01963 ! 69: FqTOd dis not found | |
9616 | ||
9617 | .word 0xd2800b80 ! 70: LDUWA_R lduwa [%r0, %r0] 0x5c, %r9 | |
9618 | splash_cmpr_2_33: | |
9619 | setx 0x1dc7986d2aa217be, %g2, %g1 | |
9620 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
9621 | sub %g1, 100, %g1 | |
9622 | .word 0xb1800001 ! 71: WR_STICK_REG_R wr %r0, %r1, %- | |
9623 | intveclr_2_34: | |
9624 | setx 0x30328a8bf5452886, %r1, %r28 | |
9625 | stxa %r28, [%g0] 0x72 | |
9626 | .word 0x25400001 ! 72: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9627 | splash_cmpr_2_35: | |
9628 | setx 0x876305f3f26cbaa8, %g2, %g1 | |
9629 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9630 | sub %g1, 100, %g1 | |
9631 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
9632 | intveclr_2_36: | |
9633 | setx 0x934dfa4a6629e24e, %r1, %r28 | |
9634 | stxa %r28, [%g0] 0x72 | |
9635 | .word 0x25400001 ! 74: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9636 | otherw | |
9637 | mov 0x30, %r30 | |
9638 | .word 0x91d0001e ! 75: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9639 | .word 0xa9850001 ! 76: WR_SET_SOFTINT_R wr %r20, %r1, %set_softint | |
9640 | intveclr_2_37: | |
9641 | setx 0x0634fb89df3e2301, %r1, %r28 | |
9642 | stxa %r28, [%g0] 0x72 | |
9643 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9644 | intveclr_2_38: | |
9645 | setx 0x6ef9e4bf790dca00, %r1, %r28 | |
9646 | stxa %r28, [%g0] 0x72 | |
9647 | .word 0x25400001 ! 78: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9648 | .word 0x83d020b2 ! 79: Tcc_I te icc_or_xcc, %r0 + 178 | |
9649 | DS_2_39: | |
9650 | .word 0x91a209cb ! 1: FDIVd fdivd %f8, %f42, %f8 | |
9651 | .word 0xa9a509d2 ! 1: FDIVd fdivd %f20, %f18, %f20 | |
9652 | .word 0x95a00553 ! 1: FSQRTd fsqrt | |
9653 | .word 0x95a10833 ! 80: FADDs fadds %f4, %f19, %f10 | |
9654 | .word 0xd41fc000 ! 81: LDD_R ldd [%r31 + %r0], %r10 | |
9655 | .word 0x8780201c ! 82: WRASI_I wr %r0, 0x001c, %asi | |
9656 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_40) + 40, 16, 16)) -> intp(6,0,8) | |
9657 | intvec_2_40: | |
9658 | .word 0x39400001 ! 83: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9659 | .word 0xd48804a0 ! 84: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
9660 | .word 0x879020f2 ! 85: WRPR_TT_I wrpr %r0, 0x00f2, %tt | |
9661 | setx 0x786d96a08f458267, %r1, %r28 | |
9662 | stxa %r28, [%g0] 0x73 | |
9663 | intvec_2_41: | |
9664 | .word 0x39400001 ! 86: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9665 | .word 0x93a0016a ! 87: FABSq dis not found | |
9666 | ||
9667 | rd %pc, %r19 | |
9668 | add %r19, (ivw_2_42-.+56), %r19 | |
9669 | mov 0x38, %r18 | |
9670 | stxa %r19, [%r18]0x58 | |
9671 | ivw_2_42: | |
9672 | .word 0x91934011 ! 88: WRPR_PIL_R wrpr %r13, %r17, %pil | |
9673 | .word 0x87802088 ! 89: WRASI_I wr %r0, 0x0088, %asi | |
9674 | .word 0xa1902008 ! 90: WRPR_GL_I wrpr %r0, 0x0008, %- | |
9675 | splash_cmpr_2_43: | |
9676 | setx 0x9de69f6e316c4e7f, %g2, %g1 | |
9677 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9678 | sub %g1, 100, %g1 | |
9679 | .word 0xb1800001 ! 91: WR_STICK_REG_R wr %r0, %r1, %- | |
9680 | .word 0xe3e7c028 ! 92: CASA_I casa [%r31] 0x 1, %r8, %r17 | |
9681 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9682 | ta T_CHANGE_NONPRIV ! macro | |
9683 | .word 0x9969a1d2 ! 93: SDIVX_I sdivx %r6, 0x01d2, %r12 | |
9684 | debug_2_45: | |
9685 | nop | |
9686 | mov 8, %r18 | |
9687 | .word 0xd2f00492 ! 94: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
9688 | .word 0x8d9029e5 ! 95: WRPR_PSTATE_I wrpr %r0, 0x09e5, %pstate | |
9689 | .word 0x9550c000 ! 96: RDPR_TT <illegal instruction> | |
9690 | mov (2+1), %r10 | |
9691 | ta T_CHANGE_HPRIV | |
9692 | set sync_thr_counter2, %r23 | |
9693 | cas [%r23],%g0,%r10 !lock | |
9694 | brnz %r10, sma_2_46 | |
9695 | rd %asi, %r12 | |
9696 | wr %g0, 0x40, %asi | |
9697 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9698 | set 0x21fff, %g1 | |
9699 | stxa %g1, [%g0 + 0x80] %asi | |
9700 | wr %r12, %g0, %asi | |
9701 | st %g0, [%r23] | |
9702 | sma_2_46: | |
9703 | ta T_CHANGE_NONHPRIV | |
9704 | .word 0xd3e7e008 ! 97: CASA_R casa [%r31] %asi, %r8, %r9 | |
9705 | .word 0x97450000 ! 98: RD_SET_SOFTINT rd %set_softint, %r11 | |
9706 | .word 0x8d802004 ! 99: WRFPRS_I wr %r0, 0x0004, %fprs | |
9707 | .word 0xe48008a0 ! 100: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
9708 | .word 0x32800001 ! 101: BNE bne,a <label_0x1> | |
9709 | debug_2_47: | |
9710 | nop | |
9711 | mov 0x38, %r18 | |
9712 | .word 0xfef00b12 ! 102: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9713 | memptr_2_48: | |
9714 | set user_data_start, %r31 | |
9715 | .word 0x8582a5e3 ! 103: WRCCR_I wr %r10, 0x05e3, %ccr | |
9716 | .word 0xe537c000 ! 104: STQF_R - %f18, [%r0, %r31] | |
9717 | mov (2+1), %r10 | |
9718 | ta T_CHANGE_HPRIV | |
9719 | set sync_thr_counter2, %r23 | |
9720 | cas [%r23],%g0,%r10 !lock | |
9721 | brnz %r10, sma_2_49 | |
9722 | rd %asi, %r12 | |
9723 | wr %g0, 0x40, %asi | |
9724 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9725 | set 0x21fff, %g1 | |
9726 | stxa %g1, [%g0 + 0x80] %asi | |
9727 | wr %r12, %g0, %asi | |
9728 | st %g0, [%r23] | |
9729 | sma_2_49: | |
9730 | ta T_CHANGE_NONHPRIV | |
9731 | .word 0xe5e7e008 ! 105: CASA_R casa [%r31] %asi, %r8, %r18 | |
9732 | intveclr_2_50: | |
9733 | setx 0xda15bdd766e97951, %r1, %r28 | |
9734 | stxa %r28, [%g0] 0x72 | |
9735 | .word 0x25400001 ! 106: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9736 | .word 0x87902096 ! 107: WRPR_TT_I wrpr %r0, 0x0096, %tt | |
9737 | .word 0x99a48dc5 ! 108: FdMULq fdmulq | |
9738 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9739 | ta T_CHANGE_NONHPRIV ! macro | |
9740 | .word 0x97a01974 ! 109: FqTOd dis not found | |
9741 | ||
9742 | cwp_2_52: | |
9743 | set user_data_start, %o7 | |
9744 | .word 0x93902006 ! 110: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
9745 | nop | |
9746 | mov 0x80, %g3 | |
9747 | stxa %g3, [%g3] 0x57 | |
9748 | .word 0xda5fc000 ! 111: LDX_R ldx [%r31 + %r0], %r13 | |
9749 | otherw | |
9750 | mov 0x32, %r30 | |
9751 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
9752 | intveclr_2_53: | |
9753 | setx 0xc3b6b0b0673cc822, %r1, %r28 | |
9754 | stxa %r28, [%g0] 0x72 | |
9755 | .word 0x25400001 ! 113: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9756 | .word 0xdad804a0 ! 114: LDXA_R ldxa [%r0, %r0] 0x25, %r13 | |
9757 | splash_hpstate_2_54: | |
9758 | .word 0x819820c4 ! 115: WRHPR_HPSTATE_I wrhpr %r0, 0x00c4, %hpstate | |
9759 | .word 0xa5684005 ! 116: SDIVX_R sdivx %r1, %r5, %r18 | |
9760 | splash_htba_2_55: | |
9761 | set 0x80000, %r12 | |
9762 | ld [%r12+%r0], %r1 | |
9763 | ta T_CHANGE_HPRIV | |
9764 | set 0x80000, %r12 | |
9765 | .word 0x8b98000c ! 117: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9766 | .word 0xd4c004a0 ! 118: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
9767 | splash_htba_2_56: | |
9768 | set 0x80000, %r12 | |
9769 | st %r1, [%r12+%r0] | |
9770 | ta T_CHANGE_HPRIV | |
9771 | set 0x80000, %r12 | |
9772 | .word 0x8b98000c ! 119: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9773 | debug_2_57: | |
9774 | nop | |
9775 | mov 8, %r18 | |
9776 | .word 0xdef00492 ! 120: STXA_R stxa %r15, [%r0 + %r18] 0x24 | |
9777 | .word 0x91d02035 ! 121: Tcc_I ta icc_or_xcc, %r0 + 53 | |
9778 | DS_2_58: | |
9779 | .word 0x93a449d2 ! 1: FDIVd fdivd %f48, %f18, %f40 | |
9780 | .word 0x97537ccb ! Random illegal ? | |
9781 | .word 0xa1a00540 ! 1: FSQRTd fsqrt | |
9782 | .word 0x93a34821 ! 122: FADDs fadds %f13, %f1, %f9 | |
9783 | .word 0x24800001 ! 123: BLE ble,a <label_0x1> | |
9784 | .word 0x93d02034 ! 124: Tcc_I tne icc_or_xcc, %r0 + 52 | |
9785 | .word 0xda0fee19 ! 125: LDUB_I ldub [%r31 + 0x0e19], %r13 | |
9786 | splash_lsu_2_59: | |
9787 | setx 0x03471e3e920a0691, %r1, %r2 | |
9788 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9789 | .word 0x3d400001 ! 126: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9790 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9791 | ta T_CHANGE_NONPRIV ! macro | |
9792 | .word 0x996cb3f9 ! 127: SDIVX_I sdivx %r18, 0xfffff3f9, %r12 | |
9793 | tagged_2_61: | |
9794 | taddcctv %r3, 0x126c, %r9 | |
9795 | .word 0xd607ec1e ! 128: LDUW_I lduw [%r31 + 0x0c1e], %r11 | |
9796 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_62) + 40, 16, 16)) -> intp(7,0,24) | |
9797 | intvec_2_62: | |
9798 | .word 0x39400001 ! 129: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9799 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9800 | ta T_CHANGE_NONHPRIV ! macro | |
9801 | .word 0xa5a01961 ! 130: FqTOd dis not found | |
9802 | ||
9803 | mov (2+1), %r10 | |
9804 | ta T_CHANGE_HPRIV | |
9805 | set sync_thr_counter2, %r23 | |
9806 | cas [%r23],%g0,%r10 !lock | |
9807 | brnz %r10, sma_2_64 | |
9808 | rd %asi, %r12 | |
9809 | wr %g0, 0x40, %asi | |
9810 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9811 | set 0x21fff, %g1 | |
9812 | stxa %g1, [%g0 + 0x80] %asi | |
9813 | wr %r12, %g0, %asi | |
9814 | st %g0, [%r23] | |
9815 | sma_2_64: | |
9816 | ta T_CHANGE_NONHPRIV | |
9817 | .word 0xd1e7e012 ! 131: CASA_R casa [%r31] %asi, %r18, %r8 | |
9818 | .word 0x9ba0016c ! 132: FABSq dis not found | |
9819 | ||
9820 | intveclr_2_65: | |
9821 | setx 0x5fb4f50d089cecc7, %r1, %r28 | |
9822 | stxa %r28, [%g0] 0x72 | |
9823 | .word 0x25400001 ! 133: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
9824 | .word 0xa1520000 ! 134: RDPR_PIL <illegal instruction> | |
9825 | .word 0xa9a009d1 ! 135: FDIVd fdivd %f0, %f48, %f20 | |
9826 | cwp_2_66: | |
9827 | set user_data_start, %o7 | |
9828 | .word 0x93902000 ! 136: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
9829 | .word 0xa984c00c ! 137: WR_SET_SOFTINT_R wr %r19, %r12, %set_softint | |
9830 | .word 0xe0c004a0 ! 138: LDSWA_R ldswa [%r0, %r0] 0x25, %r16 | |
9831 | splash_hpstate_2_67: | |
9832 | .word 0x819822d5 ! 139: WRHPR_HPSTATE_I wrhpr %r0, 0x02d5, %hpstate | |
9833 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
9834 | ta T_CHANGE_NONPRIV ! macro | |
9835 | .word 0xa9a01964 ! 140: FqTOd dis not found | |
9836 | ||
9837 | mov (2+1), %r10 | |
9838 | ta T_CHANGE_HPRIV | |
9839 | set sync_thr_counter2, %r23 | |
9840 | cas [%r23],%g0,%r10 !lock | |
9841 | brnz %r10, sma_2_69 | |
9842 | rd %asi, %r12 | |
9843 | wr %g0, 0x40, %asi | |
9844 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9845 | set 0x21fff, %g1 | |
9846 | stxa %g1, [%g0 + 0x80] %asi | |
9847 | wr %r12, %g0, %asi | |
9848 | st %g0, [%r23] | |
9849 | sma_2_69: | |
9850 | ta T_CHANGE_NONHPRIV | |
9851 | .word 0xe7e7e003 ! 141: CASA_R casa [%r31] %asi, %r3, %r19 | |
9852 | ta T_CHANGE_HPRIV | |
9853 | mov (2+1), %r10 | |
9854 | set sync_thr_counter1, %r23 | |
9855 | cas [%r23],%g0,%r10 !lock | |
9856 | brnz %r10, cwq_2_70 | |
9857 | rd %asi, %r12 | |
9858 | wr %g0, 0x40, %asi | |
9859 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9860 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9861 | cmp %l1, 1 | |
9862 | bne cwq_2_70 | |
9863 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9864 | sub %l2, 0x40, %l2 | |
9865 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9866 | wr %r12, %g0, %asi | |
9867 | st %g0, [%r23] | |
9868 | cwq_2_70: | |
9869 | ta T_CHANGE_NONHPRIV | |
9870 | .word 0x97414000 ! 142: RDPC rd %pc, %r11 | |
9871 | .word 0xe2900e80 ! 143: LDUHA_R lduha [%r0, %r0] 0x74, %r17 | |
9872 | ta T_CHANGE_HPRIV | |
9873 | mov (2+1), %r10 | |
9874 | set sync_thr_counter1, %r23 | |
9875 | cas [%r23],%g0,%r10 !lock | |
9876 | brnz %r10, cwq_2_71 | |
9877 | rd %asi, %r12 | |
9878 | wr %g0, 0x40, %asi | |
9879 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
9880 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
9881 | cmp %l1, 1 | |
9882 | bne cwq_2_71 | |
9883 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
9884 | sub %l2, 0x40, %l2 | |
9885 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
9886 | wr %r12, %g0, %asi | |
9887 | st %g0, [%r23] | |
9888 | cwq_2_71: | |
9889 | ta T_CHANGE_NONHPRIV | |
9890 | .word 0xa1414000 ! 144: RDPC rd %pc, %r16 | |
9891 | invalw | |
9892 | mov 0xb3, %r30 | |
9893 | .word 0x83d0001e ! 145: Tcc_R te icc_or_xcc, %r0 + %r30 | |
9894 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_72) + 40, 16, 16)) -> intp(7,0,30) | |
9895 | intvec_2_72: | |
9896 | .word 0x39400001 ! 146: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
9897 | .word 0x879021bc ! 147: WRPR_TT_I wrpr %r0, 0x01bc, %tt | |
9898 | .word 0x93a009d4 ! 148: FDIVd fdivd %f0, %f20, %f40 | |
9899 | .word 0xd6c7e010 ! 149: LDSWA_I ldswa [%r31, + 0x0010] %asi, %r11 | |
9900 | change_to_randtl_2_73: | |
9901 | ta T_CHANGE_HPRIV ! macro | |
9902 | done_change_to_randtl_2_73: | |
9903 | .word 0x8f902000 ! 150: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
9904 | .word 0x8d903de2 ! 151: WRPR_PSTATE_I wrpr %r0, 0x1de2, %pstate | |
9905 | memptr_2_74: | |
9906 | set 0x60540000, %r31 | |
9907 | .word 0x85806eff ! 152: WRCCR_I wr %r1, 0x0eff, %ccr | |
9908 | .word 0xd727e6f2 ! 153: STF_I st %f11, [0x06f2, %r31] | |
9909 | mov (2+1), %r10 | |
9910 | ta T_CHANGE_HPRIV | |
9911 | set sync_thr_counter2, %r23 | |
9912 | cas [%r23],%g0,%r10 !lock | |
9913 | brnz %r10, sma_2_75 | |
9914 | rd %asi, %r12 | |
9915 | wr %g0, 0x40, %asi | |
9916 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
9917 | set 0x21fff, %g1 | |
9918 | stxa %g1, [%g0 + 0x80] %asi | |
9919 | wr %r12, %g0, %asi | |
9920 | st %g0, [%r23] | |
9921 | sma_2_75: | |
9922 | ta T_CHANGE_NONHPRIV | |
9923 | .word 0xd7e7e013 ! 154: CASA_R casa [%r31] %asi, %r19, %r11 | |
9924 | splash_cmpr_2_76: | |
9925 | setx 0x7436ac86636cf11d, %g2, %g1 | |
9926 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
9927 | sub %g1, 100, %g1 | |
9928 | .word 0xb1800001 ! 155: WR_STICK_REG_R wr %r0, %r1, %- | |
9929 | .word 0x9950c000 ! 156: RDPR_TT <illegal instruction> | |
9930 | .word 0x3e700001 ! 157: BPVC <illegal instruction> | |
9931 | .word 0xd8d804a0 ! 158: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
9932 | rd %pc, %r19 | |
9933 | add %r19, (ivw_2_77-.+48), %r19 | |
9934 | mov 0x38, %r18 | |
9935 | stxa %r19, [%r18]0x58 | |
9936 | ivw_2_77: | |
9937 | .word 0x91914001 ! 159: WRPR_PIL_R wrpr %r5, %r1, %pil | |
9938 | .word 0x8d9023d2 ! 160: WRPR_PSTATE_I wrpr %r0, 0x03d2, %pstate | |
9939 | .word 0xd88804a0 ! 161: LDUBA_R lduba [%r0, %r0] 0x25, %r12 | |
9940 | .word 0xab80ba0e ! 162: WR_CLEAR_SOFTINT_I wr %r2, 0x1a0e, %clear_softint | |
9941 | splash_lsu_2_78: | |
9942 | setx 0x611f3e82a9d78c99, %r1, %r2 | |
9943 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9944 | .word 0x3d400001 ! 163: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9945 | .word 0xd80fecf5 ! 164: LDUB_I ldub [%r31 + 0x0cf5], %r12 | |
9946 | splash_cmpr_2_79: | |
9947 | setx 0x7e9914f650374b3d, %g2, %g1 | |
9948 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
9949 | sub %g1, 100, %g1 | |
9950 | .word 0xb1800001 ! 165: WR_STICK_REG_R wr %r0, %r1, %- | |
9951 | debug_2_80: | |
9952 | nop | |
9953 | mov 0x38, %r18 | |
9954 | .word 0xfef00b12 ! 166: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
9955 | splash_hpstate_2_81: | |
9956 | .word 0x81982615 ! 167: WRHPR_HPSTATE_I wrhpr %r0, 0x0615, %hpstate | |
9957 | splash_htba_2_82: | |
9958 | set 0x80000, %r12 | |
9959 | st %r1, [%r12+%r0] | |
9960 | ta T_CHANGE_HPRIV | |
9961 | set 0x80000, %r12 | |
9962 | .word 0x8b98000c ! 168: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
9963 | splash_tba_2_83: | |
9964 | set 0x120000, %r12 | |
9965 | ld [%r12+%r0], %r1 | |
9966 | ta T_CHANGE_PRIV | |
9967 | set 0x120000, %r12 | |
9968 | .word 0x8b90000c ! 169: WRPR_TBA_R wrpr %r0, %r12, %tba | |
9969 | .word 0x95a189c3 ! 170: FDIVd fdivd %f6, %f34, %f10 | |
9970 | splash_lsu_2_84: | |
9971 | setx 0xd91f0fde6225cfb7, %r1, %r2 | |
9972 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
9973 | .word 0x3d400001 ! 171: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
9974 | .word 0x87802083 ! 172: WRASI_I wr %r0, 0x0083, %asi | |
9975 | .word 0x87802055 ! 173: WRASI_I wr %r0, 0x0055, %asi | |
9976 | DS_2_85: | |
9977 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
9978 | .word 0xbfefc000 ! 174: RESTORE_R restore %r31, %r0, %r31 | |
9979 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
9980 | ta T_CHANGE_NONPRIV ! macro | |
9981 | .word 0x93a01961 ! 175: FqTOd dis not found | |
9982 | ||
9983 | DS_2_87: | |
9984 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
9985 | allclean | |
9986 | .word 0xa5b4030c ! 176: ALIGNADDRESS alignaddr %r16, %r12, %r18 | |
9987 | splash_hpstate_2_88: | |
9988 | .word 0x81982385 ! 177: WRHPR_HPSTATE_I wrhpr %r0, 0x0385, %hpstate | |
9989 | .word 0x94da0012 ! 178: SMULcc_R smulcc %r8, %r18, %r10 | |
9990 | .word 0x87802004 ! 179: WRASI_I wr %r0, 0x0004, %asi | |
9991 | splash_hpstate_2_89: | |
9992 | .word 0x81982105 ! 180: WRHPR_HPSTATE_I wrhpr %r0, 0x0105, %hpstate | |
9993 | .word 0xd44fecf5 ! 181: LDSB_I ldsb [%r31 + 0x0cf5], %r10 | |
9994 | debug_2_90: | |
9995 | nop | |
9996 | mov 8, %r18 | |
9997 | .word 0xe2f00492 ! 182: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
9998 | .word 0xd4cfe020 ! 183: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r10 | |
9999 | splash_hpstate_2_91: | |
10000 | .word 0x8198231c ! 184: WRHPR_HPSTATE_I wrhpr %r0, 0x031c, %hpstate | |
10001 | debug_2_92: | |
10002 | nop | |
10003 | mov 0x38, %r18 | |
10004 | .word 0xfef00b12 ! 185: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10005 | splash_cmpr_2_93: | |
10006 | setx 0x58cc82a4e7fbf53e, %g2, %g1 | |
10007 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
10008 | sub %g1, 100, %g1 | |
10009 | .word 0xb1800001 ! 186: WR_STICK_REG_R wr %r0, %r1, %- | |
10010 | DS_2_94: | |
10011 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
10012 | .word 0xb342aaa4 ! Random illegal ? | |
10013 | .word 0x93a449c9 ! 1: FDIVd fdivd %f48, %f40, %f40 | |
10014 | .word 0x9ba1c832 ! 187: FADDs fadds %f7, %f18, %f13 | |
10015 | ta T_CHANGE_HPRIV | |
10016 | mov (2+1), %r10 | |
10017 | set sync_thr_counter1, %r23 | |
10018 | cas [%r23],%g0,%r10 !lock | |
10019 | brnz %r10, cwq_2_95 | |
10020 | rd %asi, %r12 | |
10021 | wr %g0, 0x40, %asi | |
10022 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10023 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10024 | cmp %l1, 1 | |
10025 | bne cwq_2_95 | |
10026 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10027 | sub %l2, 0x40, %l2 | |
10028 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10029 | wr %r12, %g0, %asi | |
10030 | st %g0, [%r23] | |
10031 | cwq_2_95: | |
10032 | ta T_CHANGE_NONHPRIV | |
10033 | .word 0x99414000 ! 188: RDPC rd %pc, %r12 | |
10034 | .word 0xe88fe000 ! 189: LDUBA_I lduba [%r31, + 0x0000] %asi, %r20 | |
10035 | splash_lsu_2_96: | |
10036 | setx 0xf4038589e202cd13, %r1, %r2 | |
10037 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10038 | .word 0x3d400001 ! 190: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10039 | .word 0xa5a249e4 ! 191: FDIVq dis not found | |
10040 | ||
10041 | cwp_2_97: | |
10042 | set user_data_start, %o7 | |
10043 | .word 0x93902003 ! 192: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
10044 | splash_decr_2_98: | |
10045 | nop | |
10046 | ta T_CHANGE_HPRIV | |
10047 | mov 8, %r1 | |
10048 | stxa %r14, [%r1] 0x45 | |
10049 | .word 0xa781c013 ! 193: WR_GRAPHICS_STATUS_REG_R wr %r7, %r19, %- | |
10050 | .word 0x8790231e ! 194: WRPR_TT_I wrpr %r0, 0x031e, %tt | |
10051 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10052 | ta T_CHANGE_NONHPRIV ! macro | |
10053 | .word 0x93a01974 ! 195: FqTOd dis not found | |
10054 | ||
10055 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_100) + 0, 16, 16)) -> intp(5,0,18) | |
10056 | intvec_2_100: | |
10057 | .word 0x39400001 ! 196: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10058 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10059 | ta T_CHANGE_NONHPRIV ! macro | |
10060 | .word 0x93a01963 ! 197: FqTOd dis not found | |
10061 | ||
10062 | intveclr_2_102: | |
10063 | setx 0x388d828b820763a2, %r1, %r28 | |
10064 | stxa %r28, [%g0] 0x72 | |
10065 | .word 0x25400001 ! 198: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10066 | mondo_2_103: | |
10067 | nop | |
10068 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10069 | ||
10070 | stxa %r17, [%r0+0x3d0] %asi | |
10071 | .word 0x9d90c001 ! 199: WRPR_WSTATE_R wrpr %r3, %r1, %wstate | |
10072 | memptr_2_104: | |
10073 | set 0x60140000, %r31 | |
10074 | .word 0x85803b67 ! 200: WRCCR_I wr %r0, 0x1b67, %ccr | |
10075 | .word 0x87802004 ! 201: WRASI_I wr %r0, 0x0004, %asi | |
10076 | .word 0xa9814010 ! 202: WR_SET_SOFTINT_R wr %r5, %r16, %set_softint | |
10077 | .word 0x87802088 ! 203: WRASI_I wr %r0, 0x0088, %asi | |
10078 | DS_2_105: | |
10079 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
10080 | .word 0xbfefc000 ! 204: RESTORE_R restore %r31, %r0, %r31 | |
10081 | .word 0x26800001 ! 205: BL bl,a <label_0x1> | |
10082 | .word 0xe0d00e60 ! 206: LDSHA_R ldsha [%r0, %r0] 0x73, %r16 | |
10083 | debug_2_106: | |
10084 | nop | |
10085 | rd %pc, %r19 | |
10086 | add %r19, (64+16), %r19 | |
10087 | mov 0x38, %r18 | |
10088 | .word 0xe6f00b12 ! 207: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10089 | debug_2_107: | |
10090 | nop | |
10091 | mov 0x38, %r18 | |
10092 | .word 0xfef00b12 ! 208: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10093 | .word 0x8d90313e ! 209: WRPR_PSTATE_I wrpr %r0, 0x113e, %pstate | |
10094 | .word 0x2c700001 ! 210: BPNEG <illegal instruction> | |
10095 | .word 0x99902002 ! 211: WRPR_CLEANWIN_I wrpr %r0, 0x0002, %cleanwin | |
10096 | mov (2+1), %r10 | |
10097 | ta T_CHANGE_HPRIV | |
10098 | set sync_thr_counter2, %r23 | |
10099 | cas [%r23],%g0,%r10 !lock | |
10100 | brnz %r10, sma_2_108 | |
10101 | rd %asi, %r12 | |
10102 | wr %g0, 0x40, %asi | |
10103 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10104 | set 0x21fff, %g1 | |
10105 | stxa %g1, [%g0 + 0x80] %asi | |
10106 | wr %r12, %g0, %asi | |
10107 | st %g0, [%r23] | |
10108 | sma_2_108: | |
10109 | ta T_CHANGE_NONHPRIV | |
10110 | .word 0xe1e7e006 ! 212: CASA_R casa [%r31] %asi, %r6, %r16 | |
10111 | cwp_2_109: | |
10112 | set user_data_start, %o7 | |
10113 | .word 0x93902001 ! 213: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
10114 | ta T_CHANGE_HPRIV | |
10115 | mov (2+1), %r10 | |
10116 | set sync_thr_counter1, %r23 | |
10117 | cas [%r23],%g0,%r10 !lock | |
10118 | brnz %r10, cwq_2_110 | |
10119 | rd %asi, %r12 | |
10120 | wr %g0, 0x40, %asi | |
10121 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10122 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10123 | cmp %l1, 1 | |
10124 | bne cwq_2_110 | |
10125 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10126 | sub %l2, 0x40, %l2 | |
10127 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10128 | wr %r12, %g0, %asi | |
10129 | st %g0, [%r23] | |
10130 | cwq_2_110: | |
10131 | ta T_CHANGE_NONHPRIV | |
10132 | .word 0xa1414000 ! 214: RDPC rd %pc, %r16 | |
10133 | debug_2_111: | |
10134 | nop | |
10135 | mov 8, %r18 | |
10136 | .word 0xd2f00492 ! 215: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
10137 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10138 | ta T_CHANGE_NONPRIV ! macro | |
10139 | .word 0x996d3953 ! 216: SDIVX_I sdivx %r20, 0xfffff953, %r12 | |
10140 | .word 0xa190200d ! 217: WRPR_GL_I wrpr %r0, 0x000d, %- | |
10141 | debug_2_113: | |
10142 | nop | |
10143 | mov 0x38, %r18 | |
10144 | .word 0xfef00b12 ! 218: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10145 | invalw | |
10146 | mov 0x31, %r30 | |
10147 | .word 0x83d0001e ! 219: Tcc_R te icc_or_xcc, %r0 + %r30 | |
10148 | splash_tba_2_114: | |
10149 | set 0x003e0000, %r12 | |
10150 | st %r1, [%r12+%r0] | |
10151 | ta T_CHANGE_PRIV | |
10152 | set 0x003e0000, %r12 | |
10153 | .word 0x8b90000c ! 220: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10154 | .word 0x91450000 ! 221: RD_SET_SOFTINT rd %set_softint, %r8 | |
10155 | .word 0xd08008a0 ! 222: LDUWA_R lduwa [%r0, %r0] 0x45, %r8 | |
10156 | splash_hpstate_2_115: | |
10157 | .word 0x819825dd ! 223: WRHPR_HPSTATE_I wrhpr %r0, 0x05dd, %hpstate | |
10158 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_116) + 0, 16, 16)) -> intp(7,0,4) | |
10159 | intvec_2_116: | |
10160 | .word 0x39400001 ! 224: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10161 | ta T_CHANGE_HPRIV | |
10162 | mov (2+1), %r10 | |
10163 | set sync_thr_counter1, %r23 | |
10164 | cas [%r23],%g0,%r10 !lock | |
10165 | brnz %r10, cwq_2_117 | |
10166 | rd %asi, %r12 | |
10167 | wr %g0, 0x40, %asi | |
10168 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10169 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10170 | cmp %l1, 1 | |
10171 | bne cwq_2_117 | |
10172 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10173 | sub %l2, 0x40, %l2 | |
10174 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10175 | wr %r12, %g0, %asi | |
10176 | st %g0, [%r23] | |
10177 | cwq_2_117: | |
10178 | ta T_CHANGE_NONHPRIV | |
10179 | .word 0x93414000 ! 225: RDPC rd %pc, %r9 | |
10180 | .word 0x9953c000 ! 226: RDPR_FQ <illegal instruction> | |
10181 | memptr_2_118: | |
10182 | set 0x60140000, %r31 | |
10183 | .word 0x85823025 ! 227: WRCCR_I wr %r8, 0x1025, %ccr | |
10184 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10185 | ta T_CHANGE_NONHPRIV ! macro | |
10186 | .word 0x99a01974 ! 228: FqTOd dis not found | |
10187 | ||
10188 | .word 0x99a2c9c8 ! 229: FDIVd fdivd %f42, %f8, %f12 | |
10189 | .word 0x87802004 ! 230: WRASI_I wr %r0, 0x0004, %asi | |
10190 | splash_tba_2_120: | |
10191 | set 0x003e0000, %r12 | |
10192 | st %r1, [%r12+%r0] | |
10193 | ta T_CHANGE_PRIV | |
10194 | set 0x003e0000, %r12 | |
10195 | .word 0x8b90000c ! 231: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10196 | splash_cmpr_2_121: | |
10197 | setx 0x6d10b78dfb73e13c, %g2, %g1 | |
10198 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
10199 | sub %g1, 100, %g1 | |
10200 | .word 0xb1800001 ! 232: WR_STICK_REG_R wr %r0, %r1, %- | |
10201 | mov (2+1), %r10 | |
10202 | ta T_CHANGE_HPRIV | |
10203 | set sync_thr_counter2, %r23 | |
10204 | cas [%r23],%g0,%r10 !lock | |
10205 | brnz %r10, sma_2_122 | |
10206 | rd %asi, %r12 | |
10207 | wr %g0, 0x40, %asi | |
10208 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10209 | set 0x21fff, %g1 | |
10210 | stxa %g1, [%g0 + 0x80] %asi | |
10211 | wr %r12, %g0, %asi | |
10212 | st %g0, [%r23] | |
10213 | sma_2_122: | |
10214 | ta T_CHANGE_NONHPRIV | |
10215 | .word 0xd7e7e014 ! 233: CASA_R casa [%r31] %asi, %r20, %r11 | |
10216 | .word 0xd737e19a ! 234: STQF_I - %f11, [0x019a, %r31] | |
10217 | splash_hpstate_2_123: | |
10218 | .word 0x81982bcd ! 235: WRHPR_HPSTATE_I wrhpr %r0, 0x0bcd, %hpstate | |
10219 | .word 0x9193265b ! 236: WRPR_PIL_I wrpr %r12, 0x065b, %pil | |
10220 | change_to_randtl_2_124: | |
10221 | ta T_CHANGE_PRIV ! macro | |
10222 | done_change_to_randtl_2_124: | |
10223 | .word 0x8f902000 ! 237: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10224 | splash_cmpr_2_125: | |
10225 | setx 0x8ed2ebc42486c88a, %g2, %g1 | |
10226 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
10227 | sub %g1, 100, %g1 | |
10228 | .word 0xb1800001 ! 238: WR_STICK_REG_R wr %r0, %r1, %- | |
10229 | invalw | |
10230 | mov 0x30, %r30 | |
10231 | .word 0x93d0001e ! 239: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
10232 | ta T_CHANGE_HPRIV | |
10233 | mov (2+1), %r10 | |
10234 | set sync_thr_counter1, %r23 | |
10235 | cas [%r23],%g0,%r10 !lock | |
10236 | brnz %r10, cwq_2_126 | |
10237 | rd %asi, %r12 | |
10238 | wr %g0, 0x40, %asi | |
10239 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10240 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10241 | cmp %l1, 1 | |
10242 | bne cwq_2_126 | |
10243 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10244 | sub %l2, 0x40, %l2 | |
10245 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10246 | wr %r12, %g0, %asi | |
10247 | st %g0, [%r23] | |
10248 | cwq_2_126: | |
10249 | ta T_CHANGE_NONHPRIV | |
10250 | .word 0xa7414000 ! 240: RDPC rd %pc, %r19 | |
10251 | .word 0xe91fc000 ! 241: LDDF_R ldd [%r31, %r0], %f20 | |
10252 | change_to_randtl_2_127: | |
10253 | ta T_CHANGE_HPRIV ! macro | |
10254 | done_change_to_randtl_2_127: | |
10255 | .word 0x8f902001 ! 242: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10256 | .word 0x99a349d3 ! 243: FDIVd fdivd %f44, %f50, %f12 | |
10257 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10258 | ta T_CHANGE_NONPRIV ! macro | |
10259 | .word 0x916cfc54 ! 244: SDIVX_I sdivx %r19, 0xfffffc54, %r8 | |
10260 | .word 0xe28008a0 ! 245: LDUWA_R lduwa [%r0, %r0] 0x45, %r17 | |
10261 | cwp_2_129: | |
10262 | set user_data_start, %o7 | |
10263 | .word 0x93902001 ! 246: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
10264 | .word 0x91d020b2 ! 247: Tcc_I ta icc_or_xcc, %r0 + 178 | |
10265 | .word 0x30700001 ! 248: BPA <illegal instruction> | |
10266 | .word 0x87802004 ! 249: WRASI_I wr %r0, 0x0004, %asi | |
10267 | splash_cmpr_2_130: | |
10268 | setx 0x94d1201966943f15, %g2, %g1 | |
10269 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10270 | sub %g1, 100, %g1 | |
10271 | .word 0xb1800001 ! 250: WR_STICK_REG_R wr %r0, %r1, %- | |
10272 | change_to_randtl_2_131: | |
10273 | ta T_CHANGE_HPRIV ! macro | |
10274 | done_change_to_randtl_2_131: | |
10275 | .word 0x8f902001 ! 251: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10276 | .word 0xe31fc000 ! 252: LDDF_R ldd [%r31, %r0], %f17 | |
10277 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_2_132)+32, 16, 16)) -> intp(2,1,3) | |
10278 | xir_2_132: | |
10279 | .word 0xa9846687 ! 253: WR_SET_SOFTINT_I wr %r17, 0x0687, %set_softint | |
10280 | ta T_CHANGE_HPRIV | |
10281 | mov (2+1), %r10 | |
10282 | set sync_thr_counter1, %r23 | |
10283 | cas [%r23],%g0,%r10 !lock | |
10284 | brnz %r10, cwq_2_133 | |
10285 | rd %asi, %r12 | |
10286 | wr %g0, 0x40, %asi | |
10287 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10288 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10289 | cmp %l1, 1 | |
10290 | bne cwq_2_133 | |
10291 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10292 | sub %l2, 0x40, %l2 | |
10293 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10294 | wr %r12, %g0, %asi | |
10295 | st %g0, [%r23] | |
10296 | cwq_2_133: | |
10297 | ta T_CHANGE_NONHPRIV | |
10298 | .word 0x9b414000 ! 254: RDPC rd %pc, %r13 | |
10299 | DS_2_134: | |
10300 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
10301 | pdist %f30, %f10, %f6 | |
10302 | .word 0xa1b44301 ! 255: ALIGNADDRESS alignaddr %r17, %r1, %r16 | |
10303 | setx 0xfa8fd71dd55e982b, %r1, %r28 | |
10304 | stxa %r28, [%g0] 0x73 | |
10305 | intvec_2_135: | |
10306 | .word 0x39400001 ! 256: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10307 | .word 0x87902118 ! 257: WRPR_TT_I wrpr %r0, 0x0118, %tt | |
10308 | splash_tba_2_136: | |
10309 | set 0x120000, %r12 | |
10310 | st %r1, [%r12+%r0] | |
10311 | ta T_CHANGE_PRIV | |
10312 | set 0x120000, %r12 | |
10313 | .word 0x8b90000c ! 258: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10314 | .word 0x9b50c000 ! 259: RDPR_TT rdpr %tt, %r13 | |
10315 | mov (2+1), %r10 | |
10316 | ta T_CHANGE_HPRIV | |
10317 | set sync_thr_counter2, %r23 | |
10318 | cas [%r23],%g0,%r10 !lock | |
10319 | brnz %r10, sma_2_137 | |
10320 | rd %asi, %r12 | |
10321 | wr %g0, 0x40, %asi | |
10322 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10323 | set 0x21fff, %g1 | |
10324 | stxa %g1, [%g0 + 0x80] %asi | |
10325 | wr %r12, %g0, %asi | |
10326 | st %g0, [%r23] | |
10327 | sma_2_137: | |
10328 | ta T_CHANGE_NONHPRIV | |
10329 | .word 0xd5e7e001 ! 260: CASA_R casa [%r31] %asi, %r1, %r10 | |
10330 | .word 0x8d902ab4 ! 261: WRPR_PSTATE_I wrpr %r0, 0x0ab4, %pstate | |
10331 | DS_2_138: | |
10332 | .word 0x93a489d0 ! 1: FDIVd fdivd %f18, %f16, %f40 | |
10333 | .word 0xbfefc000 ! 262: RESTORE_R restore %r31, %r0, %r31 | |
10334 | splash_tba_2_139: | |
10335 | set 0x120000, %r12 | |
10336 | ld [%r12+%r0], %r1 | |
10337 | ta T_CHANGE_PRIV | |
10338 | set 0x120000, %r12 | |
10339 | .word 0x8b90000c ! 263: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10340 | DS_2_140: | |
10341 | nop | |
10342 | not %g0, %r12 | |
10343 | jmp %r12 | |
10344 | .word 0x9d902005 ! 264: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
10345 | tagged_2_141: | |
10346 | taddcctv %r23, 0x1494, %r15 | |
10347 | .word 0xd407e18a ! 265: LDUW_I lduw [%r31 + 0x018a], %r10 | |
10348 | .word 0xd46fe18a ! 266: LDSTUB_I ldstub %r10, [%r31 + 0x018a] | |
10349 | .word 0xa9a00172 ! 267: FABSq dis not found | |
10350 | ||
10351 | .word 0x879022ec ! 268: WRPR_TT_I wrpr %r0, 0x02ec, %tt | |
10352 | change_to_randtl_2_142: | |
10353 | ta T_CHANGE_PRIV ! macro | |
10354 | done_change_to_randtl_2_142: | |
10355 | .word 0x8f902001 ! 269: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10356 | .word 0x95a149c7 ! 270: FDIVd fdivd %f36, %f38, %f10 | |
10357 | .word 0xd02fe18a ! 271: STB_I stb %r8, [%r31 + 0x018a] | |
10358 | .word 0x91450000 ! 272: RD_SET_SOFTINT rd %set_softint, %r8 | |
10359 | splash_tba_2_143: | |
10360 | set 0x120000, %r12 | |
10361 | ld [%r12+%r0], %r1 | |
10362 | ta T_CHANGE_PRIV | |
10363 | set 0x120000, %r12 | |
10364 | .word 0x8b90000c ! 273: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10365 | .word 0x879020a9 ! 274: WRPR_TT_I wrpr %r0, 0x00a9, %tt | |
10366 | ta T_CHANGE_HPRIV | |
10367 | mov (2+1), %r10 | |
10368 | set sync_thr_counter1, %r23 | |
10369 | cas [%r23],%g0,%r10 !lock | |
10370 | brnz %r10, cwq_2_144 | |
10371 | rd %asi, %r12 | |
10372 | wr %g0, 0x40, %asi | |
10373 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10374 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10375 | cmp %l1, 1 | |
10376 | bne cwq_2_144 | |
10377 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10378 | sub %l2, 0x40, %l2 | |
10379 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10380 | wr %r12, %g0, %asi | |
10381 | st %g0, [%r23] | |
10382 | cwq_2_144: | |
10383 | ta T_CHANGE_NONHPRIV | |
10384 | .word 0x91414000 ! 275: RDPC rd %pc, %r8 | |
10385 | splash_decr_2_145: | |
10386 | nop | |
10387 | ta T_CHANGE_HPRIV | |
10388 | mov 8, %r1 | |
10389 | stxa %r15, [%r1] 0x45 | |
10390 | .word 0xa7818009 ! 276: WR_GRAPHICS_STATUS_REG_R wr %r6, %r9, %- | |
10391 | nop | |
10392 | mov 0x80, %g3 | |
10393 | stxa %g3, [%g3] 0x57 | |
10394 | .word 0xe45fc000 ! 277: LDX_R ldx [%r31 + %r0], %r18 | |
10395 | .word 0x2e800001 ! 278: BVS bvs,a <label_0x1> | |
10396 | debug_2_146: | |
10397 | nop | |
10398 | mov 0x38, %r18 | |
10399 | .word 0xfef00b12 ! 279: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10400 | debug_2_147: | |
10401 | nop | |
10402 | mov 8, %r18 | |
10403 | .word 0xe8f00492 ! 280: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
10404 | splash_tba_2_148: | |
10405 | set 0x120000, %r12 | |
10406 | st %r1, [%r12+%r0] | |
10407 | ta T_CHANGE_PRIV | |
10408 | set 0x120000, %r12 | |
10409 | .word 0x8b90000c ! 281: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10410 | .word 0x8790200c ! 282: WRPR_TT_I wrpr %r0, 0x000c, %tt | |
10411 | splash_tba_2_149: | |
10412 | set 0x120000, %r12 | |
10413 | ld [%r12+%r0], %r1 | |
10414 | ta T_CHANGE_PRIV | |
10415 | set 0x120000, %r12 | |
10416 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10417 | intveclr_2_150: | |
10418 | setx 0xc2f9aae2bec8ff6f, %r1, %r28 | |
10419 | stxa %r28, [%g0] 0x72 | |
10420 | .word 0x25400001 ! 284: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10421 | nop | |
10422 | mov 0x80, %g3 | |
10423 | stxa %g3, [%g3] 0x57 | |
10424 | .word 0xe45fc000 ! 285: LDX_R ldx [%r31 + %r0], %r18 | |
10425 | debug_2_151: | |
10426 | nop | |
10427 | rd %pc, %r19 | |
10428 | add %r19, (64+16), %r19 | |
10429 | mov 0x38, %r18 | |
10430 | .word 0xe6f00b12 ! 286: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10431 | .word 0xe4800c80 ! 287: LDUWA_R lduwa [%r0, %r0] 0x64, %r18 | |
10432 | rd %pc, %r19 | |
10433 | add %r19, (ivw_2_152-.+24), %r19 | |
10434 | mov 0x38, %r18 | |
10435 | stxa %r19, [%r18]0x58 | |
10436 | ivw_2_152: | |
10437 | .word 0x91910012 ! 288: WRPR_PIL_R wrpr %r4, %r18, %pil | |
10438 | splash_cmpr_2_153: | |
10439 | setx 0xca24f8faf65d2ff9, %g2, %g1 | |
10440 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
10441 | sub %g1, 100, %g1 | |
10442 | .word 0xb1800001 ! 289: WR_STICK_REG_R wr %r0, %r1, %- | |
10443 | splash_cmpr_2_154: | |
10444 | setx 0xfe31cce42d4fa359, %g2, %g1 | |
10445 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10446 | sub %g1, 100, %g1 | |
10447 | .word 0xb1800001 ! 290: WR_STICK_REG_R wr %r0, %r1, %- | |
10448 | .word 0x8d802000 ! 291: WRFPRS_I wr %r0, 0x0000, %fprs | |
10449 | memptr_2_155: | |
10450 | set 0x60540000, %r31 | |
10451 | .word 0x858460ac ! 292: WRCCR_I wr %r17, 0x00ac, %ccr | |
10452 | mondo_2_156: | |
10453 | nop | |
10454 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10455 | ||
10456 | stxa %r19, [%r0+0x3c0] %asi | |
10457 | .word 0x9d94c009 ! 293: WRPR_WSTATE_R wrpr %r19, %r9, %wstate | |
10458 | ta T_CHANGE_HPRIV | |
10459 | mov (2+1), %r10 | |
10460 | set sync_thr_counter1, %r23 | |
10461 | cas [%r23],%g0,%r10 !lock | |
10462 | brnz %r10, cwq_2_157 | |
10463 | rd %asi, %r12 | |
10464 | wr %g0, 0x40, %asi | |
10465 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10466 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10467 | cmp %l1, 1 | |
10468 | bne cwq_2_157 | |
10469 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10470 | sub %l2, 0x40, %l2 | |
10471 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10472 | wr %r12, %g0, %asi | |
10473 | st %g0, [%r23] | |
10474 | cwq_2_157: | |
10475 | ta T_CHANGE_NONHPRIV | |
10476 | .word 0xa5414000 ! 294: RDPC rd %pc, %r18 | |
10477 | DS_2_158: | |
10478 | nop | |
10479 | not %g0, %r12 | |
10480 | jmp %r12 | |
10481 | .word 0x9d902004 ! 295: WRPR_WSTATE_I wrpr %r0, 0x0004, %wstate | |
10482 | .word 0x81510000 ! 296: RDPR_TICK rdpr %tick, %r0 | |
10483 | otherw | |
10484 | mov 0x31, %r30 | |
10485 | .word 0x91d0001e ! 297: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
10486 | splash_lsu_2_159: | |
10487 | setx 0x3a311186e5159a79, %r1, %r2 | |
10488 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10489 | .word 0x3d400001 ! 298: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10490 | .word 0x93d020b2 ! 299: Tcc_I tne icc_or_xcc, %r0 + 178 | |
10491 | splash_htba_2_160: | |
10492 | set 0x80000, %r12 | |
10493 | st %r1, [%r12+%r0] | |
10494 | ta T_CHANGE_HPRIV | |
10495 | set 0x80000, %r12 | |
10496 | .word 0x8b98000c ! 300: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
10497 | splash_hpstate_2_161: | |
10498 | .word 0x8198249e ! 301: WRHPR_HPSTATE_I wrhpr %r0, 0x049e, %hpstate | |
10499 | .word 0x8d9023e5 ! 302: WRPR_PSTATE_I wrpr %r0, 0x03e5, %pstate | |
10500 | splash_tba_2_162: | |
10501 | set 0x003e0000, %r12 | |
10502 | st %r1, [%r12+%r0] | |
10503 | ta T_CHANGE_PRIV | |
10504 | set 0x003e0000, %r12 | |
10505 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10506 | setx 0x9956f5015d61f5f7, %r1, %r28 | |
10507 | stxa %r28, [%g0] 0x73 | |
10508 | intvec_2_163: | |
10509 | .word 0x39400001 ! 304: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10510 | cwp_2_164: | |
10511 | set user_data_start, %o7 | |
10512 | .word 0x93902004 ! 305: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
10513 | nop | |
10514 | mov 0x80, %g3 | |
10515 | stxa %g3, [%g3] 0x57 | |
10516 | .word 0xe05fc000 ! 306: LDX_R ldx [%r31 + %r0], %r16 | |
10517 | splash_cmpr_2_165: | |
10518 | setx 0x5b33c0b1a15b1f26, %g2, %g1 | |
10519 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
10520 | sub %g1, 100, %g1 | |
10521 | .word 0xb1800001 ! 307: WR_STICK_REG_R wr %r0, %r1, %- | |
10522 | splash_tba_2_166: | |
10523 | set 0x120000, %r12 | |
10524 | st %r1, [%r12+%r0] | |
10525 | ta T_CHANGE_PRIV | |
10526 | set 0x120000, %r12 | |
10527 | .word 0x8b90000c ! 308: WRPR_TBA_R wrpr %r0, %r12, %tba | |
10528 | splash_hpstate_2_167: | |
10529 | .word 0x81982cd7 ! 309: WRHPR_HPSTATE_I wrhpr %r0, 0x0cd7, %hpstate | |
10530 | .word 0xe03fc000 ! 310: STD_R std %r16, [%r31 + %r0] | |
10531 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
10532 | ta T_CHANGE_NONPRIV ! macro | |
10533 | .word 0x97a01965 ! 311: FqTOd dis not found | |
10534 | ||
10535 | mondo_2_169: | |
10536 | nop | |
10537 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10538 | ||
10539 | stxa %r8, [%r0+0x3c0] %asi | |
10540 | .word 0x9d950010 ! 312: WRPR_WSTATE_R wrpr %r20, %r16, %wstate | |
10541 | splash_cmpr_2_170: | |
10542 | setx 0x31b1634b427de419, %g2, %g1 | |
10543 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10544 | sub %g1, 100, %g1 | |
10545 | .word 0xb1800001 ! 313: WR_STICK_REG_R wr %r0, %r1, %- | |
10546 | change_to_randtl_2_171: | |
10547 | ta T_CHANGE_HPRIV ! macro | |
10548 | done_change_to_randtl_2_171: | |
10549 | .word 0x8f902000 ! 314: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10550 | DS_2_172: | |
10551 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
10552 | .word 0xbfefc000 ! 315: RESTORE_R restore %r31, %r0, %r31 | |
10553 | ta T_CHANGE_HPRIV | |
10554 | mov (2+1), %r10 | |
10555 | set sync_thr_counter1, %r23 | |
10556 | cas [%r23],%g0,%r10 !lock | |
10557 | brnz %r10, cwq_2_173 | |
10558 | rd %asi, %r12 | |
10559 | wr %g0, 0x40, %asi | |
10560 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10561 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10562 | cmp %l1, 1 | |
10563 | bne cwq_2_173 | |
10564 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10565 | sub %l2, 0x40, %l2 | |
10566 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10567 | wr %r12, %g0, %asi | |
10568 | st %g0, [%r23] | |
10569 | cwq_2_173: | |
10570 | ta T_CHANGE_NONHPRIV | |
10571 | .word 0xa7414000 ! 316: RDPC rd %pc, %r19 | |
10572 | splash_hpstate_2_174: | |
10573 | .word 0x819820be ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x00be, %hpstate | |
10574 | .word 0xdad004a0 ! 318: LDSHA_R ldsha [%r0, %r0] 0x25, %r13 | |
10575 | setx 0x82e62d2f50c4b8c1, %r1, %r28 | |
10576 | stxa %r28, [%g0] 0x73 | |
10577 | intvec_2_175: | |
10578 | .word 0x39400001 ! 319: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10579 | cwp_2_176: | |
10580 | set user_data_start, %o7 | |
10581 | .word 0x93902003 ! 320: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
10582 | splash_hpstate_2_177: | |
10583 | .word 0x8198291d ! 321: WRHPR_HPSTATE_I wrhpr %r0, 0x091d, %hpstate | |
10584 | mondo_2_178: | |
10585 | nop | |
10586 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10587 | ||
10588 | stxa %r8, [%r0+0x3d0] %asi | |
10589 | .word 0x9d924007 ! 322: WRPR_WSTATE_R wrpr %r9, %r7, %wstate | |
10590 | nop | |
10591 | mov 0x80, %g3 | |
10592 | stxa %g3, [%g3] 0x5f | |
10593 | .word 0xda5fc000 ! 323: LDX_R ldx [%r31 + %r0], %r13 | |
10594 | .word 0x91a509cb ! 324: FDIVd fdivd %f20, %f42, %f8 | |
10595 | .word 0x8790230e ! 325: WRPR_TT_I wrpr %r0, 0x030e, %tt | |
10596 | debug_2_179: | |
10597 | nop | |
10598 | mov 0x38, %r18 | |
10599 | .word 0xfef00b12 ! 326: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10600 | .word 0x95a0056b ! 327: FSQRTq fsqrt | |
10601 | intveclr_2_180: | |
10602 | setx 0x810c245334b6b882, %r1, %r28 | |
10603 | stxa %r28, [%g0] 0x72 | |
10604 | .word 0x25400001 ! 328: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10605 | mondo_2_181: | |
10606 | nop | |
10607 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10608 | ||
10609 | stxa %r0, [%r0+0x3c0] %asi | |
10610 | .word 0x9d944013 ! 329: WRPR_WSTATE_R wrpr %r17, %r19, %wstate | |
10611 | .word 0xd2c804a0 ! 330: LDSBA_R ldsba [%r0, %r0] 0x25, %r9 | |
10612 | cwp_2_182: | |
10613 | set user_data_start, %o7 | |
10614 | .word 0x93902007 ! 331: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
10615 | debug_2_183: | |
10616 | nop | |
10617 | mov 8, %r18 | |
10618 | .word 0xd8f00492 ! 332: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
10619 | invalw | |
10620 | mov 0xb2, %r30 | |
10621 | .word 0x83d0001e ! 333: Tcc_R te icc_or_xcc, %r0 + %r30 | |
10622 | cwp_2_184: | |
10623 | set user_data_start, %o7 | |
10624 | .word 0x93902001 ! 334: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
10625 | .word 0x87902113 ! 335: WRPR_TT_I wrpr %r0, 0x0113, %tt | |
10626 | splash_cmpr_2_185: | |
10627 | setx 0xff28f18bddc0b9bc, %g2, %g1 | |
10628 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
10629 | sub %g1, 100, %g1 | |
10630 | .word 0xb1800001 ! 336: WR_STICK_REG_R wr %r0, %r1, %- | |
10631 | .word 0x87802004 ! 337: WRASI_I wr %r0, 0x0004, %asi | |
10632 | tagged_2_186: | |
10633 | tsubcctv %r25, 0x1ad7, %r5 | |
10634 | .word 0xd207e551 ! 338: LDUW_I lduw [%r31 + 0x0551], %r9 | |
10635 | .word 0x34700001 ! 339: BPG <illegal instruction> | |
10636 | cwp_2_187: | |
10637 | set user_data_start, %o7 | |
10638 | .word 0x93902007 ! 340: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
10639 | .word 0xd277e551 ! 341: STX_I stx %r9, [%r31 + 0x0551] | |
10640 | change_to_randtl_2_188: | |
10641 | ta T_CHANGE_PRIV ! macro | |
10642 | done_change_to_randtl_2_188: | |
10643 | .word 0x8f902002 ! 342: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10644 | .word 0xd297e000 ! 343: LDUHA_I lduha [%r31, + 0x0000] %asi, %r9 | |
10645 | intveclr_2_189: | |
10646 | setx 0xc8fcc01816328e6e, %r1, %r28 | |
10647 | stxa %r28, [%g0] 0x72 | |
10648 | .word 0x25400001 ! 344: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10649 | DS_2_190: | |
10650 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
10651 | .word 0xbfe7c000 ! 345: SAVE_R save %r31, %r0, %r31 | |
10652 | splash_htba_2_191: | |
10653 | set 0x80000, %r12 | |
10654 | ld [%r12+%r0], %r1 | |
10655 | ta T_CHANGE_HPRIV | |
10656 | set 0x80000, %r12 | |
10657 | .word 0x8b98000c ! 346: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
10658 | debug_2_192: | |
10659 | nop | |
10660 | mov 8, %r18 | |
10661 | .word 0xe8f00492 ! 347: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
10662 | nop | |
10663 | mov 0x80, %g3 | |
10664 | stxa %g3, [%g3] 0x57 | |
10665 | .word 0xd25fc000 ! 348: LDX_R ldx [%r31 + %r0], %r9 | |
10666 | tagged_2_193: | |
10667 | taddcctv %r22, 0x1c8c, %r2 | |
10668 | .word 0xd207e551 ! 349: LDUW_I lduw [%r31 + 0x0551], %r9 | |
10669 | tagged_2_194: | |
10670 | tsubcctv %r23, 0x1a39, %r24 | |
10671 | .word 0xd207e551 ! 350: LDUW_I lduw [%r31 + 0x0551], %r9 | |
10672 | tagged_2_195: | |
10673 | taddcctv %r2, 0x18b6, %r20 | |
10674 | .word 0xd207e551 ! 351: LDUW_I lduw [%r31 + 0x0551], %r9 | |
10675 | .word 0x97a00170 ! 352: FABSq dis not found | |
10676 | ||
10677 | .word 0x919268dc ! 353: WRPR_PIL_I wrpr %r9, 0x08dc, %pil | |
10678 | .word 0x9f802ee6 ! 354: SIR sir 0x0ee6 | |
10679 | intveclr_2_196: | |
10680 | setx 0x879b58cf783425d0, %r1, %r28 | |
10681 | stxa %r28, [%g0] 0x72 | |
10682 | .word 0x25400001 ! 355: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10683 | .word 0x93a0056b ! 356: FSQRTq fsqrt | |
10684 | .word 0xe0800b80 ! 357: LDUWA_R lduwa [%r0, %r0] 0x5c, %r16 | |
10685 | otherw | |
10686 | mov 0x34, %r30 | |
10687 | .word 0x91d0001e ! 358: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
10688 | .word 0xe027f503 ! 359: STW_I stw %r16, [%r31 + 0xfffff503] | |
10689 | .word 0x87902309 ! 360: WRPR_TT_I wrpr %r0, 0x0309, %tt | |
10690 | .word 0x8790234a ! 361: WRPR_TT_I wrpr %r0, 0x034a, %tt | |
10691 | debug_2_197: | |
10692 | nop | |
10693 | mov 0x38, %r18 | |
10694 | .word 0xfef00b12 ! 362: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10695 | .word 0xe08008a0 ! 363: LDUWA_R lduwa [%r0, %r0] 0x45, %r16 | |
10696 | .word 0x919475b9 ! 364: WRPR_PIL_I wrpr %r17, 0x15b9, %pil | |
10697 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_2_198) + 0, 16, 16)) -> intp(1,0,29) | |
10698 | intvec_2_198: | |
10699 | .word 0x39400001 ! 365: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10700 | DS_2_199: | |
10701 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
10702 | .word 0xbfefc000 ! 366: RESTORE_R restore %r31, %r0, %r31 | |
10703 | rd %pc, %r19 | |
10704 | add %r19, (ivw_2_200-.+40), %r19 | |
10705 | mov 0x38, %r18 | |
10706 | stxa %r19, [%r18]0x58 | |
10707 | ivw_2_200: | |
10708 | .word 0x9190c000 ! 367: WRPR_PIL_R wrpr %r3, %r0, %pil | |
10709 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10710 | ta T_CHANGE_NONHPRIV ! macro | |
10711 | .word 0x9ba01966 ! 368: FqTOd dis not found | |
10712 | ||
10713 | splash_cmpr_2_202: | |
10714 | setx 0xd7fb06944585d47c, %g2, %g1 | |
10715 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10716 | sub %g1, 100, %g1 | |
10717 | .word 0xb1800001 ! 369: WR_STICK_REG_R wr %r0, %r1, %- | |
10718 | mov (2+1), %r10 | |
10719 | ta T_CHANGE_HPRIV | |
10720 | set sync_thr_counter2, %r23 | |
10721 | cas [%r23],%g0,%r10 !lock | |
10722 | brnz %r10, sma_2_203 | |
10723 | rd %asi, %r12 | |
10724 | wr %g0, 0x40, %asi | |
10725 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10726 | set 0x21fff, %g1 | |
10727 | stxa %g1, [%g0 + 0x80] %asi | |
10728 | wr %r12, %g0, %asi | |
10729 | st %g0, [%r23] | |
10730 | sma_2_203: | |
10731 | ta T_CHANGE_NONHPRIV | |
10732 | .word 0xd1e7e010 ! 370: CASA_R casa [%r31] %asi, %r16, %r8 | |
10733 | donret_2_204: | |
10734 | nop | |
10735 | rd %pc, %r12 | |
10736 | add %r12, (donretarg_2_204-donret_2_204), %r12 | |
10737 | mov 0x38, %r18 | |
10738 | stxa %r12, [%r18]0x58 | |
10739 | add %r12, 0x4, %r11 | |
10740 | wrpr %g0, 0x1, %tl | |
10741 | wrpr %g0, %r12, %tpc | |
10742 | wrpr %g0, %r11, %tnpc | |
10743 | wrpr %g0, %r13, %tstate | |
10744 | wrhpr %g0, %r14, %htstate | |
10745 | retry | |
10746 | donretarg_2_204: | |
10747 | .word 0xd0fff5d1 ! 371: SWAPA_I swapa %r8, [%r31 + 0xfffff5d1] %asi | |
10748 | .word 0x8d902e10 ! 372: WRPR_PSTATE_I wrpr %r0, 0x0e10, %pstate | |
10749 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10750 | ta T_CHANGE_NONHPRIV ! macro | |
10751 | .word 0x936ca03c ! 373: SDIVX_I sdivx %r18, 0x003c, %r9 | |
10752 | .word 0xd6d7e010 ! 374: LDSHA_I ldsha [%r31, + 0x0010] %asi, %r11 | |
10753 | .word 0x87902239 ! 375: WRPR_TT_I wrpr %r0, 0x0239, %tt | |
10754 | .word 0xd69004a0 ! 376: LDUHA_R lduha [%r0, %r0] 0x25, %r11 | |
10755 | .word 0xd68008a0 ! 377: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
10756 | memptr_2_206: | |
10757 | set 0x60740000, %r31 | |
10758 | .word 0x85836d1b ! 378: WRCCR_I wr %r13, 0x0d1b, %ccr | |
10759 | .word 0xd727c000 ! 379: STF_R st %f11, [%r0, %r31] | |
10760 | DS_2_207: | |
10761 | .word 0x95a289d4 ! 1: FDIVd fdivd %f10, %f20, %f10 | |
10762 | allclean | |
10763 | .word 0x9bb4430b ! 380: ALIGNADDRESS alignaddr %r17, %r11, %r13 | |
10764 | splash_hpstate_2_208: | |
10765 | .word 0x81982357 ! 381: WRHPR_HPSTATE_I wrhpr %r0, 0x0357, %hpstate | |
10766 | intveclr_2_209: | |
10767 | setx 0x291c2a8afe0fd49b, %r1, %r28 | |
10768 | stxa %r28, [%g0] 0x72 | |
10769 | .word 0x25400001 ! 382: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10770 | memptr_2_210: | |
10771 | set user_data_start, %r31 | |
10772 | .word 0x8584fa8b ! 383: WRCCR_I wr %r19, 0x1a8b, %ccr | |
10773 | .word 0xab820005 ! 384: WR_CLEAR_SOFTINT_R wr %r8, %r5, %clear_softint | |
10774 | splash_cmpr_2_211: | |
10775 | setx 0xe7a2bed0de61696e, %g2, %g1 | |
10776 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
10777 | sub %g1, 100, %g1 | |
10778 | .word 0xb1800001 ! 385: WR_STICK_REG_R wr %r0, %r1, %- | |
10779 | .word 0xe0c804a0 ! 386: LDSBA_R ldsba [%r0, %r0] 0x25, %r16 | |
10780 | .word 0xa5a449c3 ! 387: FDIVd fdivd %f48, %f34, %f18 | |
10781 | .word 0x91d02034 ! 388: Tcc_I ta icc_or_xcc, %r0 + 52 | |
10782 | splash_htba_2_212: | |
10783 | set 0x80000, %r12 | |
10784 | st %r1, [%r12+%r0] | |
10785 | ta T_CHANGE_HPRIV | |
10786 | set 0x80000, %r12 | |
10787 | .word 0x8b98000c ! 389: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
10788 | change_to_randtl_2_213: | |
10789 | ta T_CHANGE_HPRIV ! macro | |
10790 | done_change_to_randtl_2_213: | |
10791 | .word 0x8f902003 ! 390: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
10792 | .word 0x91d020b2 ! 391: Tcc_I ta icc_or_xcc, %r0 + 178 | |
10793 | splash_lsu_2_214: | |
10794 | setx 0x8d58c717bf5b80f3, %r1, %r2 | |
10795 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10796 | .word 0x3d400001 ! 392: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10797 | setx 0x623fa28171705816, %r1, %r28 | |
10798 | stxa %r28, [%g0] 0x73 | |
10799 | intvec_2_215: | |
10800 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
10801 | intveclr_2_216: | |
10802 | setx 0x06d138d249a9ebce, %r1, %r28 | |
10803 | stxa %r28, [%g0] 0x72 | |
10804 | .word 0x25400001 ! 394: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
10805 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10806 | ta T_CHANGE_NONHPRIV ! macro | |
10807 | .word 0x93a01973 ! 395: FqTOd dis not found | |
10808 | ||
10809 | .word 0xd097e010 ! 396: LDUHA_I lduha [%r31, + 0x0010] %asi, %r8 | |
10810 | .word 0xd0900e80 ! 397: LDUHA_R lduha [%r0, %r0] 0x74, %r8 | |
10811 | debug_2_218: | |
10812 | nop | |
10813 | mov 0x38, %r18 | |
10814 | .word 0xfef00b12 ! 398: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10815 | splash_hpstate_2_219: | |
10816 | .word 0x81982154 ! 399: WRHPR_HPSTATE_I wrhpr %r0, 0x0154, %hpstate | |
10817 | DS_2_220: | |
10818 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
10819 | pdist %f20, %f26, %f0 | |
10820 | .word 0x9bb18305 ! 400: ALIGNADDRESS alignaddr %r6, %r5, %r13 | |
10821 | nop | |
10822 | nop | |
10823 | setx join_lbl_0_0, %g1, %g2 | |
10824 | jmp %g2 | |
10825 | nop | |
10826 | fork_lbl_0_2: | |
10827 | .word 0x9bb20fe6 ! 1: FONES e %f13 | |
10828 | splash_lsu_1_0: | |
10829 | setx 0x24780d43f0c0e6dd, %r1, %r2 | |
10830 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
10831 | .word 0x3d400001 ! 2: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
10832 | .word 0x91d02035 ! 3: Tcc_I ta icc_or_xcc, %r0 + 53 | |
10833 | .word 0x87802010 ! 4: WRASI_I wr %r0, 0x0010, %asi | |
10834 | debug_1_1: | |
10835 | nop | |
10836 | rd %pc, %r19 | |
10837 | add %r19, (64+8), %r19 | |
10838 | mov 0x38, %r18 | |
10839 | .word 0xe6f00b12 ! 5: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
10840 | debug_1_2: | |
10841 | nop | |
10842 | mov 0x38, %r18 | |
10843 | .word 0xfef00b12 ! 6: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
10844 | tagged_1_3: | |
10845 | taddcctv %r14, 0x1127, %r12 | |
10846 | .word 0xe807f373 ! 7: LDUW_I lduw [%r31 + 0xfffff373], %r20 | |
10847 | splash_cmpr_1_4: | |
10848 | setx 0xbea8b2362157f844, %g2, %g1 | |
10849 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
10850 | sub %g1, 100, %g1 | |
10851 | .word 0xb1800001 ! 8: WR_STICK_REG_R wr %r0, %r1, %- | |
10852 | .word 0x91d02032 ! 9: Tcc_I ta icc_or_xcc, %r0 + 50 | |
10853 | .word 0xe8800b40 ! 10: LDUWA_R lduwa [%r0, %r0] 0x5a, %r20 | |
10854 | .word 0xe8800ae0 ! 11: LDUWA_R lduwa [%r0, %r0] 0x57, %r20 | |
10855 | DS_1_5: | |
10856 | .word 0xa9a489c0 ! 1: FDIVd fdivd %f18, %f0, %f20 | |
10857 | .word 0xbfe7c000 ! 12: SAVE_R save %r31, %r0, %r31 | |
10858 | .word 0xd85ff373 ! 13: LDX_I ldx [%r31 + 0xfffff373], %r12 | |
10859 | .word 0x8d802000 ! 14: WRFPRS_I wr %r0, 0x0000, %fprs | |
10860 | .word 0x91d02035 ! 15: Tcc_I ta icc_or_xcc, %r0 + 53 | |
10861 | .word 0x9ba00171 ! 16: FABSq dis not found | |
10862 | ||
10863 | nop | |
10864 | mov 0x80, %g3 | |
10865 | stxa %g3, [%g3] 0x57 | |
10866 | .word 0xd45fc000 ! 17: LDX_R ldx [%r31 + %r0], %r10 | |
10867 | splash_hpstate_1_6: | |
10868 | .word 0x8198260d ! 18: WRHPR_HPSTATE_I wrhpr %r0, 0x060d, %hpstate | |
10869 | .word 0xd4c804a0 ! 19: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
10870 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10871 | ta T_CHANGE_NONHPRIV ! macro | |
10872 | .word 0xa5a01972 ! 20: FqTOd dis not found | |
10873 | ||
10874 | nop | |
10875 | mov 0x80, %g3 | |
10876 | stxa %g3, [%g3] 0x57 | |
10877 | .word 0xd25fc000 ! 21: LDX_R ldx [%r31 + %r0], %r9 | |
10878 | .word 0xd2c7e030 ! 22: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r9 | |
10879 | change_to_randtl_1_8: | |
10880 | ta T_CHANGE_PRIV ! macro | |
10881 | done_change_to_randtl_1_8: | |
10882 | .word 0x8f902002 ! 23: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10883 | memptr_1_9: | |
10884 | set user_data_start, %r31 | |
10885 | .word 0x8584eed4 ! 24: WRCCR_I wr %r19, 0x0ed4, %ccr | |
10886 | mondo_1_10: | |
10887 | nop | |
10888 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10889 | ||
10890 | stxa %r17, [%r0+0x3c8] %asi | |
10891 | .word 0x9d91c010 ! 25: WRPR_WSTATE_R wrpr %r7, %r16, %wstate | |
10892 | .word 0x879020f0 ! 26: WRPR_TT_I wrpr %r0, 0x00f0, %tt | |
10893 | .word 0xd21ff185 ! 27: LDD_I ldd [%r31 + 0xfffff185], %r9 | |
10894 | .word 0x91a01a68 ! 28: FqTOi fqtoi | |
10895 | change_to_randtl_1_11: | |
10896 | ta T_CHANGE_HPRIV ! macro | |
10897 | done_change_to_randtl_1_11: | |
10898 | .word 0x8f902002 ! 29: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
10899 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
10900 | ta T_CHANGE_NONPRIV ! macro | |
10901 | .word 0x996c208f ! 30: SDIVX_I sdivx %r16, 0x008f, %r12 | |
10902 | .word 0xd6880e80 ! 31: LDUBA_R lduba [%r0, %r0] 0x74, %r11 | |
10903 | mov (1+1), %r10 | |
10904 | ta T_CHANGE_HPRIV | |
10905 | set sync_thr_counter2, %r23 | |
10906 | cas [%r23],%g0,%r10 !lock | |
10907 | brnz %r10, sma_1_13 | |
10908 | rd %asi, %r12 | |
10909 | wr %g0, 0x40, %asi | |
10910 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
10911 | set 0x21fff, %g1 | |
10912 | stxa %g1, [%g0 + 0x80] %asi | |
10913 | wr %r12, %g0, %asi | |
10914 | st %g0, [%r23] | |
10915 | sma_1_13: | |
10916 | ta T_CHANGE_NONHPRIV | |
10917 | .word 0xd7e7e013 ! 32: CASA_R casa [%r31] %asi, %r19, %r11 | |
10918 | .word 0xd66fe760 ! 33: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
10919 | .word 0xd63fe760 ! 34: STD_I std %r11, [%r31 + 0x0760] | |
10920 | .word 0xd66fe760 ! 35: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
10921 | .word 0x87802089 ! 36: WRASI_I wr %r0, 0x0089, %asi | |
10922 | tagged_1_14: | |
10923 | tsubcctv %r5, 0x10a5, %r13 | |
10924 | .word 0xd607e760 ! 37: LDUW_I lduw [%r31 + 0x0760], %r11 | |
10925 | memptr_1_15: | |
10926 | set user_data_start, %r31 | |
10927 | .word 0x85802fd3 ! 38: WRCCR_I wr %r0, 0x0fd3, %ccr | |
10928 | tagged_1_16: | |
10929 | tsubcctv %r8, 0x17f4, %r8 | |
10930 | .word 0xd607e356 ! 39: LDUW_I lduw [%r31 + 0x0356], %r11 | |
10931 | .word 0x87902303 ! 40: WRPR_TT_I wrpr %r0, 0x0303, %tt | |
10932 | mondo_1_17: | |
10933 | nop | |
10934 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10935 | ||
10936 | stxa %r11, [%r0+0x3d8] %asi | |
10937 | .word 0x9d928009 ! 41: WRPR_WSTATE_R wrpr %r10, %r9, %wstate | |
10938 | donret_1_18: | |
10939 | nop | |
10940 | rd %pc, %r12 | |
10941 | add %r12, (donretarg_1_18-donret_1_18), %r12 | |
10942 | mov 0x38, %r18 | |
10943 | stxa %r12, [%r18]0x58 | |
10944 | add %r12, 0x4, %r11 | |
10945 | wrpr %g0, 0x2, %tl | |
10946 | wrpr %g0, %r12, %tpc | |
10947 | wrpr %g0, %r11, %tnpc | |
10948 | wrpr %g0, %r13, %tstate | |
10949 | wrhpr %g0, %r14, %htstate | |
10950 | retry | |
10951 | donretarg_1_18: | |
10952 | .word 0xd6ffe356 ! 42: SWAPA_I swapa %r11, [%r31 + 0x0356] %asi | |
10953 | .word 0xd6cfe020 ! 43: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r11 | |
10954 | tagged_1_19: | |
10955 | taddcctv %r16, 0x179d, %r26 | |
10956 | .word 0xd607e356 ! 44: LDUW_I lduw [%r31 + 0x0356], %r11 | |
10957 | ta T_CHANGE_HPRIV | |
10958 | mov (1+1), %r10 | |
10959 | set sync_thr_counter1, %r23 | |
10960 | cas [%r23],%g0,%r10 !lock | |
10961 | brnz %r10, cwq_1_20 | |
10962 | rd %asi, %r12 | |
10963 | wr %g0, 0x40, %asi | |
10964 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
10965 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
10966 | cmp %l1, 1 | |
10967 | bne cwq_1_20 | |
10968 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
10969 | sub %l2, 0x40, %l2 | |
10970 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
10971 | wr %r12, %g0, %asi | |
10972 | st %g0, [%r23] | |
10973 | cwq_1_20: | |
10974 | ta T_CHANGE_NONHPRIV | |
10975 | .word 0x95414000 ! 45: RDPC rd %pc, %r10 | |
10976 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_1_21)+8, 16, 16)) -> intp(1,1,3) | |
10977 | xir_1_21: | |
10978 | .word 0xa98160bb ! 46: WR_SET_SOFTINT_I wr %r5, 0x00bb, %set_softint | |
10979 | mondo_1_22: | |
10980 | nop | |
10981 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
10982 | ||
10983 | stxa %r19, [%r0+0x3d8] %asi | |
10984 | .word 0x9d92c001 ! 47: WRPR_WSTATE_R wrpr %r11, %r1, %wstate | |
10985 | donret_1_23: | |
10986 | nop | |
10987 | rd %pc, %r12 | |
10988 | add %r12, (donretarg_1_23-donret_1_23-4), %r12 | |
10989 | mov 0x38, %r18 | |
10990 | stxa %r12, [%r18]0x58 | |
10991 | add %r12, 0x4, %r11 | |
10992 | wrpr %g0, 0x2, %tl | |
10993 | wrpr %g0, %r12, %tpc | |
10994 | wrpr %g0, %r11, %tnpc | |
10995 | wrpr %g0, %r13, %tstate | |
10996 | wrhpr %g0, %r14, %htstate | |
10997 | done | |
10998 | donretarg_1_23: | |
10999 | .word 0xd6ffe271 ! 48: SWAPA_I swapa %r11, [%r31 + 0x0271] %asi | |
11000 | mov (1+1), %r10 | |
11001 | ta T_CHANGE_HPRIV | |
11002 | set sync_thr_counter2, %r23 | |
11003 | cas [%r23],%g0,%r10 !lock | |
11004 | brnz %r10, sma_1_24 | |
11005 | rd %asi, %r12 | |
11006 | wr %g0, 0x40, %asi | |
11007 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11008 | set 0x21fff, %g1 | |
11009 | stxa %g1, [%g0 + 0x80] %asi | |
11010 | wr %r12, %g0, %asi | |
11011 | st %g0, [%r23] | |
11012 | sma_1_24: | |
11013 | ta T_CHANGE_NONHPRIV | |
11014 | .word 0xd7e7e006 ! 49: CASA_R casa [%r31] %asi, %r6, %r11 | |
11015 | .word 0xd647e271 ! 50: LDSW_I ldsw [%r31 + 0x0271], %r11 | |
11016 | .word 0x93480000 ! 51: RDHPR_HPSTATE rdhpr %hpstate, %r9 | |
11017 | ta T_CHANGE_HPRIV | |
11018 | mov (1+1), %r10 | |
11019 | set sync_thr_counter1, %r23 | |
11020 | cas [%r23],%g0,%r10 !lock | |
11021 | brnz %r10, cwq_1_25 | |
11022 | rd %asi, %r12 | |
11023 | wr %g0, 0x40, %asi | |
11024 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11025 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11026 | cmp %l1, 1 | |
11027 | bne cwq_1_25 | |
11028 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11029 | sub %l2, 0x40, %l2 | |
11030 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11031 | wr %r12, %g0, %asi | |
11032 | st %g0, [%r23] | |
11033 | cwq_1_25: | |
11034 | ta T_CHANGE_NONHPRIV | |
11035 | .word 0x91414000 ! 52: RDPC rd %pc, %r8 | |
11036 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_26) + 56, 16, 16)) -> intp(5,0,29) | |
11037 | intvec_1_26: | |
11038 | .word 0x39400001 ! 53: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11039 | .word 0xe657e271 ! 54: LDSH_I ldsh [%r31 + 0x0271], %r19 | |
11040 | intveclr_1_27: | |
11041 | setx 0xc7414b88e2e9349a, %r1, %r28 | |
11042 | stxa %r28, [%g0] 0x72 | |
11043 | .word 0x25400001 ! 55: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11044 | .word 0xe68008a0 ! 56: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
11045 | .word 0xe737c000 ! 57: STQF_R - %f19, [%r0, %r31] | |
11046 | pmu_1_28: | |
11047 | nop | |
11048 | setx 0xfffff6d4fffffd99, %g1, %g7 | |
11049 | .word 0xa3800007 ! 58: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
11050 | .word 0xe68804a0 ! 59: LDUBA_R lduba [%r0, %r0] 0x25, %r19 | |
11051 | intveclr_1_29: | |
11052 | setx 0xf5564f90b85427c1, %r1, %r28 | |
11053 | stxa %r28, [%g0] 0x72 | |
11054 | .word 0x25400001 ! 60: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11055 | memptr_1_30: | |
11056 | set user_data_start, %r31 | |
11057 | .word 0x8580763a ! 61: WRCCR_I wr %r1, 0x163a, %ccr | |
11058 | debug_1_31: | |
11059 | nop | |
11060 | rd %pc, %r19 | |
11061 | add %r19, (64+0), %r19 | |
11062 | mov 0x38, %r18 | |
11063 | .word 0xe6f00b12 ! 62: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11064 | .word 0x87802089 ! 63: WRASI_I wr %r0, 0x0089, %asi | |
11065 | invalw | |
11066 | mov 0x31, %r30 | |
11067 | .word 0x93d0001e ! 64: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
11068 | .word 0xe69ff3b4 ! 65: LDDA_I ldda [%r31, + 0xfffff3b4] %asi, %r19 | |
11069 | .word 0xe69004a0 ! 66: LDUHA_R lduha [%r0, %r0] 0x25, %r19 | |
11070 | .word 0x93d02032 ! 67: Tcc_I tne icc_or_xcc, %r0 + 50 | |
11071 | .word 0xe68008a0 ! 68: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
11072 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11073 | ta T_CHANGE_NONPRIV ! macro | |
11074 | .word 0xa3a0196c ! 69: FqTOd dis not found | |
11075 | ||
11076 | .word 0xd2800b60 ! 70: LDUWA_R lduwa [%r0, %r0] 0x5b, %r9 | |
11077 | splash_cmpr_1_33: | |
11078 | setx 0x51ea18f62105629b, %g2, %g1 | |
11079 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
11080 | sub %g1, 100, %g1 | |
11081 | .word 0xb1800001 ! 71: WR_STICK_REG_R wr %r0, %r1, %- | |
11082 | intveclr_1_34: | |
11083 | setx 0x39744c396690b0f1, %r1, %r28 | |
11084 | stxa %r28, [%g0] 0x72 | |
11085 | .word 0x25400001 ! 72: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11086 | splash_cmpr_1_35: | |
11087 | setx 0xbb23fd6106c0fbd3, %g2, %g1 | |
11088 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11089 | sub %g1, 100, %g1 | |
11090 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
11091 | intveclr_1_36: | |
11092 | setx 0x46314770e2926147, %r1, %r28 | |
11093 | stxa %r28, [%g0] 0x72 | |
11094 | .word 0x25400001 ! 74: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11095 | otherw | |
11096 | mov 0xb2, %r30 | |
11097 | .word 0x91d0001e ! 75: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11098 | .word 0xa982c006 ! 76: WR_SET_SOFTINT_R wr %r11, %r6, %set_softint | |
11099 | intveclr_1_37: | |
11100 | setx 0xfc735a43d5fe2d1d, %r1, %r28 | |
11101 | stxa %r28, [%g0] 0x72 | |
11102 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11103 | intveclr_1_38: | |
11104 | setx 0x5e8a62a55124472d, %r1, %r28 | |
11105 | stxa %r28, [%g0] 0x72 | |
11106 | .word 0x25400001 ! 78: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11107 | .word 0x91d020b2 ! 79: Tcc_I ta icc_or_xcc, %r0 + 178 | |
11108 | DS_1_39: | |
11109 | .word 0x95a0c9d2 ! 1: FDIVd fdivd %f34, %f18, %f10 | |
11110 | .word 0x99a4c9c2 ! 1: FDIVd fdivd %f50, %f2, %f12 | |
11111 | .word 0xa9a00552 ! 1: FSQRTd fsqrt | |
11112 | .word 0xa1a4c824 ! 80: FADDs fadds %f19, %f4, %f16 | |
11113 | .word 0xd41fc000 ! 81: LDD_R ldd [%r31 + %r0], %r10 | |
11114 | .word 0x87802004 ! 82: WRASI_I wr %r0, 0x0004, %asi | |
11115 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_40) + 24, 16, 16)) -> intp(4,0,9) | |
11116 | intvec_1_40: | |
11117 | .word 0x39400001 ! 83: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11118 | .word 0xd48804a0 ! 84: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
11119 | .word 0x8790235c ! 85: WRPR_TT_I wrpr %r0, 0x035c, %tt | |
11120 | setx 0x3346ae6ecffe1d3a, %r1, %r28 | |
11121 | stxa %r28, [%g0] 0x73 | |
11122 | intvec_1_41: | |
11123 | .word 0x39400001 ! 86: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11124 | .word 0x97a00174 ! 87: FABSq dis not found | |
11125 | ||
11126 | rd %pc, %r19 | |
11127 | add %r19, (ivw_1_42-.+40), %r19 | |
11128 | mov 0x38, %r18 | |
11129 | stxa %r19, [%r18]0x58 | |
11130 | ivw_1_42: | |
11131 | .word 0x91934011 ! 88: WRPR_PIL_R wrpr %r13, %r17, %pil | |
11132 | .word 0x87802020 ! 89: WRASI_I wr %r0, 0x0020, %asi | |
11133 | .word 0xa190200e ! 90: WRPR_GL_I wrpr %r0, 0x000e, %- | |
11134 | splash_cmpr_1_43: | |
11135 | setx 0xfa9fc33de738f752, %g2, %g1 | |
11136 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11137 | sub %g1, 100, %g1 | |
11138 | .word 0xb1800001 ! 91: WR_STICK_REG_R wr %r0, %r1, %- | |
11139 | .word 0xe3e7c028 ! 92: CASA_I casa [%r31] 0x 1, %r8, %r17 | |
11140 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11141 | ta T_CHANGE_NONPRIV ! macro | |
11142 | .word 0xa969ec7c ! 93: SDIVX_I sdivx %r7, 0x0c7c, %r20 | |
11143 | debug_1_45: | |
11144 | nop | |
11145 | mov 8, %r18 | |
11146 | .word 0xd8f00492 ! 94: STXA_R stxa %r12, [%r0 + %r18] 0x24 | |
11147 | .word 0x8d902762 ! 95: WRPR_PSTATE_I wrpr %r0, 0x0762, %pstate | |
11148 | .word 0x9350c000 ! 96: RDPR_TT <illegal instruction> | |
11149 | mov (1+1), %r10 | |
11150 | ta T_CHANGE_HPRIV | |
11151 | set sync_thr_counter2, %r23 | |
11152 | cas [%r23],%g0,%r10 !lock | |
11153 | brnz %r10, sma_1_46 | |
11154 | rd %asi, %r12 | |
11155 | wr %g0, 0x40, %asi | |
11156 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11157 | set 0x21fff, %g1 | |
11158 | stxa %g1, [%g0 + 0x80] %asi | |
11159 | wr %r12, %g0, %asi | |
11160 | st %g0, [%r23] | |
11161 | sma_1_46: | |
11162 | ta T_CHANGE_NONHPRIV | |
11163 | .word 0xd3e7e008 ! 97: CASA_R casa [%r31] %asi, %r8, %r9 | |
11164 | .word 0x95450000 ! 98: RD_SET_SOFTINT rd %set_softint, %r10 | |
11165 | .word 0x8d802000 ! 99: WRFPRS_I wr %r0, 0x0000, %fprs | |
11166 | .word 0xe48008a0 ! 100: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
11167 | .word 0x32800001 ! 101: BNE bne,a <label_0x1> | |
11168 | debug_1_47: | |
11169 | nop | |
11170 | mov 0x38, %r18 | |
11171 | .word 0xfef00b12 ! 102: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11172 | memptr_1_48: | |
11173 | set user_data_start, %r31 | |
11174 | .word 0x8582fa2a ! 103: WRCCR_I wr %r11, 0x1a2a, %ccr | |
11175 | .word 0xe537c000 ! 104: STQF_R - %f18, [%r0, %r31] | |
11176 | mov (1+1), %r10 | |
11177 | ta T_CHANGE_HPRIV | |
11178 | set sync_thr_counter2, %r23 | |
11179 | cas [%r23],%g0,%r10 !lock | |
11180 | brnz %r10, sma_1_49 | |
11181 | rd %asi, %r12 | |
11182 | wr %g0, 0x40, %asi | |
11183 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11184 | set 0x21fff, %g1 | |
11185 | stxa %g1, [%g0 + 0x80] %asi | |
11186 | wr %r12, %g0, %asi | |
11187 | st %g0, [%r23] | |
11188 | sma_1_49: | |
11189 | ta T_CHANGE_NONHPRIV | |
11190 | .word 0xe5e7e008 ! 105: CASA_R casa [%r31] %asi, %r8, %r18 | |
11191 | intveclr_1_50: | |
11192 | setx 0x1235e6bdcf8623c8, %r1, %r28 | |
11193 | stxa %r28, [%g0] 0x72 | |
11194 | .word 0x25400001 ! 106: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11195 | .word 0x87902175 ! 107: WRPR_TT_I wrpr %r0, 0x0175, %tt | |
11196 | .word 0xa1a24dc3 ! 108: FdMULq fdmulq | |
11197 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11198 | ta T_CHANGE_NONHPRIV ! macro | |
11199 | .word 0xa1a0196c ! 109: FqTOd dis not found | |
11200 | ||
11201 | cwp_1_52: | |
11202 | set user_data_start, %o7 | |
11203 | .word 0x93902004 ! 110: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
11204 | nop | |
11205 | mov 0x80, %g3 | |
11206 | stxa %g3, [%g3] 0x57 | |
11207 | .word 0xda5fc000 ! 111: LDX_R ldx [%r31 + %r0], %r13 | |
11208 | otherw | |
11209 | mov 0x30, %r30 | |
11210 | .word 0x93d0001e ! 112: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
11211 | intveclr_1_53: | |
11212 | setx 0x4b99aaf20340c787, %r1, %r28 | |
11213 | stxa %r28, [%g0] 0x72 | |
11214 | .word 0x25400001 ! 113: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11215 | .word 0xdad804a0 ! 114: LDXA_R ldxa [%r0, %r0] 0x25, %r13 | |
11216 | splash_hpstate_1_54: | |
11217 | .word 0x8198286c ! 115: WRHPR_HPSTATE_I wrhpr %r0, 0x086c, %hpstate | |
11218 | .word 0xa16d000b ! 116: SDIVX_R sdivx %r20, %r11, %r16 | |
11219 | splash_htba_1_55: | |
11220 | set 0x80000, %r12 | |
11221 | ld [%r12+%r0], %r1 | |
11222 | ta T_CHANGE_HPRIV | |
11223 | set 0x80000, %r12 | |
11224 | .word 0x8b98000c ! 117: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
11225 | .word 0xd4c00e60 ! 118: LDSWA_R ldswa [%r0, %r0] 0x73, %r10 | |
11226 | splash_htba_1_56: | |
11227 | set 0x80000, %r12 | |
11228 | st %r1, [%r12+%r0] | |
11229 | ta T_CHANGE_HPRIV | |
11230 | set 0x80000, %r12 | |
11231 | .word 0x8b98000c ! 119: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
11232 | debug_1_57: | |
11233 | nop | |
11234 | mov 8, %r18 | |
11235 | .word 0xd4f00492 ! 120: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
11236 | .word 0x91d02034 ! 121: Tcc_I ta icc_or_xcc, %r0 + 52 | |
11237 | DS_1_58: | |
11238 | .word 0x97a309c5 ! 1: FDIVd fdivd %f12, %f36, %f42 | |
11239 | .word 0xeb799d44 ! Random illegal ? | |
11240 | .word 0xa5a00552 ! 1: FSQRTd fsqrt | |
11241 | .word 0xa9a1c820 ! 122: FADDs fadds %f7, %f0, %f20 | |
11242 | .word 0x24800001 ! 123: BLE ble,a <label_0x1> | |
11243 | .word 0x83d020b4 ! 124: Tcc_I te icc_or_xcc, %r0 + 180 | |
11244 | .word 0xda0fee19 ! 125: LDUB_I ldub [%r31 + 0x0e19], %r13 | |
11245 | splash_lsu_1_59: | |
11246 | setx 0x83ba2b7626be98b3, %r1, %r2 | |
11247 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11248 | .word 0x3d400001 ! 126: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11249 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11250 | ta T_CHANGE_NONPRIV ! macro | |
11251 | .word 0xa16877da ! 127: SDIVX_I sdivx %r1, 0xfffff7da, %r16 | |
11252 | tagged_1_61: | |
11253 | taddcctv %r10, 0x1d1b, %r24 | |
11254 | .word 0xd607ec1e ! 128: LDUW_I lduw [%r31 + 0x0c1e], %r11 | |
11255 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_62) + 56, 16, 16)) -> intp(4,0,4) | |
11256 | intvec_1_62: | |
11257 | .word 0x39400001 ! 129: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11258 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11259 | ta T_CHANGE_NONHPRIV ! macro | |
11260 | .word 0x93a01963 ! 130: FqTOd dis not found | |
11261 | ||
11262 | mov (1+1), %r10 | |
11263 | ta T_CHANGE_HPRIV | |
11264 | set sync_thr_counter2, %r23 | |
11265 | cas [%r23],%g0,%r10 !lock | |
11266 | brnz %r10, sma_1_64 | |
11267 | rd %asi, %r12 | |
11268 | wr %g0, 0x40, %asi | |
11269 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11270 | set 0x21fff, %g1 | |
11271 | stxa %g1, [%g0 + 0x80] %asi | |
11272 | wr %r12, %g0, %asi | |
11273 | st %g0, [%r23] | |
11274 | sma_1_64: | |
11275 | ta T_CHANGE_NONHPRIV | |
11276 | .word 0xd1e7e012 ! 131: CASA_R casa [%r31] %asi, %r18, %r8 | |
11277 | .word 0x97a00163 ! 132: FABSq dis not found | |
11278 | ||
11279 | intveclr_1_65: | |
11280 | setx 0x299402b8c9ff2467, %r1, %r28 | |
11281 | stxa %r28, [%g0] 0x72 | |
11282 | .word 0x25400001 ! 133: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11283 | .word 0xa1520000 ! 134: RDPR_PIL <illegal instruction> | |
11284 | .word 0x9ba409cd ! 135: FDIVd fdivd %f16, %f44, %f44 | |
11285 | cwp_1_66: | |
11286 | set user_data_start, %o7 | |
11287 | .word 0x93902000 ! 136: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
11288 | .word 0xa9818013 ! 137: WR_SET_SOFTINT_R wr %r6, %r19, %set_softint | |
11289 | .word 0xe0c00e60 ! 138: LDSWA_R ldswa [%r0, %r0] 0x73, %r16 | |
11290 | splash_hpstate_1_67: | |
11291 | .word 0x81982b54 ! 139: WRHPR_HPSTATE_I wrhpr %r0, 0x0b54, %hpstate | |
11292 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11293 | ta T_CHANGE_NONPRIV ! macro | |
11294 | .word 0x95a01960 ! 140: FqTOd dis not found | |
11295 | ||
11296 | mov (1+1), %r10 | |
11297 | ta T_CHANGE_HPRIV | |
11298 | set sync_thr_counter2, %r23 | |
11299 | cas [%r23],%g0,%r10 !lock | |
11300 | brnz %r10, sma_1_69 | |
11301 | rd %asi, %r12 | |
11302 | wr %g0, 0x40, %asi | |
11303 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11304 | set 0x21fff, %g1 | |
11305 | stxa %g1, [%g0 + 0x80] %asi | |
11306 | wr %r12, %g0, %asi | |
11307 | st %g0, [%r23] | |
11308 | sma_1_69: | |
11309 | ta T_CHANGE_NONHPRIV | |
11310 | .word 0xe7e7e003 ! 141: CASA_R casa [%r31] %asi, %r3, %r19 | |
11311 | ta T_CHANGE_HPRIV | |
11312 | mov (1+1), %r10 | |
11313 | set sync_thr_counter1, %r23 | |
11314 | cas [%r23],%g0,%r10 !lock | |
11315 | brnz %r10, cwq_1_70 | |
11316 | rd %asi, %r12 | |
11317 | wr %g0, 0x40, %asi | |
11318 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11319 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11320 | cmp %l1, 1 | |
11321 | bne cwq_1_70 | |
11322 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11323 | sub %l2, 0x40, %l2 | |
11324 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11325 | wr %r12, %g0, %asi | |
11326 | st %g0, [%r23] | |
11327 | cwq_1_70: | |
11328 | ta T_CHANGE_NONHPRIV | |
11329 | .word 0x91414000 ! 142: RDPC rd %pc, %r8 | |
11330 | .word 0xe29004a0 ! 143: LDUHA_R lduha [%r0, %r0] 0x25, %r17 | |
11331 | ta T_CHANGE_HPRIV | |
11332 | mov (1+1), %r10 | |
11333 | set sync_thr_counter1, %r23 | |
11334 | cas [%r23],%g0,%r10 !lock | |
11335 | brnz %r10, cwq_1_71 | |
11336 | rd %asi, %r12 | |
11337 | wr %g0, 0x40, %asi | |
11338 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11339 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11340 | cmp %l1, 1 | |
11341 | bne cwq_1_71 | |
11342 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11343 | sub %l2, 0x40, %l2 | |
11344 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11345 | wr %r12, %g0, %asi | |
11346 | st %g0, [%r23] | |
11347 | cwq_1_71: | |
11348 | ta T_CHANGE_NONHPRIV | |
11349 | .word 0x91414000 ! 144: RDPC rd %pc, %r8 | |
11350 | invalw | |
11351 | mov 0x33, %r30 | |
11352 | .word 0x91d0001e ! 145: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11353 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_72) + 40, 16, 16)) -> intp(4,0,15) | |
11354 | intvec_1_72: | |
11355 | .word 0x39400001 ! 146: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11356 | .word 0x879021c0 ! 147: WRPR_TT_I wrpr %r0, 0x01c0, %tt | |
11357 | .word 0x95a289d3 ! 148: FDIVd fdivd %f10, %f50, %f10 | |
11358 | .word 0xd6c7e000 ! 149: LDSWA_I ldswa [%r31, + 0x0000] %asi, %r11 | |
11359 | change_to_randtl_1_73: | |
11360 | ta T_CHANGE_HPRIV ! macro | |
11361 | done_change_to_randtl_1_73: | |
11362 | .word 0x8f902002 ! 150: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11363 | .word 0x8d902e0f ! 151: WRPR_PSTATE_I wrpr %r0, 0x0e0f, %pstate | |
11364 | memptr_1_74: | |
11365 | set 0x60740000, %r31 | |
11366 | .word 0x8581b8e6 ! 152: WRCCR_I wr %r6, 0x18e6, %ccr | |
11367 | .word 0xd727e6f2 ! 153: STF_I st %f11, [0x06f2, %r31] | |
11368 | mov (1+1), %r10 | |
11369 | ta T_CHANGE_HPRIV | |
11370 | set sync_thr_counter2, %r23 | |
11371 | cas [%r23],%g0,%r10 !lock | |
11372 | brnz %r10, sma_1_75 | |
11373 | rd %asi, %r12 | |
11374 | wr %g0, 0x40, %asi | |
11375 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11376 | set 0x21fff, %g1 | |
11377 | stxa %g1, [%g0 + 0x80] %asi | |
11378 | wr %r12, %g0, %asi | |
11379 | st %g0, [%r23] | |
11380 | sma_1_75: | |
11381 | ta T_CHANGE_NONHPRIV | |
11382 | .word 0xd7e7e013 ! 154: CASA_R casa [%r31] %asi, %r19, %r11 | |
11383 | splash_cmpr_1_76: | |
11384 | setx 0xa30f15801bbd1394, %g2, %g1 | |
11385 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11386 | sub %g1, 100, %g1 | |
11387 | .word 0xb1800001 ! 155: WR_STICK_REG_R wr %r0, %r1, %- | |
11388 | .word 0x9150c000 ! 156: RDPR_TT <illegal instruction> | |
11389 | .word 0x3e700001 ! 157: BPVC <illegal instruction> | |
11390 | .word 0xd8d804a0 ! 158: LDXA_R ldxa [%r0, %r0] 0x25, %r12 | |
11391 | rd %pc, %r19 | |
11392 | add %r19, (ivw_1_77-.+32), %r19 | |
11393 | mov 0x38, %r18 | |
11394 | stxa %r19, [%r18]0x58 | |
11395 | ivw_1_77: | |
11396 | .word 0x91904013 ! 159: WRPR_PIL_R wrpr %r1, %r19, %pil | |
11397 | .word 0x8d9028eb ! 160: WRPR_PSTATE_I wrpr %r0, 0x08eb, %pstate | |
11398 | .word 0xd88804a0 ! 161: LDUBA_R lduba [%r0, %r0] 0x25, %r12 | |
11399 | .word 0xab8175b7 ! 162: WR_CLEAR_SOFTINT_I wr %r5, 0x15b7, %clear_softint | |
11400 | splash_lsu_1_78: | |
11401 | setx 0x86b11bbbcfb878a1, %r1, %r2 | |
11402 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11403 | .word 0x3d400001 ! 163: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11404 | .word 0xd80fecf5 ! 164: LDUB_I ldub [%r31 + 0x0cf5], %r12 | |
11405 | splash_cmpr_1_79: | |
11406 | setx 0xb138462c71c9a4fd, %g2, %g1 | |
11407 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11408 | sub %g1, 100, %g1 | |
11409 | .word 0xb1800001 ! 165: WR_STICK_REG_R wr %r0, %r1, %- | |
11410 | debug_1_80: | |
11411 | nop | |
11412 | mov 0x38, %r18 | |
11413 | .word 0xfef00b12 ! 166: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11414 | splash_hpstate_1_81: | |
11415 | .word 0x819827a7 ! 167: WRHPR_HPSTATE_I wrhpr %r0, 0x07a7, %hpstate | |
11416 | splash_htba_1_82: | |
11417 | set 0x80000, %r12 | |
11418 | st %r1, [%r12+%r0] | |
11419 | ta T_CHANGE_HPRIV | |
11420 | set 0x80000, %r12 | |
11421 | .word 0x8b98000c ! 168: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
11422 | splash_tba_1_83: | |
11423 | set 0x120000, %r12 | |
11424 | ld [%r12+%r0], %r1 | |
11425 | ta T_CHANGE_PRIV | |
11426 | set 0x120000, %r12 | |
11427 | .word 0x8b90000c ! 169: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11428 | .word 0xa7a449c9 ! 170: FDIVd fdivd %f48, %f40, %f50 | |
11429 | splash_lsu_1_84: | |
11430 | setx 0xfdfb96e829bd6ecb, %r1, %r2 | |
11431 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11432 | .word 0x3d400001 ! 171: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11433 | .word 0x87802080 ! 172: WRASI_I wr %r0, 0x0080, %asi | |
11434 | .word 0x8780201c ! 173: WRASI_I wr %r0, 0x001c, %asi | |
11435 | DS_1_85: | |
11436 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
11437 | .word 0xbfefc000 ! 174: RESTORE_R restore %r31, %r0, %r31 | |
11438 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11439 | ta T_CHANGE_NONPRIV ! macro | |
11440 | .word 0x9ba01960 ! 175: FqTOd dis not found | |
11441 | ||
11442 | DS_1_87: | |
11443 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
11444 | allclean | |
11445 | .word 0xa7b2430d ! 176: ALIGNADDRESS alignaddr %r9, %r13, %r19 | |
11446 | splash_hpstate_1_88: | |
11447 | .word 0x81982bdf ! 177: WRHPR_HPSTATE_I wrhpr %r0, 0x0bdf, %hpstate | |
11448 | .word 0x92dc0010 ! 178: SMULcc_R smulcc %r16, %r16, %r9 | |
11449 | .word 0x87802016 ! 179: WRASI_I wr %r0, 0x0016, %asi | |
11450 | splash_hpstate_1_89: | |
11451 | .word 0x81982d97 ! 180: WRHPR_HPSTATE_I wrhpr %r0, 0x0d97, %hpstate | |
11452 | .word 0xd44fecf5 ! 181: LDSB_I ldsb [%r31 + 0x0cf5], %r10 | |
11453 | debug_1_90: | |
11454 | nop | |
11455 | mov 8, %r18 | |
11456 | .word 0xdcf00492 ! 182: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
11457 | .word 0xd4cfe020 ! 183: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r10 | |
11458 | splash_hpstate_1_91: | |
11459 | .word 0x81982ecd ! 184: WRHPR_HPSTATE_I wrhpr %r0, 0x0ecd, %hpstate | |
11460 | debug_1_92: | |
11461 | nop | |
11462 | mov 0x38, %r18 | |
11463 | .word 0xfef00b12 ! 185: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11464 | splash_cmpr_1_93: | |
11465 | setx 0xa75d51ee14755e53, %g2, %g1 | |
11466 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11467 | sub %g1, 100, %g1 | |
11468 | .word 0xb1800001 ! 186: WR_STICK_REG_R wr %r0, %r1, %- | |
11469 | DS_1_94: | |
11470 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
11471 | .word 0xef5450a6 ! Random illegal ? | |
11472 | .word 0x9ba149c6 ! 1: FDIVd fdivd %f36, %f6, %f44 | |
11473 | .word 0x99a14827 ! 187: FADDs fadds %f5, %f7, %f12 | |
11474 | ta T_CHANGE_HPRIV | |
11475 | mov (1+1), %r10 | |
11476 | set sync_thr_counter1, %r23 | |
11477 | cas [%r23],%g0,%r10 !lock | |
11478 | brnz %r10, cwq_1_95 | |
11479 | rd %asi, %r12 | |
11480 | wr %g0, 0x40, %asi | |
11481 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11482 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11483 | cmp %l1, 1 | |
11484 | bne cwq_1_95 | |
11485 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11486 | sub %l2, 0x40, %l2 | |
11487 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11488 | wr %r12, %g0, %asi | |
11489 | st %g0, [%r23] | |
11490 | cwq_1_95: | |
11491 | ta T_CHANGE_NONHPRIV | |
11492 | .word 0x9b414000 ! 188: RDPC rd %pc, %r13 | |
11493 | .word 0xe88fe010 ! 189: LDUBA_I lduba [%r31, + 0x0010] %asi, %r20 | |
11494 | splash_lsu_1_96: | |
11495 | setx 0x036eb0287e85dc7f, %r1, %r2 | |
11496 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11497 | .word 0x3d400001 ! 190: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11498 | .word 0x99a489f1 ! 191: FDIVq dis not found | |
11499 | ||
11500 | cwp_1_97: | |
11501 | set user_data_start, %o7 | |
11502 | .word 0x93902004 ! 192: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
11503 | .word 0xa784c014 ! 193: WR_GRAPHICS_STATUS_REG_R wr %r19, %r20, %- | |
11504 | .word 0x879023a1 ! 194: WRPR_TT_I wrpr %r0, 0x03a1, %tt | |
11505 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11506 | ta T_CHANGE_NONHPRIV ! macro | |
11507 | .word 0x9ba01970 ! 195: FqTOd dis not found | |
11508 | ||
11509 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_100) + 8, 16, 16)) -> intp(5,0,9) | |
11510 | intvec_1_100: | |
11511 | .word 0x39400001 ! 196: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11512 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11513 | ta T_CHANGE_NONHPRIV ! macro | |
11514 | .word 0x99a01963 ! 197: FqTOd dis not found | |
11515 | ||
11516 | intveclr_1_102: | |
11517 | setx 0x7657d4120f8df50e, %r1, %r28 | |
11518 | stxa %r28, [%g0] 0x72 | |
11519 | .word 0x25400001 ! 198: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11520 | mondo_1_103: | |
11521 | nop | |
11522 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11523 | ||
11524 | stxa %r1, [%r0+0x3e8] %asi | |
11525 | .word 0x9d904009 ! 199: WRPR_WSTATE_R wrpr %r1, %r9, %wstate | |
11526 | memptr_1_104: | |
11527 | set 0x60340000, %r31 | |
11528 | .word 0x85807c85 ! 200: WRCCR_I wr %r1, 0x1c85, %ccr | |
11529 | .word 0x8780208a ! 201: WRASI_I wr %r0, 0x008a, %asi | |
11530 | .word 0xa9804012 ! 202: WR_SET_SOFTINT_R wr %r1, %r18, %set_softint | |
11531 | .word 0x8780208b ! 203: WRASI_I wr %r0, 0x008b, %asi | |
11532 | DS_1_105: | |
11533 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
11534 | .word 0xbfefc000 ! 204: RESTORE_R restore %r31, %r0, %r31 | |
11535 | .word 0x26800001 ! 205: BL bl,a <label_0x1> | |
11536 | .word 0xe0d00e80 ! 206: LDSHA_R ldsha [%r0, %r0] 0x74, %r16 | |
11537 | debug_1_106: | |
11538 | nop | |
11539 | rd %pc, %r19 | |
11540 | add %r19, (64+40), %r19 | |
11541 | mov 0x38, %r18 | |
11542 | .word 0xe6f00b12 ! 207: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11543 | debug_1_107: | |
11544 | nop | |
11545 | mov 0x38, %r18 | |
11546 | .word 0xfef00b12 ! 208: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11547 | .word 0x8d903e4d ! 209: WRPR_PSTATE_I wrpr %r0, 0x1e4d, %pstate | |
11548 | .word 0x2c700001 ! 210: BPNEG <illegal instruction> | |
11549 | .word 0x99902001 ! 211: WRPR_CLEANWIN_I wrpr %r0, 0x0001, %cleanwin | |
11550 | mov (1+1), %r10 | |
11551 | ta T_CHANGE_HPRIV | |
11552 | set sync_thr_counter2, %r23 | |
11553 | cas [%r23],%g0,%r10 !lock | |
11554 | brnz %r10, sma_1_108 | |
11555 | rd %asi, %r12 | |
11556 | wr %g0, 0x40, %asi | |
11557 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11558 | set 0x21fff, %g1 | |
11559 | stxa %g1, [%g0 + 0x80] %asi | |
11560 | wr %r12, %g0, %asi | |
11561 | st %g0, [%r23] | |
11562 | sma_1_108: | |
11563 | ta T_CHANGE_NONHPRIV | |
11564 | .word 0xe1e7e006 ! 212: CASA_R casa [%r31] %asi, %r6, %r16 | |
11565 | cwp_1_109: | |
11566 | set user_data_start, %o7 | |
11567 | .word 0x93902004 ! 213: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
11568 | ta T_CHANGE_HPRIV | |
11569 | mov (1+1), %r10 | |
11570 | set sync_thr_counter1, %r23 | |
11571 | cas [%r23],%g0,%r10 !lock | |
11572 | brnz %r10, cwq_1_110 | |
11573 | rd %asi, %r12 | |
11574 | wr %g0, 0x40, %asi | |
11575 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11576 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11577 | cmp %l1, 1 | |
11578 | bne cwq_1_110 | |
11579 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11580 | sub %l2, 0x40, %l2 | |
11581 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11582 | wr %r12, %g0, %asi | |
11583 | st %g0, [%r23] | |
11584 | cwq_1_110: | |
11585 | ta T_CHANGE_NONHPRIV | |
11586 | .word 0xa9414000 ! 214: RDPC rd %pc, %r20 | |
11587 | debug_1_111: | |
11588 | nop | |
11589 | mov 8, %r18 | |
11590 | .word 0xe4f00492 ! 215: STXA_R stxa %r18, [%r0 + %r18] 0x24 | |
11591 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11592 | ta T_CHANGE_NONPRIV ! macro | |
11593 | .word 0x9769e67d ! 216: SDIVX_I sdivx %r7, 0x067d, %r11 | |
11594 | .word 0xa190200d ! 217: WRPR_GL_I wrpr %r0, 0x000d, %- | |
11595 | debug_1_113: | |
11596 | nop | |
11597 | mov 0x38, %r18 | |
11598 | .word 0xfef00b12 ! 218: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11599 | invalw | |
11600 | mov 0xb0, %r30 | |
11601 | .word 0x83d0001e ! 219: Tcc_R te icc_or_xcc, %r0 + %r30 | |
11602 | splash_tba_1_114: | |
11603 | set 0x003f0000, %r12 | |
11604 | st %r1, [%r12+%r0] | |
11605 | ta T_CHANGE_PRIV | |
11606 | set 0x003f0000, %r12 | |
11607 | .word 0x8b90000c ! 220: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11608 | .word 0x91450000 ! 221: RD_SET_SOFTINT rd %set_softint, %r8 | |
11609 | .word 0xd08008a0 ! 222: LDUWA_R lduwa [%r0, %r0] 0x45, %r8 | |
11610 | splash_hpstate_1_115: | |
11611 | .word 0x8198229d ! 223: WRHPR_HPSTATE_I wrhpr %r0, 0x029d, %hpstate | |
11612 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_116) + 24, 16, 16)) -> intp(4,0,16) | |
11613 | intvec_1_116: | |
11614 | .word 0x39400001 ! 224: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11615 | ta T_CHANGE_HPRIV | |
11616 | mov (1+1), %r10 | |
11617 | set sync_thr_counter1, %r23 | |
11618 | cas [%r23],%g0,%r10 !lock | |
11619 | brnz %r10, cwq_1_117 | |
11620 | rd %asi, %r12 | |
11621 | wr %g0, 0x40, %asi | |
11622 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11623 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11624 | cmp %l1, 1 | |
11625 | bne cwq_1_117 | |
11626 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11627 | sub %l2, 0x40, %l2 | |
11628 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11629 | wr %r12, %g0, %asi | |
11630 | st %g0, [%r23] | |
11631 | cwq_1_117: | |
11632 | ta T_CHANGE_NONHPRIV | |
11633 | .word 0xa7414000 ! 225: RDPC rd %pc, %r19 | |
11634 | .word 0xa553c000 ! 226: RDPR_FQ <illegal instruction> | |
11635 | memptr_1_118: | |
11636 | set 0x60540000, %r31 | |
11637 | .word 0x8582bac1 ! 227: WRCCR_I wr %r10, 0x1ac1, %ccr | |
11638 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11639 | ta T_CHANGE_NONHPRIV ! macro | |
11640 | .word 0xa3a01960 ! 228: FqTOd dis not found | |
11641 | ||
11642 | .word 0xa3a049d0 ! 229: FDIVd fdivd %f32, %f16, %f48 | |
11643 | .word 0x8780208a ! 230: WRASI_I wr %r0, 0x008a, %asi | |
11644 | splash_tba_1_120: | |
11645 | set 0x003f0000, %r12 | |
11646 | st %r1, [%r12+%r0] | |
11647 | ta T_CHANGE_PRIV | |
11648 | set 0x003f0000, %r12 | |
11649 | .word 0x8b90000c ! 231: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11650 | splash_cmpr_1_121: | |
11651 | setx 0x53ea29719b71d9df, %g2, %g1 | |
11652 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
11653 | sub %g1, 100, %g1 | |
11654 | .word 0xb1800001 ! 232: WR_STICK_REG_R wr %r0, %r1, %- | |
11655 | mov (1+1), %r10 | |
11656 | ta T_CHANGE_HPRIV | |
11657 | set sync_thr_counter2, %r23 | |
11658 | cas [%r23],%g0,%r10 !lock | |
11659 | brnz %r10, sma_1_122 | |
11660 | rd %asi, %r12 | |
11661 | wr %g0, 0x40, %asi | |
11662 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11663 | set 0x21fff, %g1 | |
11664 | stxa %g1, [%g0 + 0x80] %asi | |
11665 | wr %r12, %g0, %asi | |
11666 | st %g0, [%r23] | |
11667 | sma_1_122: | |
11668 | ta T_CHANGE_NONHPRIV | |
11669 | .word 0xd7e7e014 ! 233: CASA_R casa [%r31] %asi, %r20, %r11 | |
11670 | .word 0xd737e19a ! 234: STQF_I - %f11, [0x019a, %r31] | |
11671 | splash_hpstate_1_123: | |
11672 | .word 0x81982395 ! 235: WRHPR_HPSTATE_I wrhpr %r0, 0x0395, %hpstate | |
11673 | .word 0x9194242e ! 236: WRPR_PIL_I wrpr %r16, 0x042e, %pil | |
11674 | change_to_randtl_1_124: | |
11675 | ta T_CHANGE_PRIV ! macro | |
11676 | done_change_to_randtl_1_124: | |
11677 | .word 0x8f902001 ! 237: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11678 | splash_cmpr_1_125: | |
11679 | setx 0xd6b3947699a29909, %g2, %g1 | |
11680 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11681 | sub %g1, 100, %g1 | |
11682 | .word 0xb1800001 ! 238: WR_STICK_REG_R wr %r0, %r1, %- | |
11683 | invalw | |
11684 | mov 0xb4, %r30 | |
11685 | .word 0x91d0001e ! 239: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11686 | ta T_CHANGE_HPRIV | |
11687 | mov (1+1), %r10 | |
11688 | set sync_thr_counter1, %r23 | |
11689 | cas [%r23],%g0,%r10 !lock | |
11690 | brnz %r10, cwq_1_126 | |
11691 | rd %asi, %r12 | |
11692 | wr %g0, 0x40, %asi | |
11693 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11694 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11695 | cmp %l1, 1 | |
11696 | bne cwq_1_126 | |
11697 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11698 | sub %l2, 0x40, %l2 | |
11699 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11700 | wr %r12, %g0, %asi | |
11701 | st %g0, [%r23] | |
11702 | cwq_1_126: | |
11703 | ta T_CHANGE_NONHPRIV | |
11704 | .word 0xa7414000 ! 240: RDPC rd %pc, %r19 | |
11705 | .word 0xe91fc000 ! 241: LDDF_R ldd [%r31, %r0], %f20 | |
11706 | change_to_randtl_1_127: | |
11707 | ta T_CHANGE_HPRIV ! macro | |
11708 | done_change_to_randtl_1_127: | |
11709 | .word 0x8f902001 ! 242: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
11710 | .word 0x99a509d2 ! 243: FDIVd fdivd %f20, %f18, %f12 | |
11711 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11712 | ta T_CHANGE_NONPRIV ! macro | |
11713 | .word 0x996d2ac8 ! 244: SDIVX_I sdivx %r20, 0x0ac8, %r12 | |
11714 | .word 0xe2800a60 ! 245: LDUWA_R lduwa [%r0, %r0] 0x53, %r17 | |
11715 | cwp_1_129: | |
11716 | set user_data_start, %o7 | |
11717 | .word 0x93902000 ! 246: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
11718 | .word 0x91d020b4 ! 247: Tcc_I ta icc_or_xcc, %r0 + 180 | |
11719 | .word 0x30700001 ! 248: BPA <illegal instruction> | |
11720 | .word 0x87802089 ! 249: WRASI_I wr %r0, 0x0089, %asi | |
11721 | splash_cmpr_1_130: | |
11722 | setx 0x88db057c280c9eab, %g2, %g1 | |
11723 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11724 | sub %g1, 100, %g1 | |
11725 | .word 0xb1800001 ! 250: WR_STICK_REG_R wr %r0, %r1, %- | |
11726 | change_to_randtl_1_131: | |
11727 | ta T_CHANGE_HPRIV ! macro | |
11728 | done_change_to_randtl_1_131: | |
11729 | .word 0x8f902002 ! 251: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
11730 | .word 0xe31fc000 ! 252: LDDF_R ldd [%r31, %r0], %f17 | |
11731 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_1_132)+48, 16, 16)) -> intp(1,1,3) | |
11732 | xir_1_132: | |
11733 | .word 0xa980a0d8 ! 253: WR_SET_SOFTINT_I wr %r2, 0x00d8, %set_softint | |
11734 | ta T_CHANGE_HPRIV | |
11735 | mov (1+1), %r10 | |
11736 | set sync_thr_counter1, %r23 | |
11737 | cas [%r23],%g0,%r10 !lock | |
11738 | brnz %r10, cwq_1_133 | |
11739 | rd %asi, %r12 | |
11740 | wr %g0, 0x40, %asi | |
11741 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11742 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11743 | cmp %l1, 1 | |
11744 | bne cwq_1_133 | |
11745 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11746 | sub %l2, 0x40, %l2 | |
11747 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11748 | wr %r12, %g0, %asi | |
11749 | st %g0, [%r23] | |
11750 | cwq_1_133: | |
11751 | ta T_CHANGE_NONHPRIV | |
11752 | .word 0x95414000 ! 254: RDPC rd %pc, %r10 | |
11753 | DS_1_134: | |
11754 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
11755 | pdist %f6, %f26, %f12 | |
11756 | .word 0x99b18312 ! 255: ALIGNADDRESS alignaddr %r6, %r18, %r12 | |
11757 | setx 0x60e1eb55e139eb28, %r1, %r28 | |
11758 | stxa %r28, [%g0] 0x73 | |
11759 | intvec_1_135: | |
11760 | .word 0x39400001 ! 256: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11761 | .word 0x8790211a ! 257: WRPR_TT_I wrpr %r0, 0x011a, %tt | |
11762 | splash_tba_1_136: | |
11763 | set 0x120000, %r12 | |
11764 | st %r1, [%r12+%r0] | |
11765 | ta T_CHANGE_PRIV | |
11766 | set 0x120000, %r12 | |
11767 | .word 0x8b90000c ! 258: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11768 | .word 0x9b50c000 ! 259: RDPR_TT rdpr %tt, %r13 | |
11769 | mov (1+1), %r10 | |
11770 | ta T_CHANGE_HPRIV | |
11771 | set sync_thr_counter2, %r23 | |
11772 | cas [%r23],%g0,%r10 !lock | |
11773 | brnz %r10, sma_1_137 | |
11774 | rd %asi, %r12 | |
11775 | wr %g0, 0x40, %asi | |
11776 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
11777 | set 0x21fff, %g1 | |
11778 | stxa %g1, [%g0 + 0x80] %asi | |
11779 | wr %r12, %g0, %asi | |
11780 | st %g0, [%r23] | |
11781 | sma_1_137: | |
11782 | ta T_CHANGE_NONHPRIV | |
11783 | .word 0xd5e7e001 ! 260: CASA_R casa [%r31] %asi, %r1, %r10 | |
11784 | .word 0x8d9029cb ! 261: WRPR_PSTATE_I wrpr %r0, 0x09cb, %pstate | |
11785 | DS_1_138: | |
11786 | .word 0xa1a409c8 ! 1: FDIVd fdivd %f16, %f8, %f16 | |
11787 | .word 0xbfefc000 ! 262: RESTORE_R restore %r31, %r0, %r31 | |
11788 | splash_tba_1_139: | |
11789 | set 0x120000, %r12 | |
11790 | ld [%r12+%r0], %r1 | |
11791 | ta T_CHANGE_PRIV | |
11792 | set 0x120000, %r12 | |
11793 | .word 0x8b90000c ! 263: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11794 | DS_1_140: | |
11795 | nop | |
11796 | not %g0, %r12 | |
11797 | jmp %r12 | |
11798 | .word 0x9d902000 ! 264: WRPR_WSTATE_I wrpr %r0, 0x0000, %wstate | |
11799 | tagged_1_141: | |
11800 | taddcctv %r2, 0x1d80, %r8 | |
11801 | .word 0xd407e18a ! 265: LDUW_I lduw [%r31 + 0x018a], %r10 | |
11802 | .word 0xd46fe18a ! 266: LDSTUB_I ldstub %r10, [%r31 + 0x018a] | |
11803 | .word 0xa7a00170 ! 267: FABSq dis not found | |
11804 | ||
11805 | .word 0x87902229 ! 268: WRPR_TT_I wrpr %r0, 0x0229, %tt | |
11806 | change_to_randtl_1_142: | |
11807 | ta T_CHANGE_PRIV ! macro | |
11808 | done_change_to_randtl_1_142: | |
11809 | .word 0x8f902000 ! 269: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11810 | .word 0x99a2c9c4 ! 270: FDIVd fdivd %f42, %f4, %f12 | |
11811 | .word 0xd02fe18a ! 271: STB_I stb %r8, [%r31 + 0x018a] | |
11812 | .word 0x99450000 ! 272: RD_SET_SOFTINT rd %set_softint, %r12 | |
11813 | splash_tba_1_143: | |
11814 | set 0x120000, %r12 | |
11815 | ld [%r12+%r0], %r1 | |
11816 | ta T_CHANGE_PRIV | |
11817 | set 0x120000, %r12 | |
11818 | .word 0x8b90000c ! 273: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11819 | .word 0x879023e6 ! 274: WRPR_TT_I wrpr %r0, 0x03e6, %tt | |
11820 | ta T_CHANGE_HPRIV | |
11821 | mov (1+1), %r10 | |
11822 | set sync_thr_counter1, %r23 | |
11823 | cas [%r23],%g0,%r10 !lock | |
11824 | brnz %r10, cwq_1_144 | |
11825 | rd %asi, %r12 | |
11826 | wr %g0, 0x40, %asi | |
11827 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11828 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11829 | cmp %l1, 1 | |
11830 | bne cwq_1_144 | |
11831 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11832 | sub %l2, 0x40, %l2 | |
11833 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11834 | wr %r12, %g0, %asi | |
11835 | st %g0, [%r23] | |
11836 | cwq_1_144: | |
11837 | ta T_CHANGE_NONHPRIV | |
11838 | .word 0xa3414000 ! 275: RDPC rd %pc, %r17 | |
11839 | .word 0xa7848000 ! 276: WR_GRAPHICS_STATUS_REG_R wr %r18, %r0, %- | |
11840 | nop | |
11841 | mov 0x80, %g3 | |
11842 | stxa %g3, [%g3] 0x57 | |
11843 | .word 0xe45fc000 ! 277: LDX_R ldx [%r31 + %r0], %r18 | |
11844 | .word 0x2e800001 ! 278: BVS bvs,a <label_0x1> | |
11845 | debug_1_146: | |
11846 | nop | |
11847 | mov 0x38, %r18 | |
11848 | .word 0xfef00b12 ! 279: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
11849 | debug_1_147: | |
11850 | nop | |
11851 | mov 8, %r18 | |
11852 | .word 0xe4f00492 ! 280: STXA_R stxa %r18, [%r0 + %r18] 0x24 | |
11853 | splash_tba_1_148: | |
11854 | set 0x120000, %r12 | |
11855 | st %r1, [%r12+%r0] | |
11856 | ta T_CHANGE_PRIV | |
11857 | set 0x120000, %r12 | |
11858 | .word 0x8b90000c ! 281: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11859 | .word 0x879020a3 ! 282: WRPR_TT_I wrpr %r0, 0x00a3, %tt | |
11860 | splash_tba_1_149: | |
11861 | set 0x120000, %r12 | |
11862 | ld [%r12+%r0], %r1 | |
11863 | ta T_CHANGE_PRIV | |
11864 | set 0x120000, %r12 | |
11865 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11866 | intveclr_1_150: | |
11867 | setx 0xce59b104e707dd65, %r1, %r28 | |
11868 | stxa %r28, [%g0] 0x72 | |
11869 | .word 0x25400001 ! 284: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
11870 | nop | |
11871 | mov 0x80, %g3 | |
11872 | stxa %g3, [%g3] 0x57 | |
11873 | .word 0xe45fc000 ! 285: LDX_R ldx [%r31 + %r0], %r18 | |
11874 | debug_1_151: | |
11875 | nop | |
11876 | rd %pc, %r19 | |
11877 | add %r19, (64+16), %r19 | |
11878 | mov 0x38, %r18 | |
11879 | .word 0xe6f00b12 ! 286: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
11880 | .word 0xe48008a0 ! 287: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
11881 | rd %pc, %r19 | |
11882 | add %r19, (ivw_1_152-.+24), %r19 | |
11883 | mov 0x38, %r18 | |
11884 | stxa %r19, [%r18]0x58 | |
11885 | ivw_1_152: | |
11886 | .word 0x91924011 ! 288: WRPR_PIL_R wrpr %r9, %r17, %pil | |
11887 | splash_cmpr_1_153: | |
11888 | setx 0x9b5634f5f9b749a2, %g2, %g1 | |
11889 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11890 | sub %g1, 100, %g1 | |
11891 | .word 0xb1800001 ! 289: WR_STICK_REG_R wr %r0, %r1, %- | |
11892 | splash_cmpr_1_154: | |
11893 | setx 0x27b148038c446456, %g2, %g1 | |
11894 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11895 | sub %g1, 100, %g1 | |
11896 | .word 0xb1800001 ! 290: WR_STICK_REG_R wr %r0, %r1, %- | |
11897 | .word 0x8d802004 ! 291: WRFPRS_I wr %r0, 0x0004, %fprs | |
11898 | memptr_1_155: | |
11899 | set 0x60340000, %r31 | |
11900 | .word 0x8581b56e ! 292: WRCCR_I wr %r6, 0x156e, %ccr | |
11901 | mondo_1_156: | |
11902 | nop | |
11903 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11904 | ||
11905 | stxa %r13, [%r0+0x3c0] %asi | |
11906 | .word 0x9d910013 ! 293: WRPR_WSTATE_R wrpr %r4, %r19, %wstate | |
11907 | ta T_CHANGE_HPRIV | |
11908 | mov (1+1), %r10 | |
11909 | set sync_thr_counter1, %r23 | |
11910 | cas [%r23],%g0,%r10 !lock | |
11911 | brnz %r10, cwq_1_157 | |
11912 | rd %asi, %r12 | |
11913 | wr %g0, 0x40, %asi | |
11914 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
11915 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
11916 | cmp %l1, 1 | |
11917 | bne cwq_1_157 | |
11918 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
11919 | sub %l2, 0x40, %l2 | |
11920 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
11921 | wr %r12, %g0, %asi | |
11922 | st %g0, [%r23] | |
11923 | cwq_1_157: | |
11924 | ta T_CHANGE_NONHPRIV | |
11925 | .word 0x91414000 ! 294: RDPC rd %pc, %r8 | |
11926 | DS_1_158: | |
11927 | nop | |
11928 | not %g0, %r12 | |
11929 | jmp %r12 | |
11930 | .word 0x9d902005 ! 295: WRPR_WSTATE_I wrpr %r0, 0x0005, %wstate | |
11931 | .word 0x81510000 ! 296: RDPR_TICK rdpr %tick, %r0 | |
11932 | otherw | |
11933 | mov 0xb1, %r30 | |
11934 | .word 0x91d0001e ! 297: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
11935 | splash_lsu_1_159: | |
11936 | setx 0x2f2fd39afe6829e5, %r1, %r2 | |
11937 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
11938 | .word 0x3d400001 ! 298: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
11939 | .word 0x91d02034 ! 299: Tcc_I ta icc_or_xcc, %r0 + 52 | |
11940 | splash_htba_1_160: | |
11941 | set 0x80000, %r12 | |
11942 | st %r1, [%r12+%r0] | |
11943 | ta T_CHANGE_HPRIV | |
11944 | set 0x80000, %r12 | |
11945 | .word 0x8b98000c ! 300: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
11946 | splash_hpstate_1_161: | |
11947 | .word 0x81982356 ! 301: WRHPR_HPSTATE_I wrhpr %r0, 0x0356, %hpstate | |
11948 | .word 0x8d902de0 ! 302: WRPR_PSTATE_I wrpr %r0, 0x0de0, %pstate | |
11949 | splash_tba_1_162: | |
11950 | set 0x003f0000, %r12 | |
11951 | st %r1, [%r12+%r0] | |
11952 | ta T_CHANGE_PRIV | |
11953 | set 0x003f0000, %r12 | |
11954 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11955 | setx 0xe35f8c5bfd62d19c, %r1, %r28 | |
11956 | stxa %r28, [%g0] 0x73 | |
11957 | intvec_1_163: | |
11958 | .word 0x39400001 ! 304: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
11959 | cwp_1_164: | |
11960 | set user_data_start, %o7 | |
11961 | .word 0x93902006 ! 305: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
11962 | nop | |
11963 | mov 0x80, %g3 | |
11964 | stxa %g3, [%g3] 0x57 | |
11965 | .word 0xe05fc000 ! 306: LDX_R ldx [%r31 + %r0], %r16 | |
11966 | splash_cmpr_1_165: | |
11967 | setx 0x41a4f7aa75dbcfbe, %g2, %g1 | |
11968 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
11969 | sub %g1, 100, %g1 | |
11970 | .word 0xb1800001 ! 307: WR_STICK_REG_R wr %r0, %r1, %- | |
11971 | splash_tba_1_166: | |
11972 | set 0x120000, %r12 | |
11973 | st %r1, [%r12+%r0] | |
11974 | ta T_CHANGE_PRIV | |
11975 | set 0x120000, %r12 | |
11976 | .word 0x8b90000c ! 308: WRPR_TBA_R wrpr %r0, %r12, %tba | |
11977 | splash_hpstate_1_167: | |
11978 | .word 0x81982b47 ! 309: WRHPR_HPSTATE_I wrhpr %r0, 0x0b47, %hpstate | |
11979 | .word 0xe03fc000 ! 310: STD_R std %r16, [%r31 + %r0] | |
11980 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
11981 | ta T_CHANGE_NONPRIV ! macro | |
11982 | .word 0x93a0196a ! 311: FqTOd dis not found | |
11983 | ||
11984 | mondo_1_169: | |
11985 | nop | |
11986 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
11987 | ||
11988 | stxa %r16, [%r0+0x3d8] %asi | |
11989 | .word 0x9d95000d ! 312: WRPR_WSTATE_R wrpr %r20, %r13, %wstate | |
11990 | splash_cmpr_1_170: | |
11991 | setx 0x54a489167bcc3fa2, %g2, %g1 | |
11992 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
11993 | sub %g1, 100, %g1 | |
11994 | .word 0xb1800001 ! 313: WR_STICK_REG_R wr %r0, %r1, %- | |
11995 | change_to_randtl_1_171: | |
11996 | ta T_CHANGE_HPRIV ! macro | |
11997 | done_change_to_randtl_1_171: | |
11998 | .word 0x8f902003 ! 314: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
11999 | DS_1_172: | |
12000 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
12001 | .word 0xbfefc000 ! 315: RESTORE_R restore %r31, %r0, %r31 | |
12002 | ta T_CHANGE_HPRIV | |
12003 | mov (1+1), %r10 | |
12004 | set sync_thr_counter1, %r23 | |
12005 | cas [%r23],%g0,%r10 !lock | |
12006 | brnz %r10, cwq_1_173 | |
12007 | rd %asi, %r12 | |
12008 | wr %g0, 0x40, %asi | |
12009 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12010 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12011 | cmp %l1, 1 | |
12012 | bne cwq_1_173 | |
12013 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12014 | sub %l2, 0x40, %l2 | |
12015 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12016 | wr %r12, %g0, %asi | |
12017 | st %g0, [%r23] | |
12018 | cwq_1_173: | |
12019 | ta T_CHANGE_NONHPRIV | |
12020 | .word 0xa1414000 ! 316: RDPC rd %pc, %r16 | |
12021 | splash_hpstate_1_174: | |
12022 | .word 0x81982d9d ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x0d9d, %hpstate | |
12023 | .word 0xdad004a0 ! 318: LDSHA_R ldsha [%r0, %r0] 0x25, %r13 | |
12024 | setx 0x8e8c3fee38733ae8, %r1, %r28 | |
12025 | stxa %r28, [%g0] 0x73 | |
12026 | intvec_1_175: | |
12027 | .word 0x39400001 ! 319: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12028 | cwp_1_176: | |
12029 | set user_data_start, %o7 | |
12030 | .word 0x93902002 ! 320: WRPR_CWP_I wrpr %r0, 0x0002, %cwp | |
12031 | splash_hpstate_1_177: | |
12032 | .word 0x819824fe ! 321: WRHPR_HPSTATE_I wrhpr %r0, 0x04fe, %hpstate | |
12033 | mondo_1_178: | |
12034 | nop | |
12035 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12036 | ||
12037 | stxa %r17, [%r0+0x3e0] %asi | |
12038 | .word 0x9d948008 ! 322: WRPR_WSTATE_R wrpr %r18, %r8, %wstate | |
12039 | nop | |
12040 | mov 0x80, %g3 | |
12041 | stxa %g3, [%g3] 0x57 | |
12042 | .word 0xda5fc000 ! 323: LDX_R ldx [%r31 + %r0], %r13 | |
12043 | .word 0xa1a489c2 ! 324: FDIVd fdivd %f18, %f2, %f16 | |
12044 | .word 0x879021b8 ! 325: WRPR_TT_I wrpr %r0, 0x01b8, %tt | |
12045 | debug_1_179: | |
12046 | nop | |
12047 | mov 0x38, %r18 | |
12048 | .word 0xfef00b12 ! 326: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12049 | .word 0x97a0056b ! 327: FSQRTq fsqrt | |
12050 | intveclr_1_180: | |
12051 | setx 0xd279af1378eac827, %r1, %r28 | |
12052 | stxa %r28, [%g0] 0x72 | |
12053 | .word 0x25400001 ! 328: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12054 | mondo_1_181: | |
12055 | nop | |
12056 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12057 | ||
12058 | stxa %r0, [%r0+0x3c0] %asi | |
12059 | .word 0x9d948009 ! 329: WRPR_WSTATE_R wrpr %r18, %r9, %wstate | |
12060 | .word 0xd2c804a0 ! 330: LDSBA_R ldsba [%r0, %r0] 0x25, %r9 | |
12061 | cwp_1_182: | |
12062 | set user_data_start, %o7 | |
12063 | .word 0x93902004 ! 331: WRPR_CWP_I wrpr %r0, 0x0004, %cwp | |
12064 | debug_1_183: | |
12065 | nop | |
12066 | mov 8, %r18 | |
12067 | .word 0xdcf00492 ! 332: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
12068 | invalw | |
12069 | mov 0x32, %r30 | |
12070 | .word 0x83d0001e ! 333: Tcc_R te icc_or_xcc, %r0 + %r30 | |
12071 | cwp_1_184: | |
12072 | set user_data_start, %o7 | |
12073 | .word 0x93902001 ! 334: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
12074 | .word 0x879021dd ! 335: WRPR_TT_I wrpr %r0, 0x01dd, %tt | |
12075 | splash_cmpr_1_185: | |
12076 | setx 0x56c8534c2fc0b2ea, %g2, %g1 | |
12077 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
12078 | sub %g1, 100, %g1 | |
12079 | .word 0xb1800001 ! 336: WR_STICK_REG_R wr %r0, %r1, %- | |
12080 | .word 0x87802055 ! 337: WRASI_I wr %r0, 0x0055, %asi | |
12081 | tagged_1_186: | |
12082 | tsubcctv %r12, 0x120b, %r18 | |
12083 | .word 0xd207e551 ! 338: LDUW_I lduw [%r31 + 0x0551], %r9 | |
12084 | .word 0x34700001 ! 339: BPG <illegal instruction> | |
12085 | cwp_1_187: | |
12086 | set user_data_start, %o7 | |
12087 | .word 0x93902007 ! 340: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
12088 | .word 0xd277e551 ! 341: STX_I stx %r9, [%r31 + 0x0551] | |
12089 | change_to_randtl_1_188: | |
12090 | ta T_CHANGE_PRIV ! macro | |
12091 | done_change_to_randtl_1_188: | |
12092 | .word 0x8f902002 ! 342: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12093 | .word 0xd297e020 ! 343: LDUHA_I lduha [%r31, + 0x0020] %asi, %r9 | |
12094 | intveclr_1_189: | |
12095 | setx 0x3d40f57e03de9c83, %r1, %r28 | |
12096 | stxa %r28, [%g0] 0x72 | |
12097 | .word 0x25400001 ! 344: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12098 | DS_1_190: | |
12099 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
12100 | .word 0xbfe7c000 ! 345: SAVE_R save %r31, %r0, %r31 | |
12101 | splash_htba_1_191: | |
12102 | set 0x80000, %r12 | |
12103 | ld [%r12+%r0], %r1 | |
12104 | ta T_CHANGE_HPRIV | |
12105 | set 0x80000, %r12 | |
12106 | .word 0x8b98000c ! 346: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
12107 | debug_1_192: | |
12108 | nop | |
12109 | mov 8, %r18 | |
12110 | .word 0xd4f00492 ! 347: STXA_R stxa %r10, [%r0 + %r18] 0x24 | |
12111 | nop | |
12112 | mov 0x80, %g3 | |
12113 | stxa %g3, [%g3] 0x5f | |
12114 | .word 0xd25fc000 ! 348: LDX_R ldx [%r31 + %r0], %r9 | |
12115 | tagged_1_193: | |
12116 | taddcctv %r3, 0x170f, %r20 | |
12117 | .word 0xd207e551 ! 349: LDUW_I lduw [%r31 + 0x0551], %r9 | |
12118 | tagged_1_194: | |
12119 | tsubcctv %r3, 0x1544, %r3 | |
12120 | .word 0xd207e551 ! 350: LDUW_I lduw [%r31 + 0x0551], %r9 | |
12121 | tagged_1_195: | |
12122 | taddcctv %r21, 0x19a7, %r26 | |
12123 | .word 0xd207e551 ! 351: LDUW_I lduw [%r31 + 0x0551], %r9 | |
12124 | .word 0x97a00166 ! 352: FABSq dis not found | |
12125 | ||
12126 | .word 0x9191afa2 ! 353: WRPR_PIL_I wrpr %r6, 0x0fa2, %pil | |
12127 | .word 0x9f802930 ! 354: SIR sir 0x0930 | |
12128 | intveclr_1_196: | |
12129 | setx 0x5cd3657168bb9e38, %r1, %r28 | |
12130 | stxa %r28, [%g0] 0x72 | |
12131 | .word 0x25400001 ! 355: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12132 | .word 0x91a00563 ! 356: FSQRTq fsqrt | |
12133 | .word 0xe0800ac0 ! 357: LDUWA_R lduwa [%r0, %r0] 0x56, %r16 | |
12134 | otherw | |
12135 | mov 0xb5, %r30 | |
12136 | .word 0x91d0001e ! 358: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12137 | .word 0xe027f503 ! 359: STW_I stw %r16, [%r31 + 0xfffff503] | |
12138 | .word 0x87902096 ! 360: WRPR_TT_I wrpr %r0, 0x0096, %tt | |
12139 | .word 0x8790228e ! 361: WRPR_TT_I wrpr %r0, 0x028e, %tt | |
12140 | debug_1_197: | |
12141 | nop | |
12142 | mov 0x38, %r18 | |
12143 | .word 0xfef00b12 ! 362: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12144 | .word 0xe08008a0 ! 363: LDUWA_R lduwa [%r0, %r0] 0x45, %r16 | |
12145 | .word 0x919537d1 ! 364: WRPR_PIL_I wrpr %r20, 0x17d1, %pil | |
12146 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_1_198) + 8, 16, 16)) -> intp(3,0,11) | |
12147 | intvec_1_198: | |
12148 | .word 0x39400001 ! 365: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12149 | DS_1_199: | |
12150 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
12151 | .word 0xbfefc000 ! 366: RESTORE_R restore %r31, %r0, %r31 | |
12152 | rd %pc, %r19 | |
12153 | add %r19, (ivw_1_200-.+0), %r19 | |
12154 | mov 0x38, %r18 | |
12155 | stxa %r19, [%r18]0x58 | |
12156 | ivw_1_200: | |
12157 | .word 0x91904013 ! 367: WRPR_PIL_R wrpr %r1, %r19, %pil | |
12158 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12159 | ta T_CHANGE_NONHPRIV ! macro | |
12160 | .word 0xa7a01963 ! 368: FqTOd dis not found | |
12161 | ||
12162 | splash_cmpr_1_202: | |
12163 | setx 0x61fce47eebe78149, %g2, %g1 | |
12164 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12165 | sub %g1, 100, %g1 | |
12166 | .word 0xb1800001 ! 369: WR_STICK_REG_R wr %r0, %r1, %- | |
12167 | mov (1+1), %r10 | |
12168 | ta T_CHANGE_HPRIV | |
12169 | set sync_thr_counter2, %r23 | |
12170 | cas [%r23],%g0,%r10 !lock | |
12171 | brnz %r10, sma_1_203 | |
12172 | rd %asi, %r12 | |
12173 | wr %g0, 0x40, %asi | |
12174 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12175 | set 0x21fff, %g1 | |
12176 | stxa %g1, [%g0 + 0x80] %asi | |
12177 | wr %r12, %g0, %asi | |
12178 | st %g0, [%r23] | |
12179 | sma_1_203: | |
12180 | ta T_CHANGE_NONHPRIV | |
12181 | .word 0xd1e7e010 ! 370: CASA_R casa [%r31] %asi, %r16, %r8 | |
12182 | donret_1_204: | |
12183 | nop | |
12184 | rd %pc, %r12 | |
12185 | add %r12, (donretarg_1_204-donret_1_204), %r12 | |
12186 | mov 0x38, %r18 | |
12187 | stxa %r12, [%r18]0x58 | |
12188 | add %r12, 0x4, %r11 | |
12189 | wrpr %g0, 0x1, %tl | |
12190 | wrpr %g0, %r12, %tpc | |
12191 | wrpr %g0, %r11, %tnpc | |
12192 | wrpr %g0, %r13, %tstate | |
12193 | wrhpr %g0, %r14, %htstate | |
12194 | retry | |
12195 | donretarg_1_204: | |
12196 | .word 0xd0fff5d1 ! 371: SWAPA_I swapa %r8, [%r31 + 0xfffff5d1] %asi | |
12197 | .word 0x8d902658 ! 372: WRPR_PSTATE_I wrpr %r0, 0x0658, %pstate | |
12198 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12199 | ta T_CHANGE_NONHPRIV ! macro | |
12200 | .word 0xa769a867 ! 373: SDIVX_I sdivx %r6, 0x0867, %r19 | |
12201 | .word 0xd6d7e010 ! 374: LDSHA_I ldsha [%r31, + 0x0010] %asi, %r11 | |
12202 | .word 0x8790225f ! 375: WRPR_TT_I wrpr %r0, 0x025f, %tt | |
12203 | .word 0xd6900e80 ! 376: LDUHA_R lduha [%r0, %r0] 0x74, %r11 | |
12204 | .word 0xd68008a0 ! 377: LDUWA_R lduwa [%r0, %r0] 0x45, %r11 | |
12205 | memptr_1_206: | |
12206 | set 0x60140000, %r31 | |
12207 | .word 0x85852755 ! 378: WRCCR_I wr %r20, 0x0755, %ccr | |
12208 | .word 0xd727c000 ! 379: STF_R st %f11, [%r0, %r31] | |
12209 | DS_1_207: | |
12210 | .word 0x99a509c0 ! 1: FDIVd fdivd %f20, %f0, %f12 | |
12211 | allclean | |
12212 | .word 0x91b04308 ! 380: ALIGNADDRESS alignaddr %r1, %r8, %r8 | |
12213 | splash_hpstate_1_208: | |
12214 | .word 0x81982547 ! 381: WRHPR_HPSTATE_I wrhpr %r0, 0x0547, %hpstate | |
12215 | intveclr_1_209: | |
12216 | setx 0x43fcd5cec890d66e, %r1, %r28 | |
12217 | stxa %r28, [%g0] 0x72 | |
12218 | .word 0x25400001 ! 382: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12219 | memptr_1_210: | |
12220 | set user_data_start, %r31 | |
12221 | .word 0x8581ec5b ! 383: WRCCR_I wr %r7, 0x0c5b, %ccr | |
12222 | .word 0xab850004 ! 384: WR_CLEAR_SOFTINT_R wr %r20, %r4, %clear_softint | |
12223 | splash_cmpr_1_211: | |
12224 | setx 0xbcf6cfbc6e8cef6e, %g2, %g1 | |
12225 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
12226 | sub %g1, 100, %g1 | |
12227 | .word 0xb1800001 ! 385: WR_STICK_REG_R wr %r0, %r1, %- | |
12228 | .word 0xe0c80e80 ! 386: LDSBA_R ldsba [%r0, %r0] 0x74, %r16 | |
12229 | .word 0xa5a089cc ! 387: FDIVd fdivd %f2, %f12, %f18 | |
12230 | .word 0x91d02033 ! 388: Tcc_I ta icc_or_xcc, %r0 + 51 | |
12231 | splash_htba_1_212: | |
12232 | set 0x80000, %r12 | |
12233 | st %r1, [%r12+%r0] | |
12234 | ta T_CHANGE_HPRIV | |
12235 | set 0x80000, %r12 | |
12236 | .word 0x8b98000c ! 389: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
12237 | change_to_randtl_1_213: | |
12238 | ta T_CHANGE_HPRIV ! macro | |
12239 | done_change_to_randtl_1_213: | |
12240 | .word 0x8f902003 ! 390: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
12241 | .word 0x91d02034 ! 391: Tcc_I ta icc_or_xcc, %r0 + 52 | |
12242 | splash_lsu_1_214: | |
12243 | setx 0xdfd320d0e62e9f61, %r1, %r2 | |
12244 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12245 | .word 0x3d400001 ! 392: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12246 | setx 0x153ff87c123ddfe0, %r1, %r28 | |
12247 | stxa %r28, [%g0] 0x73 | |
12248 | intvec_1_215: | |
12249 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12250 | intveclr_1_216: | |
12251 | setx 0x931ca4679142cd47, %r1, %r28 | |
12252 | stxa %r28, [%g0] 0x72 | |
12253 | .word 0x25400001 ! 394: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12254 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12255 | ta T_CHANGE_NONHPRIV ! macro | |
12256 | .word 0xa1a0196c ! 395: FqTOd dis not found | |
12257 | ||
12258 | .word 0xd097e020 ! 396: LDUHA_I lduha [%r31, + 0x0020] %asi, %r8 | |
12259 | .word 0xd09004a0 ! 397: LDUHA_R lduha [%r0, %r0] 0x25, %r8 | |
12260 | debug_1_218: | |
12261 | nop | |
12262 | mov 0x38, %r18 | |
12263 | .word 0xfef00b12 ! 398: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12264 | splash_hpstate_1_219: | |
12265 | .word 0x819826e4 ! 399: WRHPR_HPSTATE_I wrhpr %r0, 0x06e4, %hpstate | |
12266 | DS_1_220: | |
12267 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
12268 | pdist %f0, %f20, %f6 | |
12269 | .word 0x93b40313 ! 400: ALIGNADDRESS alignaddr %r16, %r19, %r9 | |
12270 | nop | |
12271 | nop | |
12272 | setx join_lbl_0_0, %g1, %g2 | |
12273 | jmp %g2 | |
12274 | nop | |
12275 | fork_lbl_0_1: | |
12276 | .word 0xa9b1cff1 ! 1: FONES e %f20 | |
12277 | splash_lsu_0_0: | |
12278 | setx 0x39533b7bf0cd7d17, %r1, %r2 | |
12279 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12280 | .word 0x3d400001 ! 2: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12281 | .word 0x91d02033 ! 3: Tcc_I ta icc_or_xcc, %r0 + 51 | |
12282 | .word 0x87802016 ! 4: WRASI_I wr %r0, 0x0016, %asi | |
12283 | debug_0_1: | |
12284 | nop | |
12285 | mov 0x38, %r18 | |
12286 | .word 0xe6f00b12 ! 5: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12287 | debug_0_2: | |
12288 | nop | |
12289 | mov 0x38, %r18 | |
12290 | .word 0xfef00b12 ! 6: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12291 | tagged_0_3: | |
12292 | taddcctv %r10, 0x1eb2, %r2 | |
12293 | .word 0xe807f373 ! 7: LDUW_I lduw [%r31 + 0xfffff373], %r20 | |
12294 | splash_cmpr_0_4: | |
12295 | setx 0x253d91c752a44932, %g2, %g1 | |
12296 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12297 | sub %g1, 100, %g1 | |
12298 | .word 0xb1800001 ! 8: WR_STICK_REG_R wr %r0, %r1, %- | |
12299 | .word 0x93d020b2 ! 9: Tcc_I tne icc_or_xcc, %r0 + 178 | |
12300 | .word 0xe88008a0 ! 10: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
12301 | .word 0xe88008a0 ! 11: LDUWA_R lduwa [%r0, %r0] 0x45, %r20 | |
12302 | DS_0_5: | |
12303 | .word 0x99a4c9cc ! 1: FDIVd fdivd %f50, %f12, %f12 | |
12304 | .word 0xbfe7c000 ! 12: SAVE_R save %r31, %r0, %r31 | |
12305 | .word 0xd85ff373 ! 13: LDX_I ldx [%r31 + 0xfffff373], %r12 | |
12306 | .word 0x8d802004 ! 14: WRFPRS_I wr %r0, 0x0004, %fprs | |
12307 | .word 0x93d02032 ! 15: Tcc_I tne icc_or_xcc, %r0 + 50 | |
12308 | .word 0x95a00174 ! 16: FABSq dis not found | |
12309 | ||
12310 | nop | |
12311 | mov 0x80, %g3 | |
12312 | stxa %g3, [%g3] 0x57 | |
12313 | .word 0xd45fc000 ! 17: LDX_R ldx [%r31 + %r0], %r10 | |
12314 | splash_hpstate_0_6: | |
12315 | .word 0x81982a27 ! 18: WRHPR_HPSTATE_I wrhpr %r0, 0x0a27, %hpstate | |
12316 | .word 0xd4c804a0 ! 19: LDSBA_R ldsba [%r0, %r0] 0x25, %r10 | |
12317 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12318 | ta T_CHANGE_NONHPRIV ! macro | |
12319 | .word 0x93a01974 ! 20: FqTOd dis not found | |
12320 | ||
12321 | nop | |
12322 | mov 0x80, %g3 | |
12323 | stxa %g3, [%g3] 0x5f | |
12324 | .word 0xd25fc000 ! 21: LDX_R ldx [%r31 + %r0], %r9 | |
12325 | .word 0xd2c7e030 ! 22: LDSWA_I ldswa [%r31, + 0x0030] %asi, %r9 | |
12326 | change_to_randtl_0_8: | |
12327 | ta T_CHANGE_PRIV ! macro | |
12328 | done_change_to_randtl_0_8: | |
12329 | .word 0x8f902001 ! 23: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12330 | memptr_0_9: | |
12331 | set user_data_start, %r31 | |
12332 | .word 0x85803185 ! 24: WRCCR_I wr %r0, 0x1185, %ccr | |
12333 | mondo_0_10: | |
12334 | nop | |
12335 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12336 | ||
12337 | stxa %r3, [%r0+0x3e8] %asi | |
12338 | .word 0x9d920001 ! 25: WRPR_WSTATE_R wrpr %r8, %r1, %wstate | |
12339 | .word 0x87902285 ! 26: WRPR_TT_I wrpr %r0, 0x0285, %tt | |
12340 | .word 0xd21ff185 ! 27: LDD_I ldd [%r31 + 0xfffff185], %r9 | |
12341 | .word 0x95a01a73 ! 28: FqTOi fqtoi | |
12342 | change_to_randtl_0_11: | |
12343 | ta T_CHANGE_HPRIV ! macro | |
12344 | done_change_to_randtl_0_11: | |
12345 | .word 0x8f902003 ! 29: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
12346 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12347 | ta T_CHANGE_NONPRIV ! macro | |
12348 | .word 0x97692760 ! 30: SDIVX_I sdivx %r4, 0x0760, %r11 | |
12349 | .word 0xd68804a0 ! 31: LDUBA_R lduba [%r0, %r0] 0x25, %r11 | |
12350 | mov (0+1), %r10 | |
12351 | ta T_CHANGE_HPRIV | |
12352 | set sync_thr_counter2, %r23 | |
12353 | cas [%r23],%g0,%r10 !lock | |
12354 | brnz %r10, sma_0_13 | |
12355 | rd %asi, %r12 | |
12356 | wr %g0, 0x40, %asi | |
12357 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12358 | set 0x21fff, %g1 | |
12359 | stxa %g1, [%g0 + 0x80] %asi | |
12360 | wr %r12, %g0, %asi | |
12361 | st %g0, [%r23] | |
12362 | sma_0_13: | |
12363 | ta T_CHANGE_NONHPRIV | |
12364 | .word 0xd7e7e013 ! 32: CASA_R casa [%r31] %asi, %r19, %r11 | |
12365 | .word 0xd66fe760 ! 33: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
12366 | .word 0xd63fe760 ! 34: STD_I std %r11, [%r31 + 0x0760] | |
12367 | .word 0xd66fe760 ! 35: LDSTUB_I ldstub %r11, [%r31 + 0x0760] | |
12368 | .word 0x87802010 ! 36: WRASI_I wr %r0, 0x0010, %asi | |
12369 | tagged_0_14: | |
12370 | tsubcctv %r24, 0x1b99, %r11 | |
12371 | .word 0xd607e760 ! 37: LDUW_I lduw [%r31 + 0x0760], %r11 | |
12372 | memptr_0_15: | |
12373 | set user_data_start, %r31 | |
12374 | .word 0x85842356 ! 38: WRCCR_I wr %r16, 0x0356, %ccr | |
12375 | tagged_0_16: | |
12376 | tsubcctv %r7, 0x1c33, %r11 | |
12377 | .word 0xd607e356 ! 39: LDUW_I lduw [%r31 + 0x0356], %r11 | |
12378 | .word 0x87902179 ! 40: WRPR_TT_I wrpr %r0, 0x0179, %tt | |
12379 | mondo_0_17: | |
12380 | nop | |
12381 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12382 | ||
12383 | stxa %r6, [%r0+0x3c0] %asi | |
12384 | .word 0x9d94400d ! 41: WRPR_WSTATE_R wrpr %r17, %r13, %wstate | |
12385 | donret_0_18: | |
12386 | nop | |
12387 | rd %pc, %r12 | |
12388 | add %r12, (donretarg_0_18-donret_0_18), %r12 | |
12389 | add %r12, 0x4, %r11 | |
12390 | wrpr %g0, 0x3, %tl | |
12391 | wrpr %g0, %r12, %tpc | |
12392 | wrpr %g0, %r11, %tnpc | |
12393 | wrpr %g0, %r13, %tstate | |
12394 | wrhpr %g0, %r14, %htstate | |
12395 | retry | |
12396 | donretarg_0_18: | |
12397 | .word 0xd6ffe356 ! 42: SWAPA_I swapa %r11, [%r31 + 0x0356] %asi | |
12398 | .word 0xd6cfe000 ! 43: LDSBA_I ldsba [%r31, + 0x0000] %asi, %r11 | |
12399 | tagged_0_19: | |
12400 | taddcctv %r20, 0x1199, %r9 | |
12401 | .word 0xd607e356 ! 44: LDUW_I lduw [%r31 + 0x0356], %r11 | |
12402 | ta T_CHANGE_HPRIV | |
12403 | mov (0+1), %r10 | |
12404 | set sync_thr_counter1, %r23 | |
12405 | cas [%r23],%g0,%r10 !lock | |
12406 | brnz %r10, cwq_0_20 | |
12407 | rd %asi, %r12 | |
12408 | wr %g0, 0x40, %asi | |
12409 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12410 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12411 | cmp %l1, 1 | |
12412 | bne cwq_0_20 | |
12413 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12414 | sub %l2, 0x40, %l2 | |
12415 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12416 | wr %r12, %g0, %asi | |
12417 | st %g0, [%r23] | |
12418 | cwq_0_20: | |
12419 | ta T_CHANGE_NONHPRIV | |
12420 | .word 0x97414000 ! 45: RDPC rd %pc, %r11 | |
12421 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_0_21)+56, 16, 16)) -> intp(0,1,3) | |
12422 | xir_0_21: | |
12423 | .word 0xa9826271 ! 46: WR_SET_SOFTINT_I wr %r9, 0x0271, %set_softint | |
12424 | mondo_0_22: | |
12425 | nop | |
12426 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
12427 | ||
12428 | stxa %r8, [%r0+0x3d0] %asi | |
12429 | .word 0x9d914006 ! 47: WRPR_WSTATE_R wrpr %r5, %r6, %wstate | |
12430 | donret_0_23: | |
12431 | nop | |
12432 | rd %pc, %r12 | |
12433 | add %r12, (donretarg_0_23-donret_0_23-4), %r12 | |
12434 | add %r12, 0x4, %r11 | |
12435 | wrpr %g0, 0x3, %tl | |
12436 | wrpr %g0, %r12, %tpc | |
12437 | wrpr %g0, %r11, %tnpc | |
12438 | wrpr %g0, %r13, %tstate | |
12439 | wrhpr %g0, %r14, %htstate | |
12440 | done | |
12441 | donretarg_0_23: | |
12442 | .word 0xd6ffe271 ! 48: SWAPA_I swapa %r11, [%r31 + 0x0271] %asi | |
12443 | mov (0+1), %r10 | |
12444 | ta T_CHANGE_HPRIV | |
12445 | set sync_thr_counter2, %r23 | |
12446 | cas [%r23],%g0,%r10 !lock | |
12447 | brnz %r10, sma_0_24 | |
12448 | rd %asi, %r12 | |
12449 | wr %g0, 0x40, %asi | |
12450 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12451 | set 0x21fff, %g1 | |
12452 | stxa %g1, [%g0 + 0x80] %asi | |
12453 | wr %r12, %g0, %asi | |
12454 | st %g0, [%r23] | |
12455 | sma_0_24: | |
12456 | ta T_CHANGE_NONHPRIV | |
12457 | .word 0xd7e7e006 ! 49: CASA_R casa [%r31] %asi, %r6, %r11 | |
12458 | .word 0xd647e271 ! 50: LDSW_I ldsw [%r31 + 0x0271], %r11 | |
12459 | .word 0x99480000 ! 51: RDHPR_HPSTATE rdhpr %hpstate, %r12 | |
12460 | ta T_CHANGE_HPRIV | |
12461 | mov (0+1), %r10 | |
12462 | set sync_thr_counter1, %r23 | |
12463 | cas [%r23],%g0,%r10 !lock | |
12464 | brnz %r10, cwq_0_25 | |
12465 | rd %asi, %r12 | |
12466 | wr %g0, 0x40, %asi | |
12467 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12468 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12469 | cmp %l1, 1 | |
12470 | bne cwq_0_25 | |
12471 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12472 | sub %l2, 0x40, %l2 | |
12473 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12474 | wr %r12, %g0, %asi | |
12475 | st %g0, [%r23] | |
12476 | cwq_0_25: | |
12477 | ta T_CHANGE_NONHPRIV | |
12478 | .word 0xa7414000 ! 52: RDPC rd %pc, %r19 | |
12479 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_26) + 16, 16, 16)) -> intp(3,0,13) | |
12480 | intvec_0_26: | |
12481 | .word 0x39400001 ! 53: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12482 | .word 0xe657e271 ! 54: LDSH_I ldsh [%r31 + 0x0271], %r19 | |
12483 | intveclr_0_27: | |
12484 | setx 0xbb1a0011a168b700, %r1, %r28 | |
12485 | stxa %r28, [%g0] 0x72 | |
12486 | .word 0x25400001 ! 55: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12487 | .word 0xe68008a0 ! 56: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
12488 | .word 0xe737c000 ! 57: STQF_R - %f19, [%r0, %r31] | |
12489 | pmu_0_28: | |
12490 | nop | |
12491 | setx 0xfffffe0cfffff9e4, %g1, %g7 | |
12492 | .word 0xa3800007 ! 58: WR_PERF_COUNTER_R wr %r0, %r7, %- | |
12493 | .word 0xe68804a0 ! 59: LDUBA_R lduba [%r0, %r0] 0x25, %r19 | |
12494 | intveclr_0_29: | |
12495 | setx 0x01341f84420c76ca, %r1, %r28 | |
12496 | stxa %r28, [%g0] 0x72 | |
12497 | .word 0x25400001 ! 60: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12498 | memptr_0_30: | |
12499 | set user_data_start, %r31 | |
12500 | .word 0x8581f3b4 ! 61: WRCCR_I wr %r7, 0x13b4, %ccr | |
12501 | debug_0_31: | |
12502 | nop | |
12503 | mov 0x38, %r18 | |
12504 | .word 0xe6f00b12 ! 62: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
12505 | .word 0x8780208b ! 63: WRASI_I wr %r0, 0x008b, %asi | |
12506 | invalw | |
12507 | mov 0xb0, %r30 | |
12508 | .word 0x93d0001e ! 64: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
12509 | .word 0xe69ff3b4 ! 65: LDDA_I ldda [%r31, + 0xfffff3b4] %asi, %r19 | |
12510 | .word 0xe69004a0 ! 66: LDUHA_R lduha [%r0, %r0] 0x25, %r19 | |
12511 | .word 0x91d020b3 ! 67: Tcc_I ta icc_or_xcc, %r0 + 179 | |
12512 | .word 0xe68008a0 ! 68: LDUWA_R lduwa [%r0, %r0] 0x45, %r19 | |
12513 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12514 | ta T_CHANGE_NONPRIV ! macro | |
12515 | .word 0x93a01974 ! 69: FqTOd dis not found | |
12516 | ||
12517 | .word 0xd28008a0 ! 70: LDUWA_R lduwa [%r0, %r0] 0x45, %r9 | |
12518 | splash_cmpr_0_33: | |
12519 | setx 0x141d8f0f3dbf1a03, %g2, %g1 | |
12520 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
12521 | sub %g1, 100, %g1 | |
12522 | .word 0xb1800001 ! 71: WR_STICK_REG_R wr %r0, %r1, %- | |
12523 | intveclr_0_34: | |
12524 | setx 0x82db1a67793ef2a6, %r1, %r28 | |
12525 | stxa %r28, [%g0] 0x72 | |
12526 | .word 0x25400001 ! 72: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12527 | splash_cmpr_0_35: | |
12528 | setx 0xae7821f7932dca0e, %g2, %g1 | |
12529 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
12530 | sub %g1, 100, %g1 | |
12531 | .word 0xb1800001 ! 73: WR_STICK_REG_R wr %r0, %r1, %- | |
12532 | intveclr_0_36: | |
12533 | setx 0xe074615cf0dddb08, %r1, %r28 | |
12534 | stxa %r28, [%g0] 0x72 | |
12535 | .word 0x25400001 ! 74: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12536 | otherw | |
12537 | mov 0x30, %r30 | |
12538 | .word 0x91d0001e ! 75: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12539 | .word 0xa9828011 ! 76: WR_SET_SOFTINT_R wr %r10, %r17, %set_softint | |
12540 | intveclr_0_37: | |
12541 | setx 0xc1b04ecb3c6fdf79, %r1, %r28 | |
12542 | stxa %r28, [%g0] 0x72 | |
12543 | .word 0x25400001 ! 77: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12544 | intveclr_0_38: | |
12545 | setx 0x40e2533a8539d22f, %r1, %r28 | |
12546 | stxa %r28, [%g0] 0x72 | |
12547 | .word 0x25400001 ! 78: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12548 | .word 0x93d02035 ! 79: Tcc_I tne icc_or_xcc, %r0 + 53 | |
12549 | DS_0_39: | |
12550 | .word 0x99a489c9 ! 1: FDIVd fdivd %f18, %f40, %f12 | |
12551 | .word 0xa5a509c5 ! 1: FDIVd fdivd %f20, %f36, %f18 | |
12552 | .word 0x99a00550 ! 1: FSQRTd fsqrt | |
12553 | .word 0x95a08820 ! 80: FADDs fadds %f2, %f0, %f10 | |
12554 | .word 0xd41fc000 ! 81: LDD_R ldd [%r31 + %r0], %r10 | |
12555 | .word 0x87802004 ! 82: WRASI_I wr %r0, 0x0004, %asi | |
12556 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_40) + 56, 16, 16)) -> intp(2,0,19) | |
12557 | intvec_0_40: | |
12558 | .word 0x39400001 ! 83: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12559 | .word 0xd48804a0 ! 84: LDUBA_R lduba [%r0, %r0] 0x25, %r10 | |
12560 | .word 0x879020d1 ! 85: WRPR_TT_I wrpr %r0, 0x00d1, %tt | |
12561 | setx 0x60182e7c6764c887, %r1, %r28 | |
12562 | stxa %r28, [%g0] 0x73 | |
12563 | intvec_0_41: | |
12564 | .word 0x39400001 ! 86: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12565 | .word 0xa3a00167 ! 87: FABSq dis not found | |
12566 | ||
12567 | cmp_0_42: | |
12568 | nop | |
12569 | ta T_CHANGE_HPRIV | |
12570 | rd %asi, %r12 | |
12571 | wr %r0, 0x41, %asi | |
12572 | set sync_thr_counter, %r23 | |
12573 | cmp_startwait0_42: | |
12574 | mov 1, %r10 | |
12575 | cas [%r23],%g0,%r10 !lock | |
12576 | brz,a %r10, continue_cmp_0_42 | |
12577 | nop | |
12578 | cmp_wait0_42: | |
12579 | ld [%r23], %r10 | |
12580 | brnz %r10, cmp_wait0_42 | |
12581 | nop | |
12582 | ba,a cmp_startwait0_42 | |
12583 | continue_cmp_0_42: | |
12584 | ldxa [0x50]%asi, %r13 !Running_rw | |
12585 | ldxa [0x58]%asi, %r14 !Running_status | |
12586 | xnor %r14, %r13, %r14 !Bits equal | |
12587 | and %r14, 32, %r14 !Apply mask to random .. | |
12588 | stxa %r14, [0x60]%asi | |
12589 | st %g0, [%r23] !clear lock | |
12590 | wr %r12, %r0, %asi | |
12591 | ta T_CHANGE_NONHPRIV | |
12592 | .word 0x91918008 ! 88: WRPR_PIL_R wrpr %r6, %r8, %pil | |
12593 | .word 0x87802088 ! 89: WRASI_I wr %r0, 0x0088, %asi | |
12594 | .word 0xa190200c ! 90: WRPR_GL_I wrpr %r0, 0x000c, %- | |
12595 | splash_cmpr_0_43: | |
12596 | setx 0xd3919681c4714499, %g2, %g1 | |
12597 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
12598 | sub %g1, 100, %g1 | |
12599 | .word 0xb1800001 ! 91: WR_STICK_REG_R wr %r0, %r1, %- | |
12600 | .word 0xe3e7c028 ! 92: CASA_I casa [%r31] 0x 1, %r8, %r17 | |
12601 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12602 | ta T_CHANGE_NONPRIV ! macro | |
12603 | .word 0x996b2fd2 ! 93: SDIVX_I sdivx %r12, 0x0fd2, %r12 | |
12604 | debug_0_45: | |
12605 | nop | |
12606 | mov 8, %r18 | |
12607 | ta T_CHANGE_HPRIV | |
12608 | rd %asi, %r12 | |
12609 | wr %r0, 0x41, %asi | |
12610 | set sync_thr_counter, %r23 | |
12611 | debug_startwait0_45: | |
12612 | mov 0x1, %r16 | |
12613 | cas [%r23],%g0,%r16 !lock | |
12614 | brz,a %r16, continue_debug_0_45 | |
12615 | nop | |
12616 | debug_wait0_45: | |
12617 | ld [%r23], %r16 | |
12618 | brnz %r16, debug_wait0_45 | |
12619 | nop | |
12620 | ba,a debug_startwait0_45 | |
12621 | continue_debug_0_45: | |
12622 | mov 0x0e, %r16 | |
12623 | ldxa [0x50]%asi, %r13 !Running_rw | |
12624 | ldxa [0x58]%asi, %r15 !Running_status | |
12625 | wait_for_stat_0_45: | |
12626 | cmp %r13, %r15 | |
12627 | bne,a wait_for_stat_0_45 | |
12628 | ldxa [0x58]%asi, %r15 !Running_status | |
12629 | stxa %r16, [0x68]%asi | |
12630 | ldxa [0x50]%asi, %r14 !Running_rw | |
12631 | wait_for_debug_0_45: | |
12632 | ldxa [0x58]%asi, %r15 !Running_status | |
12633 | cmp %r14, %r15 | |
12634 | bne,a wait_for_debug_0_45 | |
12635 | ldxa [0x50]%asi, %r14 !Running_rw | |
12636 | stxa %15, [%r18]0x42 | |
12637 | stxa %r13, [0x50] %asi ! Running_rw | |
12638 | st %g0, [%r23] !clear lock | |
12639 | wr %r0, %r12, %asi ! restore %asi | |
12640 | .word 0xdcf00492 ! 94: STXA_R stxa %r14, [%r0 + %r18] 0x24 | |
12641 | .word 0x8d902228 ! 95: WRPR_PSTATE_I wrpr %r0, 0x0228, %pstate | |
12642 | .word 0x9350c000 ! 96: RDPR_TT <illegal instruction> | |
12643 | mov (0+1), %r10 | |
12644 | ta T_CHANGE_HPRIV | |
12645 | set sync_thr_counter2, %r23 | |
12646 | cas [%r23],%g0,%r10 !lock | |
12647 | brnz %r10, sma_0_46 | |
12648 | rd %asi, %r12 | |
12649 | wr %g0, 0x40, %asi | |
12650 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12651 | set 0x21fff, %g1 | |
12652 | stxa %g1, [%g0 + 0x80] %asi | |
12653 | wr %r12, %g0, %asi | |
12654 | st %g0, [%r23] | |
12655 | sma_0_46: | |
12656 | ta T_CHANGE_NONHPRIV | |
12657 | .word 0xd3e7e008 ! 97: CASA_R casa [%r31] %asi, %r8, %r9 | |
12658 | .word 0xa5450000 ! 98: RD_SET_SOFTINT rd %set_softint, %r18 | |
12659 | .word 0x8d802000 ! 99: WRFPRS_I wr %r0, 0x0000, %fprs | |
12660 | .word 0xe48008a0 ! 100: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
12661 | .word 0x32800001 ! 101: BNE bne,a <label_0x1> | |
12662 | debug_0_47: | |
12663 | nop | |
12664 | mov 0x38, %r18 | |
12665 | .word 0xfef00b12 ! 102: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12666 | memptr_0_48: | |
12667 | set user_data_start, %r31 | |
12668 | .word 0x85836e19 ! 103: WRCCR_I wr %r13, 0x0e19, %ccr | |
12669 | .word 0xe537c000 ! 104: STQF_R - %f18, [%r0, %r31] | |
12670 | mov (0+1), %r10 | |
12671 | ta T_CHANGE_HPRIV | |
12672 | set sync_thr_counter2, %r23 | |
12673 | cas [%r23],%g0,%r10 !lock | |
12674 | brnz %r10, sma_0_49 | |
12675 | rd %asi, %r12 | |
12676 | wr %g0, 0x40, %asi | |
12677 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12678 | set 0x21fff, %g1 | |
12679 | stxa %g1, [%g0 + 0x80] %asi | |
12680 | wr %r12, %g0, %asi | |
12681 | st %g0, [%r23] | |
12682 | sma_0_49: | |
12683 | ta T_CHANGE_NONHPRIV | |
12684 | .word 0xe5e7e008 ! 105: CASA_R casa [%r31] %asi, %r8, %r18 | |
12685 | intveclr_0_50: | |
12686 | setx 0x9bc6083a3b037904, %r1, %r28 | |
12687 | stxa %r28, [%g0] 0x72 | |
12688 | .word 0x25400001 ! 106: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12689 | .word 0x879021d5 ! 107: WRPR_TT_I wrpr %r0, 0x01d5, %tt | |
12690 | .word 0xa5a08dc7 ! 108: FdMULq fdmulq | |
12691 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
12692 | ta T_CHANGE_NONHPRIV ! macro | |
12693 | .word 0x9ba0196c ! 109: FqTOd dis not found | |
12694 | ||
12695 | cwp_0_52: | |
12696 | set user_data_start, %o7 | |
12697 | .word 0x93902003 ! 110: WRPR_CWP_I wrpr %r0, 0x0003, %cwp | |
12698 | nop | |
12699 | mov 0x80, %g3 | |
12700 | stxa %g3, [%g3] 0x57 | |
12701 | .word 0xda5fc000 ! 111: LDX_R ldx [%r31 + %r0], %r13 | |
12702 | otherw | |
12703 | mov 0xb5, %r30 | |
12704 | .word 0x91d0001e ! 112: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
12705 | intveclr_0_53: | |
12706 | setx 0x65e273d4fe93f289, %r1, %r28 | |
12707 | stxa %r28, [%g0] 0x72 | |
12708 | .word 0x25400001 ! 113: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12709 | .word 0xdad804a0 ! 114: LDXA_R ldxa [%r0, %r0] 0x25, %r13 | |
12710 | splash_hpstate_0_54: | |
12711 | .word 0x81982f55 ! 115: WRHPR_HPSTATE_I wrhpr %r0, 0x0f55, %hpstate | |
12712 | .word 0x956a0001 ! 116: SDIVX_R sdivx %r8, %r1, %r10 | |
12713 | splash_htba_0_55: | |
12714 | set 0x80000, %r12 | |
12715 | ld [%r12+%r0], %r1 | |
12716 | ta T_CHANGE_HPRIV | |
12717 | set 0x80000, %r12 | |
12718 | .word 0x8b98000c ! 117: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
12719 | .word 0xd4c004a0 ! 118: LDSWA_R ldswa [%r0, %r0] 0x25, %r10 | |
12720 | splash_htba_0_56: | |
12721 | set 0x80000, %r12 | |
12722 | st %r1, [%r12+%r0] | |
12723 | ta T_CHANGE_HPRIV | |
12724 | set 0x80000, %r12 | |
12725 | .word 0x8b98000c ! 119: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
12726 | debug_0_57: | |
12727 | nop | |
12728 | mov 8, %r18 | |
12729 | ta T_CHANGE_HPRIV | |
12730 | rd %asi, %r12 | |
12731 | wr %r0, 0x41, %asi | |
12732 | set sync_thr_counter, %r23 | |
12733 | debug_startwait0_57: | |
12734 | mov 0x1, %r16 | |
12735 | cas [%r23],%g0,%r16 !lock | |
12736 | brz,a %r16, continue_debug_0_57 | |
12737 | nop | |
12738 | debug_wait0_57: | |
12739 | ld [%r23], %r16 | |
12740 | brnz %r16, debug_wait0_57 | |
12741 | nop | |
12742 | ba,a debug_startwait0_57 | |
12743 | continue_debug_0_57: | |
12744 | mov 0x0e, %r16 | |
12745 | ldxa [0x50]%asi, %r13 !Running_rw | |
12746 | ldxa [0x58]%asi, %r15 !Running_status | |
12747 | wait_for_stat_0_57: | |
12748 | cmp %r13, %r15 | |
12749 | bne,a wait_for_stat_0_57 | |
12750 | ldxa [0x58]%asi, %r15 !Running_status | |
12751 | stxa %r16, [0x68]%asi | |
12752 | ldxa [0x50]%asi, %r14 !Running_rw | |
12753 | wait_for_debug_0_57: | |
12754 | ldxa [0x58]%asi, %r15 !Running_status | |
12755 | cmp %r14, %r15 | |
12756 | bne,a wait_for_debug_0_57 | |
12757 | ldxa [0x50]%asi, %r14 !Running_rw | |
12758 | stxa %11, [%r18]0x42 | |
12759 | stxa %r13, [0x50] %asi ! Running_rw | |
12760 | st %g0, [%r23] !clear lock | |
12761 | wr %r0, %r12, %asi ! restore %asi | |
12762 | .word 0xe8f00492 ! 120: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
12763 | .word 0x91d02034 ! 121: Tcc_I ta icc_or_xcc, %r0 + 52 | |
12764 | DS_0_58: | |
12765 | .word 0x9ba209c6 ! 1: FDIVd fdivd %f8, %f6, %f44 | |
12766 | .word 0xbd6d4238 ! Random illegal ? | |
12767 | .word 0x95a0054c ! 1: FSQRTd fsqrt | |
12768 | .word 0x9ba18830 ! 122: FADDs fadds %f6, %f16, %f13 | |
12769 | .word 0x24800001 ! 123: BLE ble,a <label_0x1> | |
12770 | .word 0x91d020b3 ! 124: Tcc_I ta icc_or_xcc, %r0 + 179 | |
12771 | .word 0xda0fee19 ! 125: LDUB_I ldub [%r31 + 0x0e19], %r13 | |
12772 | splash_lsu_0_59: | |
12773 | setx 0xbc978913c9c99e1f, %r1, %r2 | |
12774 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12775 | .word 0x3d400001 ! 126: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12776 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12777 | ta T_CHANGE_NONPRIV ! macro | |
12778 | .word 0x976d2c1e ! 127: SDIVX_I sdivx %r20, 0x0c1e, %r11 | |
12779 | tagged_0_61: | |
12780 | taddcctv %r12, 0x18ea, %r9 | |
12781 | .word 0xd607ec1e ! 128: LDUW_I lduw [%r31 + 0x0c1e], %r11 | |
12782 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_62) + 16, 16, 16)) -> intp(5,0,17) | |
12783 | intvec_0_62: | |
12784 | .word 0x39400001 ! 129: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12785 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12786 | ta T_CHANGE_NONHPRIV ! macro | |
12787 | .word 0x91a01972 ! 130: FqTOd dis not found | |
12788 | ||
12789 | mov (0+1), %r10 | |
12790 | ta T_CHANGE_HPRIV | |
12791 | set sync_thr_counter2, %r23 | |
12792 | cas [%r23],%g0,%r10 !lock | |
12793 | brnz %r10, sma_0_64 | |
12794 | rd %asi, %r12 | |
12795 | wr %g0, 0x40, %asi | |
12796 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12797 | set 0x21fff, %g1 | |
12798 | stxa %g1, [%g0 + 0x80] %asi | |
12799 | wr %r12, %g0, %asi | |
12800 | st %g0, [%r23] | |
12801 | sma_0_64: | |
12802 | ta T_CHANGE_NONHPRIV | |
12803 | .word 0xd1e7e012 ! 131: CASA_R casa [%r31] %asi, %r18, %r8 | |
12804 | .word 0xa5a00162 ! 132: FABSq dis not found | |
12805 | ||
12806 | intveclr_0_65: | |
12807 | setx 0xd18758f87f3ad42c, %r1, %r28 | |
12808 | stxa %r28, [%g0] 0x72 | |
12809 | .word 0x25400001 ! 133: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
12810 | .word 0xa3520000 ! 134: RDPR_PIL <illegal instruction> | |
12811 | .word 0xa1a149d0 ! 135: FDIVd fdivd %f36, %f16, %f16 | |
12812 | cwp_0_66: | |
12813 | set user_data_start, %o7 | |
12814 | .word 0x93902001 ! 136: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
12815 | .word 0xa9848014 ! 137: WR_SET_SOFTINT_R wr %r18, %r20, %set_softint | |
12816 | .word 0xe0c00e40 ! 138: LDSWA_R ldswa [%r0, %r0] 0x72, %r16 | |
12817 | splash_hpstate_0_67: | |
12818 | .word 0x81982ad7 ! 139: WRHPR_HPSTATE_I wrhpr %r0, 0x0ad7, %hpstate | |
12819 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
12820 | ta T_CHANGE_NONPRIV ! macro | |
12821 | .word 0xa7a01963 ! 140: FqTOd dis not found | |
12822 | ||
12823 | mov (0+1), %r10 | |
12824 | ta T_CHANGE_HPRIV | |
12825 | set sync_thr_counter2, %r23 | |
12826 | cas [%r23],%g0,%r10 !lock | |
12827 | brnz %r10, sma_0_69 | |
12828 | rd %asi, %r12 | |
12829 | wr %g0, 0x40, %asi | |
12830 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12831 | set 0x21fff, %g1 | |
12832 | stxa %g1, [%g0 + 0x80] %asi | |
12833 | wr %r12, %g0, %asi | |
12834 | st %g0, [%r23] | |
12835 | sma_0_69: | |
12836 | ta T_CHANGE_NONHPRIV | |
12837 | .word 0xe7e7e003 ! 141: CASA_R casa [%r31] %asi, %r3, %r19 | |
12838 | ta T_CHANGE_HPRIV | |
12839 | mov (0+1), %r10 | |
12840 | set sync_thr_counter1, %r23 | |
12841 | cas [%r23],%g0,%r10 !lock | |
12842 | brnz %r10, cwq_0_70 | |
12843 | rd %asi, %r12 | |
12844 | wr %g0, 0x40, %asi | |
12845 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12846 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12847 | cmp %l1, 1 | |
12848 | bne cwq_0_70 | |
12849 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12850 | sub %l2, 0x40, %l2 | |
12851 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12852 | wr %r12, %g0, %asi | |
12853 | st %g0, [%r23] | |
12854 | cwq_0_70: | |
12855 | ta T_CHANGE_NONHPRIV | |
12856 | .word 0xa3414000 ! 142: RDPC rd %pc, %r17 | |
12857 | .word 0xe29004a0 ! 143: LDUHA_R lduha [%r0, %r0] 0x25, %r17 | |
12858 | ta T_CHANGE_HPRIV | |
12859 | mov (0+1), %r10 | |
12860 | set sync_thr_counter1, %r23 | |
12861 | cas [%r23],%g0,%r10 !lock | |
12862 | brnz %r10, cwq_0_71 | |
12863 | rd %asi, %r12 | |
12864 | wr %g0, 0x40, %asi | |
12865 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
12866 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
12867 | cmp %l1, 1 | |
12868 | bne cwq_0_71 | |
12869 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
12870 | sub %l2, 0x40, %l2 | |
12871 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
12872 | wr %r12, %g0, %asi | |
12873 | st %g0, [%r23] | |
12874 | cwq_0_71: | |
12875 | ta T_CHANGE_NONHPRIV | |
12876 | .word 0xa9414000 ! 144: RDPC rd %pc, %r20 | |
12877 | invalw | |
12878 | mov 0xb2, %r30 | |
12879 | .word 0x93d0001e ! 145: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
12880 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_72) + 24, 16, 16)) -> intp(1,0,17) | |
12881 | intvec_0_72: | |
12882 | .word 0x39400001 ! 146: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
12883 | .word 0x879021f1 ! 147: WRPR_TT_I wrpr %r0, 0x01f1, %tt | |
12884 | .word 0x97a109d3 ! 148: FDIVd fdivd %f4, %f50, %f42 | |
12885 | .word 0xd6c7e020 ! 149: LDSWA_I ldswa [%r31, + 0x0020] %asi, %r11 | |
12886 | change_to_randtl_0_73: | |
12887 | ta T_CHANGE_HPRIV ! macro | |
12888 | done_change_to_randtl_0_73: | |
12889 | .word 0x8f902003 ! 150: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
12890 | .word 0x8d902321 ! 151: WRPR_PSTATE_I wrpr %r0, 0x0321, %pstate | |
12891 | memptr_0_74: | |
12892 | set 0x60540000, %r31 | |
12893 | .word 0x858326f2 ! 152: WRCCR_I wr %r12, 0x06f2, %ccr | |
12894 | .word 0xd727e6f2 ! 153: STF_I st %f11, [0x06f2, %r31] | |
12895 | mov (0+1), %r10 | |
12896 | ta T_CHANGE_HPRIV | |
12897 | set sync_thr_counter2, %r23 | |
12898 | cas [%r23],%g0,%r10 !lock | |
12899 | brnz %r10, sma_0_75 | |
12900 | rd %asi, %r12 | |
12901 | wr %g0, 0x40, %asi | |
12902 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
12903 | set 0x21fff, %g1 | |
12904 | stxa %g1, [%g0 + 0x80] %asi | |
12905 | wr %r12, %g0, %asi | |
12906 | st %g0, [%r23] | |
12907 | sma_0_75: | |
12908 | ta T_CHANGE_NONHPRIV | |
12909 | .word 0xd7e7e013 ! 154: CASA_R casa [%r31] %asi, %r19, %r11 | |
12910 | splash_cmpr_0_76: | |
12911 | setx 0x44be9fba0f7280cd, %g2, %g1 | |
12912 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
12913 | sub %g1, 100, %g1 | |
12914 | .word 0xb1800001 ! 155: WR_STICK_REG_R wr %r0, %r1, %- | |
12915 | .word 0x9950c000 ! 156: RDPR_TT <illegal instruction> | |
12916 | .word 0x3e700001 ! 157: BPVC <illegal instruction> | |
12917 | .word 0xd8d80e80 ! 158: LDXA_R ldxa [%r0, %r0] 0x74, %r12 | |
12918 | cmp_0_77: | |
12919 | nop | |
12920 | ta T_CHANGE_HPRIV | |
12921 | rd %asi, %r12 | |
12922 | wr %r0, 0x41, %asi | |
12923 | set sync_thr_counter, %r23 | |
12924 | cmp_startwait0_77: | |
12925 | mov 1, %r10 | |
12926 | cas [%r23],%g0,%r10 !lock | |
12927 | brz,a %r10, continue_cmp_0_77 | |
12928 | nop | |
12929 | cmp_wait0_77: | |
12930 | ld [%r23], %r10 | |
12931 | brnz %r10, cmp_wait0_77 | |
12932 | nop | |
12933 | ba,a cmp_startwait0_77 | |
12934 | continue_cmp_0_77: | |
12935 | ldxa [0x50]%asi, %r13 !Running_rw | |
12936 | ldxa [0x58]%asi, %r14 !Running_status | |
12937 | xnor %r14, %r13, %r14 !Bits equal | |
12938 | and %r14, 0xe6, %r14 !Apply mask to random .. | |
12939 | stxa %r14, [0x68]%asi | |
12940 | st %g0, [%r23] !clear lock | |
12941 | wr %r12, %r0, %asi | |
12942 | ta T_CHANGE_NONHPRIV | |
12943 | .word 0x91920009 ! 159: WRPR_PIL_R wrpr %r8, %r9, %pil | |
12944 | .word 0x8d903319 ! 160: WRPR_PSTATE_I wrpr %r0, 0x1319, %pstate | |
12945 | .word 0xd8880e60 ! 161: LDUBA_R lduba [%r0, %r0] 0x73, %r12 | |
12946 | .word 0xab832cf5 ! 162: WR_CLEAR_SOFTINT_I wr %r12, 0x0cf5, %clear_softint | |
12947 | splash_lsu_0_78: | |
12948 | setx 0x8913d3a5825d7ff1, %r1, %r2 | |
12949 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12950 | .word 0x3d400001 ! 163: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12951 | .word 0xd80fecf5 ! 164: LDUB_I ldub [%r31 + 0x0cf5], %r12 | |
12952 | splash_cmpr_0_79: | |
12953 | setx 0xc36862756f68acb4, %g2, %g1 | |
12954 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
12955 | sub %g1, 100, %g1 | |
12956 | .word 0xb1800001 ! 165: WR_STICK_REG_R wr %r0, %r1, %- | |
12957 | debug_0_80: | |
12958 | nop | |
12959 | mov 0x38, %r18 | |
12960 | .word 0xfef00b12 ! 166: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
12961 | splash_hpstate_0_81: | |
12962 | .word 0x81982636 ! 167: WRHPR_HPSTATE_I wrhpr %r0, 0x0636, %hpstate | |
12963 | splash_htba_0_82: | |
12964 | set 0x80000, %r12 | |
12965 | st %r1, [%r12+%r0] | |
12966 | ta T_CHANGE_HPRIV | |
12967 | set 0x80000, %r12 | |
12968 | .word 0x8b98000c ! 168: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
12969 | splash_tba_0_83: | |
12970 | set 0x120000, %r12 | |
12971 | ld [%r12+%r0], %r1 | |
12972 | ta T_CHANGE_PRIV | |
12973 | set 0x120000, %r12 | |
12974 | .word 0x8b90000c ! 169: WRPR_TBA_R wrpr %r0, %r12, %tba | |
12975 | .word 0x9ba4c9cb ! 170: FDIVd fdivd %f50, %f42, %f44 | |
12976 | splash_lsu_0_84: | |
12977 | setx 0x375ba5b9b1cde003, %r1, %r2 | |
12978 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
12979 | .word 0x3d400001 ! 171: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
12980 | .word 0x87802080 ! 172: WRASI_I wr %r0, 0x0080, %asi | |
12981 | .word 0x87802004 ! 173: WRASI_I wr %r0, 0x0004, %asi | |
12982 | DS_0_85: | |
12983 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
12984 | .word 0xbfefc000 ! 174: RESTORE_R restore %r31, %r0, %r31 | |
12985 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
12986 | ta T_CHANGE_NONPRIV ! macro | |
12987 | .word 0x91a01967 ! 175: FqTOd dis not found | |
12988 | ||
12989 | DS_0_87: | |
12990 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
12991 | allclean | |
12992 | .word 0x9bb04314 ! 176: ALIGNADDRESS alignaddr %r1, %r20, %r13 | |
12993 | splash_hpstate_0_88: | |
12994 | .word 0x819821c5 ! 177: WRHPR_HPSTATE_I wrhpr %r0, 0x01c5, %hpstate | |
12995 | .word 0x94dc8011 ! 178: SMULcc_R smulcc %r18, %r17, %r10 | |
12996 | .word 0x87802010 ! 179: WRASI_I wr %r0, 0x0010, %asi | |
12997 | splash_hpstate_0_89: | |
12998 | .word 0x8198271c ! 180: WRHPR_HPSTATE_I wrhpr %r0, 0x071c, %hpstate | |
12999 | .word 0xd44fecf5 ! 181: LDSB_I ldsb [%r31 + 0x0cf5], %r10 | |
13000 | debug_0_90: | |
13001 | nop | |
13002 | mov 8, %r18 | |
13003 | ta T_CHANGE_HPRIV | |
13004 | rd %asi, %r12 | |
13005 | wr %r0, 0x41, %asi | |
13006 | set sync_thr_counter, %r23 | |
13007 | debug_startwait0_90: | |
13008 | mov 0x1, %r16 | |
13009 | cas [%r23],%g0,%r16 !lock | |
13010 | brz,a %r16, continue_debug_0_90 | |
13011 | nop | |
13012 | debug_wait0_90: | |
13013 | ld [%r23], %r16 | |
13014 | brnz %r16, debug_wait0_90 | |
13015 | nop | |
13016 | ba,a debug_startwait0_90 | |
13017 | continue_debug_0_90: | |
13018 | mov 0x0e, %r16 | |
13019 | ldxa [0x50]%asi, %r13 !Running_rw | |
13020 | ldxa [0x58]%asi, %r15 !Running_status | |
13021 | wait_for_stat_0_90: | |
13022 | cmp %r13, %r15 | |
13023 | bne,a wait_for_stat_0_90 | |
13024 | ldxa [0x58]%asi, %r15 !Running_status | |
13025 | stxa %r16, [0x68]%asi | |
13026 | ldxa [0x50]%asi, %r14 !Running_rw | |
13027 | wait_for_debug_0_90: | |
13028 | ldxa [0x58]%asi, %r15 !Running_status | |
13029 | cmp %r14, %r15 | |
13030 | bne,a wait_for_debug_0_90 | |
13031 | ldxa [0x50]%asi, %r14 !Running_rw | |
13032 | stxa %10, [%r18]0x42 | |
13033 | stxa %r13, [0x50] %asi ! Running_rw | |
13034 | st %g0, [%r23] !clear lock | |
13035 | wr %r0, %r12, %asi ! restore %asi | |
13036 | .word 0xe2f00492 ! 182: STXA_R stxa %r17, [%r0 + %r18] 0x24 | |
13037 | .word 0xd4cfe020 ! 183: LDSBA_I ldsba [%r31, + 0x0020] %asi, %r10 | |
13038 | splash_hpstate_0_91: | |
13039 | .word 0x81982806 ! 184: WRHPR_HPSTATE_I wrhpr %r0, 0x0806, %hpstate | |
13040 | debug_0_92: | |
13041 | nop | |
13042 | mov 0x38, %r18 | |
13043 | .word 0xfef00b12 ! 185: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13044 | splash_cmpr_0_93: | |
13045 | setx 0x1c079e3c27eb837f, %g2, %g1 | |
13046 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
13047 | sub %g1, 100, %g1 | |
13048 | .word 0xb1800001 ! 186: WR_STICK_REG_R wr %r0, %r1, %- | |
13049 | DS_0_94: | |
13050 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
13051 | .word 0xf7633ea2 ! Random illegal ? | |
13052 | .word 0x99a489c9 ! 1: FDIVd fdivd %f18, %f40, %f12 | |
13053 | .word 0x91a48827 ! 187: FADDs fadds %f18, %f7, %f8 | |
13054 | ta T_CHANGE_HPRIV | |
13055 | mov (0+1), %r10 | |
13056 | set sync_thr_counter1, %r23 | |
13057 | cas [%r23],%g0,%r10 !lock | |
13058 | brnz %r10, cwq_0_95 | |
13059 | rd %asi, %r12 | |
13060 | wr %g0, 0x40, %asi | |
13061 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13062 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13063 | cmp %l1, 1 | |
13064 | bne cwq_0_95 | |
13065 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13066 | sub %l2, 0x40, %l2 | |
13067 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13068 | wr %r12, %g0, %asi | |
13069 | st %g0, [%r23] | |
13070 | cwq_0_95: | |
13071 | ta T_CHANGE_NONHPRIV | |
13072 | .word 0xa9414000 ! 188: RDPC rd %pc, %r20 | |
13073 | .word 0xe88fe000 ! 189: LDUBA_I lduba [%r31, + 0x0000] %asi, %r20 | |
13074 | splash_lsu_0_96: | |
13075 | setx 0x1be320529e1c7ff9, %r1, %r2 | |
13076 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13077 | .word 0x3d400001 ! 190: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13078 | .word 0x97a189e4 ! 191: FDIVq dis not found | |
13079 | ||
13080 | cwp_0_97: | |
13081 | set user_data_start, %o7 | |
13082 | .word 0x93902007 ! 192: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
13083 | .word 0xa7834010 ! 193: WR_GRAPHICS_STATUS_REG_R wr %r13, %r16, %- | |
13084 | .word 0x87902174 ! 194: WRPR_TT_I wrpr %r0, 0x0174, %tt | |
13085 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13086 | ta T_CHANGE_NONHPRIV ! macro | |
13087 | .word 0x99a01970 ! 195: FqTOd dis not found | |
13088 | ||
13089 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_100) + 32, 16, 16)) -> intp(4,0,11) | |
13090 | intvec_0_100: | |
13091 | .word 0x39400001 ! 196: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13092 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13093 | ta T_CHANGE_NONHPRIV ! macro | |
13094 | .word 0xa1a01961 ! 197: FqTOd dis not found | |
13095 | ||
13096 | intveclr_0_102: | |
13097 | setx 0x8ba225b15d4edf75, %r1, %r28 | |
13098 | stxa %r28, [%g0] 0x72 | |
13099 | .word 0x25400001 ! 198: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13100 | mondo_0_103: | |
13101 | nop | |
13102 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13103 | ||
13104 | stxa %r9, [%r0+0x3e8] %asi | |
13105 | .word 0x9d930006 ! 199: WRPR_WSTATE_R wrpr %r12, %r6, %wstate | |
13106 | memptr_0_104: | |
13107 | set 0x60740000, %r31 | |
13108 | .word 0x85826617 ! 200: WRCCR_I wr %r9, 0x0617, %ccr | |
13109 | .word 0x87802080 ! 201: WRASI_I wr %r0, 0x0080, %asi | |
13110 | .word 0xa9850006 ! 202: WR_SET_SOFTINT_R wr %r20, %r6, %set_softint | |
13111 | .word 0x87802014 ! 203: WRASI_I wr %r0, 0x0014, %asi | |
13112 | DS_0_105: | |
13113 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
13114 | .word 0xbfefc000 ! 204: RESTORE_R restore %r31, %r0, %r31 | |
13115 | .word 0x26800001 ! 205: BL bl,a <label_0x1> | |
13116 | .word 0xe0d00e60 ! 206: LDSHA_R ldsha [%r0, %r0] 0x73, %r16 | |
13117 | debug_0_106: | |
13118 | nop | |
13119 | mov 0x38, %r18 | |
13120 | .word 0xe6f00b12 ! 207: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13121 | debug_0_107: | |
13122 | nop | |
13123 | mov 0x38, %r18 | |
13124 | .word 0xfef00b12 ! 208: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13125 | .word 0x8d90328e ! 209: WRPR_PSTATE_I wrpr %r0, 0x128e, %pstate | |
13126 | .word 0x2c700001 ! 210: BPNEG <illegal instruction> | |
13127 | .word 0x99902000 ! 211: WRPR_CLEANWIN_I wrpr %r0, 0x0000, %cleanwin | |
13128 | mov (0+1), %r10 | |
13129 | ta T_CHANGE_HPRIV | |
13130 | set sync_thr_counter2, %r23 | |
13131 | cas [%r23],%g0,%r10 !lock | |
13132 | brnz %r10, sma_0_108 | |
13133 | rd %asi, %r12 | |
13134 | wr %g0, 0x40, %asi | |
13135 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
13136 | set 0x21fff, %g1 | |
13137 | stxa %g1, [%g0 + 0x80] %asi | |
13138 | wr %r12, %g0, %asi | |
13139 | st %g0, [%r23] | |
13140 | sma_0_108: | |
13141 | ta T_CHANGE_NONHPRIV | |
13142 | .word 0xe1e7e006 ! 212: CASA_R casa [%r31] %asi, %r6, %r16 | |
13143 | cwp_0_109: | |
13144 | set user_data_start, %o7 | |
13145 | .word 0x93902001 ! 213: WRPR_CWP_I wrpr %r0, 0x0001, %cwp | |
13146 | ta T_CHANGE_HPRIV | |
13147 | mov (0+1), %r10 | |
13148 | set sync_thr_counter1, %r23 | |
13149 | cas [%r23],%g0,%r10 !lock | |
13150 | brnz %r10, cwq_0_110 | |
13151 | rd %asi, %r12 | |
13152 | wr %g0, 0x40, %asi | |
13153 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13154 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13155 | cmp %l1, 1 | |
13156 | bne cwq_0_110 | |
13157 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13158 | sub %l2, 0x40, %l2 | |
13159 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13160 | wr %r12, %g0, %asi | |
13161 | st %g0, [%r23] | |
13162 | cwq_0_110: | |
13163 | ta T_CHANGE_NONHPRIV | |
13164 | .word 0x93414000 ! 214: RDPC rd %pc, %r9 | |
13165 | debug_0_111: | |
13166 | nop | |
13167 | mov 8, %r18 | |
13168 | ta T_CHANGE_HPRIV | |
13169 | rd %asi, %r12 | |
13170 | wr %r0, 0x41, %asi | |
13171 | set sync_thr_counter, %r23 | |
13172 | debug_startwait0_111: | |
13173 | mov 0x1, %r16 | |
13174 | cas [%r23],%g0,%r16 !lock | |
13175 | brz,a %r16, continue_debug_0_111 | |
13176 | nop | |
13177 | debug_wait0_111: | |
13178 | ld [%r23], %r16 | |
13179 | brnz %r16, debug_wait0_111 | |
13180 | nop | |
13181 | ba,a debug_startwait0_111 | |
13182 | continue_debug_0_111: | |
13183 | mov 0x0e, %r16 | |
13184 | ldxa [0x50]%asi, %r13 !Running_rw | |
13185 | ldxa [0x58]%asi, %r15 !Running_status | |
13186 | wait_for_stat_0_111: | |
13187 | cmp %r13, %r15 | |
13188 | bne,a wait_for_stat_0_111 | |
13189 | ldxa [0x58]%asi, %r15 !Running_status | |
13190 | stxa %r16, [0x68]%asi | |
13191 | ldxa [0x50]%asi, %r14 !Running_rw | |
13192 | wait_for_debug_0_111: | |
13193 | ldxa [0x58]%asi, %r15 !Running_status | |
13194 | cmp %r14, %r15 | |
13195 | bne,a wait_for_debug_0_111 | |
13196 | ldxa [0x50]%asi, %r14 !Running_rw | |
13197 | stxa %14, [%r18]0x42 | |
13198 | stxa %r13, [0x50] %asi ! Running_rw | |
13199 | st %g0, [%r23] !clear lock | |
13200 | wr %r0, %r12, %asi ! restore %asi | |
13201 | .word 0xe8f00492 ! 215: STXA_R stxa %r20, [%r0 + %r18] 0x24 | |
13202 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
13203 | ta T_CHANGE_NONPRIV ! macro | |
13204 | .word 0x956864ca ! 216: SDIVX_I sdivx %r1, 0x04ca, %r10 | |
13205 | .word 0xa1902001 ! 217: WRPR_GL_I wrpr %r0, 0x0001, %- | |
13206 | debug_0_113: | |
13207 | nop | |
13208 | mov 0x38, %r18 | |
13209 | .word 0xfef00b12 ! 218: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13210 | invalw | |
13211 | mov 0xb5, %r30 | |
13212 | .word 0x91d0001e ! 219: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
13213 | splash_tba_0_114: | |
13214 | set 0x003c0000, %r12 | |
13215 | st %r1, [%r12+%r0] | |
13216 | ta T_CHANGE_PRIV | |
13217 | set 0x003c0000, %r12 | |
13218 | .word 0x8b90000c ! 220: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13219 | .word 0x91450000 ! 221: RD_SET_SOFTINT rd %set_softint, %r8 | |
13220 | .word 0xd0800b20 ! 222: LDUWA_R lduwa [%r0, %r0] 0x59, %r8 | |
13221 | splash_hpstate_0_115: | |
13222 | .word 0x81982d8f ! 223: WRHPR_HPSTATE_I wrhpr %r0, 0x0d8f, %hpstate | |
13223 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_116) + 40, 16, 16)) -> intp(5,0,2) | |
13224 | intvec_0_116: | |
13225 | .word 0x39400001 ! 224: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13226 | ta T_CHANGE_HPRIV | |
13227 | mov (0+1), %r10 | |
13228 | set sync_thr_counter1, %r23 | |
13229 | cas [%r23],%g0,%r10 !lock | |
13230 | brnz %r10, cwq_0_117 | |
13231 | rd %asi, %r12 | |
13232 | wr %g0, 0x40, %asi | |
13233 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13234 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13235 | cmp %l1, 1 | |
13236 | bne cwq_0_117 | |
13237 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13238 | sub %l2, 0x40, %l2 | |
13239 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13240 | wr %r12, %g0, %asi | |
13241 | st %g0, [%r23] | |
13242 | cwq_0_117: | |
13243 | ta T_CHANGE_NONHPRIV | |
13244 | .word 0x91414000 ! 225: RDPC rd %pc, %r8 | |
13245 | .word 0xa553c000 ! 226: RDPR_FQ <illegal instruction> | |
13246 | memptr_0_118: | |
13247 | set 0x60540000, %r31 | |
13248 | .word 0x8583219a ! 227: WRCCR_I wr %r12, 0x019a, %ccr | |
13249 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13250 | ta T_CHANGE_NONHPRIV ! macro | |
13251 | .word 0xa5a01974 ! 228: FqTOd dis not found | |
13252 | ||
13253 | .word 0x97a109d4 ! 229: FDIVd fdivd %f4, %f20, %f42 | |
13254 | .word 0x87802016 ! 230: WRASI_I wr %r0, 0x0016, %asi | |
13255 | splash_tba_0_120: | |
13256 | set 0x003c0000, %r12 | |
13257 | st %r1, [%r12+%r0] | |
13258 | ta T_CHANGE_PRIV | |
13259 | set 0x003c0000, %r12 | |
13260 | .word 0x8b90000c ! 231: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13261 | splash_cmpr_0_121: | |
13262 | setx 0xe1c43b6f7d5a2a88, %g2, %g1 | |
13263 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
13264 | sub %g1, 100, %g1 | |
13265 | .word 0xb1800001 ! 232: WR_STICK_REG_R wr %r0, %r1, %- | |
13266 | mov (0+1), %r10 | |
13267 | ta T_CHANGE_HPRIV | |
13268 | set sync_thr_counter2, %r23 | |
13269 | cas [%r23],%g0,%r10 !lock | |
13270 | brnz %r10, sma_0_122 | |
13271 | rd %asi, %r12 | |
13272 | wr %g0, 0x40, %asi | |
13273 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
13274 | set 0x21fff, %g1 | |
13275 | stxa %g1, [%g0 + 0x80] %asi | |
13276 | wr %r12, %g0, %asi | |
13277 | st %g0, [%r23] | |
13278 | sma_0_122: | |
13279 | ta T_CHANGE_NONHPRIV | |
13280 | .word 0xd7e7e014 ! 233: CASA_R casa [%r31] %asi, %r20, %r11 | |
13281 | .word 0xd737e19a ! 234: STQF_I - %f11, [0x019a, %r31] | |
13282 | splash_hpstate_0_123: | |
13283 | .word 0x819825c5 ! 235: WRHPR_HPSTATE_I wrhpr %r0, 0x05c5, %hpstate | |
13284 | .word 0x9190b699 ! 236: WRPR_PIL_I wrpr %r2, 0x1699, %pil | |
13285 | change_to_randtl_0_124: | |
13286 | ta T_CHANGE_PRIV ! macro | |
13287 | done_change_to_randtl_0_124: | |
13288 | .word 0x8f902002 ! 237: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13289 | splash_cmpr_0_125: | |
13290 | setx 0x958ec1a4db960d7d, %g2, %g1 | |
13291 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
13292 | sub %g1, 100, %g1 | |
13293 | .word 0xb1800001 ! 238: WR_STICK_REG_R wr %r0, %r1, %- | |
13294 | invalw | |
13295 | mov 0x31, %r30 | |
13296 | .word 0x83d0001e ! 239: Tcc_R te icc_or_xcc, %r0 + %r30 | |
13297 | ta T_CHANGE_HPRIV | |
13298 | mov (0+1), %r10 | |
13299 | set sync_thr_counter1, %r23 | |
13300 | cas [%r23],%g0,%r10 !lock | |
13301 | brnz %r10, cwq_0_126 | |
13302 | rd %asi, %r12 | |
13303 | wr %g0, 0x40, %asi | |
13304 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13305 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13306 | cmp %l1, 1 | |
13307 | bne cwq_0_126 | |
13308 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13309 | sub %l2, 0x40, %l2 | |
13310 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13311 | wr %r12, %g0, %asi | |
13312 | st %g0, [%r23] | |
13313 | cwq_0_126: | |
13314 | ta T_CHANGE_NONHPRIV | |
13315 | .word 0xa9414000 ! 240: RDPC rd %pc, %r20 | |
13316 | .word 0xe91fc000 ! 241: LDDF_R ldd [%r31, %r0], %f20 | |
13317 | change_to_randtl_0_127: | |
13318 | ta T_CHANGE_HPRIV ! macro | |
13319 | done_change_to_randtl_0_127: | |
13320 | .word 0x8f902003 ! 242: WRPR_TL_I wrpr %r0, 0x0003, %tl | |
13321 | .word 0xa9a109c8 ! 243: FDIVd fdivd %f4, %f8, %f20 | |
13322 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
13323 | ta T_CHANGE_NONPRIV ! macro | |
13324 | .word 0xa36a3911 ! 244: SDIVX_I sdivx %r8, 0xfffff911, %r17 | |
13325 | .word 0xe28008a0 ! 245: LDUWA_R lduwa [%r0, %r0] 0x45, %r17 | |
13326 | cwp_0_129: | |
13327 | set user_data_start, %o7 | |
13328 | .word 0x93902000 ! 246: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
13329 | .word 0x91d02032 ! 247: Tcc_I ta icc_or_xcc, %r0 + 50 | |
13330 | .word 0x30700001 ! 248: BPA <illegal instruction> | |
13331 | .word 0x87802055 ! 249: WRASI_I wr %r0, 0x0055, %asi | |
13332 | splash_cmpr_0_130: | |
13333 | setx 0x09a55182aa0f3081, %g2, %g1 | |
13334 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13335 | sub %g1, 100, %g1 | |
13336 | .word 0xb1800001 ! 250: WR_STICK_REG_R wr %r0, %r1, %- | |
13337 | change_to_randtl_0_131: | |
13338 | ta T_CHANGE_HPRIV ! macro | |
13339 | done_change_to_randtl_0_131: | |
13340 | .word 0x8f902002 ! 251: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13341 | .word 0xe31fc000 ! 252: LDDF_R ldd [%r31, %r0], %f17 | |
13342 | !$EV trig_pc_d(1, expr(@VA(.MAIN.xir_0_132)+56, 16, 16)) -> intp(0,1,3) | |
13343 | xir_0_132: | |
13344 | .word 0xa983218a ! 253: WR_SET_SOFTINT_I wr %r12, 0x018a, %set_softint | |
13345 | ta T_CHANGE_HPRIV | |
13346 | mov (0+1), %r10 | |
13347 | set sync_thr_counter1, %r23 | |
13348 | cas [%r23],%g0,%r10 !lock | |
13349 | brnz %r10, cwq_0_133 | |
13350 | rd %asi, %r12 | |
13351 | wr %g0, 0x40, %asi | |
13352 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13353 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13354 | cmp %l1, 1 | |
13355 | bne cwq_0_133 | |
13356 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13357 | sub %l2, 0x40, %l2 | |
13358 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13359 | wr %r12, %g0, %asi | |
13360 | st %g0, [%r23] | |
13361 | cwq_0_133: | |
13362 | ta T_CHANGE_NONHPRIV | |
13363 | .word 0xa9414000 ! 254: RDPC rd %pc, %r20 | |
13364 | DS_0_134: | |
13365 | .word 0x22800001 ! 1: BE be,a <label_0x1> | |
13366 | pdist %f4, %f28, %f18 | |
13367 | .word 0x99b04301 ! 255: ALIGNADDRESS alignaddr %r1, %r1, %r12 | |
13368 | setx 0x2e1d6df321f13aa0, %r1, %r28 | |
13369 | stxa %r28, [%g0] 0x73 | |
13370 | intvec_0_135: | |
13371 | .word 0x39400001 ! 256: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13372 | .word 0x879020e3 ! 257: WRPR_TT_I wrpr %r0, 0x00e3, %tt | |
13373 | splash_tba_0_136: | |
13374 | set 0x120000, %r12 | |
13375 | st %r1, [%r12+%r0] | |
13376 | ta T_CHANGE_PRIV | |
13377 | set 0x120000, %r12 | |
13378 | .word 0x8b90000c ! 258: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13379 | .word 0x9550c000 ! 259: RDPR_TT rdpr %tt, %r10 | |
13380 | mov (0+1), %r10 | |
13381 | ta T_CHANGE_HPRIV | |
13382 | set sync_thr_counter2, %r23 | |
13383 | cas [%r23],%g0,%r10 !lock | |
13384 | brnz %r10, sma_0_137 | |
13385 | rd %asi, %r12 | |
13386 | wr %g0, 0x40, %asi | |
13387 | ldxa [%g0 + ASI_SPU_MA_SYNC] %asi, %l1 | |
13388 | set 0x21fff, %g1 | |
13389 | stxa %g1, [%g0 + 0x80] %asi | |
13390 | wr %r12, %g0, %asi | |
13391 | st %g0, [%r23] | |
13392 | sma_0_137: | |
13393 | ta T_CHANGE_NONHPRIV | |
13394 | .word 0xd5e7e001 ! 260: CASA_R casa [%r31] %asi, %r1, %r10 | |
13395 | .word 0x8d903386 ! 261: WRPR_PSTATE_I wrpr %r0, 0x1386, %pstate | |
13396 | DS_0_138: | |
13397 | .word 0x95a149c6 ! 1: FDIVd fdivd %f36, %f6, %f10 | |
13398 | .word 0xbfefc000 ! 262: RESTORE_R restore %r31, %r0, %r31 | |
13399 | splash_tba_0_139: | |
13400 | set 0x120000, %r12 | |
13401 | ld [%r12+%r0], %r1 | |
13402 | ta T_CHANGE_PRIV | |
13403 | set 0x120000, %r12 | |
13404 | .word 0x8b90000c ! 263: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13405 | DS_0_140: | |
13406 | nop | |
13407 | not %g0, %r12 | |
13408 | jmp %r12 | |
13409 | .word 0x9d902002 ! 264: WRPR_WSTATE_I wrpr %r0, 0x0002, %wstate | |
13410 | tagged_0_141: | |
13411 | taddcctv %r22, 0x13ad, %r9 | |
13412 | .word 0xd407e18a ! 265: LDUW_I lduw [%r31 + 0x018a], %r10 | |
13413 | .word 0xd46fe18a ! 266: LDSTUB_I ldstub %r10, [%r31 + 0x018a] | |
13414 | .word 0x95a00174 ! 267: FABSq dis not found | |
13415 | ||
13416 | .word 0x8790212e ! 268: WRPR_TT_I wrpr %r0, 0x012e, %tt | |
13417 | change_to_randtl_0_142: | |
13418 | ta T_CHANGE_PRIV ! macro | |
13419 | done_change_to_randtl_0_142: | |
13420 | .word 0x8f902002 ! 269: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13421 | .word 0x91a4c9c7 ! 270: FDIVd fdivd %f50, %f38, %f8 | |
13422 | .word 0xd02fe18a ! 271: STB_I stb %r8, [%r31 + 0x018a] | |
13423 | .word 0x91450000 ! 272: RD_SET_SOFTINT rd %set_softint, %r8 | |
13424 | splash_tba_0_143: | |
13425 | set 0x120000, %r12 | |
13426 | ld [%r12+%r0], %r1 | |
13427 | ta T_CHANGE_PRIV | |
13428 | set 0x120000, %r12 | |
13429 | .word 0x8b90000c ! 273: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13430 | .word 0x87902025 ! 274: WRPR_TT_I wrpr %r0, 0x0025, %tt | |
13431 | ta T_CHANGE_HPRIV | |
13432 | mov (0+1), %r10 | |
13433 | set sync_thr_counter1, %r23 | |
13434 | cas [%r23],%g0,%r10 !lock | |
13435 | brnz %r10, cwq_0_144 | |
13436 | rd %asi, %r12 | |
13437 | wr %g0, 0x40, %asi | |
13438 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13439 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13440 | cmp %l1, 1 | |
13441 | bne cwq_0_144 | |
13442 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13443 | sub %l2, 0x40, %l2 | |
13444 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13445 | wr %r12, %g0, %asi | |
13446 | st %g0, [%r23] | |
13447 | cwq_0_144: | |
13448 | ta T_CHANGE_NONHPRIV | |
13449 | .word 0xa5414000 ! 275: RDPC rd %pc, %r18 | |
13450 | .word 0xa7808013 ! 276: WR_GRAPHICS_STATUS_REG_R wr %r2, %r19, %- | |
13451 | nop | |
13452 | mov 0x80, %g3 | |
13453 | stxa %g3, [%g3] 0x57 | |
13454 | .word 0xe45fc000 ! 277: LDX_R ldx [%r31 + %r0], %r18 | |
13455 | .word 0x2e800001 ! 278: BVS bvs,a <label_0x1> | |
13456 | debug_0_146: | |
13457 | nop | |
13458 | mov 0x38, %r18 | |
13459 | .word 0xfef00b12 ! 279: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13460 | debug_0_147: | |
13461 | nop | |
13462 | mov 8, %r18 | |
13463 | ta T_CHANGE_HPRIV | |
13464 | rd %asi, %r12 | |
13465 | wr %r0, 0x41, %asi | |
13466 | set sync_thr_counter, %r23 | |
13467 | debug_startwait0_147: | |
13468 | mov 0x1, %r16 | |
13469 | cas [%r23],%g0,%r16 !lock | |
13470 | brz,a %r16, continue_debug_0_147 | |
13471 | nop | |
13472 | debug_wait0_147: | |
13473 | ld [%r23], %r16 | |
13474 | brnz %r16, debug_wait0_147 | |
13475 | nop | |
13476 | ba,a debug_startwait0_147 | |
13477 | continue_debug_0_147: | |
13478 | mov 0x0e, %r16 | |
13479 | ldxa [0x50]%asi, %r13 !Running_rw | |
13480 | ldxa [0x58]%asi, %r15 !Running_status | |
13481 | wait_for_stat_0_147: | |
13482 | cmp %r13, %r15 | |
13483 | bne,a wait_for_stat_0_147 | |
13484 | ldxa [0x58]%asi, %r15 !Running_status | |
13485 | stxa %r16, [0x68]%asi | |
13486 | ldxa [0x50]%asi, %r14 !Running_rw | |
13487 | wait_for_debug_0_147: | |
13488 | ldxa [0x58]%asi, %r15 !Running_status | |
13489 | cmp %r14, %r15 | |
13490 | bne,a wait_for_debug_0_147 | |
13491 | ldxa [0x50]%asi, %r14 !Running_rw | |
13492 | stxa %13, [%r18]0x42 | |
13493 | stxa %r13, [0x50] %asi ! Running_rw | |
13494 | st %g0, [%r23] !clear lock | |
13495 | wr %r0, %r12, %asi ! restore %asi | |
13496 | .word 0xd2f00492 ! 280: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
13497 | splash_tba_0_148: | |
13498 | set 0x120000, %r12 | |
13499 | st %r1, [%r12+%r0] | |
13500 | ta T_CHANGE_PRIV | |
13501 | set 0x120000, %r12 | |
13502 | .word 0x8b90000c ! 281: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13503 | .word 0x87902103 ! 282: WRPR_TT_I wrpr %r0, 0x0103, %tt | |
13504 | splash_tba_0_149: | |
13505 | set 0x120000, %r12 | |
13506 | ld [%r12+%r0], %r1 | |
13507 | ta T_CHANGE_PRIV | |
13508 | set 0x120000, %r12 | |
13509 | .word 0x8b90000c ! 283: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13510 | intveclr_0_150: | |
13511 | setx 0xfdb83c7dc60d4795, %r1, %r28 | |
13512 | stxa %r28, [%g0] 0x72 | |
13513 | .word 0x25400001 ! 284: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13514 | nop | |
13515 | mov 0x80, %g3 | |
13516 | stxa %g3, [%g3] 0x57 | |
13517 | .word 0xe45fc000 ! 285: LDX_R ldx [%r31 + %r0], %r18 | |
13518 | debug_0_151: | |
13519 | nop | |
13520 | mov 0x38, %r18 | |
13521 | .word 0xe6f00b12 ! 286: STXA_R stxa %r19, [%r0 + %r18] 0x58 | |
13522 | .word 0xe48008a0 ! 287: LDUWA_R lduwa [%r0, %r0] 0x45, %r18 | |
13523 | cmp_0_152: | |
13524 | nop | |
13525 | ta T_CHANGE_HPRIV | |
13526 | rd %asi, %r12 | |
13527 | wr %r0, 0x41, %asi | |
13528 | set sync_thr_counter, %r23 | |
13529 | cmp_startwait0_152: | |
13530 | mov 1, %r10 | |
13531 | cas [%r23],%g0,%r10 !lock | |
13532 | brz,a %r10, continue_cmp_0_152 | |
13533 | nop | |
13534 | cmp_wait0_152: | |
13535 | ld [%r23], %r10 | |
13536 | brnz %r10, cmp_wait0_152 | |
13537 | nop | |
13538 | ba,a cmp_startwait0_152 | |
13539 | continue_cmp_0_152: | |
13540 | ldxa [0x50]%asi, %r13 !Running_rw | |
13541 | ldxa [0x58]%asi, %r14 !Running_status | |
13542 | xnor %r14, %r13, %r14 !Bits equal | |
13543 | and %r14, 0xa6, %r14 !Apply mask to random .. | |
13544 | stxa %r14, [0x60]%asi | |
13545 | st %g0, [%r23] !clear lock | |
13546 | wr %r12, %r0, %asi | |
13547 | ta T_CHANGE_NONHPRIV | |
13548 | .word 0x91950013 ! 288: WRPR_PIL_R wrpr %r20, %r19, %pil | |
13549 | splash_cmpr_0_153: | |
13550 | setx 0xb0bfa49c64af9b70, %g2, %g1 | |
13551 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
13552 | sub %g1, 100, %g1 | |
13553 | .word 0xb1800001 ! 289: WR_STICK_REG_R wr %r0, %r1, %- | |
13554 | splash_cmpr_0_154: | |
13555 | setx 0x36cc39e44173d673, %g2, %g1 | |
13556 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13557 | sub %g1, 100, %g1 | |
13558 | .word 0xb1800001 ! 290: WR_STICK_REG_R wr %r0, %r1, %- | |
13559 | .word 0x8d802000 ! 291: WRFPRS_I wr %r0, 0x0000, %fprs | |
13560 | memptr_0_155: | |
13561 | set 0x60740000, %r31 | |
13562 | .word 0x85832551 ! 292: WRCCR_I wr %r12, 0x0551, %ccr | |
13563 | mondo_0_156: | |
13564 | nop | |
13565 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13566 | ||
13567 | stxa %r11, [%r0+0x3c8] %asi | |
13568 | .word 0x9d940010 ! 293: WRPR_WSTATE_R wrpr %r16, %r16, %wstate | |
13569 | ta T_CHANGE_HPRIV | |
13570 | mov (0+1), %r10 | |
13571 | set sync_thr_counter1, %r23 | |
13572 | cas [%r23],%g0,%r10 !lock | |
13573 | brnz %r10, cwq_0_157 | |
13574 | rd %asi, %r12 | |
13575 | wr %g0, 0x40, %asi | |
13576 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13577 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13578 | cmp %l1, 1 | |
13579 | bne cwq_0_157 | |
13580 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13581 | sub %l2, 0x40, %l2 | |
13582 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13583 | wr %r12, %g0, %asi | |
13584 | st %g0, [%r23] | |
13585 | cwq_0_157: | |
13586 | ta T_CHANGE_NONHPRIV | |
13587 | .word 0xa1414000 ! 294: RDPC rd %pc, %r16 | |
13588 | DS_0_158: | |
13589 | nop | |
13590 | not %g0, %r12 | |
13591 | jmp %r12 | |
13592 | .word 0x9d902000 ! 295: WRPR_WSTATE_I wrpr %r0, 0x0000, %wstate | |
13593 | .word 0x81510000 ! 296: RDPR_TICK rdpr %tick, %r0 | |
13594 | otherw | |
13595 | mov 0xb2, %r30 | |
13596 | .word 0x91d0001e ! 297: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
13597 | splash_lsu_0_159: | |
13598 | setx 0x0e86b458b617c933, %r1, %r2 | |
13599 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13600 | .word 0x3d400001 ! 298: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13601 | .word 0x91d02033 ! 299: Tcc_I ta icc_or_xcc, %r0 + 51 | |
13602 | splash_htba_0_160: | |
13603 | set 0x80000, %r12 | |
13604 | st %r1, [%r12+%r0] | |
13605 | ta T_CHANGE_HPRIV | |
13606 | set 0x80000, %r12 | |
13607 | .word 0x8b98000c ! 300: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
13608 | splash_hpstate_0_161: | |
13609 | .word 0x819829d6 ! 301: WRHPR_HPSTATE_I wrhpr %r0, 0x09d6, %hpstate | |
13610 | .word 0x8d902406 ! 302: WRPR_PSTATE_I wrpr %r0, 0x0406, %pstate | |
13611 | splash_tba_0_162: | |
13612 | set 0x003c0000, %r12 | |
13613 | st %r1, [%r12+%r0] | |
13614 | ta T_CHANGE_PRIV | |
13615 | set 0x003c0000, %r12 | |
13616 | .word 0x8b90000c ! 303: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13617 | setx 0x1ab5143fcf9283ad, %r1, %r28 | |
13618 | stxa %r28, [%g0] 0x73 | |
13619 | intvec_0_163: | |
13620 | .word 0x39400001 ! 304: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13621 | cwp_0_164: | |
13622 | set user_data_start, %o7 | |
13623 | .word 0x93902005 ! 305: WRPR_CWP_I wrpr %r0, 0x0005, %cwp | |
13624 | nop | |
13625 | mov 0x80, %g3 | |
13626 | stxa %g3, [%g3] 0x5f | |
13627 | .word 0xe05fc000 ! 306: LDX_R ldx [%r31 + %r0], %r16 | |
13628 | splash_cmpr_0_165: | |
13629 | setx 0xbc38e626b8e078f0, %g2, %g1 | |
13630 | .word 0xb3800001 ! 1: WR_STICK_CMPR_REG_R wr %r0, %r1, %- | |
13631 | sub %g1, 100, %g1 | |
13632 | .word 0xb1800001 ! 307: WR_STICK_REG_R wr %r0, %r1, %- | |
13633 | splash_tba_0_166: | |
13634 | set 0x120000, %r12 | |
13635 | st %r1, [%r12+%r0] | |
13636 | ta T_CHANGE_PRIV | |
13637 | set 0x120000, %r12 | |
13638 | .word 0x8b90000c ! 308: WRPR_TBA_R wrpr %r0, %r12, %tba | |
13639 | splash_hpstate_0_167: | |
13640 | .word 0x819821df ! 309: WRHPR_HPSTATE_I wrhpr %r0, 0x01df, %hpstate | |
13641 | .word 0xe03fc000 ! 310: STD_R std %r16, [%r31 + %r0] | |
13642 | .word 0x8f902002 ! 1: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13643 | ta T_CHANGE_NONPRIV ! macro | |
13644 | .word 0x9ba01967 ! 311: FqTOd dis not found | |
13645 | ||
13646 | mondo_0_169: | |
13647 | nop | |
13648 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13649 | ||
13650 | stxa %r12, [%r0+0x3e0] %asi | |
13651 | .word 0x9d924010 ! 312: WRPR_WSTATE_R wrpr %r9, %r16, %wstate | |
13652 | splash_cmpr_0_170: | |
13653 | setx 0x6387994646ad7e4e, %g2, %g1 | |
13654 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13655 | sub %g1, 100, %g1 | |
13656 | .word 0xb1800001 ! 313: WR_STICK_REG_R wr %r0, %r1, %- | |
13657 | change_to_randtl_0_171: | |
13658 | ta T_CHANGE_HPRIV ! macro | |
13659 | done_change_to_randtl_0_171: | |
13660 | .word 0x8f902002 ! 314: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13661 | DS_0_172: | |
13662 | .word 0x32800001 ! 1: BNE bne,a <label_0x1> | |
13663 | .word 0xbfefc000 ! 315: RESTORE_R restore %r31, %r0, %r31 | |
13664 | ta T_CHANGE_HPRIV | |
13665 | mov (0+1), %r10 | |
13666 | set sync_thr_counter1, %r23 | |
13667 | cas [%r23],%g0,%r10 !lock | |
13668 | brnz %r10, cwq_0_173 | |
13669 | rd %asi, %r12 | |
13670 | wr %g0, 0x40, %asi | |
13671 | ldxa [%g0 + ASI_SPU_CWQ_SYNC] %asi, %l1 | |
13672 | and %l1, 0x3, %l1 ! Check if busy/enabled .. | |
13673 | cmp %l1, 1 | |
13674 | bne cwq_0_173 | |
13675 | ldxa [%g0 + ASI_SPU_CWQ_HEAD] %asi, %l2 | |
13676 | sub %l2, 0x40, %l2 | |
13677 | stxa %l2, [%g0 + ASI_SPU_CWQ_HEAD] %asi | |
13678 | wr %r12, %g0, %asi | |
13679 | st %g0, [%r23] | |
13680 | cwq_0_173: | |
13681 | ta T_CHANGE_NONHPRIV | |
13682 | .word 0x9b414000 ! 316: RDPC rd %pc, %r13 | |
13683 | splash_hpstate_0_174: | |
13684 | .word 0x819826ad ! 317: WRHPR_HPSTATE_I wrhpr %r0, 0x06ad, %hpstate | |
13685 | .word 0xdad004a0 ! 318: LDSHA_R ldsha [%r0, %r0] 0x25, %r13 | |
13686 | setx 0x41f01e459c2b9ac8, %r1, %r28 | |
13687 | stxa %r28, [%g0] 0x73 | |
13688 | intvec_0_175: | |
13689 | .word 0x39400001 ! 319: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13690 | cwp_0_176: | |
13691 | set user_data_start, %o7 | |
13692 | .word 0x93902000 ! 320: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
13693 | splash_hpstate_0_177: | |
13694 | .word 0x819827c6 ! 321: WRHPR_HPSTATE_I wrhpr %r0, 0x07c6, %hpstate | |
13695 | mondo_0_178: | |
13696 | nop | |
13697 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13698 | ||
13699 | stxa %r19, [%r0+0x3e0] %asi | |
13700 | .word 0x9d900001 ! 322: WRPR_WSTATE_R wrpr %r0, %r1, %wstate | |
13701 | nop | |
13702 | mov 0x80, %g3 | |
13703 | stxa %g3, [%g3] 0x57 | |
13704 | .word 0xda5fc000 ! 323: LDX_R ldx [%r31 + %r0], %r13 | |
13705 | .word 0x99a509d4 ! 324: FDIVd fdivd %f20, %f20, %f12 | |
13706 | .word 0x87902112 ! 325: WRPR_TT_I wrpr %r0, 0x0112, %tt | |
13707 | debug_0_179: | |
13708 | nop | |
13709 | mov 0x38, %r18 | |
13710 | .word 0xfef00b12 ! 326: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13711 | .word 0x93a00561 ! 327: FSQRTq fsqrt | |
13712 | intveclr_0_180: | |
13713 | setx 0x7c2cf5d3ac8f6645, %r1, %r28 | |
13714 | stxa %r28, [%g0] 0x72 | |
13715 | .word 0x25400001 ! 328: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13716 | mondo_0_181: | |
13717 | nop | |
13718 | .word 0x87802025 ! 1: WRASI_I wr %r0, 0x0025, %asi | |
13719 | ||
13720 | stxa %r9, [%r0+0x3c0] %asi | |
13721 | .word 0x9d950010 ! 329: WRPR_WSTATE_R wrpr %r20, %r16, %wstate | |
13722 | .word 0xd2c80e80 ! 330: LDSBA_R ldsba [%r0, %r0] 0x74, %r9 | |
13723 | cwp_0_182: | |
13724 | set user_data_start, %o7 | |
13725 | .word 0x93902007 ! 331: WRPR_CWP_I wrpr %r0, 0x0007, %cwp | |
13726 | debug_0_183: | |
13727 | nop | |
13728 | mov 8, %r18 | |
13729 | ta T_CHANGE_HPRIV | |
13730 | rd %asi, %r12 | |
13731 | wr %r0, 0x41, %asi | |
13732 | set sync_thr_counter, %r23 | |
13733 | debug_startwait0_183: | |
13734 | mov 0x1, %r16 | |
13735 | cas [%r23],%g0,%r16 !lock | |
13736 | brz,a %r16, continue_debug_0_183 | |
13737 | nop | |
13738 | debug_wait0_183: | |
13739 | ld [%r23], %r16 | |
13740 | brnz %r16, debug_wait0_183 | |
13741 | nop | |
13742 | ba,a debug_startwait0_183 | |
13743 | continue_debug_0_183: | |
13744 | mov 0x0e, %r16 | |
13745 | ldxa [0x50]%asi, %r13 !Running_rw | |
13746 | ldxa [0x58]%asi, %r15 !Running_status | |
13747 | wait_for_stat_0_183: | |
13748 | cmp %r13, %r15 | |
13749 | bne,a wait_for_stat_0_183 | |
13750 | ldxa [0x58]%asi, %r15 !Running_status | |
13751 | stxa %r16, [0x68]%asi | |
13752 | ldxa [0x50]%asi, %r14 !Running_rw | |
13753 | wait_for_debug_0_183: | |
13754 | ldxa [0x58]%asi, %r15 !Running_status | |
13755 | cmp %r14, %r15 | |
13756 | bne,a wait_for_debug_0_183 | |
13757 | ldxa [0x50]%asi, %r14 !Running_rw | |
13758 | stxa %15, [%r18]0x42 | |
13759 | stxa %r13, [0x50] %asi ! Running_rw | |
13760 | st %g0, [%r23] !clear lock | |
13761 | wr %r0, %r12, %asi ! restore %asi | |
13762 | .word 0xd2f00492 ! 332: STXA_R stxa %r9, [%r0 + %r18] 0x24 | |
13763 | invalw | |
13764 | mov 0x30, %r30 | |
13765 | .word 0x93d0001e ! 333: Tcc_R tne icc_or_xcc, %r0 + %r30 | |
13766 | cwp_0_184: | |
13767 | set user_data_start, %o7 | |
13768 | .word 0x93902006 ! 334: WRPR_CWP_I wrpr %r0, 0x0006, %cwp | |
13769 | .word 0x8790201e ! 335: WRPR_TT_I wrpr %r0, 0x001e, %tt | |
13770 | splash_cmpr_0_185: | |
13771 | setx 0x3a84b2163d3bcf25, %g2, %g1 | |
13772 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
13773 | sub %g1, 100, %g1 | |
13774 | .word 0xb1800001 ! 336: WR_STICK_REG_R wr %r0, %r1, %- | |
13775 | .word 0x87802004 ! 337: WRASI_I wr %r0, 0x0004, %asi | |
13776 | tagged_0_186: | |
13777 | tsubcctv %r26, 0x17e3, %r21 | |
13778 | .word 0xd207e551 ! 338: LDUW_I lduw [%r31 + 0x0551], %r9 | |
13779 | .word 0x34700001 ! 339: BPG <illegal instruction> | |
13780 | cwp_0_187: | |
13781 | set user_data_start, %o7 | |
13782 | .word 0x93902000 ! 340: WRPR_CWP_I wrpr %r0, 0x0000, %cwp | |
13783 | .word 0xd277e551 ! 341: STX_I stx %r9, [%r31 + 0x0551] | |
13784 | change_to_randtl_0_188: | |
13785 | ta T_CHANGE_PRIV ! macro | |
13786 | done_change_to_randtl_0_188: | |
13787 | .word 0x8f902002 ! 342: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13788 | .word 0xd297e030 ! 343: LDUHA_I lduha [%r31, + 0x0030] %asi, %r9 | |
13789 | intveclr_0_189: | |
13790 | setx 0x9ec2a053847c8d2e, %r1, %r28 | |
13791 | stxa %r28, [%g0] 0x72 | |
13792 | .word 0x25400001 ! 344: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13793 | DS_0_190: | |
13794 | .word 0x20800001 ! 1: BN bn,a <label_0x1> | |
13795 | .word 0xbfe7c000 ! 345: SAVE_R save %r31, %r0, %r31 | |
13796 | splash_htba_0_191: | |
13797 | set 0x80000, %r12 | |
13798 | ld [%r12+%r0], %r1 | |
13799 | ta T_CHANGE_HPRIV | |
13800 | set 0x80000, %r12 | |
13801 | .word 0x8b98000c ! 346: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
13802 | debug_0_192: | |
13803 | nop | |
13804 | mov 8, %r18 | |
13805 | ta T_CHANGE_HPRIV | |
13806 | rd %asi, %r12 | |
13807 | wr %r0, 0x41, %asi | |
13808 | set sync_thr_counter, %r23 | |
13809 | debug_startwait0_192: | |
13810 | mov 0x1, %r16 | |
13811 | cas [%r23],%g0,%r16 !lock | |
13812 | brz,a %r16, continue_debug_0_192 | |
13813 | nop | |
13814 | debug_wait0_192: | |
13815 | ld [%r23], %r16 | |
13816 | brnz %r16, debug_wait0_192 | |
13817 | nop | |
13818 | ba,a debug_startwait0_192 | |
13819 | continue_debug_0_192: | |
13820 | mov 0x0e, %r16 | |
13821 | ldxa [0x50]%asi, %r13 !Running_rw | |
13822 | ldxa [0x58]%asi, %r15 !Running_status | |
13823 | wait_for_stat_0_192: | |
13824 | cmp %r13, %r15 | |
13825 | bne,a wait_for_stat_0_192 | |
13826 | ldxa [0x58]%asi, %r15 !Running_status | |
13827 | stxa %r16, [0x68]%asi | |
13828 | ldxa [0x50]%asi, %r14 !Running_rw | |
13829 | wait_for_debug_0_192: | |
13830 | ldxa [0x58]%asi, %r15 !Running_status | |
13831 | cmp %r14, %r15 | |
13832 | bne,a wait_for_debug_0_192 | |
13833 | ldxa [0x50]%asi, %r14 !Running_rw | |
13834 | stxa %8, [%r18]0x42 | |
13835 | stxa %r13, [0x50] %asi ! Running_rw | |
13836 | st %g0, [%r23] !clear lock | |
13837 | wr %r0, %r12, %asi ! restore %asi | |
13838 | .word 0xdaf00492 ! 347: STXA_R stxa %r13, [%r0 + %r18] 0x24 | |
13839 | nop | |
13840 | mov 0x80, %g3 | |
13841 | stxa %g3, [%g3] 0x57 | |
13842 | .word 0xd25fc000 ! 348: LDX_R ldx [%r31 + %r0], %r9 | |
13843 | tagged_0_193: | |
13844 | taddcctv %r5, 0x17f1, %r10 | |
13845 | .word 0xd207e551 ! 349: LDUW_I lduw [%r31 + 0x0551], %r9 | |
13846 | tagged_0_194: | |
13847 | tsubcctv %r6, 0x1923, %r3 | |
13848 | .word 0xd207e551 ! 350: LDUW_I lduw [%r31 + 0x0551], %r9 | |
13849 | tagged_0_195: | |
13850 | taddcctv %r15, 0x1ee5, %r14 | |
13851 | .word 0xd207e551 ! 351: LDUW_I lduw [%r31 + 0x0551], %r9 | |
13852 | .word 0x93a00170 ! 352: FABSq dis not found | |
13853 | ||
13854 | .word 0x919162b7 ! 353: WRPR_PIL_I wrpr %r5, 0x02b7, %pil | |
13855 | .word 0x9f803503 ! 354: SIR sir 0x1503 | |
13856 | intveclr_0_196: | |
13857 | setx 0xa3e5f95a4d15210d, %r1, %r28 | |
13858 | stxa %r28, [%g0] 0x72 | |
13859 | .word 0x25400001 ! 355: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13860 | .word 0xa1a00569 ! 356: FSQRTq fsqrt | |
13861 | .word 0xe08008a0 ! 357: LDUWA_R lduwa [%r0, %r0] 0x45, %r16 | |
13862 | otherw | |
13863 | mov 0xb4, %r30 | |
13864 | .word 0x91d0001e ! 358: Tcc_R ta icc_or_xcc, %r0 + %r30 | |
13865 | .word 0xe027f503 ! 359: STW_I stw %r16, [%r31 + 0xfffff503] | |
13866 | .word 0x87902277 ! 360: WRPR_TT_I wrpr %r0, 0x0277, %tt | |
13867 | .word 0x87902118 ! 361: WRPR_TT_I wrpr %r0, 0x0118, %tt | |
13868 | debug_0_197: | |
13869 | nop | |
13870 | mov 0x38, %r18 | |
13871 | .word 0xfef00b12 ! 362: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
13872 | .word 0xe08008a0 ! 363: LDUWA_R lduwa [%r0, %r0] 0x45, %r16 | |
13873 | .word 0x9190b5d1 ! 364: WRPR_PIL_I wrpr %r2, 0x15d1, %pil | |
13874 | !$EV trig_pc_d(1, expr(@VA(.MAIN.intvec_0_198) + 16, 16, 16)) -> intp(3,0,5) | |
13875 | intvec_0_198: | |
13876 | .word 0x39400001 ! 365: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13877 | DS_0_199: | |
13878 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
13879 | .word 0xbfefc000 ! 366: RESTORE_R restore %r31, %r0, %r31 | |
13880 | cmp_0_200: | |
13881 | nop | |
13882 | ta T_CHANGE_HPRIV | |
13883 | rd %asi, %r12 | |
13884 | wr %r0, 0x41, %asi | |
13885 | set sync_thr_counter, %r23 | |
13886 | cmp_startwait0_200: | |
13887 | mov 1, %r10 | |
13888 | cas [%r23],%g0,%r10 !lock | |
13889 | brz,a %r10, continue_cmp_0_200 | |
13890 | nop | |
13891 | cmp_wait0_200: | |
13892 | ld [%r23], %r10 | |
13893 | brnz %r10, cmp_wait0_200 | |
13894 | nop | |
13895 | ba,a cmp_startwait0_200 | |
13896 | continue_cmp_0_200: | |
13897 | ldxa [0x50]%asi, %r13 !Running_rw | |
13898 | ldxa [0x58]%asi, %r14 !Running_status | |
13899 | xnor %r14, %r13, %r14 !Bits equal | |
13900 | and %r14, 0xec, %r14 !Apply mask to random .. | |
13901 | stxa %r14, [0x60]%asi | |
13902 | st %g0, [%r23] !clear lock | |
13903 | wr %r12, %r0, %asi | |
13904 | ta T_CHANGE_NONHPRIV | |
13905 | .word 0x9192800d ! 367: WRPR_PIL_R wrpr %r10, %r13, %pil | |
13906 | .word 0x8f902001 ! 1: WRPR_TL_I wrpr %r0, 0x0001, %tl | |
13907 | ta T_CHANGE_NONHPRIV ! macro | |
13908 | .word 0x91a01970 ! 368: FqTOd dis not found | |
13909 | ||
13910 | splash_cmpr_0_202: | |
13911 | setx 0xf9031d9ffa521278, %g2, %g1 | |
13912 | wrhpr %g1, %g0, %hsys_tick_cmpr | |
13913 | sub %g1, 100, %g1 | |
13914 | .word 0xb1800001 ! 369: WR_STICK_REG_R wr %r0, %r1, %- | |
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_203 | |
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_203: | |
13928 | ta T_CHANGE_NONHPRIV | |
13929 | .word 0xd1e7e010 ! 370: CASA_R casa [%r31] %asi, %r16, %r8 | |
13930 | donret_0_204: | |
13931 | nop | |
13932 | rd %pc, %r12 | |
13933 | add %r12, (donretarg_0_204-donret_0_204), %r12 | |
13934 | add %r12, 0x4, %r11 | |
13935 | wrpr %g0, 0x1, %tl | |
13936 | wrpr %g0, %r12, %tpc | |
13937 | wrpr %g0, %r11, %tnpc | |
13938 | wrpr %g0, %r13, %tstate | |
13939 | wrhpr %g0, %r14, %htstate | |
13940 | retry | |
13941 | donretarg_0_204: | |
13942 | .word 0xd0fff5d1 ! 371: SWAPA_I swapa %r8, [%r31 + 0xfffff5d1] %asi | |
13943 | .word 0x8d902af3 ! 372: WRPR_PSTATE_I wrpr %r0, 0x0af3, %pstate | |
13944 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
13945 | ta T_CHANGE_NONHPRIV ! macro | |
13946 | .word 0x976c3425 ! 373: SDIVX_I sdivx %r16, 0xfffff425, %r11 | |
13947 | .word 0xd6d7e030 ! 374: LDSHA_I ldsha [%r31, + 0x0030] %asi, %r11 | |
13948 | .word 0x879022bb ! 375: WRPR_TT_I wrpr %r0, 0x02bb, %tt | |
13949 | .word 0xd69004a0 ! 376: LDUHA_R lduha [%r0, %r0] 0x25, %r11 | |
13950 | .word 0xd6800c60 ! 377: LDUWA_R lduwa [%r0, %r0] 0x63, %r11 | |
13951 | memptr_0_206: | |
13952 | set 0x60340000, %r31 | |
13953 | .word 0x8580b832 ! 378: WRCCR_I wr %r2, 0x1832, %ccr | |
13954 | .word 0xd727c000 ! 379: STF_R st %f11, [%r0, %r31] | |
13955 | DS_0_207: | |
13956 | .word 0xa3a289d3 ! 1: FDIVd fdivd %f10, %f50, %f48 | |
13957 | allclean | |
13958 | .word 0xa1b40303 ! 380: ALIGNADDRESS alignaddr %r16, %r3, %r16 | |
13959 | splash_hpstate_0_208: | |
13960 | .word 0x81982214 ! 381: WRHPR_HPSTATE_I wrhpr %r0, 0x0214, %hpstate | |
13961 | intveclr_0_209: | |
13962 | setx 0x59451f91b5d0696c, %r1, %r28 | |
13963 | stxa %r28, [%g0] 0x72 | |
13964 | .word 0x25400001 ! 382: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
13965 | memptr_0_210: | |
13966 | set user_data_start, %r31 | |
13967 | .word 0x8581a370 ! 383: WRCCR_I wr %r6, 0x0370, %ccr | |
13968 | .word 0xab850001 ! 384: WR_CLEAR_SOFTINT_R wr %r20, %r1, %clear_softint | |
13969 | splash_cmpr_0_211: | |
13970 | setx 0xc85e2856a77f482f, %g2, %g1 | |
13971 | .word 0xaf800001 ! 1: WR_TICK_CMPR_REG_R wr %r0, %r1, %- | |
13972 | sub %g1, 100, %g1 | |
13973 | .word 0xb1800001 ! 385: WR_STICK_REG_R wr %r0, %r1, %- | |
13974 | .word 0xe0c804a0 ! 386: LDSBA_R ldsba [%r0, %r0] 0x25, %r16 | |
13975 | .word 0x91a449d2 ! 387: FDIVd fdivd %f48, %f18, %f8 | |
13976 | .word 0x91d020b4 ! 388: Tcc_I ta icc_or_xcc, %r0 + 180 | |
13977 | splash_htba_0_212: | |
13978 | set 0x80000, %r12 | |
13979 | st %r1, [%r12+%r0] | |
13980 | ta T_CHANGE_HPRIV | |
13981 | set 0x80000, %r12 | |
13982 | .word 0x8b98000c ! 389: WRHPR_HTBA_R wrhpr %r0, %r12, %htba | |
13983 | change_to_randtl_0_213: | |
13984 | ta T_CHANGE_HPRIV ! macro | |
13985 | done_change_to_randtl_0_213: | |
13986 | .word 0x8f902002 ! 390: WRPR_TL_I wrpr %r0, 0x0002, %tl | |
13987 | .word 0x91d02032 ! 391: Tcc_I ta icc_or_xcc, %r0 + 50 | |
13988 | splash_lsu_0_214: | |
13989 | setx 0x7cd0034221b1eaa9, %r1, %r2 | |
13990 | stxa %r2, [%r0] ASI_LSU_CONTROL | |
13991 | .word 0x3d400001 ! 392: FBPULE fbule,a,pn %fcc0, <label_0x1> | |
13992 | setx 0xbb1d648cdf39cd95, %r1, %r28 | |
13993 | stxa %r28, [%g0] 0x73 | |
13994 | intvec_0_215: | |
13995 | .word 0x39400001 ! 393: FBPUGE fbuge,a,pn %fcc0, <label_0x1> | |
13996 | intveclr_0_216: | |
13997 | setx 0xc60ae20ee8a8b90c, %r1, %r28 | |
13998 | stxa %r28, [%g0] 0x72 | |
13999 | .word 0x25400001 ! 394: FBPLG fblg,a,pn %fcc0, <label_0x1> | |
14000 | .word 0x8f902000 ! 1: WRPR_TL_I wrpr %r0, 0x0000, %tl | |
14001 | ta T_CHANGE_NONHPRIV ! macro | |
14002 | .word 0x91a01973 ! 395: FqTOd dis not found | |
14003 | ||
14004 | .word 0xd097e020 ! 396: LDUHA_I lduha [%r31, + 0x0020] %asi, %r8 | |
14005 | .word 0xd09004a0 ! 397: LDUHA_R lduha [%r0, %r0] 0x25, %r8 | |
14006 | debug_0_218: | |
14007 | nop | |
14008 | mov 0x38, %r18 | |
14009 | .word 0xfef00b12 ! 398: STXA_R stxa %r31, [%r0 + %r18] 0x58 | |
14010 | splash_hpstate_0_219: | |
14011 | .word 0x819823bf ! 399: WRHPR_HPSTATE_I wrhpr %r0, 0x03bf, %hpstate | |
14012 | DS_0_220: | |
14013 | .word 0x34800001 ! 1: BG bg,a <label_0x1> | |
14014 | pdist %f12, %f2, %f2 | |
14015 | .word 0xa7b1430a ! 400: ALIGNADDRESS alignaddr %r5, %r10, %r19 | |
14016 | cmpenall_0_221: | |
14017 | nop | |
14018 | nop | |
14019 | ta T_CHANGE_HPRIV | |
14020 | rd %asi, %r12 | |
14021 | wr %r0, 0x41, %asi | |
14022 | set sync_thr_counter, %r23 | |
14023 | cmpenall_startwait0_221: | |
14024 | mov 1, %r10 | |
14025 | cas [%r23],%g0,%r10 !lock | |
14026 | brz,a %r10, continue_cmpenall_0_221 | |
14027 | nop | |
14028 | cmpenall_wait0_221: | |
14029 | ld [%r23], %r10 | |
14030 | brnz %r10, cmpenall_wait0_221 | |
14031 | nop | |
14032 | ba,a cmpenall_startwait0_221 | |
14033 | continue_cmpenall_0_221: | |
14034 | ldxa [0x50]%asi, %r13 !Running_rw | |
14035 | ldxa [0x58]%asi, %r14 !Running_status | |
14036 | wait_for_cmpstat_0_221: | |
14037 | cmp %r13, %r15 | |
14038 | bne,a wait_for_cmpstat_0_221 | |
14039 | ldxa [0x58]%asi, %r15 !Running_status | |
14040 | mov 0xff, %r14 !All threads running | |
14041 | stxa %r14, [0x50]%asi | |
14042 | ldxa [0x58]%asi, %r15 !Running_status | |
14043 | wait_for_cmpstat2_0_221: | |
14044 | cmp %r14, %r15 | |
14045 | bne,a wait_for_cmpstat2_0_221 | |
14046 | ldxa [0x58]%asi, %r15 !Running_status | |
14047 | st %g0, [%r23] !clear lock | |
14048 | nop | |
14049 | nop | |
14050 | ||
14051 | join_lbl_0_0: | |
14052 | SECTION .MAIN | |
14053 | .text | |
14054 | diag_finish: | |
14055 | nop | |
14056 | nop | |
14057 | nop | |
14058 | ta T_CHANGE_HPRIV | |
14059 | set 0x80000, %r2 | |
14060 | wrhpr %g2, %g0, %htba | |
14061 | ta T_GOOD_TRAP | |
14062 | nop | |
14063 | nop | |
14064 | nop | |
14065 | .data | |
14066 | .xword 0x0 | |
14067 | ||
14068 | .global user_data_start | |
14069 | .data | |
14070 | user_data_start: | |
14071 | ||
14072 | .xword 0xc9ef95d3df46ed38 | |
14073 | .xword 0xc64862a5a42df329 | |
14074 | .xword 0x9a71a99b6a2bf2e7 | |
14075 | .xword 0xb87948eebdbf20c8 | |
14076 | .xword 0xff31c21402cec362 | |
14077 | .xword 0x189a14d84e63d7b0 | |
14078 | .xword 0x2fdc21193ea70655 | |
14079 | .xword 0x0d787df87d841822 | |
14080 | .xword 0x7d4074a89a83386b | |
14081 | .xword 0x00812233511a0985 | |
14082 | .xword 0x61042c2898493acd | |
14083 | .xword 0xe20d23df730c288d | |
14084 | .xword 0xb67a9f356c53ceab | |
14085 | .xword 0x496eec7553825caa | |
14086 | .xword 0xa8804bc6adb3fefd | |
14087 | .xword 0x30a539a42f7120a9 | |
14088 | .xword 0xf0a44005bf3e3dcf | |
14089 | .xword 0x4c1c5f59e672aa3b | |
14090 | .xword 0xfefbaf9f63093e96 | |
14091 | .xword 0x442de074dc670e6f | |
14092 | .xword 0xf4abf689d2d1b43e | |
14093 | .xword 0x97bd6b32f601ce75 | |
14094 | .xword 0x3392b2d31e460e79 | |
14095 | .xword 0xbb3bf7328d7c7815 | |
14096 | .xword 0xeba81f625a00ba3c | |
14097 | .xword 0xdd6b98cc384cee93 | |
14098 | .xword 0xb6f389b4cbf45ff8 | |
14099 | .xword 0x53b5c5ce168636b0 | |
14100 | .xword 0x995d699bf2eb9df9 | |
14101 | .xword 0x7687c2d6657b19f9 | |
14102 | .xword 0x2feb654f49641e29 | |
14103 | .xword 0xa06d9afe38a09ad9 | |
14104 | .xword 0x58273fcf1a8773b3 | |
14105 | .xword 0x58fedcaccfa9516f | |
14106 | .xword 0x57869104de336691 | |
14107 | .xword 0x28ebd6a20762cf07 | |
14108 | .xword 0x450e6a1bea161fe2 | |
14109 | .xword 0xb4648959497f89b3 | |
14110 | .xword 0x226e214d04d1e5cc | |
14111 | .xword 0x2c04adb37e8f3c37 | |
14112 | .xword 0x565dd7a269b6c45b | |
14113 | .xword 0x929bfa548e870c34 | |
14114 | .xword 0xf623ac9a849961b8 | |
14115 | .xword 0x0bd157c8a7159a06 | |
14116 | .xword 0x447be482110a4971 | |
14117 | .xword 0x56c4666b1c6140ed | |
14118 | .xword 0xe5c55c4f473145fc | |
14119 | .xword 0xca40e6993d4f0d08 | |
14120 | .xword 0x7524edaa19197485 | |
14121 | .xword 0x806df36ae781316a | |
14122 | .xword 0xcf08c451f421dace | |
14123 | .xword 0x44953a6d6275e20b | |
14124 | .xword 0x8109dde722062d03 | |
14125 | .xword 0xe2df614026810e8a | |
14126 | .xword 0x498d1b9c2295b2e4 | |
14127 | .xword 0xbec872d9f164b31e | |
14128 | .xword 0xb3b812da3091707f | |
14129 | .xword 0x03d861bfc096324e | |
14130 | .xword 0x6c3ed3ddf2e8b9f5 | |
14131 | .xword 0x496a7c1613884f82 | |
14132 | .xword 0xf7dbfa4d6f47cf63 | |
14133 | .xword 0x2dba68da454020cf | |
14134 | .xword 0x90cf754b540eaa03 | |
14135 | .xword 0xe33a05d6e74dceed | |
14136 | .xword 0xb394a93ad6d75e6e | |
14137 | .xword 0x305ad16e9dd182f2 | |
14138 | .xword 0x1b1f3b64366cd7c8 | |
14139 | .xword 0x6be5aec99713c401 | |
14140 | .xword 0xa897042d8846869b | |
14141 | .xword 0xd086b9bb080a6919 | |
14142 | .xword 0xef20122d36e3b16f | |
14143 | .xword 0xe4cbd3d750f1ff93 | |
14144 | .xword 0xeb4b5e7c45b50101 | |
14145 | .xword 0x1fc00804f4c07554 | |
14146 | .xword 0xdc9e6fd7b8f1bbef | |
14147 | .xword 0xcfafb6e620f5cfcc | |
14148 | .xword 0x001a7a490a8ed25e | |
14149 | .xword 0x7cb27919a917b044 | |
14150 | .xword 0x9e7ea47ac81892bc | |
14151 | .xword 0x0f3b9e23fa733fc2 | |
14152 | .xword 0xea51e009065cc773 | |
14153 | .xword 0x94d99ba866a0dc96 | |
14154 | .xword 0x28eb9ec3dc29b02a | |
14155 | .xword 0x92f0d781d7f8e278 | |
14156 | .xword 0xb537b416073729a3 | |
14157 | .xword 0x0bc0d07ce60afbed | |
14158 | .xword 0x458e15701abf3a53 | |
14159 | .xword 0xb22908d0600f9d55 | |
14160 | .xword 0x28cd54e10e748190 | |
14161 | .xword 0x853d40244d3044c6 | |
14162 | .xword 0x343b66944b93aa5e | |
14163 | .xword 0x1d9dcb853a632bb4 | |
14164 | .xword 0x0d92875769070322 | |
14165 | .xword 0xda45c4736fb67003 | |
14166 | .xword 0x9296d36dcaee5ce5 | |
14167 | .xword 0x96c506a872580b6c | |
14168 | .xword 0x30f868a4f1bce29e | |
14169 | .xword 0xa644d2690554a99f | |
14170 | .xword 0x3133368573e6cfc6 | |
14171 | .xword 0x5b50a5416f76ff67 | |
14172 | .xword 0xb56c5151a6f2740e | |
14173 | .xword 0x242d46fa428299d1 | |
14174 | .xword 0xf3d39defec4298b1 | |
14175 | .xword 0xbf896990209bab15 | |
14176 | .xword 0xd59142ecf2ffefe0 | |
14177 | .xword 0x4bdeeb74b4272296 | |
14178 | .xword 0x95efba4011371817 | |
14179 | .xword 0xa3ba996f1dc90616 | |
14180 | .xword 0xb3061822bd51063a | |
14181 | .xword 0x04a010630f035027 | |
14182 | .xword 0x1f4b833aafd6bde4 | |
14183 | .xword 0x3a2bd76d93ff9239 | |
14184 | .xword 0x0c2c8e8f13b43cf9 | |
14185 | .xword 0xb23b0052e8b391d7 | |
14186 | .xword 0xf0b700ad6a38d4af | |
14187 | .xword 0x36ccb3c997bc0ece | |
14188 | .xword 0x550c26ffd4aa7c79 | |
14189 | .xword 0x4f376e1116771ce7 | |
14190 | .xword 0xa0f49f33b1eab098 | |
14191 | .xword 0xa805dd77510d842c | |
14192 | .xword 0xe4e6310a61900643 | |
14193 | .xword 0x7196efb434b00413 | |
14194 | .xword 0xf7bc65b6c7d792e9 | |
14195 | .xword 0x543e9c2437cbc49a | |
14196 | .xword 0x55aa9beefc9d0de5 | |
14197 | .xword 0xa1b6fd45c8d9b72e | |
14198 | .xword 0x979d42e5ba9b71ca | |
14199 | .xword 0x58fb4217dcf7e967 | |
14200 | .xword 0x343709680d3bbe3e | |
14201 | .xword 0x5c263c7ce03ee143 | |
14202 | .xword 0x4d4f272796ad58c5 | |
14203 | .xword 0xacc845bb98713379 | |
14204 | .xword 0x2faf9e5de33811d2 | |
14205 | .xword 0x4fbb502555e70960 | |
14206 | .xword 0xacc0565882414e2b | |
14207 | .xword 0x753d5d322e9c1bef | |
14208 | .xword 0xcafc4f053697283f | |
14209 | .xword 0xef288430cdf036ed | |
14210 | .xword 0xd09863817c57f0fb | |
14211 | .xword 0x7f29ced191d26393 | |
14212 | .xword 0x84b8c65fcbfe9a34 | |
14213 | .xword 0x4d40532258cb7013 | |
14214 | .xword 0x0fe5bd85c4487795 | |
14215 | .xword 0x39daf30a9a43b974 | |
14216 | .xword 0xe997d68636edebc7 | |
14217 | .xword 0xc576988254389b3d | |
14218 | .xword 0xe084bb9cdab7573a | |
14219 | .xword 0x1d317d94f42054e8 | |
14220 | .xword 0xa20487f4f48fa6de | |
14221 | .xword 0xc1d7d809f858594a | |
14222 | .xword 0xfed6da6a403ca9af | |
14223 | .xword 0xeedd4ba0fee1ca71 | |
14224 | .xword 0x04787e53cea6234f | |
14225 | .xword 0xccb026f66035f692 | |
14226 | .xword 0x28cc09d707b33b90 | |
14227 | .xword 0x1a79bdde5a25dfab | |
14228 | .xword 0x0ccd919ca0f7e570 | |
14229 | .xword 0x8fe2c8e43e3d1304 | |
14230 | .xword 0x9c28ccdfa0fc3a14 | |
14231 | .xword 0x940b6bef51a768b1 | |
14232 | .xword 0xa07ce27ca6620114 | |
14233 | .xword 0x613d21b8466367af | |
14234 | .xword 0xd60f4328000dd741 | |
14235 | .xword 0x447a3afe82528793 | |
14236 | .xword 0x04211a208e45109b | |
14237 | .xword 0x6f9975c876c949ab | |
14238 | .xword 0x4edd47d6fca5f9a2 | |
14239 | .xword 0x6b0e2f85995bab25 | |
14240 | .xword 0x7c6135564d6e6492 | |
14241 | .xword 0x98ba5f75980f982f | |
14242 | .xword 0x5fd1c65c8e0adb26 | |
14243 | .xword 0xe143c5e0c0180c12 | |
14244 | .xword 0x7a4655ebbde60720 | |
14245 | .xword 0x98903a64e7b0d01d | |
14246 | .xword 0x1f7919b7663c7c0f | |
14247 | .xword 0xe7d906536b7d798d | |
14248 | .xword 0xb718318258a63d72 | |
14249 | .xword 0xe62da7798b93955f | |
14250 | .xword 0xaa857c31782c7bf4 | |
14251 | .xword 0x7eac2d24893deda7 | |
14252 | .xword 0x35a1d17dbe63d1ab | |
14253 | .xword 0xebc140c7584ce74a | |
14254 | .xword 0x07a7f9b892d84fe9 | |
14255 | .xword 0x052c28cedac853d8 | |
14256 | .xword 0xde35a01e7c0b6c31 | |
14257 | .xword 0x19f5962932a58141 | |
14258 | .xword 0x53db8c503bf29b89 | |
14259 | .xword 0x9dd0766626d76625 | |
14260 | .xword 0x93803426ae192ddf | |
14261 | .xword 0x43bec98fed15c84c | |
14262 | .xword 0x4c4b883809f76ff1 | |
14263 | .xword 0x481320bde2a11170 | |
14264 | .xword 0x3cb4afb8a0a60791 | |
14265 | .xword 0x0de432f039b0ddb8 | |
14266 | .xword 0xac1a0b0be50dcd81 | |
14267 | .xword 0x73754497a121317f | |
14268 | .xword 0x7f1943f61839a310 | |
14269 | .xword 0xa78ab0834a9ec81c | |
14270 | .xword 0x68b1e0d2b6530ae4 | |
14271 | .xword 0xbbdf7b30bd46d44f | |
14272 | .xword 0x545678b55dad52d2 | |
14273 | .xword 0xc5170e8343719e1c | |
14274 | .xword 0x1aa99d7ef5fbf4b7 | |
14275 | .xword 0xf83596888f56c987 | |
14276 | .xword 0x5a760a57efe5cb11 | |
14277 | .xword 0xa9c7d12a5239399b | |
14278 | .xword 0x59c24f5596873e63 | |
14279 | .xword 0x548ee9c6a9150732 | |
14280 | .xword 0xd2424145fb707c50 | |
14281 | .xword 0x2bd03e04b532e826 | |
14282 | .xword 0xa2ef28a889b23b94 | |
14283 | .xword 0x00459f40f6fd51c3 | |
14284 | .xword 0x7cdae885bada6f1a | |
14285 | .xword 0xb2f9ed0fbf80b5df | |
14286 | .xword 0x836bc3730937bc5d | |
14287 | .xword 0x5e71ab64a9dfc818 | |
14288 | .xword 0x52412feb6f20572c | |
14289 | .xword 0xcb2ea7a533d3fa6e | |
14290 | .xword 0x72cd94684e1e39f7 | |
14291 | .xword 0xb7323f8a0483c1d4 | |
14292 | .xword 0x503c42e4dc8aaf69 | |
14293 | .xword 0x3327e5cd87d561de | |
14294 | .xword 0xb56ef5c365311c91 | |
14295 | .xword 0x92f6b16116ba6136 | |
14296 | .xword 0xae897a156c0cd31c | |
14297 | .xword 0x14b109ac08a6cfad | |
14298 | .xword 0x9fe2cba8b82ae53f | |
14299 | .xword 0x36816f54ef598cad | |
14300 | .xword 0x651f2b02be19cf8a | |
14301 | .xword 0xe7583cd965c4e038 | |
14302 | .xword 0x95ae80480411fd02 | |
14303 | .xword 0x4bdfdc150f620238 | |
14304 | .xword 0xc033ab60d455cbc2 | |
14305 | .xword 0xaf0fc4fdfd23c403 | |
14306 | .xword 0xfaf411632cfa78cd | |
14307 | .xword 0xc40d0296b80f744b | |
14308 | .xword 0x86d0782f701771e8 | |
14309 | .xword 0x719a1a3bfa27d2af | |
14310 | .xword 0xb6b2950ffef648ea | |
14311 | .xword 0x411760e1fa1f78c2 | |
14312 | .xword 0xd5d5c8b53379dd26 | |
14313 | .xword 0x5aa51f8634ab4be1 | |
14314 | .xword 0xd18e241fbcb3d3bb | |
14315 | .xword 0xa839b4f2482a246d | |
14316 | .xword 0x37f7cc168bc6475d | |
14317 | .xword 0x57ea6e383fc416ac | |
14318 | .xword 0x64dd71ff38f8bfe2 | |
14319 | .xword 0x82a76fb71418e752 | |
14320 | .xword 0x87832f60a11d2d79 | |
14321 | .xword 0x089d431222762116 | |
14322 | .xword 0x49cfe481ea58cab6 | |
14323 | .xword 0x3a2d9f6d286fb6f2 | |
14324 | .xword 0x64dacebceb79b00f | |
14325 | .xword 0x93fc08040341d42d | |
14326 | .xword 0xf365e1fccd9c24fc | |
14327 | .xword 0x45cec8ce459b1359 | |
14328 | ||
14329 | .global wdog_2_ext | |
14330 | # 9 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_extensions.s" | |
14331 | .global wdog_2_ext | |
14332 | .global retry_with_base_tba | |
14333 | ||
14334 | SECTION .HTRAPS | |
14335 | .text | |
14336 | retry_with_base_tba: | |
14337 | set 0x120000, %r5 | |
14338 | set 0x7fff, %r3 | |
14339 | rdpr %tpc, %r4 | |
14340 | and %r4, %r3, %r4 | |
14341 | or %r5, %r4, %r4 | |
14342 | wrpr %r4, %tpc | |
14343 | rdpr %tnpc, %r4 | |
14344 | and %r4, %r3, %r4 | |
14345 | or %r5, %r4, %r4 | |
14346 | wrpr %r4, %tnpc | |
14347 | retry | |
14348 | ||
14349 | htrap_5_ext: | |
14350 | rd %pc, %l2 | |
14351 | inc %l3 | |
14352 | add %l2, htrap_5_ext_done-htrap_5_ext, %l2 | |
14353 | rdpr %tl, %l3 | |
14354 | rdpr %tstate, %l4 | |
14355 | rdhpr %htstate, %l5 | |
14356 | or %l5, 0x4, %l5 | |
14357 | inc %l3 | |
14358 | wrpr %l3, %tl | |
14359 | wrpr %l2, %tpc | |
14360 | add %l2, 4, %l2 | |
14361 | wrpr %l2, %tnpc | |
14362 | wrpr %l4, %tstate | |
14363 | wrhpr %l5, %htstate | |
14364 | retry | |
14365 | htrap_5_ext_done: | |
14366 | done | |
14367 | ||
14368 | wdog_2_ext: | |
14369 | mov 0x1f, %l1 | |
14370 | stxa %l1, [%g0] ASI_LSU_CTL_REG | |
14371 | ! If TT != 2, then goto trap handler | |
14372 | rdpr %tt, %l1 | |
14373 | cmp %l1, 0x2 | |
14374 | bne wdog_2_goto_handler | |
14375 | nop | |
14376 | ! else done | |
14377 | done | |
14378 | wdog_2_goto_handler: | |
14379 | rdhpr %htstate, %l3 | |
14380 | and %l3, 0x4, %l3 ! If previously in hpriv mode, go to hpriv | |
14381 | brnz,a %l3, wdog_2_goto_handler_1 | |
14382 | rdhpr %htba, %l3 | |
14383 | srlx %l1, 7, %l3 ! Send priv sw traps to priv mode .. | |
14384 | cmp %l3, 0x2 ! 0x2 = priv sw trap, 0x3=hpriv sw trap .. | |
14385 | be,a wdog_2_goto_handler_1 | |
14386 | rdpr %tba, %l3 | |
14387 | rdhpr %htba, %l3 | |
14388 | wdog_2_goto_handler_1: | |
14389 | sllx %l1, 5, %l1 | |
14390 | add %l1, %l3, %l3 | |
14391 | jmp %l3 | |
14392 | nop | |
14393 | # 73 "/import/n2-aus-localdir1/somePerson/n2cdmspp/verif/diag/assembly/include/tlu_custom_trap_extensions.s" | |
14394 | ! Red mode other reset handler | |
14395 | ! Get htba, and tt and make trap address | |
14396 | ! Jump to trap handler .. | |
14397 | ||
14398 | SECTION .RED_SEC | |
14399 | .text | |
14400 | red_other_ext: | |
14401 | ! IF TL=6, shift stack by one .. | |
14402 | rdpr %tl, %l1 | |
14403 | cmp %l1, 6 | |
14404 | be start_tsa_shift | |
14405 | nop | |
14406 | ||
14407 | continue_red_other: | |
14408 | mov 0x1f, %l1 | |
14409 | stxa %l1, [%g0] ASI_LSU_CTL_REG | |
14410 | ||
14411 | rdpr %tt, %l1 | |
14412 | ||
14413 | rdhpr %htstate, %l2 | |
14414 | and %l2, 0x4, %l2 ! If previously in hpriv mode, go to hpriv | |
14415 | brnz,a %l2, red_goto_handler | |
14416 | rdhpr %htba, %l2 | |
14417 | srlx %l1, 7, %l2 ! Send priv sw traps to priv mode .. | |
14418 | cmp %l2, 0x2 ! 0x2 = priv sw trap, 0x3=hpriv sw trap .. | |
14419 | be,a red_goto_handler | |
14420 | rdpr %tba, %l2 | |
14421 | rdhpr %htba, %l2 | |
14422 | red_goto_handler: | |
14423 | ||
14424 | sllx %l1, 5, %l1 | |
14425 | add %l1, %l2, %l2 | |
14426 | rdhpr %hpstate, %l1 | |
14427 | jmp %l2 | |
14428 | wrhpr %l1, 0x20, %hpstate | |
14429 | nop | |
14430 | ||
14431 | wdog_red_ext: | |
14432 | ! Shift stack down by 1 ... | |
14433 | rdpr %tl, %l1 | |
14434 | cmp %l1, 6 | |
14435 | bl wdog_end | |
14436 | start_tsa_shift: | |
14437 | mov 0x2, %l2 | |
14438 | ||
14439 | tsa_shift: | |
14440 | wrpr %l2, %tl | |
14441 | rdpr %tt, %l3 | |
14442 | rdpr %tpc, %l4 | |
14443 | rdpr %tnpc, %l5 | |
14444 | rdpr %tstate, %l6 | |
14445 | rdhpr %htstate, %l7 | |
14446 | dec %l2 | |
14447 | wrpr %l2, %tl | |
14448 | wrpr %l3, %tt | |
14449 | wrpr %l4, %tpc | |
14450 | wrpr %l5, %tnpc | |
14451 | wrpr %l6, %tstate | |
14452 | wrhpr %l7, %htstate | |
14453 | add %l2, 2, %l2 | |
14454 | cmp %l2, %l1 | |
14455 | ble tsa_shift | |
14456 | nop | |
14457 | tsa_shift_done: | |
14458 | dec %l1 | |
14459 | wrpr %l1, %tl | |
14460 | ||
14461 | wdog_end: | |
14462 | ! If TT != 2, then goto trap handler | |
14463 | rdpr %tt, %l1 | |
14464 | ||
14465 | cmp %l1, 0x2 | |
14466 | bne continue_red_other | |
14467 | nop | |
14468 | ! else done | |
14469 | mov 0x1f, %l1 | |
14470 | stxa %l1, [%g0] ASI_LSU_CTL_REG | |
14471 | done | |
14472 | # 492 "diag.j" | |
14473 | SECTION .CWQ_DATA DATA_VA =0x4000 | |
14474 | attr_data { | |
14475 | Name = .CWQ_DATA | |
14476 | hypervisor | |
14477 | } | |
14478 | ||
14479 | .data | |
14480 | .align 16 | |
14481 | .global msg | |
14482 | msg: | |
14483 | .xword 0xad32fa52374cc6ba | |
14484 | .xword 0x4cbf52280549003a | |
14485 | ||
14486 | .align 16 | |
14487 | .global results | |
14488 | results: | |
14489 | .xword 0xDEADBEEFDEADBEEF | |
14490 | .xword 0xDEADBEEFDEADBEEF | |
14491 | !# CWQ data area | |
14492 | .align 64 | |
14493 | .global CWQ_BASE | |
14494 | CWQ_BASE: | |
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 | .xword 0xAAAAAAAAAAAAAAA | |
14512 | .xword 0xAAAAAAAAAAAAAAA | |
14513 | .xword 0xAAAAAAAAAAAAAAA | |
14514 | .xword 0xAAAAAAAAAAAAAAA | |
14515 | .xword 0xAAAAAAAAAAAAAAA | |
14516 | .xword 0xAAAAAAAAAAAAAAA | |
14517 | .xword 0xAAAAAAAAAAAAAAA | |
14518 | .xword 0xAAAAAAAAAAAAAAA | |
14519 | .global CWQ_LAST | |
14520 | .align 64 | |
14521 | CWQ_LAST: | |
14522 | ||
14523 | ||
14524 | ||
14525 | SECTION .MyHTRAPS_0 TEXT_VA = 0x0000000000380000, DATA_VA = 0x000000000038c000 | |
14526 | attr_text { | |
14527 | Name = .MyHTRAPS_0, | |
14528 | RA = 0x0000000000380000, | |
14529 | PA = ra2pa(0x0000000000380000,0), | |
14530 | part_0_ctx_zero_tsb_config_0, | |
14531 | part_0_ctx_nonzero_tsb_config_0, | |
14532 | TTE_G = 1, | |
14533 | TTE_Context = 0, | |
14534 | TTE_V = 1, | |
14535 | TTE_Size = 0, | |
14536 | TTE_NFO = 0, | |
14537 | TTE_IE = 0, | |
14538 | TTE_Soft2 = 0, | |
14539 | TTE_Diag = 0, | |
14540 | TTE_Soft = 0, | |
14541 | TTE_L = 0, | |
14542 | TTE_CP = 1, | |
14543 | TTE_CV = 0, | |
14544 | TTE_E = 0, | |
14545 | TTE_P = 1, | |
14546 | TTE_W = 0, | |
14547 | TTE_X = 0 | |
14548 | } | |
14549 | ||
14550 | ||
14551 | attr_data { | |
14552 | Name = .MyHTRAPS_0, | |
14553 | RA = 0x000000000038c000, | |
14554 | PA = ra2pa(0x000000000038c000,0), | |
14555 | part_0_ctx_zero_tsb_config_0, | |
14556 | part_0_ctx_nonzero_tsb_config_0, | |
14557 | TTE_G = 1, | |
14558 | TTE_Context = 0, | |
14559 | TTE_V = 1, | |
14560 | TTE_Size = 0, | |
14561 | TTE_NFO = 0, | |
14562 | TTE_IE = 0, | |
14563 | TTE_Soft2 = 0, | |
14564 | TTE_Diag = 0, | |
14565 | TTE_Soft = 0, | |
14566 | TTE_L = 0, | |
14567 | TTE_CP = 1, | |
14568 | TTE_CV = 0, | |
14569 | TTE_E = 0, | |
14570 | TTE_P = 1, | |
14571 | TTE_W = 0 | |
14572 | } | |
14573 | ||
14574 | ||
14575 | attr_text { | |
14576 | Name = .MyHTRAPS_0, | |
14577 | hypervisor | |
14578 | } | |
14579 | ||
14580 | ||
14581 | attr_data { | |
14582 | Name = .MyHTRAPS_0, | |
14583 | hypervisor | |
14584 | } | |
14585 | ||
14586 | #include "htraps.s" | |
14587 | #include "tlu_htraps_ext.s" | |
14588 | ||
14589 | ||
14590 | ||
14591 | SECTION .MyHTRAPS_1 TEXT_VA = 0x0000000000390000, DATA_VA = 0x000000000039c000 | |
14592 | attr_text { | |
14593 | Name = .MyHTRAPS_1, | |
14594 | RA = 0x0000000000390000, | |
14595 | PA = ra2pa(0x0000000000390000,0), | |
14596 | part_0_ctx_zero_tsb_config_0, | |
14597 | part_0_ctx_nonzero_tsb_config_0, | |
14598 | TTE_G = 1, | |
14599 | TTE_Context = 0, | |
14600 | TTE_V = 1, | |
14601 | TTE_Size = 0, | |
14602 | TTE_NFO = 0, | |
14603 | TTE_IE = 0, | |
14604 | TTE_Soft2 = 0, | |
14605 | TTE_Diag = 0, | |
14606 | TTE_Soft = 0, | |
14607 | TTE_L = 0, | |
14608 | TTE_CP = 1, | |
14609 | TTE_CV = 0, | |
14610 | TTE_E = 0, | |
14611 | TTE_P = 1, | |
14612 | TTE_W = 0, | |
14613 | TTE_X = 0 | |
14614 | } | |
14615 | ||
14616 | ||
14617 | attr_data { | |
14618 | Name = .MyHTRAPS_1, | |
14619 | RA = 0x000000000039c000, | |
14620 | PA = ra2pa(0x000000000039c000,0), | |
14621 | part_0_ctx_zero_tsb_config_0, | |
14622 | part_0_ctx_nonzero_tsb_config_0, | |
14623 | TTE_G = 1, | |
14624 | TTE_Context = 0, | |
14625 | TTE_V = 1, | |
14626 | TTE_Size = 0, | |
14627 | TTE_NFO = 0, | |
14628 | TTE_IE = 0, | |
14629 | TTE_Soft2 = 0, | |
14630 | TTE_Diag = 0, | |
14631 | TTE_Soft = 0, | |
14632 | TTE_L = 0, | |
14633 | TTE_CP = 1, | |
14634 | TTE_CV = 0, | |
14635 | TTE_E = 0, | |
14636 | TTE_P = 1, | |
14637 | TTE_W = 0 | |
14638 | } | |
14639 | ||
14640 | ||
14641 | attr_text { | |
14642 | Name = .MyHTRAPS_1, | |
14643 | hypervisor | |
14644 | } | |
14645 | ||
14646 | ||
14647 | attr_data { | |
14648 | Name = .MyHTRAPS_1, | |
14649 | hypervisor | |
14650 | } | |
14651 | ||
14652 | #include "htraps.s" | |
14653 | #include "tlu_htraps_ext.s" | |
14654 | ||
14655 | ||
14656 | ||
14657 | SECTION .MyHTRAPS_2 TEXT_VA = 0x00000000003a0000, DATA_VA = 0x00000000003ac000 | |
14658 | attr_text { | |
14659 | Name = .MyHTRAPS_2, | |
14660 | RA = 0x00000000003a0000, | |
14661 | PA = ra2pa(0x00000000003a0000,0), | |
14662 | part_0_ctx_zero_tsb_config_0, | |
14663 | part_0_ctx_nonzero_tsb_config_0, | |
14664 | TTE_G = 1, | |
14665 | TTE_Context = 0, | |
14666 | TTE_V = 1, | |
14667 | TTE_Size = 0, | |
14668 | TTE_NFO = 0, | |
14669 | TTE_IE = 0, | |
14670 | TTE_Soft2 = 0, | |
14671 | TTE_Diag = 0, | |
14672 | TTE_Soft = 0, | |
14673 | TTE_L = 0, | |
14674 | TTE_CP = 1, | |
14675 | TTE_CV = 0, | |
14676 | TTE_E = 0, | |
14677 | TTE_P = 1, | |
14678 | TTE_W = 0, | |
14679 | TTE_X = 0 | |
14680 | } | |
14681 | ||
14682 | ||
14683 | attr_data { | |
14684 | Name = .MyHTRAPS_2, | |
14685 | RA = 0x00000000003ac000, | |
14686 | PA = ra2pa(0x00000000003ac000,0), | |
14687 | part_0_ctx_zero_tsb_config_0, | |
14688 | part_0_ctx_nonzero_tsb_config_0, | |
14689 | TTE_G = 1, | |
14690 | TTE_Context = 0, | |
14691 | TTE_V = 1, | |
14692 | TTE_Size = 0, | |
14693 | TTE_NFO = 0, | |
14694 | TTE_IE = 0, | |
14695 | TTE_Soft2 = 0, | |
14696 | TTE_Diag = 0, | |
14697 | TTE_Soft = 0, | |
14698 | TTE_L = 0, | |
14699 | TTE_CP = 1, | |
14700 | TTE_CV = 0, | |
14701 | TTE_E = 0, | |
14702 | TTE_P = 1, | |
14703 | TTE_W = 0 | |
14704 | } | |
14705 | ||
14706 | ||
14707 | attr_text { | |
14708 | Name = .MyHTRAPS_2, | |
14709 | hypervisor | |
14710 | } | |
14711 | ||
14712 | ||
14713 | attr_data { | |
14714 | Name = .MyHTRAPS_2, | |
14715 | hypervisor | |
14716 | } | |
14717 | ||
14718 | #include "htraps.s" | |
14719 | #include "tlu_htraps_ext.s" | |
14720 | ||
14721 | ||
14722 | ||
14723 | SECTION .MyHTRAPS_3 TEXT_VA = 0x00000000003b0000, DATA_VA = 0x00000000003bc000 | |
14724 | attr_text { | |
14725 | Name = .MyHTRAPS_3, | |
14726 | RA = 0x00000000003b0000, | |
14727 | PA = ra2pa(0x00000000003b0000,0), | |
14728 | part_0_ctx_zero_tsb_config_0, | |
14729 | part_0_ctx_nonzero_tsb_config_0, | |
14730 | TTE_G = 1, | |
14731 | TTE_Context = 0, | |
14732 | TTE_V = 1, | |
14733 | TTE_Size = 0, | |
14734 | TTE_NFO = 0, | |
14735 | TTE_IE = 0, | |
14736 | TTE_Soft2 = 0, | |
14737 | TTE_Diag = 0, | |
14738 | TTE_Soft = 0, | |
14739 | TTE_L = 0, | |
14740 | TTE_CP = 1, | |
14741 | TTE_CV = 0, | |
14742 | TTE_E = 0, | |
14743 | TTE_P = 1, | |
14744 | TTE_W = 0, | |
14745 | TTE_X = 0 | |
14746 | } | |
14747 | ||
14748 | ||
14749 | attr_data { | |
14750 | Name = .MyHTRAPS_3, | |
14751 | RA = 0x00000000003bc000, | |
14752 | PA = ra2pa(0x00000000003bc000,0), | |
14753 | part_0_ctx_zero_tsb_config_0, | |
14754 | part_0_ctx_nonzero_tsb_config_0, | |
14755 | TTE_G = 1, | |
14756 | TTE_Context = 0, | |
14757 | TTE_V = 1, | |
14758 | TTE_Size = 0, | |
14759 | TTE_NFO = 0, | |
14760 | TTE_IE = 0, | |
14761 | TTE_Soft2 = 0, | |
14762 | TTE_Diag = 0, | |
14763 | TTE_Soft = 0, | |
14764 | TTE_L = 0, | |
14765 | TTE_CP = 1, | |
14766 | TTE_CV = 0, | |
14767 | TTE_E = 0, | |
14768 | TTE_P = 1, | |
14769 | TTE_W = 0 | |
14770 | } | |
14771 | ||
14772 | ||
14773 | attr_text { | |
14774 | Name = .MyHTRAPS_3, | |
14775 | hypervisor | |
14776 | } | |
14777 | ||
14778 | ||
14779 | attr_data { | |
14780 | Name = .MyHTRAPS_3, | |
14781 | hypervisor | |
14782 | } | |
14783 | ||
14784 | #include "htraps.s" | |
14785 | #include "tlu_htraps_ext.s" | |
14786 | ||
14787 | ||
14788 | ||
14789 | ||
14790 | ||
14791 | SECTION .MyTRAPS_0 TEXT_VA = 0x00000000003c0000, DATA_VA = 0x00000000003cc000 | |
14792 | attr_text { | |
14793 | Name = .MyTRAPS_0, | |
14794 | RA = 0x00000000003c0000, | |
14795 | PA = ra2pa(0x00000000003c0000,0), | |
14796 | part_0_ctx_zero_tsb_config_0, | |
14797 | part_0_ctx_nonzero_tsb_config_0, | |
14798 | TTE_G = 1, | |
14799 | TTE_Context = 0, | |
14800 | TTE_V = 1, | |
14801 | TTE_Size = 0, | |
14802 | TTE_NFO = 0, | |
14803 | TTE_IE = 0, | |
14804 | TTE_Soft2 = 0, | |
14805 | TTE_Diag = 0, | |
14806 | TTE_Soft = 0, | |
14807 | TTE_L = 0, | |
14808 | TTE_CP = 0, | |
14809 | TTE_CV = 0, | |
14810 | TTE_E = 1, | |
14811 | TTE_P = 1, | |
14812 | TTE_W = 0, | |
14813 | TTE_X = 1 | |
14814 | } | |
14815 | ||
14816 | ||
14817 | attr_data { | |
14818 | Name = .MyTRAPS_0, | |
14819 | RA = 0x00000000003cc000, | |
14820 | PA = ra2pa(0x00000000003cc000,0), | |
14821 | part_0_ctx_zero_tsb_config_0, | |
14822 | part_0_ctx_nonzero_tsb_config_0, | |
14823 | TTE_G = 1, | |
14824 | TTE_Context = 0, | |
14825 | TTE_V = 1, | |
14826 | TTE_Size = 0, | |
14827 | TTE_NFO = 1, | |
14828 | TTE_IE = 0, | |
14829 | TTE_Soft2 = 0, | |
14830 | TTE_Diag = 0, | |
14831 | TTE_Soft = 0, | |
14832 | TTE_L = 0, | |
14833 | TTE_CP = 1, | |
14834 | TTE_CV = 0, | |
14835 | TTE_E = 0, | |
14836 | TTE_P = 1, | |
14837 | TTE_W = 0 | |
14838 | } | |
14839 | ||
14840 | ||
14841 | attr_text { | |
14842 | Name = .MyTRAPS_0, | |
14843 | hypervisor | |
14844 | } | |
14845 | ||
14846 | ||
14847 | attr_data { | |
14848 | Name = .MyTRAPS_0, | |
14849 | hypervisor | |
14850 | } | |
14851 | ||
14852 | #include "traps.s" | |
14853 | ||
14854 | ||
14855 | ||
14856 | SECTION .MyTRAPS_1 TEXT_VA = 0x00000000003d0000, DATA_VA = 0x00000000003dc000 | |
14857 | attr_text { | |
14858 | Name = .MyTRAPS_1, | |
14859 | RA = 0x00000000003d0000, | |
14860 | PA = ra2pa(0x00000000003d0000,0), | |
14861 | part_0_ctx_zero_tsb_config_0, | |
14862 | part_0_ctx_nonzero_tsb_config_0, | |
14863 | TTE_G = 1, | |
14864 | TTE_Context = 0, | |
14865 | TTE_V = 1, | |
14866 | TTE_Size = 0, | |
14867 | TTE_NFO = 0, | |
14868 | TTE_IE = 0, | |
14869 | TTE_Soft2 = 0, | |
14870 | TTE_Diag = 0, | |
14871 | TTE_Soft = 0, | |
14872 | TTE_L = 0, | |
14873 | TTE_CP = 1, | |
14874 | TTE_CV = 0, | |
14875 | TTE_E = 1, | |
14876 | TTE_P = 1, | |
14877 | TTE_W = 0, | |
14878 | TTE_X = 0 | |
14879 | } | |
14880 | ||
14881 | ||
14882 | attr_data { | |
14883 | Name = .MyTRAPS_1, | |
14884 | RA = 0x00000000003dc000, | |
14885 | PA = ra2pa(0x00000000003dc000,0), | |
14886 | part_0_ctx_zero_tsb_config_0, | |
14887 | part_0_ctx_nonzero_tsb_config_0, | |
14888 | TTE_G = 1, | |
14889 | TTE_Context = 0, | |
14890 | TTE_V = 1, | |
14891 | TTE_Size = 0, | |
14892 | TTE_NFO = 0, | |
14893 | TTE_IE = 0, | |
14894 | TTE_Soft2 = 0, | |
14895 | TTE_Diag = 0, | |
14896 | TTE_Soft = 0, | |
14897 | TTE_L = 0, | |
14898 | TTE_CP = 1, | |
14899 | TTE_CV = 0, | |
14900 | TTE_E = 0, | |
14901 | TTE_P = 1, | |
14902 | TTE_W = 0 | |
14903 | } | |
14904 | ||
14905 | ||
14906 | attr_text { | |
14907 | Name = .MyTRAPS_1, | |
14908 | hypervisor | |
14909 | } | |
14910 | ||
14911 | ||
14912 | attr_data { | |
14913 | Name = .MyTRAPS_1, | |
14914 | hypervisor | |
14915 | } | |
14916 | ||
14917 | #include "traps.s" | |
14918 | ||
14919 | ||
14920 | ||
14921 | SECTION .MyTRAPS_2 TEXT_VA = 0x00000000003e0000, DATA_VA = 0x00000000003ec000 | |
14922 | attr_text { | |
14923 | Name = .MyTRAPS_2, | |
14924 | RA = 0x00000000003e0000, | |
14925 | PA = ra2pa(0x00000000003e0000,0), | |
14926 | part_0_ctx_zero_tsb_config_0, | |
14927 | part_0_ctx_nonzero_tsb_config_0, | |
14928 | TTE_G = 1, | |
14929 | TTE_Context = 0, | |
14930 | TTE_V = 1, | |
14931 | TTE_Size = 0, | |
14932 | TTE_NFO = 1, | |
14933 | TTE_IE = 0, | |
14934 | TTE_Soft2 = 0, | |
14935 | TTE_Diag = 0, | |
14936 | TTE_Soft = 0, | |
14937 | TTE_L = 0, | |
14938 | TTE_CP = 0, | |
14939 | TTE_CV = 0, | |
14940 | TTE_E = 1, | |
14941 | TTE_P = 1, | |
14942 | TTE_W = 0, | |
14943 | TTE_X = 1 | |
14944 | } | |
14945 | ||
14946 | ||
14947 | attr_data { | |
14948 | Name = .MyTRAPS_2, | |
14949 | RA = 0x00000000003ec000, | |
14950 | PA = ra2pa(0x00000000003ec000,0), | |
14951 | part_0_ctx_zero_tsb_config_0, | |
14952 | part_0_ctx_nonzero_tsb_config_0, | |
14953 | TTE_G = 1, | |
14954 | TTE_Context = 0, | |
14955 | TTE_V = 1, | |
14956 | TTE_Size = 0, | |
14957 | TTE_NFO = 1, | |
14958 | TTE_IE = 0, | |
14959 | TTE_Soft2 = 0, | |
14960 | TTE_Diag = 0, | |
14961 | TTE_Soft = 0, | |
14962 | TTE_L = 0, | |
14963 | TTE_CP = 1, | |
14964 | TTE_CV = 0, | |
14965 | TTE_E = 0, | |
14966 | TTE_P = 1, | |
14967 | TTE_W = 0 | |
14968 | } | |
14969 | ||
14970 | ||
14971 | attr_text { | |
14972 | Name = .MyTRAPS_2, | |
14973 | hypervisor | |
14974 | } | |
14975 | ||
14976 | ||
14977 | attr_data { | |
14978 | Name = .MyTRAPS_2, | |
14979 | hypervisor | |
14980 | } | |
14981 | ||
14982 | #include "traps.s" | |
14983 | ||
14984 | ||
14985 | ||
14986 | SECTION .MyTRAPS_3 TEXT_VA = 0x00000000003f0000, DATA_VA = 0x00000000003fc000 | |
14987 | attr_text { | |
14988 | Name = .MyTRAPS_3, | |
14989 | RA = 0x00000000003f0000, | |
14990 | PA = ra2pa(0x00000000003f0000,0), | |
14991 | part_0_ctx_zero_tsb_config_0, | |
14992 | part_0_ctx_nonzero_tsb_config_0, | |
14993 | TTE_G = 1, | |
14994 | TTE_Context = 0, | |
14995 | TTE_V = 1, | |
14996 | TTE_Size = 0, | |
14997 | TTE_NFO = 0, | |
14998 | TTE_IE = 0, | |
14999 | TTE_Soft2 = 0, | |
15000 | TTE_Diag = 0, | |
15001 | TTE_Soft = 0, | |
15002 | TTE_L = 0, | |
15003 | TTE_CP = 1, | |
15004 | TTE_CV = 0, | |
15005 | TTE_E = 0, | |
15006 | TTE_P = 1, | |
15007 | TTE_W = 0, | |
15008 | TTE_X = 0 | |
15009 | } | |
15010 | ||
15011 | ||
15012 | attr_data { | |
15013 | Name = .MyTRAPS_3, | |
15014 | RA = 0x00000000003fc000, | |
15015 | PA = ra2pa(0x00000000003fc000,0), | |
15016 | part_0_ctx_zero_tsb_config_0, | |
15017 | part_0_ctx_nonzero_tsb_config_0, | |
15018 | TTE_G = 1, | |
15019 | TTE_Context = 0, | |
15020 | TTE_V = 1, | |
15021 | TTE_Size = 0, | |
15022 | TTE_NFO = 0, | |
15023 | TTE_IE = 0, | |
15024 | TTE_Soft2 = 0, | |
15025 | TTE_Diag = 0, | |
15026 | TTE_Soft = 0, | |
15027 | TTE_L = 0, | |
15028 | TTE_CP = 0, | |
15029 | TTE_CV = 0, | |
15030 | TTE_E = 0, | |
15031 | TTE_P = 1, | |
15032 | TTE_W = 0 | |
15033 | } | |
15034 | ||
15035 | ||
15036 | attr_text { | |
15037 | Name = .MyTRAPS_3, | |
15038 | hypervisor | |
15039 | } | |
15040 | ||
15041 | ||
15042 | attr_data { | |
15043 | Name = .MyTRAPS_3, | |
15044 | hypervisor | |
15045 | } | |
15046 | ||
15047 | #include "traps.s" | |
15048 | ||
15049 | ||
15050 | ||
15051 | ||
15052 | ||
15053 | SECTION .MyDATA_0 TEXT_VA = 0x00000000e0140000, DATA_VA = 0x0000000060140000 | |
15054 | attr_data { | |
15055 | Name = .MyDATA_0, | |
15056 | RA = 0x0000000170100000, | |
15057 | PA = ra2pa(0x0000000170100000,0), | |
15058 | part_0_ctx_zero_tsb_config_0, | |
15059 | part_0_ctx_nonzero_tsb_config_0, | |
15060 | TTE_G = 1, | |
15061 | TTE_Context = PCONTEXT, | |
15062 | TTE_V = 1, | |
15063 | TTE_Size = 1, | |
15064 | TTE_NFO = 1, | |
15065 | TTE_IE = 0, | |
15066 | TTE_Soft2 = 0, | |
15067 | TTE_Diag = 0, | |
15068 | TTE_Soft = 0, | |
15069 | TTE_L = 0, | |
15070 | TTE_CP = 1, | |
15071 | TTE_CV = 1, | |
15072 | TTE_E = 0, | |
15073 | TTE_P = 0, | |
15074 | TTE_W = 1 | |
15075 | } | |
15076 | ||
15077 | ||
15078 | attr_data { | |
15079 | Name = .MyDATA_0, | |
15080 | hypervisor | |
15081 | } | |
15082 | ||
15083 | ||
15084 | attr_text { | |
15085 | Name = .MyDATA_0, | |
15086 | hypervisor | |
15087 | } | |
15088 | ||
15089 | .data | |
15090 | .xword 0x7b6dd4d592dfe4b9 | |
15091 | .xword 0x0abd43582dc9cbd0 | |
15092 | .xword 0xc24a98d4c7cd6573 | |
15093 | .xword 0x0d4656ab9b023105 | |
15094 | .xword 0xbfd12d7d4027590a | |
15095 | .xword 0x0b9ecde01d5418a9 | |
15096 | .xword 0x0b505522f0c06311 | |
15097 | .xword 0xc5e179eba3d7ede7 | |
15098 | .xword 0x189b1e1ae1d1bc28 | |
15099 | .xword 0xd5f3b37ffbdb2599 | |
15100 | .xword 0xfc33b97c764211b5 | |
15101 | .xword 0xd738ae95df6837ac | |
15102 | .xword 0x8dbc83e8108ed41f | |
15103 | .xword 0x8d3af1b9e671f544 | |
15104 | .xword 0x6d7e61fb5cb4904f | |
15105 | .xword 0x5f453752466748c5 | |
15106 | .xword 0x979f64ecdf4783bf | |
15107 | .xword 0x80791fd499c246cb | |
15108 | .xword 0xe8182f779a0c21ca | |
15109 | .xword 0xed3e59760219d8f3 | |
15110 | .xword 0x087b8de00d475d59 | |
15111 | .xword 0x5d1c7ebf92e705cb | |
15112 | .xword 0x5e2042f6388713b8 | |
15113 | .xword 0xb1427edf91ca9795 | |
15114 | .xword 0x9ae4b891b34bf2c9 | |
15115 | .xword 0xeab61e4d13ece4d5 | |
15116 | .xword 0x79da41065a659eff | |
15117 | .xword 0x5788105f5c70660b | |
15118 | .xword 0x31c174e917fd2f8b | |
15119 | .xword 0x29af1d1871f04fbf | |
15120 | .xword 0x9079178047f447e7 | |
15121 | .xword 0xb2031b191c1b549a | |
15122 | ||
15123 | ||
15124 | ||
15125 | SECTION .MyDATA_1 TEXT_VA = 0x00000000e0340000, DATA_VA = 0x0000000060340000 | |
15126 | attr_data { | |
15127 | Name = .MyDATA_1, | |
15128 | RA = 0x0000000170300000, | |
15129 | PA = ra2pa(0x0000000170300000,0), | |
15130 | part_0_ctx_zero_tsb_config_0, | |
15131 | part_0_ctx_nonzero_tsb_config_0, | |
15132 | TTE_G = 1, | |
15133 | TTE_Context = PCONTEXT, | |
15134 | TTE_V = 1, | |
15135 | TTE_Size = 1, | |
15136 | TTE_NFO = 1, | |
15137 | TTE_IE = 0, | |
15138 | TTE_Soft2 = 0, | |
15139 | TTE_Diag = 0, | |
15140 | TTE_Soft = 0, | |
15141 | TTE_L = 0, | |
15142 | TTE_CP = 1, | |
15143 | TTE_CV = 1, | |
15144 | TTE_E = 0, | |
15145 | TTE_P = 1, | |
15146 | TTE_W = 0 | |
15147 | } | |
15148 | ||
15149 | ||
15150 | attr_data { | |
15151 | Name = .MyDATA_1, | |
15152 | hypervisor | |
15153 | } | |
15154 | ||
15155 | ||
15156 | attr_text { | |
15157 | Name = .MyDATA_1, | |
15158 | hypervisor | |
15159 | } | |
15160 | ||
15161 | .data | |
15162 | .xword 0xa9edb6eb5e4c19c2 | |
15163 | .xword 0x03b0431e389c1f42 | |
15164 | .xword 0x3fe59633a20fe665 | |
15165 | .xword 0x195a7a9e67cd7ebf | |
15166 | .xword 0x118ce0ce372eb069 | |
15167 | .xword 0xcac6946396dc8c5e | |
15168 | .xword 0x1cc95140e0507a3a | |
15169 | .xword 0xfef8c615cdf74c25 | |
15170 | .xword 0x26025375815a1cdb | |
15171 | .xword 0x0aa39f0d264b98f6 | |
15172 | .xword 0x1dc2db23b11ea276 | |
15173 | .xword 0x1db3eec85ae2549f | |
15174 | .xword 0xecff7e7fa9383b6c | |
15175 | .xword 0x6de42745b0ca3131 | |
15176 | .xword 0xb88a860cb337f55c | |
15177 | .xword 0xa67bcd3b50804bfa | |
15178 | .xword 0x3a91ff7dfa651b36 | |
15179 | .xword 0x9f11e03895b2c7bb | |
15180 | .xword 0x947b7e74dde8136e | |
15181 | .xword 0xbc08989eb3d5406e | |
15182 | .xword 0x233aac44f003e4fc | |
15183 | .xword 0x96ad054e5572ad67 | |
15184 | .xword 0x4045dc12388bd470 | |
15185 | .xword 0x10b2057f444af956 | |
15186 | .xword 0x382889cd3aeeab9f | |
15187 | .xword 0x8d446c6ee6c54c54 | |
15188 | .xword 0x0afaf1e0982e87c4 | |
15189 | .xword 0xd3b17da4ae33a361 | |
15190 | .xword 0x2755898d0b10fb73 | |
15191 | .xword 0x692f8108fe550134 | |
15192 | .xword 0xb8e67e63c3e7d72c | |
15193 | .xword 0xeaa8a385615fa0d2 | |
15194 | ||
15195 | ||
15196 | ||
15197 | SECTION .MyDATA_2 TEXT_VA = 0x00000000e0540000, DATA_VA = 0x0000000060540000 | |
15198 | attr_data { | |
15199 | Name = .MyDATA_2, | |
15200 | RA = 0x0000000170500000, | |
15201 | PA = ra2pa(0x0000000170500000,0), | |
15202 | part_0_ctx_zero_tsb_config_0, | |
15203 | part_0_ctx_nonzero_tsb_config_0, | |
15204 | TTE_G = 1, | |
15205 | TTE_Context = PCONTEXT, | |
15206 | TTE_V = 1, | |
15207 | TTE_Size = 1, | |
15208 | TTE_NFO = 1, | |
15209 | TTE_IE = 0, | |
15210 | TTE_Soft2 = 0, | |
15211 | TTE_Diag = 0, | |
15212 | TTE_Soft = 0, | |
15213 | TTE_L = 0, | |
15214 | TTE_CP = 1, | |
15215 | TTE_CV = 0, | |
15216 | TTE_E = 1, | |
15217 | TTE_P = 1, | |
15218 | TTE_W = 0 | |
15219 | } | |
15220 | ||
15221 | ||
15222 | attr_data { | |
15223 | Name = .MyDATA_2, | |
15224 | hypervisor | |
15225 | } | |
15226 | ||
15227 | ||
15228 | attr_text { | |
15229 | Name = .MyDATA_2, | |
15230 | hypervisor | |
15231 | } | |
15232 | ||
15233 | .data | |
15234 | .xword 0x14492fdff411a170 | |
15235 | .xword 0x6920f6f01b092189 | |
15236 | .xword 0x23723f917481e899 | |
15237 | .xword 0x72a92e4c1e9bc86b | |
15238 | .xword 0x8dcec63958365450 | |
15239 | .xword 0x7090de94e880baa8 | |
15240 | .xword 0xb76cf9fa7ca8dcea | |
15241 | .xword 0x728bd0ee373e897b | |
15242 | .xword 0xa4a58bbb5ba86ea6 | |
15243 | .xword 0x5e3a5db3dea44839 | |
15244 | .xword 0x5a2ffead63ad14f3 | |
15245 | .xword 0x47792bc0dd4c806d | |
15246 | .xword 0x7886bd290f1413d1 | |
15247 | .xword 0xc9966b43ddb416ad | |
15248 | .xword 0xf759aebf95eef3af | |
15249 | .xword 0x7fb5375f7f2952f5 | |
15250 | .xword 0xfa2f5f4269f7d392 | |
15251 | .xword 0xcb8d0d7efe50374f | |
15252 | .xword 0xec0462490ce3de05 | |
15253 | .xword 0xac4a6b114634df65 | |
15254 | .xword 0x8c959df1b0dc213e | |
15255 | .xword 0xd9eacaa59c69774f | |
15256 | .xword 0x73004301a330b9ae | |
15257 | .xword 0x8478c60db189cf31 | |
15258 | .xword 0xb7cbe66596015569 | |
15259 | .xword 0xf754ad462de9e650 | |
15260 | .xword 0xee4d5dbace7355ec | |
15261 | .xword 0xff42577bd22c3197 | |
15262 | .xword 0xda94b2972e94568b | |
15263 | .xword 0xa1d7e586bc300867 | |
15264 | .xword 0xfa2d382c046f5d26 | |
15265 | .xword 0x07b07741e7e1dad8 | |
15266 | ||
15267 | ||
15268 | ||
15269 | SECTION .MyDATA_3 TEXT_VA = 0x00000000e0740000, DATA_VA = 0x0000000060740000 | |
15270 | attr_data { | |
15271 | Name = .MyDATA_3, | |
15272 | RA = 0x0000000170700000, | |
15273 | PA = ra2pa(0x0000000170700000,0), | |
15274 | part_0_ctx_zero_tsb_config_0, | |
15275 | part_0_ctx_nonzero_tsb_config_0, | |
15276 | TTE_G = 1, | |
15277 | TTE_Context = PCONTEXT, | |
15278 | TTE_V = 1, | |
15279 | TTE_Size = 0, | |
15280 | TTE_NFO = 1, | |
15281 | TTE_IE = 0, | |
15282 | TTE_Soft2 = 0, | |
15283 | TTE_Diag = 0, | |
15284 | TTE_Soft = 0, | |
15285 | TTE_L = 0, | |
15286 | TTE_CP = 1, | |
15287 | TTE_CV = 0, | |
15288 | TTE_E = 1, | |
15289 | TTE_P = 0, | |
15290 | TTE_W = 0 | |
15291 | } | |
15292 | ||
15293 | ||
15294 | attr_data { | |
15295 | Name = .MyDATA_3, | |
15296 | hypervisor | |
15297 | } | |
15298 | ||
15299 | ||
15300 | attr_text { | |
15301 | Name = .MyDATA_3, | |
15302 | hypervisor | |
15303 | } | |
15304 | ||
15305 | .data | |
15306 | .xword 0x667e19ef1b4fd202 | |
15307 | .xword 0x8204b9f390fee4db | |
15308 | .xword 0xd5e462df5ffcf24a | |
15309 | .xword 0x31beea34a0b39e4b | |
15310 | .xword 0x45ca9fde1238cfb5 | |
15311 | .xword 0x2ce8da8be9e86857 | |
15312 | .xword 0xc7a2d06d24cf60b0 | |
15313 | .xword 0xba1cd030c42a8b37 | |
15314 | .xword 0x876bbf9338714b4e | |
15315 | .xword 0xd873a7a1c0f2ee6a | |
15316 | .xword 0x03a71487cfaebb60 | |
15317 | .xword 0xde641a56eb3b3a28 | |
15318 | .xword 0xc78d5f47831ba53f | |
15319 | .xword 0x750bdd7aa37937e5 | |
15320 | .xword 0xffd1e9c43ec00461 | |
15321 | .xword 0xa72dbe13106309f6 | |
15322 | .xword 0xf448e666b9a14e7e | |
15323 | .xword 0xce15cfea72e96e06 | |
15324 | .xword 0xdd10b2411469b0e7 | |
15325 | .xword 0xe2523312436f2e59 | |
15326 | .xword 0x97bcf2a2df416741 | |
15327 | .xword 0xdac72b43249b9514 | |
15328 | .xword 0x06025f7ce6934bf1 | |
15329 | .xword 0x1ce7abaf017454ab | |
15330 | .xword 0xce2eafd524466eb5 | |
15331 | .xword 0xf8dea149df363563 | |
15332 | .xword 0x8d97c1924baf75d2 | |
15333 | .xword 0xc5db0a2d5a563670 | |
15334 | .xword 0x4e673bf7dc6bd7ac | |
15335 | .xword 0x72d472697f5bf13a | |
15336 | .xword 0x04df07011faef234 | |
15337 | .xword 0x4266277b85ff3e33 | |
15338 | ||
15339 | ||
15340 | ||
15341 | #if 0 | |
15342 | #endif | |
15343 |