interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / om / codegen / cg_pattn.om

4000 lines · 90942 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Direct phase decomposition of the C builder at f219a04. State slots carry virtual-register identities.
3note State 0 count 1: spec.depth
4note State 1 count 1: spec.mutant
5note State 2 count 1: spec.warps
6note State 3 count 1: spec.mode
7note State 4 count 1: spec.mirror
8note State 5 count 1: W
9note State 6 count 1: T
10note State 7 count 1: LW
11note State 8 count 1: NKU
12note State 9 count 1: NVU
13note State 10 count 1: ROUNDS
14note State 11 count 1: MUT
15note State 12 count 1: udesc
16note State 13 count 1: pqkv
17note State 14 count 1: pkc
18note State 15 count 1: pvc
19note State 16 count 1: prope
20note State 17 count 1: pqn
21note State 18 count 1: pkn
22note State 19 count 1: pos0
23note State 20 count 1: mc
24note State 21 count 1: kvs
25note State 22 count 1: eps
26note State 23 count 1: qks
27note State 24 count 1: tid
28note State 25 count 1: cx
29note State 26 count 1: cy
30note State 27 count 1: warp
31note State 28 count 1: lane
32note State 29 count 1: one
33note State 30 count 1: zero
34note State 31 count 1: c7fff
35note State 32 count 1: c16
36note State 33 count 1: cyk
37note State 34 count 1: nk
38note State 35 count 1: t1
39note State 36 count 1: t2
40note State 37 count 1: cxw
41note State 38 count 1: ov
42note State 39 count 1: n.lane
43note State 40 count 1: n.one
44note State 41 count 1: n.eps
45note State 42 count 1: n.snw
46note State 43 count 1: n.sxl
47note State 44 count 1: n.sxp
48note State 45 count 1: n.sq
49note State 46 count 1: n.ts
50note State 47 count 1: n.rs
51note State 48 count 1: n.a1
52note State 49 count 1: n.pt4
53note State 50 count 1: sgn
54note State 51 count 1: ropel
55note State 52 count 1: ad64
56note State 53 count 1: rope64
57note State 54 count 1: cos4
58note State 55 count 1: sin4
59note State 56 count 1: tokc
60note State 57 count 1: item
61note State 58 count 1: cnt
62note State 59 count 1: h0
63note State 60 count 1: h1
64note State 61 count 1: tb
65note State 62 count 1: w0
66note State 63 count 1: w1
67note State 64 count 1: w2
68note State 65 count 1: w3
69note State 66 count 1: pl
70note State 67 count 1: APPEND
71note State 68 count 1: kw4
72note State 69 count 1: k4
73note State 70 count 1: v4
74note State 71 count 1: nkm1
75note State 72 count 1: L_k
76note State 73 count 1: _d
77note State 74 count 1: _o
78note State 75 count 1: i
79note State 76 count 1: x4
80note State 77 count 1: w4
81note State 78 count 1: cos4
82note State 79 count 1: sin4
83note State 80 count 1: rope
84note State 81 count 1: i
85note State 82 count 1: o
86note State 83 count 1: r
87note State 84 count 1: i
88note State 85 count 1: i
89note State 86 count 1: i
90note State 87 count 1: d
91note State 88 count 1: x4
92note State 89 count 1: q0
93note State 90 count 1: c7fff
94note State 91 count 1: h0
95note State 92 count 1: h1
96note State 93 count 1: tb
97note State 94 count 1: d
98note State 95 count 1: x
99note State 96 count 1: c7fff
100note State 97 count 1: t
101note State 98 count 1: d
102note State 99 count 1: x
103note State 100 count 1: c7fff
104note State 101 count 1: t
105note State 102 count 1: d
106note State 103 count 1: x4
107note State 104 count 1: q0
108note State 105 count 1: c7fff
109note State 106 count 1: h0
110note State 107 count 1: h1
111note State 108 count 1: tb
112note State 109 count 1: d
113note State 110 count 1: x
114note State 111 count 1: c7fff
115note State 112 count 1: t
116note State 113 count 1: d
117note State 114 count 1: x
118note State 115 count 1: c7fff
119note State 116 count 1: t
120note State 117 count 1: d
121note State 118 count 1: x4
122note State 119 count 1: q0
123note State 120 count 1: c7fff
124note State 121 count 1: h0
125note State 122 count 1: h1
126note State 123 count 1: tb
127note State 124 count 1: d
128note State 125 count 1: x
129note State 126 count 1: c7fff
130note State 127 count 1: t
131note State 128 count 1: d
132note State 129 count 1: x
133note State 130 count 1: c7fff
134note State 131 count 1: t
135note State 132 count 1: d
136note State 133 count 1: x4
137note State 134 count 1: q0
138note State 135 count 1: c7fff
139note State 136 count 1: h0
140note State 137 count 1: h1
141note State 138 count 1: tb
142note State 139 count 1: d
143note State 140 count 1: x
144note State 141 count 1: c7fff
145note State 142 count 1: t
146note State 143 count 1: d
147note State 144 count 1: x
148note State 145 count 1: c7fff
149note State 146 count 1: t
150note State 147 count 1: ka
151note State 148 count 1: b
152note State 149 count 1: pk2
153note State 150 count 1: pv2
154note State 151 count 1: kvs2
155note State 152 count 8: q
156note State 160 count 1: s
157note State 161 count 1: qw4
158note State 162 count 1: x4
159note State 163 count 1: qlane
160note State 164 count 1: rr
161note State 165 count 1: cr
162note State 166 count 1: mcm1
163note State 167 count 1: qbase
164note State 168 count 1: jt
165note State 169 count 1: hh
166note State 170 count 1: s
167note State 171 count 1: k
168note State 172 count 1: L_r
169note State 173 count 1: L_i
170note State 174 count 1: tk
171note State 175 count 1: _d
172note State 176 count 1: _o
173note State 177 count 1: i
174note State 178 count 1: x4
175note State 179 count 1: w4
176note State 180 count 1: cos4
177note State 181 count 1: sin4
178note State 182 count 1: rope
179note State 183 count 1: i
180note State 184 count 1: o
181note State 185 count 1: r
182note State 186 count 1: i
183note State 187 count 1: i
184note State 188 count 1: i
185note State 189 count 1: i
186note State 190 count 1: d
187note State 191 count 1: x4
188note State 192 count 1: q0
189note State 193 count 1: c7fff
190note State 194 count 1: h0
191note State 195 count 1: h1
192note State 196 count 1: tb
193note State 197 count 1: d
194note State 198 count 1: x
195note State 199 count 1: c7fff
196note State 200 count 1: t
197note State 201 count 1: d
198note State 202 count 1: x
199note State 203 count 1: c7fff
200note State 204 count 1: t
201note State 205 count 1: d
202note State 206 count 1: x4
203note State 207 count 1: q0
204note State 208 count 1: c7fff
205note State 209 count 1: h0
206note State 210 count 1: h1
207note State 211 count 1: tb
208note State 212 count 1: d
209note State 213 count 1: x
210note State 214 count 1: c7fff
211note State 215 count 1: t
212note State 216 count 1: d
213note State 217 count 1: x
214note State 218 count 1: c7fff
215note State 219 count 1: t
216note State 220 count 1: skip
217note State 221 count 1: s
218note State 222 count 8: o
219note State 230 count 4: sc
220note State 234 count 4: kf
221note State 238 count 2: pp
222note State 240 count 4: vf
223note State 244 count 1: i
224note State 245 count 1: mA
225note State 246 count 1: mB
226note State 247 count 1: lA
227note State 248 count 1: lB
228note State 249 count 1: dqa
229note State 250 count 1: gK
230note State 251 count 1: gV
231note State 252 count 1: sKb
232note State 253 count 1: sVb
233note State 254 count 1: lane16
234note State 255 count 1: vfb
235note State 256 count 1: negc
236note State 257 count 1: tokA
237note State 258 count 1: a
238note State 259 count 1: c
239note State 260 count 1: tq
240note State 261 count 1: i
241note State 262 count 1: k
242note State 263 count 4: kq4
243note State 267 count 2: va4
244note State 269 count 2: vb4
245note State 271 count 1: i
246note State 272 count 1: i
247note State 273 count 1: ev
248note State 274 count 1: od
249note State 275 count 1: sa
250note State 276 count 1: mxA
251note State 277 count 1: mxB
252note State 278 count 1: alA
253note State 279 count 1: alB
254note State 280 count 1: sh
255note State 281 count 1: j
256note State 282 count 1: b
257note State 283 count 1: i
258note State 284 count 1: L_m
259note State 285 count 1: i
260note State 286 count 1: i
261note State 287 count 1: k
262note State 288 count 1: ci
263note State 289 count 1: i
264note State 290 count 1: i
265note State 291 count 1: k
266note State 292 count 1: ci
267note State 293 count 1: i
268note State 294 count 1: k
269note State 295 count 1: s
270note State 296 count 1: cur
271note State 297 count 1: nx
272note State 298 count 1: sbn
273note State 299 count 1: b
274note State 300 count 1: dql
275note State 301 count 1: j
276note State 302 count 1: k
277note State 303 count 1: cst
278note State 304 count 1: j
279note State 305 count 1: j
280note State 306 count 1: k
281note State 307 count 1: j
282note State 308 count 1: k
283note State 309 count 1: j
284note State 310 count 1: k
285note State 311 count 1: i
286note State 312 count 1: k
287note State 313 count 1: b
288note State 314 count 1: kq
289note State 315 count 1: np
290note State 316 count 1: np
291note State 317 count 1: pout
292note State 318 count 1: osc
293note State 319 count 1: po
294note State 320 count 1: g
295note State 321 count 1: tq
296note State 322 count 1: etid
297note State 323 count 1: ecx
298note State 324 count 1: ecy
299note State 325 count 1: emc
300note State 326 count 1: ewarp
301note State 327 count 1: elane
302note State 328 count 1: etok
303note State 329 count 1: i
304note State 330 count 1: k
305note State 331 count 1: row
306note State 332 count 1: b
307note State 333 count 1: i
308note State 1940..1989: expression temporaries; 1990: early return; 2000..2005: emitter arguments.
309fn phase_1 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
310note C phase: const uint32_t W = spec->warps
311put s 5 get s 2
312end
313fn phase_2 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
314note C phase: const uint32_t T = 32u * W
315put s 6 mul ulong 32 get s 5
316end
317fn phase_3 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
318note C phase: const uint32_t LW = (W == 8u) ? (3u) : (2u)
319put s 7 choose eq get s 5 ulong 8 ulong 3 ulong 2
320end
321fn phase_4 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
322note C phase: const uint32_t NKU = 512u / T
323put s 8 div ulong 512 get s 6
324end
325fn phase_5 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
326note C phase: const uint32_t NVU = 256u / T
327put s 9 div ulong 256 get s 6
328end
329fn phase_6 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
330note C phase: const uint32_t ROUNDS = W / 4u
331put s 10 div get s 5 ulong 4
332end
333fn phase_7 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
334note C phase: const int MUT = spec->mutant
335put s 11 get s 1
336end
337fn phase_8 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
338note C phase: int udesc = UV64(e)
339put s 12 p_UV64 x m s
340end
341fn phase_9 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
342note C phase: int pqkv = V64(e)
343put s 13 p_V64 x m s
344end
345fn phase_10 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
346note C phase: int pkc = V64(e)
347put s 14 p_V64 x m s
348end
349fn phase_11 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
350note C phase: int pvc = V64(e)
351put s 15 p_V64 x m s
352end
353fn phase_12 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
354note C phase: int prope = V64(e)
355put s 16 p_V64 x m s
356end
357fn phase_13 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
358note C phase: int pqn = V64(e)
359put s 17 p_V64 x m s
360end
361fn phase_14 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
362note C phase: int pkn = V64(e)
363put s 18 p_V64 x m s
364end
365fn phase_15 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
366note C phase: int pos0 = V(e)
367put s 19 p_V x m s
368end
369fn phase_16 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
370note C phase: int mc = V(e)
371put s 20 p_V x m s
372end
373fn phase_17 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
374note C phase: int kvs = V(e)
375put s 21 p_V x m s
376end
377fn phase_18 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
378note C phase: int eps = V(e)
379put s 22 p_V x m s
380end
381fn phase_19 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
382note C phase: int qks = V(e)
383put s 23 p_V x m s
384end
385fn phase_20 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
386note C phase: int tid = V(e)
387put s 24 p_V x m s
388end
389fn phase_21 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
390note C phase: int cx = V(e)
391put s 25 p_V x m s
392end
393fn phase_22 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
394note C phase: int cy = V(e)
395put s 26 p_V x m s
396end
397fn phase_23 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
398note C phase: int warp = V(e)
399put s 27 p_V x m s
400end
401fn phase_24 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
402note C phase: int lane = V(e)
403put s 28 p_V x m s
404end
405fn phase_25 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
406note C phase: int one = V(e)
407put s 29 p_V x m s
408end
409fn phase_26 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
410note C phase: int zero = V(e)
411put s 30 p_V x m s
412end
413fn phase_27 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
414note C phase: int c7fff = V(e)
415put s 31 p_V x m s
416end
417fn phase_28 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
418note C phase: int c16 = V(e)
419put s 32 p_V x m s
420end
421fn phase_29 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
422note C phase: int cyk = V(e)
423put s 33 p_V x m s
424end
425fn phase_30 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
426note C phase: int nk = V(e)
427put s 34 p_V x m s
428end
429fn phase_31 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
430note C phase: int t1 = V(e)
431put s 35 p_V x m s
432end
433fn phase_32 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
434note C phase: int t2 = V(e)
435put s 36 p_V x m s
436end
437fn phase_33 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
438note C phase: int cxw = V(e)
439put s 37 p_V x m s
440end
441fn phase_34 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
442note C phase: ldcu64(e, udesc, 0x358)
443put s 2000 get s 12
444put s 2001 ulong 856
445p_ldcu64 x m s
446end
447fn phase_35 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
448note C phase: ldc64(e, pqkv, 0x380u)
449put s 2000 get s 13
450put s 2001 ulong 896
451p_ldc64 x m s
452end
453fn phase_36 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
454note C phase: ldc64(e, pkc, 0x388u)
455put s 2000 get s 14
456put s 2001 ulong 904
457p_ldc64 x m s
458end
459fn phase_37 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
460note C phase: ldc64(e, pvc, 0x390u)
461put s 2000 get s 15
462put s 2001 ulong 912
463p_ldc64 x m s
464end
465fn phase_38 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
466note C phase: ldc64(e, prope, 0x398u)
467put s 2000 get s 16
468put s 2001 ulong 920
469p_ldc64 x m s
470end
471fn phase_39 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
472note C phase: ldc64(e, pqn, 0x3a0u)
473put s 2000 get s 17
474put s 2001 ulong 928
475p_ldc64 x m s
476end
477fn phase_40 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
478note C phase: ldc64(e, pkn, 0x3a8u)
479put s 2000 get s 18
480put s 2001 ulong 936
481p_ldc64 x m s
482end
483fn phase_41 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
484note C phase: ldc32(e, pos0, 0x3b8u)
485put s 2000 get s 19
486put s 2001 ulong 952
487p_ldc32 x m s
488end
489fn phase_42 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
490note C phase: ldc32(e, mc, 0x3bcu)
491put s 2000 get s 20
492put s 2001 ulong 956
493p_ldc32 x m s
494end
495fn phase_43 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
496note C phase: ldc32(e, kvs, 0x3c0u)
497put s 2000 get s 21
498put s 2001 ulong 960
499p_ldc32 x m s
500end
501fn phase_44 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
502note C phase: ldc32(e, eps, 0x3c4u)
503put s 2000 get s 22
504put s 2001 ulong 964
505p_ldc32 x m s
506end
507fn phase_45 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
508note C phase: ldc32(e, qks, 0x3ccu)
509put s 2000 get s 23
510put s 2001 ulong 972
511p_ldc32 x m s
512end
513fn phase_46 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
514note C phase: s2r(e, tid, BW_SR_TID_X)
515put s 2000 get s 24
516put s 2001 ulong 33
517p_s2r x m s
518end
519fn phase_47 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
520note C phase: s2r(e, cx, BW_SR_CTAID_X)
521put s 2000 get s 25
522put s 2001 ulong 37
523p_s2r x m s
524end
525fn phase_48 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
526note C phase: s2r(e, cy, BW_SR_CTAID_Y)
527put s 2000 get s 26
528put s 2001 ulong 38
529p_s2r x m s
530end
531fn phase_49 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
532note C phase: movi(e, R(one), 1)
533put s 2000 get s 29
534put s 2001 ulong 1
535p_movi x m s
536end
537fn phase_50 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
538note C phase: movrz(e, R(zero))
539put s 2000 get s 30
540p_movrz x m s
541end
542fn phase_51 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
543note C phase: movi(e, R(c7fff), 0x7fffu)
544put s 2000 get s 31
545put s 2001 ulong 32767
546p_movi x m s
547end
548fn phase_52 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
549note C phase: movi(e, R(c16), 16)
550put s 2000 get s 32
551put s 2001 ulong 16
552p_movi x m s
553end
554fn phase_53 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
555note C phase: shr(e, warp, tid, 5)
556put s 2000 get s 27
557put s 2001 get s 24
558put s 2002 ulong 5
559p_shr x m s
560end
561fn phase_54 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
562note C phase: andi(e, R(lane), R(tid), 31u)
563put s 2000 get s 28
564put s 2001 get s 24
565put s 2002 ulong 31
566p_andi x m s
567end
568fn phase_55 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
569note C phase: imadr(e, cyk, cy, kvs, -1)
570put s 2000 get s 33
571put s 2001 get s 26
572put s 2002 get s 21
573put s 2003 neg ulong 1
574p_imadr x m s
575end
576fn phase_56 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
577note C phase: imadi(e, R(cxw), R(cx), W, -1)
578put s 2000 get s 37
579put s 2001 get s 25
580put s 2002 get s 5
581put s 2003 neg ulong 1
582p_imadi x m s
583end
584fn phase_57 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
585note C phase: imadi(e, R(t2), R(one), W, cxw)
586put s 2000 get s 36
587put s 2001 get s 29
588put s 2002 get s 5
589put s 2003 get s 37
590p_imadi x m s
591end
592fn phase_58 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
593note C phase: imadi(e, R(t1), R(t2), 0xffffffffu, mc)
594put s 2000 get s 35
595put s 2001 get s 36
596put s 2002 ulong 4294967295
597put s 2003 get s 20
598p_imadi x m s
599end
600fn phase_59 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
601note C phase: {
602put s 38 p_V x m s
603put s 2000 get s 38
604put s 2001 get s 35
605put s 2002 ulong 31
606p_shr x m s
607put s 2000 get s 34
608put s 2001 get s 38
609put s 2002 get s 35
610put s 2003 get s 36
611p_imadr x m s
612end
613fn phase_60 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
614note C phase: n.lane = lane
615put s 39 get s 28
616end
617fn phase_61 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
618note C phase: n.one = one
619put s 40 get s 29
620end
621fn phase_62 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
622note C phase: n.eps = eps
623put s 41 get s 22
624end
625fn phase_63 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
626note C phase: n.snw = V(e)
627put s 42 p_V x m s
628end
629fn phase_64 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
630note C phase: n.sxl = V(e)
631put s 43 p_V x m s
632end
633fn phase_65 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
634note C phase: n.sxp = V(e)
635put s 44 p_V x m s
636end
637fn phase_66 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
638note C phase: n.sq = V(e)
639put s 45 p_V x m s
640end
641fn phase_67 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
642note C phase: n.ts = V(e)
643put s 46 p_V x m s
644end
645fn phase_68 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
646note C phase: n.rs = V(e)
647put s 47 p_V x m s
648end
649fn phase_69 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
650note C phase: n.a1 = V(e)
651put s 48 p_V x m s
652end
653fn phase_70 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
654note C phase: n.pt4 = V128(e)
655put s 49 p_V128 x m s
656end
657fn phase_71 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
658note C phase: int sgn = V(e)
659put s 50 p_V x m s
660end
661fn phase_72 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
662note C phase: int ropel = V(e)
663put s 51 p_V x m s
664end
665fn phase_73 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
666note C phase: int ad64 = V64(e)
667put s 52 p_V64 x m s
668end
669fn phase_74 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
670note C phase: int rope64 = V64(e)
671put s 53 p_V64 x m s
672end
673fn phase_75 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
674note C phase: int cos4 = V128(e)
675put s 54 p_V128 x m s
676end
677fn phase_76 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
678note C phase: int sin4 = V128(e)
679put s 55 p_V128 x m s
680end
681fn phase_77 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
682note C phase: int tokc = V(e)
683put s 56 p_V x m s
684end
685fn phase_78 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
686note C phase: int item = V(e)
687put s 57 p_V x m s
688end
689fn phase_79 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
690note C phase: int cnt = V(e)
691put s 58 p_V x m s
692end
693fn phase_80 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
694note C phase: int h0 = V(e)
695put s 59 p_V x m s
696end
697fn phase_81 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
698note C phase: int h1 = V(e)
699put s 60 p_V x m s
700end
701fn phase_82 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
702note C phase: int tb = V(e)
703put s 61 p_V x m s
704end
705fn phase_83 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
706note C phase: int w0 = V(e)
707put s 62 p_V x m s
708end
709fn phase_84 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
710note C phase: int w1 = V(e)
711put s 63 p_V x m s
712end
713fn phase_85 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
714note C phase: int w2 = V(e)
715put s 64 p_V x m s
716end
717fn phase_86 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
718note C phase: int w3 = V(e)
719put s 65 p_V x m s
720end
721fn phase_87 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
722note C phase: imadi(e, R(n.snw), R(warp), 4u, -1)
723put s 2000 get s 42
724put s 2001 get s 27
725put s 2002 ulong 4
726put s 2003 neg ulong 1
727p_imadi x m s
728end
729fn phase_88 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
730note C phase: imadi(e, R(n.snw), R(one), 12288u, n.snw)
731put s 2000 get s 42
732put s 2001 get s 29
733put s 2002 ulong 12288
734put s 2003 get s 42
735p_imadi x m s
736end
737fn phase_89 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
738note C phase: imadi(e, R(t1), R(warp), 512u, -1)
739put s 2000 get s 35
740put s 2001 get s 27
741put s 2002 ulong 512
742put s 2003 neg ulong 1
743p_imadi x m s
744end
745fn phase_90 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
746note C phase: imadi(e, R(t1), R(one), 8192u, t1)
747put s 2000 get s 35
748put s 2001 get s 29
749put s 2002 ulong 8192
750put s 2003 get s 35
751p_imadi x m s
752end
753fn phase_91 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
754note C phase: imadi(e, R(n.sxl), R(lane), 16u, t1)
755put s 2000 get s 43
756put s 2001 get s 28
757put s 2002 ulong 16
758put s 2003 get s 35
759p_imadi x m s
760end
761fn phase_92 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
762note C phase: {
763put s 66 p_V x m s
764put s 2000 get s 66
765put s 2001 get s 28
766put s 2002 get s 32
767p_xorr x m s
768put s 2000 get s 44
769put s 2001 get s 66
770put s 2002 ulong 16
771put s 2003 get s 35
772p_imadi x m s
773end
774fn phase_93 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
775note C phase: imadi(e, R(sgn), R(one), 0xfffffff0u, lane)
776put s 2000 get s 50
777put s 2001 get s 29
778put s 2002 ulong 4294967280
779put s 2003 get s 28
780p_imadi x m s
781end
782fn phase_94 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
783note C phase: shr(e, sgn, sgn, 31)
784put s 2000 get s 50
785put s 2001 get s 50
786put s 2002 ulong 31
787p_shr x m s
788end
789fn phase_95 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
790note C phase: imadi(e, R(sgn), R(sgn), 0x80000000u, -1)
791put s 2000 get s 50
792put s 2001 get s 50
793put s 2002 ulong 2147483648
794put s 2003 neg ulong 1
795p_imadi x m s
796end
797fn phase_96 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
798note C phase: andi(e, R(ropel), R(lane), 15u)
799put s 2000 get s 51
800put s 2001 get s 28
801put s 2002 ulong 15
802p_andi x m s
803end
804fn phase_97 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
805note C phase: imadi(e, R(ropel), R(ropel), 16u, -1)
806put s 2000 get s 51
807put s 2001 get s 51
808put s 2002 ulong 16
809put s 2003 neg ulong 1
810p_imadi x m s
811end
812fn phase_98 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
813note C phase: const bool APPEND = spec->mode == 1u
814put s 67 choose eq get s 3 ulong 1 1 0
815end
816fn phase_99 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
817note C phase: if (spec->mode != 2u)
818if ne get s 3 ulong 2
819put s 68 p_V128 x m s
820put s 69 p_V128 x m s
821put s 70 p_V128 x m s
822put s 71 p_V x m s
823put s 2000 get s 52
824put s 2001 get s 28
825put s 2002 ulong 16
826put s 2003 get s 18
827p_imadw x m s
828put s 2000 ulong 57
829put s 2001 get s 68
830put s 2002 get s 52
831put s 2003 ulong 0
832put s 2004 get s 12
833put s 2005 ulong 1
834p_ldg_wide x m s
835put s 2000 get s 71
836put s 2001 get s 29
837put s 2002 ulong 4294967295
838put s 2003 get s 34
839p_imadi x m s
840if ne get s 67 0
841put s 2000 get s 58
842put s 2001 ulong 1
843p_movi x m s
844put s 2000 get s 57
845put s 2001 get s 27
846put s 2002 get s 37
847p_iadd x m s
848else
849put s 2000 get s 58
850put s 2001 get s 29
851put s 2002 sub get s 5 ulong 1
852put s 2003 get s 34
853p_imadi x m s
854put s 2000 get s 58
855put s 2001 get s 58
856put s 2002 get s 7
857p_shr x m s
858put s 2000 get s 57
859put s 2001 get s 27
860p_mov x m s
861end
862put s 72 p_here x m s
863p_loop_begin x m s
864put s 73 p_V x m s
865put s 74 p_V x m s
866put s 2000 get s 73
867put s 2001 get s 57
868put s 2002 ulong 4294967295
869put s 2003 get s 71
870p_imadi x m s
871put s 2000 get s 74
872put s 2001 get s 73
873put s 2002 ulong 31
874p_shr x m s
875put s 2000 get s 56
876put s 2001 get s 74
877put s 2002 get s 73
878put s 2003 get s 57
879p_imadr x m s
880put s 2000 get s 35
881put s 2001 get s 56
882put s 2002 mul ulong 5120 ulong 4
883put s 2003 neg ulong 1
884p_imadi x m s
885put s 2000 get s 35
886put s 2001 get s 26
887put s 2002 ulong 512
888put s 2003 get s 35
889p_imadi x m s
890put s 2000 get s 35
891put s 2001 get s 28
892put s 2002 ulong 16
893put s 2003 get s 35
894p_imadi x m s
895put s 2000 get s 35
896put s 2001 get s 29
897put s 2002 mul mul ulong 32 ulong 128 ulong 4
898put s 2003 get s 35
899p_imadi x m s
900put s 2000 get s 52
901put s 2001 get s 35
902put s 2002 ulong 1
903put s 2003 get s 13
904p_imadw x m s
905put s 2000 ulong 57
906put s 2001 get s 69
907put s 2002 get s 52
908put s 2003 ulong 0
909put s 2004 get s 12
910put s 2005 ulong 1
911p_ldg_wide x m s
912put s 2000 ulong 57
913put s 2001 get s 70
914put s 2002 get s 52
915put s 2003 mul mul ulong 4 ulong 128 ulong 4
916put s 2004 get s 12
917put s 2005 ulong 0
918p_ldg_wide x m s
919put s 2000 get s 36
920put s 2001 get s 19
921put s 2002 get s 56
922p_iadd x m s
923put s 2000 get s 36
924put s 2001 get s 36
925put s 2002 ulong 512
926put s 2003 get s 51
927p_imadi x m s
928put s 2000 get s 53
929put s 2001 get s 36
930put s 2002 ulong 1
931put s 2003 get s 16
932p_imadw x m s
933put s 2000 ulong 57
934put s 2001 get s 54
935put s 2002 get s 53
936put s 2003 ulong 0
937put s 2004 get s 12
938put s 2005 ulong 0
939p_ldg_wide x m s
940put s 2000 ulong 57
941put s 2001 get s 55
942put s 2002 get s 53
943put s 2003 ulong 256
944put s 2004 get s 12
945put s 2005 ulong 0
946p_ldg_wide x m s
947put s 75 ulong 0
948while lt get s 75 ulong 4
949put s 2000 pack get s 55 get s 75
950put s 2001 pack get s 55 get s 75
951put s 2002 get s 50
952p_xorr x m s
953put s 75 add get s 75 1
954end
955put s 76 get s 69
956put s 77 get s 68
957put s 78 get s 54
958put s 79 get s 55
959put s 80 choose ne get s 11 ulong 1 1 0
960put s 2000 get s 45
961put s 2001 pack get s 76 ulong 0
962put s 2002 pack get s 76 ulong 0
963p_fmul x m s
964put s 81 ulong 1
965while lt get s 81 ulong 4
966put s 2000 get s 45
967put s 2001 pack get s 76 get s 81
968put s 2002 pack get s 76 get s 81
969put s 2003 get s 45
970p_ffma x m s
971put s 81 add get s 81 1
972end
973put s 82 ulong 16
974while ge get s 82 ulong 1
975put s 2000 get s 46
976put s 2001 get s 45
977put s 2002 get s 82
978p_shfl_down x m s
979put s 2000 get s 45
980put s 2001 get s 45
981put s 2002 get s 46
982p_fadd x m s
983put s 82 div get s 82 ulong 2
984end
985put s 2000 get s 39
986put s 2001 get s 40
987p_isetp_ge_u32 x m s
988put s 83 p_region_skip_if_p0 x m s
989put s 2000 get s 42
990put s 2001 get s 45
991p_sts32 x m s
992put s 2000 get s 83
993p_region_end x m s
994p_bar_sync x m s
995put s 2000 get s 45
996put s 2001 get s 42
997put s 2002 ulong 1
998p_lds32 x m s
999put s 2000 get s 46
1000put s 2001 ulong 1006632960
1001p_movi x m s
1002put s 2000 get s 47
1003put s 2001 get s 45
1004put s 2002 get s 46
1005put s 2003 get s 41
1006p_ffma x m s
1007put s 2000 ulong 41
1008put s 2001 get s 47
1009put s 2002 get s 47
1010put s 2003 ulong 1
1011p_mufu x m s
1012put s 84 ulong 0
1013while lt get s 84 ulong 4
1014put s 2000 pack get s 76 get s 84
1015put s 2001 pack get s 76 get s 84
1016put s 2002 get s 47
1017p_fmul x m s
1018put s 2000 pack get s 76 get s 84
1019put s 2001 pack get s 76 get s 84
1020put s 2002 pack get s 77 get s 84
1021p_fmul x m s
1022put s 84 add get s 84 1
1023end
1024put s 2000 get s 43
1025put s 2001 pack get s 76 ulong 0
1026p_sts32 x m s
1027put s 85 ulong 1
1028while lt get s 85 ulong 4
1029put s 2000 get s 48
1030put s 2001 get s 40
1031put s 2002 mul ulong 4 get s 85
1032put s 2003 get s 43
1033p_imadi x m s
1034put s 2000 get s 48
1035put s 2001 pack get s 76 get s 85
1036p_sts32 x m s
1037put s 85 add get s 85 1
1038end
1039p_bar_sync x m s
1040put s 2000 get s 49
1041put s 2001 get s 44
1042put s 2002 ulong 0
1043put s 2003 ulong 1
1044p_lds128 x m s
1045if ne get s 80 0
1046put s 86 ulong 0
1047while lt get s 86 ulong 4
1048put s 2000 get s 46
1049put s 2001 pack get s 76 get s 86
1050put s 2002 pack get s 78 get s 86
1051p_fmul x m s
1052put s 2000 pack get s 76 get s 86
1053put s 2001 pack get s 49 get s 86
1054put s 2002 pack get s 79 get s 86
1055put s 2003 get s 46
1056p_ffma x m s
1057put s 86 add get s 86 1
1058end
1059end
1060put s 87 get s 62
1061put s 88 get s 69
1062put s 89 ulong 0
1063put s 90 get s 31
1064put s 91 get s 59
1065put s 92 get s 60
1066put s 93 get s 61
1067put s 94 get s 91
1068put s 95 pack get s 88 get s 89
1069put s 96 get s 90
1070put s 97 get s 93
1071put s 2000 get s 97
1072put s 2001 get s 95
1073put s 2002 ulong 16
1074p_shrs x m s
1075put s 2000 get s 97
1076put s 2001 get s 97
1077put s 2002 ulong 1
1078p_andi x m s
1079put s 2000 get s 97
1080put s 2001 get s 97
1081put s 2002 get s 96
1082p_iadd x m s
1083put s 2000 ulong 14
1084put s 2001 get s 94
1085put s 2002 get s 95
1086put s 2003 get s 97
1087put s 2004 neg ulong 1
1088p_fop x m s
1089put s 2000 get s 94
1090put s 2001 get s 94
1091put s 2002 ulong 16
1092p_shr x m s
1093put s 98 get s 92
1094put s 99 pack get s 88 add get s 89 ulong 1
1095put s 100 get s 90
1096put s 101 get s 93
1097put s 2000 get s 101
1098put s 2001 get s 99
1099put s 2002 ulong 16
1100p_shrs x m s
1101put s 2000 get s 101
1102put s 2001 get s 101
1103put s 2002 ulong 1
1104p_andi x m s
1105put s 2000 get s 101
1106put s 2001 get s 101
1107put s 2002 get s 100
1108p_iadd x m s
1109put s 2000 ulong 14
1110put s 2001 get s 98
1111put s 2002 get s 99
1112put s 2003 get s 101
1113put s 2004 neg ulong 1
1114p_fop x m s
1115put s 2000 get s 98
1116put s 2001 get s 98
1117put s 2002 ulong 16
1118p_shr x m s
1119put s 2000 get s 87
1120put s 2001 get s 92
1121put s 2002 ulong 65536
1122put s 2003 get s 91
1123p_imadi x m s
1124put s 102 get s 63
1125put s 103 get s 69
1126put s 104 ulong 2
1127put s 105 get s 31
1128put s 106 get s 59
1129put s 107 get s 60
1130put s 108 get s 61
1131put s 109 get s 106
1132put s 110 pack get s 103 get s 104
1133put s 111 get s 105
1134put s 112 get s 108
1135put s 2000 get s 112
1136put s 2001 get s 110
1137put s 2002 ulong 16
1138p_shrs x m s
1139put s 2000 get s 112
1140put s 2001 get s 112
1141put s 2002 ulong 1
1142p_andi x m s
1143put s 2000 get s 112
1144put s 2001 get s 112
1145put s 2002 get s 111
1146p_iadd x m s
1147put s 2000 ulong 14
1148put s 2001 get s 109
1149put s 2002 get s 110
1150put s 2003 get s 112
1151put s 2004 neg ulong 1
1152p_fop x m s
1153put s 2000 get s 109
1154put s 2001 get s 109
1155put s 2002 ulong 16
1156p_shr x m s
1157put s 113 get s 107
1158put s 114 pack get s 103 add get s 104 ulong 1
1159put s 115 get s 105
1160put s 116 get s 108
1161put s 2000 get s 116
1162put s 2001 get s 114
1163put s 2002 ulong 16
1164p_shrs x m s
1165put s 2000 get s 116
1166put s 2001 get s 116
1167put s 2002 ulong 1
1168p_andi x m s
1169put s 2000 get s 116
1170put s 2001 get s 116
1171put s 2002 get s 115
1172p_iadd x m s
1173put s 2000 ulong 14
1174put s 2001 get s 113
1175put s 2002 get s 114
1176put s 2003 get s 116
1177put s 2004 neg ulong 1
1178p_fop x m s
1179put s 2000 get s 113
1180put s 2001 get s 113
1181put s 2002 ulong 16
1182p_shr x m s
1183put s 2000 get s 102
1184put s 2001 get s 107
1185put s 2002 ulong 65536
1186put s 2003 get s 106
1187p_imadi x m s
1188put s 117 get s 64
1189put s 118 get s 70
1190put s 119 ulong 0
1191put s 120 get s 31
1192put s 121 get s 59
1193put s 122 get s 60
1194put s 123 get s 61
1195put s 124 get s 121
1196put s 125 pack get s 118 get s 119
1197put s 126 get s 120
1198put s 127 get s 123
1199put s 2000 get s 127
1200put s 2001 get s 125
1201put s 2002 ulong 16
1202p_shrs x m s
1203put s 2000 get s 127
1204put s 2001 get s 127
1205put s 2002 ulong 1
1206p_andi x m s
1207put s 2000 get s 127
1208put s 2001 get s 127
1209put s 2002 get s 126
1210p_iadd x m s
1211put s 2000 ulong 14
1212put s 2001 get s 124
1213put s 2002 get s 125
1214put s 2003 get s 127
1215put s 2004 neg ulong 1
1216p_fop x m s
1217put s 2000 get s 124
1218put s 2001 get s 124
1219put s 2002 ulong 16
1220p_shr x m s
1221put s 128 get s 122
1222put s 129 pack get s 118 add get s 119 ulong 1
1223put s 130 get s 120
1224put s 131 get s 123
1225put s 2000 get s 131
1226put s 2001 get s 129
1227put s 2002 ulong 16
1228p_shrs x m s
1229put s 2000 get s 131
1230put s 2001 get s 131
1231put s 2002 ulong 1
1232p_andi x m s
1233put s 2000 get s 131
1234put s 2001 get s 131
1235put s 2002 get s 130
1236p_iadd x m s
1237put s 2000 ulong 14
1238put s 2001 get s 128
1239put s 2002 get s 129
1240put s 2003 get s 131
1241put s 2004 neg ulong 1
1242p_fop x m s
1243put s 2000 get s 128
1244put s 2001 get s 128
1245put s 2002 ulong 16
1246p_shr x m s
1247put s 2000 get s 117
1248put s 2001 get s 122
1249put s 2002 ulong 65536
1250put s 2003 get s 121
1251p_imadi x m s
1252put s 132 get s 65
1253put s 133 get s 70
1254put s 134 ulong 2
1255put s 135 get s 31
1256put s 136 get s 59
1257put s 137 get s 60
1258put s 138 get s 61
1259put s 139 get s 136
1260put s 140 pack get s 133 get s 134
1261put s 141 get s 135
1262put s 142 get s 138
1263put s 2000 get s 142
1264put s 2001 get s 140
1265put s 2002 ulong 16
1266p_shrs x m s
1267put s 2000 get s 142
1268put s 2001 get s 142
1269put s 2002 ulong 1
1270p_andi x m s
1271put s 2000 get s 142
1272put s 2001 get s 142
1273put s 2002 get s 141
1274p_iadd x m s
1275put s 2000 ulong 14
1276put s 2001 get s 139
1277put s 2002 get s 140
1278put s 2003 get s 142
1279put s 2004 neg ulong 1
1280p_fop x m s
1281put s 2000 get s 139
1282put s 2001 get s 139
1283put s 2002 ulong 16
1284p_shr x m s
1285put s 143 get s 137
1286put s 144 pack get s 133 add get s 134 ulong 1
1287put s 145 get s 135
1288put s 146 get s 138
1289put s 2000 get s 146
1290put s 2001 get s 144
1291put s 2002 ulong 16
1292p_shrs x m s
1293put s 2000 get s 146
1294put s 2001 get s 146
1295put s 2002 ulong 1
1296p_andi x m s
1297put s 2000 get s 146
1298put s 2001 get s 146
1299put s 2002 get s 145
1300p_iadd x m s
1301put s 2000 ulong 14
1302put s 2001 get s 143
1303put s 2002 get s 144
1304put s 2003 get s 146
1305put s 2004 neg ulong 1
1306p_fop x m s
1307put s 2000 get s 143
1308put s 2001 get s 143
1309put s 2002 ulong 16
1310p_shr x m s
1311put s 2000 get s 132
1312put s 2001 get s 137
1313put s 2002 ulong 65536
1314put s 2003 get s 136
1315p_imadi x m s
1316if ne get s 11 ulong 3
1317put s 147 p_V64 x m s
1318put s 2000 get s 57
1319put s 2001 get s 34
1320p_isetp_ge_u32 x m s
1321put s 148 p_bra_if_p0_fwd x m s
1322put s 2000 get s 35
1323put s 2001 get s 19
1324put s 2002 get s 57
1325p_iadd x m s
1326put s 2000 get s 35
1327put s 2001 get s 35
1328put s 2002 ulong 256
1329put s 2003 get s 33
1330p_imadi x m s
1331put s 2000 get s 35
1332put s 2001 get s 28
1333put s 2002 ulong 8
1334put s 2003 get s 35
1335p_imadi x m s
1336put s 2000 get s 147
1337put s 2001 get s 35
1338put s 2002 ulong 1
1339put s 2003 get s 14
1340p_imadw x m s
1341put s 2000 get s 147
1342put s 2001 ulong 0
1343put s 2002 get s 62
1344put s 2003 get s 12
1345p_stg x m s
1346put s 2000 get s 147
1347put s 2001 ulong 4
1348put s 2002 get s 63
1349put s 2003 get s 12
1350p_stg x m s
1351put s 2000 get s 147
1352put s 2001 get s 35
1353put s 2002 ulong 1
1354put s 2003 get s 15
1355p_imadw x m s
1356put s 2000 get s 147
1357put s 2001 ulong 0
1358put s 2002 get s 64
1359put s 2003 get s 12
1360p_stg x m s
1361put s 2000 get s 147
1362put s 2001 ulong 4
1363put s 2002 get s 65
1364put s 2003 get s 12
1365p_stg x m s
1366if ne get s 4 0
1367put s 149 p_V64 x m s
1368put s 150 p_V64 x m s
1369put s 151 p_V x m s
1370put s 2000 get s 149
1371put s 2001 ulong 976
1372p_ldc64 x m s
1373put s 2000 get s 150
1374put s 2001 ulong 984
1375p_ldc64 x m s
1376put s 2000 get s 151
1377put s 2001 ulong 992
1378p_ldc32 x m s
1379put s 2000 get s 36
1380put s 2001 get s 26
1381put s 2002 get s 151
1382put s 2003 neg ulong 1
1383p_imadr x m s
1384put s 2000 get s 35
1385put s 2001 get s 19
1386put s 2002 get s 57
1387p_iadd x m s
1388put s 2000 get s 35
1389put s 2001 get s 35
1390put s 2002 ulong 256
1391put s 2003 get s 36
1392p_imadi x m s
1393put s 2000 get s 35
1394put s 2001 get s 28
1395put s 2002 ulong 8
1396put s 2003 get s 35
1397p_imadi x m s
1398put s 2000 get s 147
1399put s 2001 get s 35
1400put s 2002 ulong 1
1401put s 2003 get s 149
1402p_imadw x m s
1403put s 2000 get s 147
1404put s 2001 ulong 0
1405put s 2002 get s 62
1406put s 2003 get s 12
1407p_stg x m s
1408put s 2000 get s 147
1409put s 2001 ulong 4
1410put s 2002 get s 63
1411put s 2003 get s 12
1412p_stg x m s
1413put s 2000 get s 147
1414put s 2001 get s 35
1415put s 2002 ulong 1
1416put s 2003 get s 150
1417p_imadw x m s
1418put s 2000 get s 147
1419put s 2001 ulong 0
1420put s 2002 get s 64
1421put s 2003 get s 12
1422p_stg x m s
1423put s 2000 get s 147
1424put s 2001 ulong 4
1425put s 2002 get s 65
1426put s 2003 get s 12
1427p_stg x m s
1428end
1429put s 2000 get s 148
1430put s 2001 p_here x m s
1431p_patch_bra x m s
1432end
1433put s 2000 get s 57
1434put s 2001 get s 29
1435put s 2002 get s 5
1436put s 2003 get s 57
1437p_imadi x m s
1438put s 2000 get s 58
1439put s 2001 get s 29
1440put s 2002 ulong 4294967295
1441put s 2003 get s 58
1442p_imadi x m s
1443put s 2000 get s 58
1444put s 2001 get s 29
1445p_isetp_ge_u32 x m s
1446put s 2000 get s 72
1447p_bra_if_p0 x m s
1448p_loop_end x m s
1449p_membar x m s
1450if ne get s 67 0
1451p_tail x m s
1452put s 1990 1
1453ret
1454end
1455p_bar_sync x m s
1456end
1457end
1458fn phase_100 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
1459note C phase: for (unsigned s = 0; s < 8; s++)
1460put s 160 ulong 0
1461while lt get s 160 ulong 8
1462put s add 152 get s 160 p_V128 x m s
1463put s 160 add get s 160 1
1464end
1465end
1466fn phase_101 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
1467note C phase: {
1468put s 161 p_V128 x m s
1469put s 162 p_V128 x m s
1470put s 163 p_V x m s
1471put s 164 p_V x m s
1472put s 165 p_V x m s
1473put s 166 p_V x m s
1474put s 167 p_V x m s
1475put s 168 p_V x m s
1476put s 169 p_V x m s
1477put s 170 ulong 0
1478while lt get s 170 ulong 8
1479put s 171 ulong 0
1480while lt get s 171 ulong 4
1481put s 2000 pack get s add 152 get s 170 get s 171
1482p_movrz x m s
1483put s 171 add get s 171 1
1484end
1485put s 170 add get s 170 1
1486end
1487put s 2000 get s 52
1488put s 2001 get s 28
1489put s 2002 ulong 16
1490put s 2003 get s 17
1491p_imadw x m s
1492put s 2000 ulong 57
1493put s 2001 get s 161
1494put s 2002 get s 52
1495put s 2003 ulong 0
1496put s 2004 get s 12
1497put s 2005 ulong 1
1498p_ldg_wide x m s
1499put s 2000 get s 166
1500put s 2001 get s 29
1501put s 2002 ulong 4294967295
1502put s 2003 get s 20
1503p_imadi x m s
1504put s 2000 get s 35
1505put s 2001 get s 28
1506put s 2002 ulong 2
1507p_shr x m s
1508put s 2000 get s 163
1509put s 2001 get s 35
1510put s 2002 ulong 512
1511put s 2003 neg ulong 1
1512p_imadi x m s
1513put s 2000 get s 35
1514put s 2001 get s 28
1515put s 2002 ulong 1
1516p_andi x m s
1517put s 2000 get s 163
1518put s 2001 get s 35
1519put s 2002 ulong 32
1520put s 2003 get s 163
1521p_imadi x m s
1522put s 2000 get s 35
1523put s 2001 get s 28
1524put s 2002 ulong 1
1525p_shr x m s
1526put s 2000 get s 35
1527put s 2001 get s 35
1528put s 2002 ulong 1
1529p_andi x m s
1530put s 2000 get s 163
1531put s 2001 get s 35
1532put s 2002 ulong 8
1533put s 2003 get s 163
1534p_imadi x m s
1535put s 2000 get s 35
1536put s 2001 get s 27
1537put s 2002 ulong 1
1538p_shr x m s
1539put s 2000 get s 35
1540put s 2001 get s 35
1541put s 2002 ulong 1
1542p_andi x m s
1543put s 2000 get s 167
1544put s 2001 get s 35
1545put s 2002 ulong 4096
1546put s 2003 neg ulong 1
1547p_imadi x m s
1548put s 2000 get s 167
1549put s 2001 get s 28
1550put s 2002 ulong 16
1551put s 2003 get s 167
1552p_imadi x m s
1553put s 2000 get s 164
1554p_movrz x m s
1555put s 2000 get s 165
1556put s 2001 get s 10
1557p_movi x m s
1558put s 172 p_here x m s
1559p_loop_begin x m s
1560put s 2000 get s 57
1561put s 2001 get s 27
1562p_mov x m s
1563put s 2000 get s 58
1564put s 2001 div ulong 32 get s 5
1565p_movi x m s
1566put s 173 p_here x m s
1567p_loop_begin x m s
1568put s 2000 get s 168
1569put s 2001 get s 57
1570put s 2002 ulong 3
1571p_shr x m s
1572put s 2000 get s 169
1573put s 2001 get s 57
1574put s 2002 ulong 7
1575p_andi x m s
1576put s 2000 get s 35
1577put s 2001 get s 164
1578put s 2002 ulong 4
1579put s 2003 get s 168
1580p_imadi x m s
1581put s 2000 get s 35
1582put s 2001 get s 35
1583put s 2002 get s 37
1584p_iadd x m s
1585put s 174 p_V x m s
1586put s 2000 get s 174
1587put s 2001 get s 35
1588p_mov x m s
1589put s 175 p_V x m s
1590put s 176 p_V x m s
1591put s 2000 get s 175
1592put s 2001 get s 174
1593put s 2002 ulong 4294967295
1594put s 2003 get s 166
1595p_imadi x m s
1596put s 2000 get s 176
1597put s 2001 get s 175
1598put s 2002 ulong 31
1599p_shr x m s
1600put s 2000 get s 56
1601put s 2001 get s 176
1602put s 2002 get s 175
1603put s 2003 get s 174
1604p_imadr x m s
1605put s 2000 get s 35
1606put s 2001 get s 26
1607put s 2002 ulong 8
1608put s 2003 get s 169
1609p_imadi x m s
1610put s 2000 get s 35
1611put s 2001 get s 35
1612put s 2002 ulong 512
1613put s 2003 neg ulong 1
1614p_imadi x m s
1615put s 2000 get s 35
1616put s 2001 get s 56
1617put s 2002 mul ulong 5120 ulong 4
1618put s 2003 get s 35
1619p_imadi x m s
1620put s 2000 get s 35
1621put s 2001 get s 28
1622put s 2002 ulong 16
1623put s 2003 get s 35
1624p_imadi x m s
1625put s 2000 get s 52
1626put s 2001 get s 35
1627put s 2002 ulong 1
1628put s 2003 get s 13
1629p_imadw x m s
1630put s 2000 ulong 57
1631put s 2001 get s 162
1632put s 2002 get s 52
1633put s 2003 ulong 0
1634put s 2004 get s 12
1635put s 2005 ulong 1
1636p_ldg_wide x m s
1637put s 2000 get s 36
1638put s 2001 get s 19
1639put s 2002 get s 56
1640p_iadd x m s
1641put s 2000 get s 36
1642put s 2001 get s 36
1643put s 2002 ulong 512
1644put s 2003 get s 51
1645p_imadi x m s
1646put s 2000 get s 53
1647put s 2001 get s 36
1648put s 2002 ulong 1
1649put s 2003 get s 16
1650p_imadw x m s
1651put s 2000 ulong 57
1652put s 2001 get s 54
1653put s 2002 get s 53
1654put s 2003 ulong 0
1655put s 2004 get s 12
1656put s 2005 ulong 0
1657p_ldg_wide x m s
1658put s 2000 ulong 57
1659put s 2001 get s 55
1660put s 2002 get s 53
1661put s 2003 ulong 256
1662put s 2004 get s 12
1663put s 2005 ulong 0
1664p_ldg_wide x m s
1665put s 177 ulong 0
1666while lt get s 177 ulong 4
1667put s 2000 pack get s 55 get s 177
1668put s 2001 pack get s 55 get s 177
1669put s 2002 get s 50
1670p_xorr x m s
1671put s 177 add get s 177 1
1672end
1673put s 178 get s 162
1674put s 179 get s 161
1675put s 180 get s 54
1676put s 181 get s 55
1677put s 182 choose ne get s 11 ulong 1 1 0
1678put s 2000 get s 45
1679put s 2001 pack get s 178 ulong 0
1680put s 2002 pack get s 178 ulong 0
1681p_fmul x m s
1682put s 183 ulong 1
1683while lt get s 183 ulong 4
1684put s 2000 get s 45
1685put s 2001 pack get s 178 get s 183
1686put s 2002 pack get s 178 get s 183
1687put s 2003 get s 45
1688p_ffma x m s
1689put s 183 add get s 183 1
1690end
1691put s 184 ulong 16
1692while ge get s 184 ulong 1
1693put s 2000 get s 46
1694put s 2001 get s 45
1695put s 2002 get s 184
1696p_shfl_down x m s
1697put s 2000 get s 45
1698put s 2001 get s 45
1699put s 2002 get s 46
1700p_fadd x m s
1701put s 184 div get s 184 ulong 2
1702end
1703put s 2000 get s 39
1704put s 2001 get s 40
1705p_isetp_ge_u32 x m s
1706put s 185 p_region_skip_if_p0 x m s
1707put s 2000 get s 42
1708put s 2001 get s 45
1709p_sts32 x m s
1710put s 2000 get s 185
1711p_region_end x m s
1712p_bar_sync x m s
1713put s 2000 get s 45
1714put s 2001 get s 42
1715put s 2002 ulong 1
1716p_lds32 x m s
1717put s 2000 get s 46
1718put s 2001 ulong 1006632960
1719p_movi x m s
1720put s 2000 get s 47
1721put s 2001 get s 45
1722put s 2002 get s 46
1723put s 2003 get s 41
1724p_ffma x m s
1725put s 2000 ulong 41
1726put s 2001 get s 47
1727put s 2002 get s 47
1728put s 2003 ulong 1
1729p_mufu x m s
1730put s 186 ulong 0
1731while lt get s 186 ulong 4
1732put s 2000 pack get s 178 get s 186
1733put s 2001 pack get s 178 get s 186
1734put s 2002 get s 47
1735p_fmul x m s
1736put s 2000 pack get s 178 get s 186
1737put s 2001 pack get s 178 get s 186
1738put s 2002 pack get s 179 get s 186
1739p_fmul x m s
1740put s 186 add get s 186 1
1741end
1742put s 2000 get s 43
1743put s 2001 pack get s 178 ulong 0
1744p_sts32 x m s
1745put s 187 ulong 1
1746while lt get s 187 ulong 4
1747put s 2000 get s 48
1748put s 2001 get s 40
1749put s 2002 mul ulong 4 get s 187
1750put s 2003 get s 43
1751p_imadi x m s
1752put s 2000 get s 48
1753put s 2001 pack get s 178 get s 187
1754p_sts32 x m s
1755put s 187 add get s 187 1
1756end
1757p_bar_sync x m s
1758put s 2000 get s 49
1759put s 2001 get s 44
1760put s 2002 ulong 0
1761put s 2003 ulong 1
1762p_lds128 x m s
1763if ne get s 182 0
1764put s 188 ulong 0
1765while lt get s 188 ulong 4
1766put s 2000 get s 46
1767put s 2001 pack get s 178 get s 188
1768put s 2002 pack get s 180 get s 188
1769p_fmul x m s
1770put s 2000 pack get s 178 get s 188
1771put s 2001 pack get s 49 get s 188
1772put s 2002 pack get s 181 get s 188
1773put s 2003 get s 46
1774p_ffma x m s
1775put s 188 add get s 188 1
1776end
1777end
1778put s 189 ulong 0
1779while lt get s 189 ulong 4
1780put s 2000 pack get s 162 get s 189
1781put s 2001 pack get s 162 get s 189
1782put s 2002 get s 23
1783p_fmul x m s
1784put s 189 add get s 189 1
1785end
1786put s 190 get s 62
1787put s 191 get s 162
1788put s 192 ulong 0
1789put s 193 get s 31
1790put s 194 get s 59
1791put s 195 get s 60
1792put s 196 get s 61
1793put s 197 get s 194
1794put s 198 pack get s 191 get s 192
1795put s 199 get s 193
1796put s 200 get s 196
1797put s 2000 get s 200
1798put s 2001 get s 198
1799put s 2002 ulong 16
1800p_shrs x m s
1801put s 2000 get s 200
1802put s 2001 get s 200
1803put s 2002 ulong 1
1804p_andi x m s
1805put s 2000 get s 200
1806put s 2001 get s 200
1807put s 2002 get s 199
1808p_iadd x m s
1809put s 2000 ulong 14
1810put s 2001 get s 197
1811put s 2002 get s 198
1812put s 2003 get s 200
1813put s 2004 neg ulong 1
1814p_fop x m s
1815put s 2000 get s 197
1816put s 2001 get s 197
1817put s 2002 ulong 16
1818p_shr x m s
1819put s 201 get s 195
1820put s 202 pack get s 191 add get s 192 ulong 1
1821put s 203 get s 193
1822put s 204 get s 196
1823put s 2000 get s 204
1824put s 2001 get s 202
1825put s 2002 ulong 16
1826p_shrs x m s
1827put s 2000 get s 204
1828put s 2001 get s 204
1829put s 2002 ulong 1
1830p_andi x m s
1831put s 2000 get s 204
1832put s 2001 get s 204
1833put s 2002 get s 203
1834p_iadd x m s
1835put s 2000 ulong 14
1836put s 2001 get s 201
1837put s 2002 get s 202
1838put s 2003 get s 204
1839put s 2004 neg ulong 1
1840p_fop x m s
1841put s 2000 get s 201
1842put s 2001 get s 201
1843put s 2002 ulong 16
1844p_shr x m s
1845put s 2000 get s 190
1846put s 2001 get s 195
1847put s 2002 ulong 65536
1848put s 2003 get s 194
1849p_imadi x m s
1850put s 205 get s 63
1851put s 206 get s 162
1852put s 207 ulong 2
1853put s 208 get s 31
1854put s 209 get s 59
1855put s 210 get s 60
1856put s 211 get s 61
1857put s 212 get s 209
1858put s 213 pack get s 206 get s 207
1859put s 214 get s 208
1860put s 215 get s 211
1861put s 2000 get s 215
1862put s 2001 get s 213
1863put s 2002 ulong 16
1864p_shrs x m s
1865put s 2000 get s 215
1866put s 2001 get s 215
1867put s 2002 ulong 1
1868p_andi x m s
1869put s 2000 get s 215
1870put s 2001 get s 215
1871put s 2002 get s 214
1872p_iadd x m s
1873put s 2000 ulong 14
1874put s 2001 get s 212
1875put s 2002 get s 213
1876put s 2003 get s 215
1877put s 2004 neg ulong 1
1878p_fop x m s
1879put s 2000 get s 212
1880put s 2001 get s 212
1881put s 2002 ulong 16
1882p_shr x m s
1883put s 216 get s 210
1884put s 217 pack get s 206 add get s 207 ulong 1
1885put s 218 get s 208
1886put s 219 get s 211
1887put s 2000 get s 219
1888put s 2001 get s 217
1889put s 2002 ulong 16
1890p_shrs x m s
1891put s 2000 get s 219
1892put s 2001 get s 219
1893put s 2002 ulong 1
1894p_andi x m s
1895put s 2000 get s 219
1896put s 2001 get s 219
1897put s 2002 get s 218
1898p_iadd x m s
1899put s 2000 ulong 14
1900put s 2001 get s 216
1901put s 2002 get s 217
1902put s 2003 get s 219
1903put s 2004 neg ulong 1
1904p_fop x m s
1905put s 2000 get s 216
1906put s 2001 get s 216
1907put s 2002 ulong 16
1908p_shr x m s
1909put s 2000 get s 205
1910put s 2001 get s 210
1911put s 2002 ulong 65536
1912put s 2003 get s 209
1913p_imadi x m s
1914put s 2000 get s 35
1915put s 2001 get s 168
1916put s 2002 ulong 1
1917p_shr x m s
1918put s 2000 get s 35
1919put s 2001 get s 35
1920put s 2002 ulong 4096
1921put s 2003 get s 163
1922p_imadi x m s
1923put s 2000 get s 35
1924put s 2001 get s 169
1925put s 2002 ulong 64
1926put s 2003 get s 35
1927p_imadi x m s
1928put s 2000 get s 36
1929put s 2001 get s 168
1930put s 2002 ulong 1
1931p_andi x m s
1932put s 2000 get s 35
1933put s 2001 get s 36
1934put s 2002 ulong 4
1935put s 2003 get s 35
1936p_imadi x m s
1937put s 2000 get s 35
1938put s 2001 get s 62
1939p_sts32 x m s
1940put s 2000 get s 36
1941put s 2001 get s 29
1942put s 2002 ulong 16
1943put s 2003 get s 35
1944p_imadi x m s
1945put s 2000 get s 36
1946put s 2001 get s 63
1947p_sts32 x m s
1948put s 2000 get s 57
1949put s 2001 get s 29
1950put s 2002 get s 5
1951put s 2003 get s 57
1952p_imadi x m s
1953put s 2000 get s 58
1954put s 2001 get s 29
1955put s 2002 ulong 4294967295
1956put s 2003 get s 58
1957p_imadi x m s
1958put s 2000 get s 58
1959put s 2001 get s 29
1960p_isetp_ge_u32 x m s
1961put s 2000 get s 173
1962p_bra_if_p0 x m s
1963p_loop_end x m s
1964p_bar_sync x m s
1965put s 220 neg ulong 1
1966if eq get s 5 ulong 8
1967put s 2000 get s 35
1968put s 2001 get s 27
1969put s 2002 ulong 2
1970p_shr x m s
1971put s 2000 get s 35
1972put s 2001 get s 35
1973put s 2002 get s 164
1974p_xorr x m s
1975put s 2000 get s 35
1976put s 2001 get s 29
1977p_isetp_ge_u32 x m s
1978put s 220 p_bra_if_p0_fwd x m s
1979end
1980put s 221 ulong 0
1981while lt get s 221 ulong 8
1982put s 2000 get s add 152 get s 221
1983put s 2001 get s 167
1984put s 2002 mul get s 221 ulong 512
1985put s 2003 choose eq get s 221 ulong 0 1 0
1986p_lds128 x m s
1987put s 221 add get s 221 1
1988end
1989if ne get s 220 ALL
1990put s 2000 ulong 1
1991p_nop x m s
1992put s 2000 get s 220
1993put s 2001 p_here x m s
1994p_patch_bra x m s
1995end
1996p_bar_sync x m s
1997put s 2000 get s 164
1998put s 2001 get s 29
1999put s 2002 ulong 1
2000put s 2003 get s 164
2001p_imadi x m s
2002put s 2000 get s 165
2003put s 2001 get s 29
2004put s 2002 ulong 4294967295
2005put s 2003 get s 165
2006p_imadi x m s
2007put s 2000 get s 165
2008put s 2001 get s 29
2009p_isetp_ge_u32 x m s
2010put s 2000 get s 172
2011p_bra_if_p0 x m s
2012p_loop_end x m s
2013end
2014fn phase_102 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2015note C phase: for (unsigned i = 0; i < 8; i++)
2016put s 244 ulong 0
2017while lt get s 244 ulong 8
2018put s add 222 get s 244 p_V128 x m s
2019put s 244 add get s 244 1
2020end
2021end
2022fn phase_103 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2023note C phase: int mA = V(e)
2024put s 245 p_V x m s
2025end
2026fn phase_104 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2027note C phase: int mB = V(e)
2028put s 246 p_V x m s
2029end
2030fn phase_105 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2031note C phase: int lA = V(e)
2032put s 247 p_V x m s
2033end
2034fn phase_106 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2035note C phase: int lB = V(e)
2036put s 248 p_V x m s
2037end
2038fn phase_107 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2039note C phase: int dqa = V(e)
2040put s 249 p_V x m s
2041end
2042fn phase_108 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2043note C phase: int gK = V64(e)
2044put s 250 p_V64 x m s
2045end
2046fn phase_109 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2047note C phase: int gV = V64(e)
2048put s 251 p_V64 x m s
2049end
2050fn phase_110 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2051note C phase: int sKb = V(e)
2052put s 252 p_V x m s
2053end
2054fn phase_111 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2055note C phase: int sVb = V(e)
2056put s 253 p_V x m s
2057end
2058fn phase_112 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2059note C phase: int lane16 = V(e)
2060put s 254 p_V x m s
2061end
2062fn phase_113 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2063note C phase: int vfb = V(e)
2064put s 255 p_V x m s
2065end
2066fn phase_114 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2067note C phase: int negc = V(e)
2068put s 256 p_V x m s
2069end
2070fn phase_115 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2071note C phase: int tokA = V(e)
2072put s 257 p_V x m s
2073end
2074fn phase_116 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2075note C phase: {
2076put s 258 p_V x m s
2077put s 259 p_V x m s
2078put s 260 p_V x m s
2079put s 2000 get s 35
2080put s 2001 get s 27
2081put s 2002 ulong 1
2082p_shr x m s
2083put s 2000 get s 257
2084put s 2001 get s 35
2085put s 2002 ulong 2
2086put s 2003 get s 37
2087p_imadi x m s
2088put s 2000 get s 249
2089put s 2001 get s 19
2090put s 2002 get s 257
2091p_iadd x m s
2092put s 2000 get s 35
2093put s 2001 get s 19
2094put s 2002 get s 34
2095p_iadd x m s
2096put s 2000 get s 35
2097put s 2001 get s 29
2098put s 2002 ulong 4294967295
2099put s 2003 get s 35
2100p_imadi x m s
2101put s 2000 get s 35
2102put s 2001 get s 35
2103put s 2002 ulong 5
2104p_shr x m s
2105put s 2000 get s 58
2106put s 2001 get s 29
2107put s 2002 ulong 1
2108put s 2003 get s 35
2109p_imadi x m s
2110put s 2000 get s 258
2111put s 2001 get s 24
2112put s 2002 ulong 4
2113p_shr x m s
2114put s 2000 get s 259
2115put s 2001 get s 24
2116put s 2002 ulong 15
2117p_andi x m s
2118put s 2000 get s 250
2119put s 2001 get s 33
2120put s 2002 ulong 1
2121put s 2003 get s 14
2122p_imadw x m s
2123put s 2000 get s 250
2124put s 2001 get s 258
2125put s 2002 ulong 256
2126put s 2003 get s 250
2127p_imadw x m s
2128put s 2000 get s 35
2129put s 2001 get s 259
2130put s 2002 ulong 16
2131put s 2003 neg ulong 1
2132p_imadi x m s
2133put s 2000 get s 250
2134put s 2001 get s 35
2135put s 2002 ulong 1
2136put s 2003 get s 250
2137p_imadw x m s
2138put s 2000 get s 251
2139put s 2001 get s 33
2140put s 2002 ulong 1
2141put s 2003 get s 15
2142p_imadw x m s
2143put s 2000 get s 251
2144put s 2001 get s 258
2145put s 2002 ulong 512
2146put s 2003 get s 251
2147p_imadw x m s
2148put s 2000 get s 251
2149put s 2001 get s 35
2150put s 2002 ulong 1
2151put s 2003 get s 251
2152p_imadw x m s
2153put s 2000 get s 35
2154put s 2001 get s 259
2155put s 2002 ulong 1
2156p_shr x m s
2157put s 2000 get s 252
2158put s 2001 get s 35
2159put s 2002 ulong 1024
2160put s 2003 neg ulong 1
2161p_imadi x m s
2162put s 2000 get s 35
2163put s 2001 get s 258
2164put s 2002 ulong 7
2165p_andi x m s
2166put s 2000 get s 252
2167put s 2001 get s 35
2168put s 2002 ulong 64
2169put s 2003 get s 252
2170p_imadi x m s
2171put s 2000 get s 35
2172put s 2001 get s 258
2173put s 2002 ulong 3
2174p_shr x m s
2175put s 2000 get s 35
2176put s 2001 get s 35
2177put s 2002 ulong 1
2178p_andi x m s
2179put s 2000 get s 252
2180put s 2001 get s 35
2181put s 2002 ulong 8
2182put s 2003 get s 252
2183p_imadi x m s
2184put s 2000 get s 36
2185put s 2001 get s 259
2186put s 2002 ulong 1
2187p_andi x m s
2188put s 2000 get s 252
2189put s 2001 get s 36
2190put s 2002 ulong 4
2191put s 2003 get s 252
2192p_imadi x m s
2193put s 2000 get s 35
2194put s 2001 get s 258
2195put s 2002 ulong 3
2196p_shr x m s
2197put s 2000 get s 260
2198put s 2001 get s 259
2199put s 2002 ulong 1
2200p_shr x m s
2201put s 2000 get s 35
2202put s 2001 get s 35
2203put s 2002 ulong 8
2204put s 2003 get s 260
2205p_imadi x m s
2206put s 2000 get s 253
2207put s 2001 get s 35
2208put s 2002 ulong 512
2209put s 2003 neg ulong 1
2210p_imadi x m s
2211put s 2000 get s 35
2212put s 2001 get s 258
2213put s 2002 ulong 3
2214p_andi x m s
2215put s 2000 get s 253
2216put s 2001 get s 35
2217put s 2002 ulong 16
2218put s 2003 get s 253
2219p_imadi x m s
2220put s 2000 get s 35
2221put s 2001 get s 258
2222put s 2002 ulong 2
2223p_shr x m s
2224put s 2000 get s 35
2225put s 2001 get s 35
2226put s 2002 ulong 1
2227p_andi x m s
2228put s 2000 get s 35
2229put s 2001 get s 36
2230put s 2002 ulong 2
2231put s 2003 get s 35
2232p_imadi x m s
2233put s 2000 get s 253
2234put s 2001 get s 35
2235put s 2002 ulong 4
2236put s 2003 get s 253
2237p_imadi x m s
2238put s 2000 get s 253
2239put s 2001 get s 29
2240put s 2002 ulong 8192
2241put s 2003 get s 253
2242p_imadi x m s
2243put s 2000 get s 254
2244put s 2001 get s 28
2245put s 2002 ulong 16
2246put s 2003 neg ulong 1
2247p_imadi x m s
2248put s 2000 get s 35
2249put s 2001 get s 27
2250put s 2002 ulong 1
2251p_andi x m s
2252put s 2000 get s 255
2253put s 2001 get s 35
2254put s 2002 ulong 2048
2255put s 2003 get s 254
2256p_imadi x m s
2257put s 2000 get s 255
2258put s 2001 get s 29
2259put s 2002 ulong 8192
2260put s 2003 get s 255
2261p_imadi x m s
2262end
2263fn phase_117 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2264note C phase: for (unsigned i = 0; i < 8; i++)
2265put s 261 ulong 0
2266while lt get s 261 ulong 8
2267put s 262 ulong 0
2268while lt get s 262 ulong 4
2269put s 2000 pack get s add 222 get s 261 get s 262
2270p_movrz x m s
2271put s 262 add get s 262 1
2272end
2273put s 261 add get s 261 1
2274end
2275end
2276fn phase_118 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2277note C phase: movi(e, R(negc), NEG_BIG)
2278put s 2000 get s 256
2279put s 2001 4048155338
2280p_movi x m s
2281end
2282fn phase_119 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2283note C phase: mov(e, R(mA), R(negc))
2284put s 2000 get s 245
2285put s 2001 get s 256
2286p_mov x m s
2287end
2288fn phase_120 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2289note C phase: mov(e, R(mB), R(negc))
2290put s 2000 get s 246
2291put s 2001 get s 256
2292p_mov x m s
2293end
2294fn phase_121 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2295note C phase: movrz(e, R(lA))
2296put s 2000 get s 247
2297p_movrz x m s
2298end
2299fn phase_122 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2300note C phase: movrz(e, R(lB))
2301put s 2000 get s 248
2302p_movrz x m s
2303end
2304fn phase_123 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2305note C phase: for (unsigned i = 0; i < NKU; i++)
2306put s 271 ulong 0
2307while lt get s 271 get s 8
2308put s add 263 get s 271 p_V128 x m s
2309put s 271 add get s 271 1
2310end
2311end
2312fn phase_124 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2313note C phase: for (unsigned i = 0; i < NVU; i++)
2314put s 272 ulong 0
2315while lt get s 272 get s 9
2316put s add 267 get s 272 p_V128 x m s
2317put s add 269 get s 272 p_V128 x m s
2318put s 272 add get s 272 1
2319end
2320end
2321fn phase_125 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2322note C phase: int ev = V(e)
2323put s 273 p_V x m s
2324end
2325fn phase_126 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2326note C phase: int od = V(e)
2327put s 274 p_V x m s
2328end
2329fn phase_127 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2330note C phase: int sa = V(e)
2331put s 275 p_V x m s
2332end
2333fn phase_128 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2334note C phase: int mxA = V(e)
2335put s 276 p_V x m s
2336end
2337fn phase_129 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2338note C phase: int mxB = V(e)
2339put s 277 p_V x m s
2340end
2341fn phase_130 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2342note C phase: int alA = V(e)
2343put s 278 p_V x m s
2344end
2345fn phase_131 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2346note C phase: int alB = V(e)
2347put s 279 p_V x m s
2348end
2349fn phase_132 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2350note C phase: int sh = V(e)
2351put s 280 p_V x m s
2352end
2353fn phase_133 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2354note C phase: for (unsigned j = 0; j < 4; j++)
2355put s 281 ulong 0
2356while lt get s 281 ulong 4
2357put s add 230 get s 281 p_V128 x m s
2358put s 281 add get s 281 1
2359end
2360end
2361fn phase_134 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2362note C phase: for (unsigned b = 0; b < 2; b++)
2363put s 282 ulong 0
2364while lt get s 282 ulong 2
2365put s add 234 add mul get s 282 2 ulong 0 p_V128 x m s
2366put s add 234 add mul get s 282 2 ulong 1 p_V128 x m s
2367put s add 238 get s 282 p_V128 x m s
2368put s 282 add get s 282 1
2369end
2370end
2371fn phase_135 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2372note C phase: for (unsigned i = 0; i < 4; i++)
2373put s 283 ulong 0
2374while lt get s 283 ulong 4
2375put s add 240 get s 283 p_V128 x m s
2376put s 283 add get s 283 1
2377end
2378end
2379fn phase_136 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2380note C phase: const int L_m = here(e)
2381put s 284 p_here x m s
2382end
2383fn phase_137 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2384note C phase: loop_begin(e)
2385p_loop_begin x m s
2386end
2387fn phase_138 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2388note C phase: bar_sync(e)
2389p_bar_sync x m s
2390end
2391fn phase_139 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2392note C phase: for (unsigned i = 0; i < NKU; i++)
2393put s 285 ulong 0
2394while lt get s 285 get s 8
2395put s 2000 ulong 57
2396put s 2001 get s add 263 get s 285
2397put s 2002 get s 250
2398put s 1940 get s 285
2399put s 1941 mul get s 1940 ulong 2
2400put s 1942 get s 5
2401put s 1943 mul get s 1941 get s 1942
2402put s 2003 mul get s 1943 ulong 256
2403put s 2004 get s 12
2404put s 2005 choose eq get s 285 ulong 0 1 0
2405p_ldg_wide x m s
2406put s 285 add get s 285 1
2407end
2408end
2409fn phase_140 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2410note C phase: if (((NKU * 4u) + (NVU * 8u)) > 16u)
2411if gt add mul get s 8 ulong 4 mul get s 9 ulong 8 ulong 16
2412put s 286 ulong 0
2413while lt get s 286 get s 8
2414put s 287 ulong 0
2415while lt get s 287 ulong 4
2416put s 1940 get s 5
2417put s 1941 get s 286
2418put s 1942 shr get s 1941 ulong 1
2419put s 1943 mul get s 1942 ulong 512
2420put s 1944 get s 286
2421put s 1945 and get s 1944 ulong 1
2422put s 1946 mul get s 1945 ulong 8
2423put s 1947 add get s 1943 get s 1946
2424put s 1948 get s 286
2425put s 1949 mul get s 1948 ulong 512
2426put s 288 choose eq get s 1940 ulong 4 get s 1947 get s 1949
2427put s 2000 get s 275
2428put s 2001 get s 29
2429put s 2002 add get s 288 mul ulong 16 get s 287
2430put s 2003 get s 252
2431p_imadi x m s
2432put s 2000 get s 275
2433put s 2001 pack get s add 263 get s 286 get s 287
2434p_sts32 x m s
2435put s 287 add get s 287 1
2436end
2437put s 286 add get s 286 1
2438end
2439end
2440end
2441fn phase_141 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2442note C phase: for (unsigned i = 0; i < NVU; i++)
2443put s 289 ulong 0
2444while lt get s 289 get s 9
2445put s 2000 ulong 57
2446put s 2001 get s add 267 get s 289
2447put s 2002 get s 251
2448put s 1940 get s 289
2449put s 1941 mul get s 1940 ulong 2
2450put s 1942 get s 5
2451put s 1943 mul get s 1941 get s 1942
2452put s 2003 mul get s 1943 ulong 512
2453put s 2004 get s 12
2454put s 1940 get s 8
2455put s 1941 mul get s 1940 ulong 4
2456put s 1942 get s 9
2457put s 1943 mul get s 1942 ulong 8
2458put s 1944 add get s 1941 get s 1943
2459put s 1945 get s 289
2460put s 2005 choose and gt get s 1944 ulong 16 eq get s 1945 ulong 0 1 0
2461p_ldg_wide x m s
2462put s 2000 ulong 57
2463put s 2001 get s add 269 get s 289
2464put s 2002 get s 251
2465put s 1940 get s 289
2466put s 1941 mul get s 1940 ulong 2
2467put s 1942 get s 5
2468put s 1943 mul get s 1941 get s 1942
2469put s 1944 mul get s 1943 ulong 512
2470put s 2003 add get s 1944 ulong 256
2471put s 2004 get s 12
2472put s 2005 ulong 0
2473p_ldg_wide x m s
2474put s 289 add get s 289 1
2475end
2476end
2477fn phase_142 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2478note C phase: if (((NKU * 4u) + (NVU * 8u)) <= 16u)
2479if le add mul get s 8 ulong 4 mul get s 9 ulong 8 ulong 16
2480put s 290 ulong 0
2481while lt get s 290 get s 8
2482put s 291 ulong 0
2483while lt get s 291 ulong 4
2484put s 1940 get s 5
2485put s 1941 get s 290
2486put s 1942 shr get s 1941 ulong 1
2487put s 1943 mul get s 1942 ulong 512
2488put s 1944 get s 290
2489put s 1945 and get s 1944 ulong 1
2490put s 1946 mul get s 1945 ulong 8
2491put s 1947 add get s 1943 get s 1946
2492put s 1948 get s 290
2493put s 1949 mul get s 1948 ulong 512
2494put s 292 choose eq get s 1940 ulong 4 get s 1947 get s 1949
2495put s 2000 get s 275
2496put s 2001 get s 29
2497put s 2002 add get s 292 mul ulong 16 get s 291
2498put s 2003 get s 252
2499p_imadi x m s
2500put s 2000 get s 275
2501put s 2001 pack get s add 263 get s 290 get s 291
2502p_sts32 x m s
2503put s 291 add get s 291 1
2504end
2505put s 290 add get s 290 1
2506end
2507end
2508end
2509fn phase_143 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2510note C phase: for (unsigned i = 0; i < NVU; i++)
2511put s 293 ulong 0
2512while lt get s 293 get s 9
2513put s 294 ulong 0
2514while lt get s 294 ulong 4
2515put s 2000 get s 35
2516put s 2001 pack get s add 267 get s 293 get s 294
2517put s 2002 ulong 65535
2518p_andi x m s
2519put s 2000 get s 273
2520put s 2001 pack get s add 269 get s 293 get s 294
2521put s 2002 ulong 65536
2522put s 2003 get s 35
2523p_imadi x m s
2524put s 2000 get s 35
2525put s 2001 pack get s add 267 get s 293 get s 294
2526put s 2002 ulong 16
2527p_shrs x m s
2528put s 2000 get s 36
2529put s 2001 pack get s add 269 get s 293 get s 294
2530put s 2002 ulong 4294901760
2531p_andi x m s
2532put s 2000 get s 274
2533put s 2001 get s 35
2534put s 2002 get s 36
2535p_iadd x m s
2536put s 2000 get s 275
2537put s 2001 get s 29
2538put s 1940 get s 293
2539put s 1941 mul get s 1940 ulong 4096
2540put s 1942 get s 294
2541put s 1943 mul ulong 2 get s 1942
2542put s 1944 mul get s 1943 ulong 64
2543put s 2002 add get s 1941 get s 1944
2544put s 2003 get s 253
2545p_imadi x m s
2546put s 2000 get s 275
2547put s 2001 get s 273
2548p_sts32 x m s
2549put s 2000 get s 275
2550put s 2001 get s 29
2551put s 1940 get s 293
2552put s 1941 mul get s 1940 ulong 4096
2553put s 1942 get s 294
2554put s 1943 mul ulong 2 get s 1942
2555put s 1944 add get s 1943 ulong 1
2556put s 1945 mul get s 1944 ulong 64
2557put s 2002 add get s 1941 get s 1945
2558put s 2003 get s 253
2559p_imadi x m s
2560put s 2000 get s 275
2561put s 2001 get s 274
2562p_sts32 x m s
2563put s 294 add get s 294 1
2564end
2565put s 293 add get s 293 1
2566end
2567end
2568fn phase_144 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2569note C phase: bar_sync(e)
2570p_bar_sync x m s
2571end
2572fn phase_145 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2573note C phase: lds_pf(e, kf[0][0], lane16, 0u + 0u, 3)
2574put s 2000 get s add 234 add mul ulong 0 2 ulong 0
2575put s 2001 get s 254
2576put s 2002 add ulong 0 ulong 0
2577put s 2003 ulong 3
2578p_lds_pf x m s
2579end
2580fn phase_146 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2581note C phase: lds_pf(e, kf[0][1], lane16, 0u + 512u, 3)
2582put s 2000 get s add 234 add mul ulong 0 2 ulong 1
2583put s 2001 get s 254
2584put s 2002 add ulong 0 ulong 512
2585put s 2003 ulong 3
2586p_lds_pf x m s
2587end
2588fn phase_147 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2589note C phase: consume(e, 3)
2590put s 2000 ulong 3
2591p_consume x m s
2592end
2593fn phase_148 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2594note C phase: for (unsigned s = 0; s < 8; s++)
2595put s 295 ulong 0
2596while lt get s 295 ulong 8
2597put s 296 and get s 295 ulong 1
2598put s 297 xor get s 296 ulong 1
2599put s 298 add ulong 3 get s 297
2600if lt get s 295 ulong 7
2601put s 1940 get s 297
2602put s 1941 mul get s 1940 2
2603put s 1942 add get s 1941 ulong 0
2604put s 1943 add 234 get s 1942
2605put s 2000 get s get s 1943
2606put s 2001 get s 254
2607put s 1940 get s 295
2608put s 1941 add get s 1940 ulong 1
2609put s 1942 mul get s 1941 ulong 1024
2610put s 2002 add ulong 0 get s 1942
2611put s 2003 get s 298
2612p_lds_pf x m s
2613put s 1940 get s 297
2614put s 1941 mul get s 1940 2
2615put s 1942 add get s 1941 ulong 1
2616put s 1943 add 234 get s 1942
2617put s 2000 get s get s 1943
2618put s 2001 get s 254
2619put s 1940 get s 295
2620put s 1941 add get s 1940 ulong 1
2621put s 1942 mul get s 1941 ulong 1024
2622put s 1943 add ulong 0 get s 1942
2623put s 2002 add get s 1943 ulong 512
2624put s 2003 get s 298
2625p_lds_pf x m s
2626end
2627put s 2000 get s add 230 ulong 0
2628put s 2001 get s add 152 get s 295
2629put s 1940 get s 296
2630put s 1941 mul get s 1940 2
2631put s 1942 add get s 1941 ulong 0
2632put s 1943 add 234 get s 1942
2633put s 2002 get s get s 1943
2634put s 2003 ulong 0
2635put s 1940 get s 295
2636put s 1941 add 230 ulong 0
2637put s 1942 get s get s 1941
2638put s 1943 neg ulong 1
2639put s 2004 choose ne get s 1940 0 get s 1942 get s 1943
2640put s 2005 ulong 8
2641p_hmma x m s
2642put s 2000 get s add 230 ulong 1
2643put s 2001 get s add 152 get s 295
2644put s 1940 get s 296
2645put s 1941 mul get s 1940 2
2646put s 1942 add get s 1941 ulong 0
2647put s 1943 add 234 get s 1942
2648put s 2002 get s get s 1943
2649put s 2003 ulong 2
2650put s 1940 get s 295
2651put s 1941 add 230 ulong 1
2652put s 1942 get s get s 1941
2653put s 1943 neg ulong 1
2654put s 2004 choose ne get s 1940 0 get s 1942 get s 1943
2655put s 2005 ulong 8
2656p_hmma x m s
2657put s 2000 get s add 230 ulong 2
2658put s 2001 get s add 152 get s 295
2659put s 1940 get s 296
2660put s 1941 mul get s 1940 2
2661put s 1942 add get s 1941 ulong 1
2662put s 1943 add 234 get s 1942
2663put s 2002 get s get s 1943
2664put s 2003 ulong 0
2665put s 1940 get s 295
2666put s 1941 add 230 ulong 2
2667put s 1942 get s get s 1941
2668put s 1943 neg ulong 1
2669put s 2004 choose ne get s 1940 0 get s 1942 get s 1943
2670put s 2005 ulong 8
2671p_hmma x m s
2672put s 2000 get s add 230 ulong 3
2673put s 2001 get s add 152 get s 295
2674put s 1940 get s 296
2675put s 1941 mul get s 1940 2
2676put s 1942 add get s 1941 ulong 1
2677put s 1943 add 234 get s 1942
2678put s 2002 get s get s 1943
2679put s 2003 ulong 2
2680put s 1940 get s 295
2681put s 1941 add 230 ulong 3
2682put s 1942 get s get s 1941
2683put s 1943 neg ulong 1
2684put s 2004 choose ne get s 1940 0 get s 1942 get s 1943
2685put s 2005 ulong 8
2686p_hmma x m s
2687if lt get s 295 ulong 7
2688put s 2000 get s 298
2689p_consume x m s
2690end
2691put s 295 add get s 295 1
2692end
2693end
2694fn phase_149 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2695note C phase: nop(e, 15)
2696put s 2000 ulong 15
2697p_nop x m s
2698end
2699fn phase_150 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2700note C phase: nop(e, 14)
2701put s 2000 ulong 14
2702p_nop x m s
2703end
2704fn phase_151 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2705note C phase: if (MUT != 2)
2706if ne get s 11 ulong 2
2707put s 2000 get s 35
2708put s 2001 get s 29
2709put s 2002 ulong 4294967265
2710put s 2003 get s 249
2711p_imadi x m s
2712put s 2000 get s 35
2713put s 2001 get s 35
2714put s 2002 ulong 31
2715p_shr x m s
2716put s 2000 get s 30
2717put s 2001 get s 35
2718p_isetp_ge_u32 x m s
2719put s 299 p_bra_if_p0_fwd x m s
2720put s 300 p_V x m s
2721put s 2000 get s 36
2722put s 2001 get s 254
2723put s 2002 ulong 3
2724p_shr x m s
2725put s 2000 get s 36
2726put s 2001 get s 36
2727put s 2002 ulong 6
2728p_andi x m s
2729put s 2000 get s 300
2730put s 2001 get s 36
2731put s 2002 ulong 4294967295
2732put s 2003 get s 249
2733p_imadi x m s
2734put s 301 ulong 0
2735while lt get s 301 ulong 4
2736put s 302 ulong 0
2737while lt get s 302 ulong 4
2738put s 1940 get s 302
2739put s 1941 choose ge get s 1940 ulong 2 ulong 1 ulong 0
2740put s 1942 get s 301
2741put s 1943 mul ulong 8 get s 1942
2742put s 1944 sub get s 1941 get s 1943
2743put s 1945 get s 302
2744put s 1946 and get s 1945 ulong 1
2745put s 303 sub get s 1944 get s 1946
2746put s 2000 get s 35
2747put s 2001 get s 29
2748put s 2002 and get s 303 4294967295
2749put s 2003 get s 300
2750p_imadi x m s
2751put s 2000 get s 35
2752put s 2001 get s 35
2753put s 2002 ulong 31
2754p_shr x m s
2755put s 2000 get s 35
2756put s 2001 get s 35
2757put s 2002 4048155338
2758put s 2003 neg ulong 1
2759p_imadi x m s
2760put s 2000 pack get s add 230 get s 301 get s 302
2761put s 2001 pack get s add 230 get s 301 get s 302
2762put s 2002 get s 35
2763p_fadd x m s
2764put s 302 add get s 302 1
2765end
2766put s 301 add get s 301 1
2767end
2768put s 2000 get s 299
2769put s 2001 p_here x m s
2770p_patch_bra x m s
2771end
2772end
2773fn phase_152 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2774note C phase: fmaxx(e, R(mxA), S(sc[0], 0), S(sc[0], 1))
2775put s 2000 get s 276
2776put s 2001 pack get s add 230 ulong 0 ulong 0
2777put s 2002 pack get s add 230 ulong 0 ulong 1
2778p_fmaxx x m s
2779end
2780fn phase_153 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2781note C phase: fmaxx(e, R(mxB), S(sc[0], 2), S(sc[0], 3))
2782put s 2000 get s 277
2783put s 2001 pack get s add 230 ulong 0 ulong 2
2784put s 2002 pack get s add 230 ulong 0 ulong 3
2785p_fmaxx x m s
2786end
2787fn phase_154 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2788note C phase: for (unsigned j = 1; j < 4; j++)
2789put s 304 ulong 1
2790while lt get s 304 ulong 4
2791put s 2000 get s 276
2792put s 2001 get s 276
2793put s 2002 pack get s add 230 get s 304 ulong 0
2794p_fmaxx x m s
2795put s 2000 get s 276
2796put s 2001 get s 276
2797put s 2002 pack get s add 230 get s 304 ulong 1
2798p_fmaxx x m s
2799put s 2000 get s 277
2800put s 2001 get s 277
2801put s 2002 pack get s add 230 get s 304 ulong 2
2802p_fmaxx x m s
2803put s 2000 get s 277
2804put s 2001 get s 277
2805put s 2002 pack get s add 230 get s 304 ulong 3
2806p_fmaxx x m s
2807put s 304 add get s 304 1
2808end
2809end
2810fn phase_155 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2811note C phase: shfl_bfly(e, sh, mxA, 1)
2812put s 2000 get s 280
2813put s 2001 get s 276
2814put s 2002 ulong 1
2815p_shfl_bfly x m s
2816end
2817fn phase_156 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2818note C phase: fmaxx(e, R(mxA), R(mxA), R(sh))
2819put s 2000 get s 276
2820put s 2001 get s 276
2821put s 2002 get s 280
2822p_fmaxx x m s
2823end
2824fn phase_157 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2825note C phase: shfl_bfly(e, sh, mxA, 2)
2826put s 2000 get s 280
2827put s 2001 get s 276
2828put s 2002 ulong 2
2829p_shfl_bfly x m s
2830end
2831fn phase_158 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2832note C phase: fmaxx(e, R(mxA), R(mxA), R(sh))
2833put s 2000 get s 276
2834put s 2001 get s 276
2835put s 2002 get s 280
2836p_fmaxx x m s
2837end
2838fn phase_159 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2839note C phase: shfl_bfly(e, sh, mxB, 1)
2840put s 2000 get s 280
2841put s 2001 get s 277
2842put s 2002 ulong 1
2843p_shfl_bfly x m s
2844end
2845fn phase_160 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2846note C phase: fmaxx(e, R(mxB), R(mxB), R(sh))
2847put s 2000 get s 277
2848put s 2001 get s 277
2849put s 2002 get s 280
2850p_fmaxx x m s
2851end
2852fn phase_161 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2853note C phase: shfl_bfly(e, sh, mxB, 2)
2854put s 2000 get s 280
2855put s 2001 get s 277
2856put s 2002 ulong 2
2857p_shfl_bfly x m s
2858end
2859fn phase_162 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2860note C phase: fmaxx(e, R(mxB), R(mxB), R(sh))
2861put s 2000 get s 277
2862put s 2001 get s 277
2863put s 2002 get s 280
2864p_fmaxx x m s
2865end
2866fn phase_163 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2867note C phase: fmaxx(e, R(mxA), R(mxA), R(mA))
2868put s 2000 get s 276
2869put s 2001 get s 276
2870put s 2002 get s 245
2871p_fmaxx x m s
2872end
2873fn phase_164 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2874note C phase: fmaxx(e, R(mxB), R(mxB), R(mB))
2875put s 2000 get s 277
2876put s 2001 get s 277
2877put s 2002 get s 246
2878p_fmaxx x m s
2879end
2880fn phase_165 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2881note C phase: fsub(e, R(alA), R(mA), R(mxA))
2882put s 2000 get s 278
2883put s 2001 get s 245
2884put s 2002 get s 276
2885p_fsub x m s
2886end
2887fn phase_166 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2888note C phase: fsub(e, R(alB), R(mB), R(mxB))
2889put s 2000 get s 279
2890put s 2001 get s 246
2891put s 2002 get s 277
2892p_fsub x m s
2893end
2894fn phase_167 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2895note C phase: mov(e, R(mA), R(mxA))
2896put s 2000 get s 245
2897put s 2001 get s 276
2898p_mov x m s
2899end
2900fn phase_168 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2901note C phase: mov(e, R(mB), R(mxB))
2902put s 2000 get s 246
2903put s 2001 get s 277
2904p_mov x m s
2905end
2906fn phase_169 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2907note C phase: for (unsigned j = 0; j < 4; j++)
2908put s 305 ulong 0
2909while lt get s 305 ulong 4
2910put s 306 ulong 0
2911while lt get s 306 ulong 4
2912put s 2000 pack get s add 230 get s 305 get s 306
2913put s 2001 pack get s add 230 get s 305 get s 306
2914put s 1940 get s 306
2915put s 1941 get s 245
2916put s 1942 get s 246
2917put s 2002 choose lt get s 1940 ulong 2 get s 1941 get s 1942
2918p_fsub x m s
2919put s 306 add get s 306 1
2920end
2921put s 305 add get s 305 1
2922end
2923end
2924fn phase_170 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2925note C phase: mufu(e, BW_IR_MUFU_EX2, R(alA), R(alA), 1)
2926put s 2000 ulong 47
2927put s 2001 get s 278
2928put s 2002 get s 278
2929put s 2003 ulong 1
2930p_mufu x m s
2931end
2932fn phase_171 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2933note C phase: mufu(e, BW_IR_MUFU_EX2, R(alB), R(alB), 0)
2934put s 2000 ulong 47
2935put s 2001 get s 279
2936put s 2002 get s 279
2937put s 2003 ulong 0
2938p_mufu x m s
2939end
2940fn phase_172 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2941note C phase: for (unsigned j = 0; j < 4; j++)
2942put s 307 ulong 0
2943while lt get s 307 ulong 4
2944put s 308 ulong 0
2945while lt get s 308 ulong 4
2946put s 2000 ulong 47
2947put s 2001 pack get s add 230 get s 307 get s 308
2948put s 2002 pack get s add 230 get s 307 get s 308
2949put s 2003 ulong 0
2950p_mufu x m s
2951put s 308 add get s 308 1
2952end
2953put s 307 add get s 307 1
2954end
2955end
2956fn phase_173 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2957note C phase: fmul(e, R(lA), R(lA), R(alA))
2958put s 2000 get s 247
2959put s 2001 get s 247
2960put s 2002 get s 278
2961p_fmul x m s
2962end
2963fn phase_174 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2964note C phase: fmul(e, R(lB), R(lB), R(alB))
2965put s 2000 get s 248
2966put s 2001 get s 248
2967put s 2002 get s 279
2968p_fmul x m s
2969end
2970fn phase_175 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2971note C phase: for (unsigned j = 0; j < 4; j++)
2972put s 309 ulong 0
2973while lt get s 309 ulong 4
2974put s 310 ulong 0
2975while lt get s 310 ulong 4
2976put s 1940 get s 310
2977put s 1941 get s 247
2978put s 1942 get s 248
2979put s 2000 choose lt get s 1940 ulong 2 get s 1941 get s 1942
2980put s 1940 get s 310
2981put s 1941 get s 247
2982put s 1942 get s 248
2983put s 2001 choose lt get s 1940 ulong 2 get s 1941 get s 1942
2984put s 2002 pack get s add 230 get s 309 get s 310
2985p_fadd x m s
2986put s 310 add get s 310 1
2987end
2988put s 309 add get s 309 1
2989end
2990end
2991fn phase_176 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
2992note C phase: if (MUT != 4)
2993if ne get s 11 ulong 4
2994put s 311 ulong 0
2995while lt get s 311 ulong 8
2996put s 312 ulong 0
2997while lt get s 312 ulong 4
2998put s 2000 pack get s add 222 get s 311 get s 312
2999put s 2001 pack get s add 222 get s 311 get s 312
3000put s 1940 get s 312
3001put s 1941 get s 278
3002put s 1942 get s 279
3003put s 2002 choose lt get s 1940 ulong 2 get s 1941 get s 1942
3004p_fmul x m s
3005put s 312 add get s 312 1
3006end
3007put s 311 add get s 311 1
3008end
3009end
3010end
3011fn phase_177 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3012note C phase: for (unsigned b = 0; b < 2; b++)
3013put s 313 ulong 0
3014while lt get s 313 ulong 2
3015put s 2000 pack get s add 238 get s 313 ulong 0
3016put s 1940 get s 313
3017put s 1941 mul ulong 2 get s 1940
3018put s 1942 add 230 get s 1941
3019put s 1943 get s get s 1942
3020put s 2001 pack get s 1943 ulong 1
3021put s 1940 get s 313
3022put s 1941 mul ulong 2 get s 1940
3023put s 1942 add 230 get s 1941
3024put s 1943 get s get s 1942
3025put s 2002 pack get s 1943 ulong 0
3026p_f2fp x m s
3027put s 2000 pack get s add 238 get s 313 ulong 1
3028put s 1940 get s 313
3029put s 1941 mul ulong 2 get s 1940
3030put s 1942 add 230 get s 1941
3031put s 1943 get s get s 1942
3032put s 2001 pack get s 1943 ulong 3
3033put s 1940 get s 313
3034put s 1941 mul ulong 2 get s 1940
3035put s 1942 add 230 get s 1941
3036put s 1943 get s get s 1942
3037put s 2002 pack get s 1943 ulong 2
3038p_f2fp x m s
3039put s 2000 pack get s add 238 get s 313 ulong 2
3040put s 1940 get s 313
3041put s 1941 mul ulong 2 get s 1940
3042put s 1942 add get s 1941 ulong 1
3043put s 1943 add 230 get s 1942
3044put s 1944 get s get s 1943
3045put s 2001 pack get s 1944 ulong 1
3046put s 1940 get s 313
3047put s 1941 mul ulong 2 get s 1940
3048put s 1942 add get s 1941 ulong 1
3049put s 1943 add 230 get s 1942
3050put s 1944 get s get s 1943
3051put s 2002 pack get s 1944 ulong 0
3052p_f2fp x m s
3053put s 2000 pack get s add 238 get s 313 ulong 3
3054put s 1940 get s 313
3055put s 1941 mul ulong 2 get s 1940
3056put s 1942 add get s 1941 ulong 1
3057put s 1943 add 230 get s 1942
3058put s 1944 get s get s 1943
3059put s 2001 pack get s 1944 ulong 3
3060put s 1940 get s 313
3061put s 1941 mul ulong 2 get s 1940
3062put s 1942 add get s 1941 ulong 1
3063put s 1943 add 230 get s 1942
3064put s 1944 get s get s 1943
3065put s 2002 pack get s 1944 ulong 2
3066p_f2fp x m s
3067put s 313 add get s 313 1
3068end
3069end
3070fn phase_178 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3071note C phase: for (unsigned kq = 0; kq < 2; kq++)
3072put s 314 ulong 0
3073while lt get s 314 ulong 2
3074put s 315 ulong 0
3075while lt get s 315 ulong 4
3076put s 2000 get s add 240 get s 315
3077put s 2001 get s 255
3078put s 1940 get s 314
3079put s 1941 mul get s 1940 ulong 4096
3080put s 1942 get s 315
3081put s 1943 mul get s 1942 ulong 512
3082put s 2002 add get s 1941 get s 1943
3083put s 2003 choose eq get s 315 ulong 0 1 0
3084p_lds128 x m s
3085put s 315 add get s 315 1
3086end
3087put s 316 ulong 0
3088while lt get s 316 ulong 4
3089put s 2000 get s add 222 mul ulong 2 get s 316
3090put s 2001 get s add 238 get s 314
3091put s 2002 get s add 240 get s 316
3092put s 2003 ulong 0
3093put s 2004 get s add 222 mul ulong 2 get s 316
3094put s 2005 ulong 8
3095p_hmma x m s
3096put s 1940 get s 316
3097put s 1941 mul ulong 2 get s 1940
3098put s 1942 add get s 1941 ulong 1
3099put s 1943 add 222 get s 1942
3100put s 2000 get s get s 1943
3101put s 2001 get s add 238 get s 314
3102put s 2002 get s add 240 get s 316
3103put s 2003 ulong 2
3104put s 1940 get s 316
3105put s 1941 mul ulong 2 get s 1940
3106put s 1942 add get s 1941 ulong 1
3107put s 1943 add 222 get s 1942
3108put s 2004 get s get s 1943
3109put s 2005 ulong 8
3110p_hmma x m s
3111put s 316 add get s 316 1
3112end
3113put s 314 add get s 314 1
3114end
3115end
3116fn phase_179 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3117note C phase: imadw(e, gK, one, 8192u, gK)
3118put s 2000 get s 250
3119put s 2001 get s 29
3120put s 2002 ulong 8192
3121put s 2003 get s 250
3122p_imadw x m s
3123end
3124fn phase_180 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3125note C phase: imadw(e, gV, one, 8192u, gV)
3126put s 2000 get s 251
3127put s 2001 get s 29
3128put s 2002 ulong 8192
3129put s 2003 get s 251
3130p_imadw x m s
3131end
3132fn phase_181 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3133note C phase: imadi(e, R(dqa), R(one), 0xffffffe0u, dqa)
3134put s 2000 get s 249
3135put s 2001 get s 29
3136put s 2002 ulong 4294967264
3137put s 2003 get s 249
3138p_imadi x m s
3139end
3140fn phase_182 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3141note C phase: imadi(e, R(cnt), R(one), 0xffffffffu, cnt)
3142put s 2000 get s 58
3143put s 2001 get s 29
3144put s 2002 ulong 4294967295
3145put s 2003 get s 58
3146p_imadi x m s
3147end
3148fn phase_183 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3149note C phase: isetp_ge_u32(e, cnt, one)
3150put s 2000 get s 58
3151put s 2001 get s 29
3152p_isetp_ge_u32 x m s
3153end
3154fn phase_184 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3155note C phase: bra_if_p0(e, L_m)
3156put s 2000 get s 284
3157p_bra_if_p0 x m s
3158end
3159fn phase_185 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3160note C phase: loop_end(e)
3161p_loop_end x m s
3162end
3163fn phase_186 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3164note C phase: nop(e, 15)
3165put s 2000 ulong 15
3166p_nop x m s
3167end
3168fn phase_187 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3169note C phase: nop(e, 14)
3170put s 2000 ulong 14
3171p_nop x m s
3172end
3173fn phase_188 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3174note C phase: {
3175put s 317 p_V64 x m s
3176put s 318 p_V x m s
3177put s 319 p_V64 x m s
3178put s 320 p_V x m s
3179put s 321 p_V x m s
3180put s 322 p_V x m s
3181put s 323 p_V x m s
3182put s 324 p_V x m s
3183put s 325 p_V x m s
3184put s 326 p_V x m s
3185put s 327 p_V x m s
3186put s 328 p_V x m s
3187put s 2000 get s 317
3188put s 2001 ulong 944
3189p_ldc64 x m s
3190put s 2000 get s 318
3191put s 2001 ulong 968
3192p_ldc32 x m s
3193put s 2000 get s 325
3194put s 2001 ulong 956
3195p_ldc32 x m s
3196put s 2000 get s 322
3197put s 2001 ulong 33
3198p_s2r x m s
3199put s 2000 get s 323
3200put s 2001 ulong 37
3201p_s2r x m s
3202put s 2000 get s 324
3203put s 2001 ulong 38
3204p_s2r x m s
3205put s 2000 get s 326
3206put s 2001 get s 322
3207put s 2002 ulong 5
3208p_shr x m s
3209put s 2000 get s 327
3210put s 2001 get s 322
3211put s 2002 ulong 31
3212p_andi x m s
3213put s 2000 get s 35
3214put s 2001 get s 326
3215put s 2002 ulong 1
3216p_shr x m s
3217put s 2000 get s 35
3218put s 2001 get s 35
3219put s 2002 ulong 2
3220put s 2003 neg ulong 1
3221p_imadi x m s
3222put s 2000 get s 328
3223put s 2001 get s 323
3224put s 2002 get s 5
3225put s 2003 get s 35
3226p_imadi x m s
3227put s 2000 get s 280
3228put s 2001 get s 247
3229put s 2002 ulong 1
3230p_shfl_bfly x m s
3231put s 2000 get s 247
3232put s 2001 get s 247
3233put s 2002 get s 280
3234p_fadd x m s
3235put s 2000 get s 280
3236put s 2001 get s 247
3237put s 2002 ulong 2
3238p_shfl_bfly x m s
3239put s 2000 get s 247
3240put s 2001 get s 247
3241put s 2002 get s 280
3242p_fadd x m s
3243put s 2000 get s 280
3244put s 2001 get s 248
3245put s 2002 ulong 1
3246p_shfl_bfly x m s
3247put s 2000 get s 248
3248put s 2001 get s 248
3249put s 2002 get s 280
3250p_fadd x m s
3251put s 2000 get s 280
3252put s 2001 get s 248
3253put s 2002 ulong 2
3254p_shfl_bfly x m s
3255put s 2000 get s 248
3256put s 2001 get s 248
3257put s 2002 get s 280
3258p_fadd x m s
3259put s 2000 ulong 40
3260put s 2001 get s 247
3261put s 2002 get s 247
3262put s 2003 ulong 1
3263p_mufu x m s
3264put s 2000 ulong 40
3265put s 2001 get s 248
3266put s 2002 get s 248
3267put s 2003 ulong 0
3268p_mufu x m s
3269put s 2000 get s 247
3270put s 2001 get s 247
3271put s 2002 get s 318
3272p_fmul x m s
3273put s 2000 get s 248
3274put s 2001 get s 248
3275put s 2002 get s 318
3276p_fmul x m s
3277put s 329 ulong 0
3278while lt get s 329 ulong 8
3279put s 330 ulong 0
3280while lt get s 330 ulong 4
3281put s 2000 pack get s add 222 get s 329 get s 330
3282put s 2001 pack get s add 222 get s 329 get s 330
3283put s 1940 get s 330
3284put s 1941 get s 247
3285put s 1942 get s 248
3286put s 2002 choose lt get s 1940 ulong 2 get s 1941 get s 1942
3287p_fmul x m s
3288put s 330 add get s 330 1
3289end
3290put s 329 add get s 329 1
3291end
3292put s 2000 get s 320
3293put s 2001 get s 327
3294put s 2002 ulong 2
3295p_shr x m s
3296put s 2000 get s 321
3297put s 2001 get s 327
3298put s 2002 ulong 3
3299p_andi x m s
3300put s 2000 get s 35
3301put s 2001 get s 328
3302put s 2002 ulong 32
3303put s 2003 neg ulong 1
3304p_imadi x m s
3305put s 2000 get s 35
3306put s 2001 get s 324
3307put s 2002 ulong 8
3308put s 2003 get s 35
3309p_imadi x m s
3310put s 2000 get s 35
3311put s 2001 get s 35
3312put s 2002 get s 320
3313p_iadd x m s
3314put s 2000 get s 35
3315put s 2001 get s 35
3316put s 2002 ulong 512
3317put s 2003 neg ulong 1
3318p_imadi x m s
3319put s 2000 get s 36
3320put s 2001 get s 326
3321put s 2002 ulong 1
3322p_andi x m s
3323put s 2000 get s 35
3324put s 2001 get s 36
3325put s 2002 ulong 256
3326put s 2003 get s 35
3327p_imadi x m s
3328put s 2000 get s 35
3329put s 2001 get s 321
3330put s 2002 ulong 8
3331put s 2003 get s 35
3332p_imadi x m s
3333put s 2000 get s 319
3334put s 2001 get s 35
3335put s 2002 ulong 1
3336put s 2003 get s 317
3337p_imadw x m s
3338put s 331 ulong 0
3339while lt get s 331 ulong 2
3340put s 2000 get s 35
3341put s 2001 get s 29
3342put s 2002 get s 331
3343put s 2003 get s 328
3344p_imadi x m s
3345put s 2000 get s 35
3346put s 2001 get s 325
3347p_isetp_ge_u32 x m s
3348put s 332 p_bra_if_p0_fwd x m s
3349put s 333 ulong 0
3350while lt get s 333 ulong 8
3351put s 2000 get s 319
3352put s 1940 get s 331
3353put s 1941 mul get s 1940 ulong 16384
3354put s 1942 get s 333
3355put s 1943 mul get s 1942 ulong 32
3356put s 2001 add get s 1941 get s 1943
3357put s 1940 get s 333
3358put s 1941 add 222 get s 1940
3359put s 1942 get s get s 1941
3360put s 1943 get s 331
3361put s 1944 mul ulong 2 get s 1943
3362put s 2002 pack get s 1942 get s 1944
3363put s 2003 get s 12
3364p_stg x m s
3365put s 2000 get s 319
3366put s 1940 get s 331
3367put s 1941 mul get s 1940 ulong 16384
3368put s 1942 get s 333
3369put s 1943 mul get s 1942 ulong 32
3370put s 1944 add get s 1941 get s 1943
3371put s 2001 add get s 1944 ulong 4
3372put s 1940 get s 333
3373put s 1941 add 222 get s 1940
3374put s 1942 get s get s 1941
3375put s 1943 get s 331
3376put s 1944 mul ulong 2 get s 1943
3377put s 1945 add get s 1944 ulong 1
3378put s 2002 pack get s 1942 get s 1945
3379put s 2003 get s 12
3380p_stg x m s
3381put s 333 add get s 333 1
3382end
3383put s 2000 get s 332
3384put s 2001 p_here x m s
3385p_patch_bra x m s
3386put s 331 add get s 331 1
3387end
3388end
3389fn phase_189 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3390note C phase: tail(e)
3391p_tail x m s
3392end
3393fn phase_190 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void
3394note C phase: return 0;
3395put s 1990 1
3396ret
3397end
3398fn cg_pattn kind ulong a ulong b ulong c ulong x edit ulong 8192 m edit ulong 512 to int
3399if gt kind 1
3400ret 1
3401end
3402if not or eq a 4 eq a 8
3403ret 1
3404end
3405if gt b 4
3406ret 1
3407end
3408if gt and c 255 2
3409ret 1
3410end
3411if gt shr c 8 1
3412ret 1
3413end
3414if and ne shr c 8 0 ne and c 255 1
3415ret 1
3416end
3417s = new ulong 2048 0
3418put s 1 b
3419put s 2 a
3420put s 3 and c 255
3421put s 4 shr c 8
3422if eq get s 1990 0
3423phase_1 x m s
3424end
3425if eq get s 1990 0
3426phase_2 x m s
3427end
3428if eq get s 1990 0
3429phase_3 x m s
3430end
3431if eq get s 1990 0
3432phase_4 x m s
3433end
3434if eq get s 1990 0
3435phase_5 x m s
3436end
3437if eq get s 1990 0
3438phase_6 x m s
3439end
3440if eq get s 1990 0
3441phase_7 x m s
3442end
3443if eq get s 1990 0
3444phase_8 x m s
3445end
3446if eq get s 1990 0
3447phase_9 x m s
3448end
3449if eq get s 1990 0
3450phase_10 x m s
3451end
3452if eq get s 1990 0
3453phase_11 x m s
3454end
3455if eq get s 1990 0
3456phase_12 x m s
3457end
3458if eq get s 1990 0
3459phase_13 x m s
3460end
3461if eq get s 1990 0
3462phase_14 x m s
3463end
3464if eq get s 1990 0
3465phase_15 x m s
3466end
3467if eq get s 1990 0
3468phase_16 x m s
3469end
3470if eq get s 1990 0
3471phase_17 x m s
3472end
3473if eq get s 1990 0
3474phase_18 x m s
3475end
3476if eq get s 1990 0
3477phase_19 x m s
3478end
3479if eq get s 1990 0
3480phase_20 x m s
3481end
3482if eq get s 1990 0
3483phase_21 x m s
3484end
3485if eq get s 1990 0
3486phase_22 x m s
3487end
3488if eq get s 1990 0
3489phase_23 x m s
3490end
3491if eq get s 1990 0
3492phase_24 x m s
3493end
3494if eq get s 1990 0
3495phase_25 x m s
3496end
3497if eq get s 1990 0
3498phase_26 x m s
3499end
3500if eq get s 1990 0
3501phase_27 x m s
3502end
3503if eq get s 1990 0
3504phase_28 x m s
3505end
3506if eq get s 1990 0
3507phase_29 x m s
3508end
3509if eq get s 1990 0
3510phase_30 x m s
3511end
3512if eq get s 1990 0
3513phase_31 x m s
3514end
3515if eq get s 1990 0
3516phase_32 x m s
3517end
3518if eq get s 1990 0
3519phase_33 x m s
3520end
3521if eq get s 1990 0
3522phase_34 x m s
3523end
3524if eq get s 1990 0
3525phase_35 x m s
3526end
3527if eq get s 1990 0
3528phase_36 x m s
3529end
3530if eq get s 1990 0
3531phase_37 x m s
3532end
3533if eq get s 1990 0
3534phase_38 x m s
3535end
3536if eq get s 1990 0
3537phase_39 x m s
3538end
3539if eq get s 1990 0
3540phase_40 x m s
3541end
3542if eq get s 1990 0
3543phase_41 x m s
3544end
3545if eq get s 1990 0
3546phase_42 x m s
3547end
3548if eq get s 1990 0
3549phase_43 x m s
3550end
3551if eq get s 1990 0
3552phase_44 x m s
3553end
3554if eq get s 1990 0
3555phase_45 x m s
3556end
3557if eq get s 1990 0
3558phase_46 x m s
3559end
3560if eq get s 1990 0
3561phase_47 x m s
3562end
3563if eq get s 1990 0
3564phase_48 x m s
3565end
3566if eq get s 1990 0
3567phase_49 x m s
3568end
3569if eq get s 1990 0
3570phase_50 x m s
3571end
3572if eq get s 1990 0
3573phase_51 x m s
3574end
3575if eq get s 1990 0
3576phase_52 x m s
3577end
3578if eq get s 1990 0
3579phase_53 x m s
3580end
3581if eq get s 1990 0
3582phase_54 x m s
3583end
3584if eq get s 1990 0
3585phase_55 x m s
3586end
3587if eq get s 1990 0
3588phase_56 x m s
3589end
3590if eq get s 1990 0
3591phase_57 x m s
3592end
3593if eq get s 1990 0
3594phase_58 x m s
3595end
3596if eq get s 1990 0
3597phase_59 x m s
3598end
3599if eq get s 1990 0
3600phase_60 x m s
3601end
3602if eq get s 1990 0
3603phase_61 x m s
3604end
3605if eq get s 1990 0
3606phase_62 x m s
3607end
3608if eq get s 1990 0
3609phase_63 x m s
3610end
3611if eq get s 1990 0
3612phase_64 x m s
3613end
3614if eq get s 1990 0
3615phase_65 x m s
3616end
3617if eq get s 1990 0
3618phase_66 x m s
3619end
3620if eq get s 1990 0
3621phase_67 x m s
3622end
3623if eq get s 1990 0
3624phase_68 x m s
3625end
3626if eq get s 1990 0
3627phase_69 x m s
3628end
3629if eq get s 1990 0
3630phase_70 x m s
3631end
3632if eq get s 1990 0
3633phase_71 x m s
3634end
3635if eq get s 1990 0
3636phase_72 x m s
3637end
3638if eq get s 1990 0
3639phase_73 x m s
3640end
3641if eq get s 1990 0
3642phase_74 x m s
3643end
3644if eq get s 1990 0
3645phase_75 x m s
3646end
3647if eq get s 1990 0
3648phase_76 x m s
3649end
3650if eq get s 1990 0
3651phase_77 x m s
3652end
3653if eq get s 1990 0
3654phase_78 x m s
3655end
3656if eq get s 1990 0
3657phase_79 x m s
3658end
3659if eq get s 1990 0
3660phase_80 x m s
3661end
3662if eq get s 1990 0
3663phase_81 x m s
3664end
3665if eq get s 1990 0
3666phase_82 x m s
3667end
3668if eq get s 1990 0
3669phase_83 x m s
3670end
3671if eq get s 1990 0
3672phase_84 x m s
3673end
3674if eq get s 1990 0
3675phase_85 x m s
3676end
3677if eq get s 1990 0
3678phase_86 x m s
3679end
3680if eq get s 1990 0
3681phase_87 x m s
3682end
3683if eq get s 1990 0
3684phase_88 x m s
3685end
3686if eq get s 1990 0
3687phase_89 x m s
3688end
3689if eq get s 1990 0
3690phase_90 x m s
3691end
3692if eq get s 1990 0
3693phase_91 x m s
3694end
3695if eq get s 1990 0
3696phase_92 x m s
3697end
3698if eq get s 1990 0
3699phase_93 x m s
3700end
3701if eq get s 1990 0
3702phase_94 x m s
3703end
3704if eq get s 1990 0
3705phase_95 x m s
3706end
3707if eq get s 1990 0
3708phase_96 x m s
3709end
3710if eq get s 1990 0
3711phase_97 x m s
3712end
3713if eq get s 1990 0
3714phase_98 x m s
3715end
3716if eq get s 1990 0
3717phase_99 x m s
3718end
3719if eq get s 1990 0
3720phase_100 x m s
3721end
3722if eq get s 1990 0
3723phase_101 x m s
3724end
3725if eq get s 1990 0
3726phase_102 x m s
3727end
3728if eq get s 1990 0
3729phase_103 x m s
3730end
3731if eq get s 1990 0
3732phase_104 x m s
3733end
3734if eq get s 1990 0
3735phase_105 x m s
3736end
3737if eq get s 1990 0
3738phase_106 x m s
3739end
3740if eq get s 1990 0
3741phase_107 x m s
3742end
3743if eq get s 1990 0
3744phase_108 x m s
3745end
3746if eq get s 1990 0
3747phase_109 x m s
3748end
3749if eq get s 1990 0
3750phase_110 x m s
3751end
3752if eq get s 1990 0
3753phase_111 x m s
3754end
3755if eq get s 1990 0
3756phase_112 x m s
3757end
3758if eq get s 1990 0
3759phase_113 x m s
3760end
3761if eq get s 1990 0
3762phase_114 x m s
3763end
3764if eq get s 1990 0
3765phase_115 x m s
3766end
3767if eq get s 1990 0
3768phase_116 x m s
3769end
3770if eq get s 1990 0
3771phase_117 x m s
3772end
3773if eq get s 1990 0
3774phase_118 x m s
3775end
3776if eq get s 1990 0
3777phase_119 x m s
3778end
3779if eq get s 1990 0
3780phase_120 x m s
3781end
3782if eq get s 1990 0
3783phase_121 x m s
3784end
3785if eq get s 1990 0
3786phase_122 x m s
3787end
3788if eq get s 1990 0
3789phase_123 x m s
3790end
3791if eq get s 1990 0
3792phase_124 x m s
3793end
3794if eq get s 1990 0
3795phase_125 x m s
3796end
3797if eq get s 1990 0
3798phase_126 x m s
3799end
3800if eq get s 1990 0
3801phase_127 x m s
3802end
3803if eq get s 1990 0
3804phase_128 x m s
3805end
3806if eq get s 1990 0
3807phase_129 x m s
3808end
3809if eq get s 1990 0
3810phase_130 x m s
3811end
3812if eq get s 1990 0
3813phase_131 x m s
3814end
3815if eq get s 1990 0
3816phase_132 x m s
3817end
3818if eq get s 1990 0
3819phase_133 x m s
3820end
3821if eq get s 1990 0
3822phase_134 x m s
3823end
3824if eq get s 1990 0
3825phase_135 x m s
3826end
3827if eq get s 1990 0
3828phase_136 x m s
3829end
3830if eq get s 1990 0
3831phase_137 x m s
3832end
3833if eq get s 1990 0
3834phase_138 x m s
3835end
3836if eq get s 1990 0
3837phase_139 x m s
3838end
3839if eq get s 1990 0
3840phase_140 x m s
3841end
3842if eq get s 1990 0
3843phase_141 x m s
3844end
3845if eq get s 1990 0
3846phase_142 x m s
3847end
3848if eq get s 1990 0
3849phase_143 x m s
3850end
3851if eq get s 1990 0
3852phase_144 x m s
3853end
3854if eq get s 1990 0
3855phase_145 x m s
3856end
3857if eq get s 1990 0
3858phase_146 x m s
3859end
3860if eq get s 1990 0
3861phase_147 x m s
3862end
3863if eq get s 1990 0
3864phase_148 x m s
3865end
3866if eq get s 1990 0
3867phase_149 x m s
3868end
3869if eq get s 1990 0
3870phase_150 x m s
3871end
3872if eq get s 1990 0
3873phase_151 x m s
3874end
3875if eq get s 1990 0
3876phase_152 x m s
3877end
3878if eq get s 1990 0
3879phase_153 x m s
3880end
3881if eq get s 1990 0
3882phase_154 x m s
3883end
3884if eq get s 1990 0
3885phase_155 x m s
3886end
3887if eq get s 1990 0
3888phase_156 x m s
3889end
3890if eq get s 1990 0
3891phase_157 x m s
3892end
3893if eq get s 1990 0
3894phase_158 x m s
3895end
3896if eq get s 1990 0
3897phase_159 x m s
3898end
3899if eq get s 1990 0
3900phase_160 x m s
3901end
3902if eq get s 1990 0
3903phase_161 x m s
3904end
3905if eq get s 1990 0
3906phase_162 x m s
3907end
3908if eq get s 1990 0
3909phase_163 x m s
3910end
3911if eq get s 1990 0
3912phase_164 x m s
3913end
3914if eq get s 1990 0
3915phase_165 x m s
3916end
3917if eq get s 1990 0
3918phase_166 x m s
3919end
3920if eq get s 1990 0
3921phase_167 x m s
3922end
3923if eq get s 1990 0
3924phase_168 x m s
3925end
3926if eq get s 1990 0
3927phase_169 x m s
3928end
3929if eq get s 1990 0
3930phase_170 x m s
3931end
3932if eq get s 1990 0
3933phase_171 x m s
3934end
3935if eq get s 1990 0
3936phase_172 x m s
3937end
3938if eq get s 1990 0
3939phase_173 x m s
3940end
3941if eq get s 1990 0
3942phase_174 x m s
3943end
3944if eq get s 1990 0
3945phase_175 x m s
3946end
3947if eq get s 1990 0
3948phase_176 x m s
3949end
3950if eq get s 1990 0
3951phase_177 x m s
3952end
3953if eq get s 1990 0
3954phase_178 x m s
3955end
3956if eq get s 1990 0
3957phase_179 x m s
3958end
3959if eq get s 1990 0
3960phase_180 x m s
3961end
3962if eq get s 1990 0
3963phase_181 x m s
3964end
3965if eq get s 1990 0
3966phase_182 x m s
3967end
3968if eq get s 1990 0
3969phase_183 x m s
3970end
3971if eq get s 1990 0
3972phase_184 x m s
3973end
3974if eq get s 1990 0
3975phase_185 x m s
3976end
3977if eq get s 1990 0
3978phase_186 x m s
3979end
3980if eq get s 1990 0
3981phase_187 x m s
3982end
3983if eq get s 1990 0
3984phase_188 x m s
3985end
3986if eq get s 1990 0
3987phase_189 x m s
3988end
3989if eq get s 1990 0
3990phase_190 x m s
3991end
3992if eq kind 1
3993note Mutant: change the first uniform-load stall; parity must kill this for every accepted configuration.
3994put x 6 xor get x 6 shl ulong 1 41
3995end
3996if ne get m 4 0
3997ret 2
3998end
3999ret 0
4000end