Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/om/codegen/cg_attn.om # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / om / codegen / cg_attn.om` 4884 lines · 116312 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Direct phase decomposition of the C builder at `f219a04`. State slots carry virtual-register identities. 3 note State 0 count 1: spec.depth 4 note State 1 count 1: spec.mutant 5 note State 2 count 1: spec.warps 6 note State 3 count 1: spec.mode 7 note State 4 count 1: spec.mirror 8 note State 5 count 1: D 9 note State 6 count 1: MUT 10 note State 7 count 1: udesc 11 note State 8 count 1: pqkv 12 note State 9 count 1: pkc 13 note State 10 count 1: pvc 14 note State 11 count 1: prope 15 note State 12 count 1: pqn 16 note State 13 count 1: pkn 17 note State 14 count 1: pos 18 note State 15 count 1: per 19 note State 16 count 1: splits 20 note State 17 count 1: kvs 21 note State 18 count 1: eps 22 note State 19 count 1: qks 23 note State 20 count 1: tid 24 note State 21 count 1: cx 25 note State 22 count 1: cy 26 note State 23 count 1: warp 27 note State 24 count 1: lane 28 note State 25 count 1: one 29 note State 26 count 1: zero 30 note State 27 count 1: c7fff 31 note State 28 count 1: c16 32 note State 29 count 1: base 33 note State 30 count 1: bend 34 note State 31 count 1: ctx 35 note State 32 count 1: t1 36 note State 33 count 1: t2 37 note State 34 count 1: end 38 note State 35 count 1: endm1 39 note State 36 count 1: negendm1 40 note State 37 count 1: splitsm1 41 note State 38 count 1: cyk 42 note State 39 count 1: q4 43 note State 40 count 1: w4 44 note State 41 count 1: pt4 45 note State 42 count 1: cos4 46 note State 43 count 1: sin4 47 note State 44 count 1: k4 48 note State 45 count 1: v4 49 note State 46 count 1: sq 50 note State 47 count 1: ts 51 note State 48 count 1: rs 52 note State 49 count 1: a0 53 note State 50 count 1: a1 54 note State 51 count 1: a2 55 note State 52 count 1: a3 56 note State 53 count 1: ad64 57 note State 54 count 1: rope64 58 note State 55 count 1: sgn 59 note State 56 count 1: pl 60 note State 57 count 1: i 61 note State 58 count 1: i 62 note State 59 count 1: o 63 note State 60 count 1: r 64 note State 61 count 1: i 65 note State 62 count 1: i 66 note State 63 count 1: i 67 note State 64 count 1: i 68 note State 65 count 1: o 69 note State 66 count 1: r 70 note State 67 count 1: i 71 note State 68 count 1: i 72 note State 69 count 1: h0 73 note State 70 count 1: h1 74 note State 71 count 1: tb 75 note State 72 count 1: d 76 note State 73 count 1: x 77 note State 74 count 1: c7fff 78 note State 75 count 1: t 79 note State 76 count 1: d 80 note State 77 count 1: x 81 note State 78 count 1: c7fff 82 note State 79 count 1: t 83 note State 80 count 1: d 84 note State 81 count 1: x 85 note State 82 count 1: c7fff 86 note State 83 count 1: t 87 note State 84 count 1: d 88 note State 85 count 1: x 89 note State 86 count 1: c7fff 90 note State 87 count 1: t 91 note State 88 count 1: d 92 note State 89 count 1: x 93 note State 90 count 1: c7fff 94 note State 91 count 1: t 95 note State 92 count 1: d 96 note State 93 count 1: x 97 note State 94 count 1: c7fff 98 note State 95 count 1: t 99 note State 96 count 1: d 100 note State 97 count 1: x 101 note State 98 count 1: c7fff 102 note State 99 count 1: t 103 note State 100 count 1: d 104 note State 101 count 1: x 105 note State 102 count 1: c7fff 106 note State 103 count 1: t 107 note State 104 count 1: ka 108 note State 105 count 1: kb 109 note State 106 count 1: key 110 note State 107 count 1: b1 111 note State 108 count 1: b2 112 note State 109 count 8: acc 113 note State 117 count 8: m 114 note State 125 count 8: l 115 note State 133 count 8: sc 116 note State 141 count 8: dl 117 note State 149 count 8: wd 118 note State 157 count 1: mn 119 note State 158 count 1: h 120 note State 159 count 4: kq 121 note State 163 count 4: vq 122 note State 167 count 1: d 123 note State 168 count 1: qa4 124 note State 169 count 1: qb4 125 note State 170 count 1: cb 126 note State 171 count 1: tpos 127 note State 172 count 1: over 128 note State 173 count 1: krow 129 note State 174 count 1: kpf 130 note State 175 count 1: qoff 131 note State 176 count 1: j 132 note State 177 count 1: sa 133 note State 178 count 1: smS 134 note State 179 count 1: n 135 note State 180 count 1: vrow 136 note State 181 count 1: vpf 137 note State 182 count 1: pa 138 note State 183 count 1: i 139 note State 184 count 1: dsum 140 note State 185 count 1: lane8 141 note State 186 count 1: negwarp 142 note State 187 count 1: ccnt 143 note State 188 count 1: h 144 note State 189 count 1: q 145 note State 190 count 1: L_chunk 146 note State 191 count 1: bra_done 147 note State 192 count 1: h 148 note State 193 count 1: d 149 note State 194 count 1: L_q 150 note State 195 count 1: bra_qend 151 note State 196 count 1: w 152 note State 197 count 1: h 153 note State 198 count 1: q 154 note State 199 count 1: q 155 note State 200 count 1: d 156 note State 201 count 1: w 157 note State 202 count 1: h 158 note State 203 count 1: d 159 note State 204 count 1: L_v 160 note State 205 count 1: bra_vend 161 note State 206 count 1: h 162 note State 207 count 1: h 163 note State 208 count 1: bra_nores 164 note State 209 count 1: h 165 note State 210 count 1: h 166 note State 211 count 1: q 167 note State 212 count 1: h 168 note State 213 count 1: h 169 note State 214 count 1: q 170 note State 215 count 1: d 171 note State 216 count 1: w 172 note State 217 count 8: ep 173 note State 225 count 8: ea 174 note State 233 count 8: eb 175 note State 241 count 1: h 176 note State 242 count 1: pout 177 note State 243 count 1: ppart 178 note State 244 count 1: pcnt 179 note State 245 count 1: oscale 180 note State 246 count 1: r 181 note State 247 count 1: h 182 note State 248 count 1: r 183 note State 249 count 1: w 184 note State 250 count 1: w 185 note State 251 count 1: h 186 note State 252 count 1: h 187 note State 253 count 1: q 188 note State 254 count 1: r 189 note State 255 count 1: h 190 note State 256 count 1: pp 191 note State 257 count 1: pa64 192 note State 258 count 1: pb64 193 note State 259 count 1: r 194 note State 260 count 1: w 195 note State 261 count 1: w 196 note State 262 count 1: q 197 note State 263 count 1: w 198 note State 264 count 1: rd 199 note State 265 count 1: hh 200 note State 266 count 1: q 201 note State 267 count 1: w 202 note State 268 count 1: w 203 note State 269 count 1: r 204 note State 270 count 1: bra_last 205 note State 271 count 1: ho 206 note State 272 count 1: oidx 207 note State 273 count 1: ma 208 note State 274 count 1: la 209 note State 275 count 1: aa 210 note State 276 count 1: num 211 note State 277 count 1: den 212 note State 278 count 1: mx 213 note State 279 count 1: s_i 214 note State 280 count 1: rr 215 note State 281 count 1: L_r 216 note State 282 count 1: bra_rend 217 note State 283 count 1: L_s 218 note State 284 count 1: bra_send 219 note State 285 count 1: r 220 note State 1940..1989: expression temporaries; 1990: early return; 2000..2005: emitter arguments. 221 fn phase_1 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 222 note C phase: const uint32_t D = spec->depth 223 put s 5 get s 0 224 end 225 fn phase_2 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 226 note C phase: const int MUT = spec->mutant 227 put s 6 get s 1 228 end 229 fn phase_3 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 230 note C phase: int udesc = UV64(e) 231 put s 7 p_UV64 x m s 232 end 233 fn phase_4 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 234 note C phase: int pqkv = V64(e) 235 put s 8 p_V64 x m s 236 end 237 fn phase_5 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 238 note C phase: int pkc = V64(e) 239 put s 9 p_V64 x m s 240 end 241 fn phase_6 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 242 note C phase: int pvc = V64(e) 243 put s 10 p_V64 x m s 244 end 245 fn phase_7 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 246 note C phase: int prope = V64(e) 247 put s 11 p_V64 x m s 248 end 249 fn phase_8 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 250 note C phase: int pqn = V64(e) 251 put s 12 p_V64 x m s 252 end 253 fn phase_9 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 254 note C phase: int pkn = V64(e) 255 put s 13 p_V64 x m s 256 end 257 fn phase_10 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 258 note C phase: int pos = V(e) 259 put s 14 p_V x m s 260 end 261 fn phase_11 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 262 note C phase: int per = V(e) 263 put s 15 p_V x m s 264 end 265 fn phase_12 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 266 note C phase: int splits = V(e) 267 put s 16 p_V x m s 268 end 269 fn phase_13 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 270 note C phase: int kvs = V(e) 271 put s 17 p_V x m s 272 end 273 fn phase_14 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 274 note C phase: int eps = V(e) 275 put s 18 p_V x m s 276 end 277 fn phase_15 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 278 note C phase: int qks = V(e) 279 put s 19 p_V x m s 280 end 281 fn phase_16 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 282 note C phase: int tid = V(e) 283 put s 20 p_V x m s 284 end 285 fn phase_17 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 286 note C phase: int cx = V(e) 287 put s 21 p_V x m s 288 end 289 fn phase_18 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 290 note C phase: int cy = V(e) 291 put s 22 p_V x m s 292 end 293 fn phase_19 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 294 note C phase: int warp = V(e) 295 put s 23 p_V x m s 296 end 297 fn phase_20 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 298 note C phase: int lane = V(e) 299 put s 24 p_V x m s 300 end 301 fn phase_21 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 302 note C phase: int one = V(e) 303 put s 25 p_V x m s 304 end 305 fn phase_22 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 306 note C phase: int zero = V(e) 307 put s 26 p_V x m s 308 end 309 fn phase_23 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 310 note C phase: int c7fff = V(e) 311 put s 27 p_V x m s 312 end 313 fn phase_24 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 314 note C phase: int c16 = V(e) 315 put s 28 p_V x m s 316 end 317 fn phase_25 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 318 note C phase: ldcu64(e, udesc, 0x358) 319 put s 2000 get s 7 320 put s 2001 ulong 856 321 p_ldcu64 x m s 322 end 323 fn phase_26 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 324 note C phase: ldc64(e, pqkv, 0x380u) 325 put s 2000 get s 8 326 put s 2001 ulong 896 327 p_ldc64 x m s 328 end 329 fn phase_27 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 330 note C phase: ldc64(e, pkc, 0x388u) 331 put s 2000 get s 9 332 put s 2001 ulong 904 333 p_ldc64 x m s 334 end 335 fn phase_28 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 336 note C phase: ldc64(e, pvc, 0x390u) 337 put s 2000 get s 10 338 put s 2001 ulong 912 339 p_ldc64 x m s 340 end 341 fn phase_29 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 342 note C phase: ldc64(e, prope, 0x398u) 343 put s 2000 get s 11 344 put s 2001 ulong 920 345 p_ldc64 x m s 346 end 347 fn phase_30 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 348 note C phase: ldc64(e, pqn, 0x3a0u) 349 put s 2000 get s 12 350 put s 2001 ulong 928 351 p_ldc64 x m s 352 end 353 fn phase_31 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 354 note C phase: ldc64(e, pkn, 0x3a8u) 355 put s 2000 get s 13 356 put s 2001 ulong 936 357 p_ldc64 x m s 358 end 359 fn phase_32 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 360 note C phase: ldc32(e, pos, 0x3c8u) 361 put s 2000 get s 14 362 put s 2001 ulong 968 363 p_ldc32 x m s 364 end 365 fn phase_33 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 366 note C phase: ldc32(e, per, 0x3ccu) 367 put s 2000 get s 15 368 put s 2001 ulong 972 369 p_ldc32 x m s 370 end 371 fn phase_34 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 372 note C phase: ldc32(e, splits, 0x3d0u) 373 put s 2000 get s 16 374 put s 2001 ulong 976 375 p_ldc32 x m s 376 end 377 fn phase_35 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 378 note C phase: ldc32(e, kvs, 0x3d4u) 379 put s 2000 get s 17 380 put s 2001 ulong 980 381 p_ldc32 x m s 382 end 383 fn phase_36 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 384 note C phase: ldc32(e, eps, 0x3d8u) 385 put s 2000 get s 18 386 put s 2001 ulong 984 387 p_ldc32 x m s 388 end 389 fn phase_37 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 390 note C phase: ldc32(e, qks, 0x3e0u) 391 put s 2000 get s 19 392 put s 2001 ulong 992 393 p_ldc32 x m s 394 end 395 fn phase_38 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 396 note C phase: s2r(e, tid, BW_SR_TID_X) 397 put s 2000 get s 20 398 put s 2001 ulong 33 399 p_s2r x m s 400 end 401 fn phase_39 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 402 note C phase: s2r(e, cx, BW_SR_CTAID_X) 403 put s 2000 get s 21 404 put s 2001 ulong 37 405 p_s2r x m s 406 end 407 fn phase_40 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 408 note C phase: s2r(e, cy, BW_SR_CTAID_Y) 409 put s 2000 get s 22 410 put s 2001 ulong 38 411 p_s2r x m s 412 end 413 fn phase_41 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 414 note C phase: movi(e, one, 1) 415 put s 2000 get s 25 416 put s 2001 ulong 1 417 p_movi x m s 418 end 419 fn phase_42 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 420 note C phase: movrz(e, R(zero)) 421 put s 2000 get s 26 422 p_movrz x m s 423 end 424 fn phase_43 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 425 note C phase: movi(e, c7fff, 0x7fffu) 426 put s 2000 get s 27 427 put s 2001 ulong 32767 428 p_movi x m s 429 end 430 fn phase_44 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 431 note C phase: movi(e, c16, 16) 432 put s 2000 get s 28 433 put s 2001 ulong 16 434 p_movi x m s 435 end 436 fn phase_45 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 437 note C phase: shr(e, warp, tid, 5) 438 put s 2000 get s 23 439 put s 2001 get s 20 440 put s 2002 ulong 5 441 p_shr x m s 442 end 443 fn phase_46 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 444 note C phase: andi(e, R(lane), R(tid), 31u) 445 put s 2000 get s 24 446 put s 2001 get s 20 447 put s 2002 ulong 31 448 p_andi x m s 449 end 450 fn phase_47 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 451 note C phase: int base = V(e) 452 put s 29 p_V x m s 453 end 454 fn phase_48 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 455 note C phase: int bend = V(e) 456 put s 30 p_V x m s 457 end 458 fn phase_49 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 459 note C phase: int ctx = V(e) 460 put s 31 p_V x m s 461 end 462 fn phase_50 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 463 note C phase: int t1 = V(e) 464 put s 32 p_V x m s 465 end 466 fn phase_51 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 467 note C phase: int t2 = V(e) 468 put s 33 p_V x m s 469 end 470 fn phase_52 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 471 note C phase: int end = V(e) 472 put s 34 p_V x m s 473 end 474 fn phase_53 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 475 note C phase: int endm1 = V(e) 476 put s 35 p_V x m s 477 end 478 fn phase_54 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 479 note C phase: int negendm1 = V(e) 480 put s 36 p_V x m s 481 end 482 fn phase_55 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 483 note C phase: int splitsm1 = V(e) 484 put s 37 p_V x m s 485 end 486 fn phase_56 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 487 note C phase: int cyk = V(e) 488 put s 38 p_V x m s 489 end 490 fn phase_57 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 491 note C phase: imadr(e, base, cx, per, -1) 492 put s 2000 get s 29 493 put s 2001 get s 21 494 put s 2002 get s 15 495 put s 2003 neg ulong 1 496 p_imadr x m s 497 end 498 fn phase_58 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 499 note C phase: imadi(e, R(bend), R(base), 1u, per) 500 put s 2000 get s 30 501 put s 2001 get s 29 502 put s 2002 ulong 1 503 put s 2003 get s 15 504 p_imadi x m s 505 end 506 fn phase_59 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 507 note C phase: imadi(e, R(ctx), R(pos), 1u, one) 508 put s 2000 get s 31 509 put s 2001 get s 14 510 put s 2002 ulong 1 511 put s 2003 get s 25 512 p_imadi x m s 513 end 514 fn phase_60 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 515 note C phase: imadi(e, R(t1), R(ctx), 0xffffffffu, bend) 516 put s 2000 get s 32 517 put s 2001 get s 31 518 put s 2002 ulong `4294967295` 519 put s 2003 get s 30 520 p_imadi x m s 521 end 522 fn phase_61 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 523 note C phase: imadi(e, R(t2), R(t1), 0xffffffffu, -1) 524 put s 2000 get s 33 525 put s 2001 get s 32 526 put s 2002 ulong `4294967295` 527 put s 2003 neg ulong 1 528 p_imadi x m s 529 end 530 fn phase_62 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 531 note C phase: shr(e, t2, t2, 31) 532 put s 2000 get s 33 533 put s 2001 get s 33 534 put s 2002 ulong 31 535 p_shr x m s 536 end 537 fn phase_63 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 538 note C phase: imadr(e, t2, t2, t1, -1) 539 put s 2000 get s 33 540 put s 2001 get s 33 541 put s 2002 get s 32 542 put s 2003 neg ulong 1 543 p_imadr x m s 544 end 545 fn phase_64 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 546 note C phase: imadi(e, R(end), R(t2), 0xffffffffu, bend) 547 put s 2000 get s 34 548 put s 2001 get s 33 549 put s 2002 ulong `4294967295` 550 put s 2003 get s 30 551 p_imadi x m s 552 end 553 fn phase_65 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 554 note C phase: imadi(e, R(endm1), R(one), 0xffffffffu, end) 555 put s 2000 get s 35 556 put s 2001 get s 25 557 put s 2002 ulong `4294967295` 558 put s 2003 get s 34 559 p_imadi x m s 560 end 561 fn phase_66 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 562 note C phase: imadi(e, R(negendm1), R(endm1), 0xffffffffu, -1) 563 put s 2000 get s 36 564 put s 2001 get s 35 565 put s 2002 ulong `4294967295` 566 put s 2003 neg ulong 1 567 p_imadi x m s 568 end 569 fn phase_67 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 570 note C phase: imadi(e, R(splitsm1), R(one), 0xffffffffu, splits) 571 put s 2000 get s 37 572 put s 2001 get s 25 573 put s 2002 ulong `4294967295` 574 put s 2003 get s 16 575 p_imadi x m s 576 end 577 fn phase_68 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 578 note C phase: imadr(e, cyk, cy, kvs, -1) 579 put s 2000 get s 38 580 put s 2001 get s 22 581 put s 2002 get s 17 582 put s 2003 neg ulong 1 583 p_imadr x m s 584 end 585 fn phase_69 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 586 note C phase: int q4 = V128(e) 587 put s 39 p_V128 x m s 588 end 589 fn phase_70 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 590 note C phase: int w4 = V128(e) 591 put s 40 p_V128 x m s 592 end 593 fn phase_71 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 594 note C phase: int pt4 = V128(e) 595 put s 41 p_V128 x m s 596 end 597 fn phase_72 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 598 note C phase: int cos4 = V128(e) 599 put s 42 p_V128 x m s 600 end 601 fn phase_73 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 602 note C phase: int sin4 = V128(e) 603 put s 43 p_V128 x m s 604 end 605 fn phase_74 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 606 note C phase: int k4 = V128(e) 607 put s 44 p_V128 x m s 608 end 609 fn phase_75 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 610 note C phase: int v4 = V128(e) 611 put s 45 p_V128 x m s 612 end 613 fn phase_76 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 614 note C phase: int sq = V(e) 615 put s 46 p_V x m s 616 end 617 fn phase_77 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 618 note C phase: int ts = V(e) 619 put s 47 p_V x m s 620 end 621 fn phase_78 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 622 note C phase: int rs = V(e) 623 put s 48 p_V x m s 624 end 625 fn phase_79 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 626 note C phase: int a0 = V(e) 627 put s 49 p_V x m s 628 end 629 fn phase_80 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 630 note C phase: int a1 = V(e) 631 put s 50 p_V x m s 632 end 633 fn phase_81 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 634 note C phase: int a2 = V(e) 635 put s 51 p_V x m s 636 end 637 fn phase_82 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 638 note C phase: int a3 = V(e) 639 put s 52 p_V x m s 640 end 641 fn phase_83 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 642 note C phase: int ad64 = V64(e) 643 put s 53 p_V64 x m s 644 end 645 fn phase_84 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 646 note C phase: int rope64 = V64(e) 647 put s 54 p_V64 x m s 648 end 649 fn phase_85 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 650 note C phase: int sgn = V(e) 651 put s 55 p_V x m s 652 end 653 fn phase_86 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 654 note C phase: int pl = V(e) 655 put s 56 p_V x m s 656 end 657 fn phase_87 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 658 note C phase: imadi(e, R(t1), R(cy), 8u, warp) 659 put s 2000 get s 32 660 put s 2001 get s 22 661 put s 2002 ulong 8 662 put s 2003 get s 23 663 p_imadi x m s 664 end 665 fn phase_88 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 666 note C phase: imadi(e, R(t1), R(t1), 512u, -1) 667 put s 2000 get s 32 668 put s 2001 get s 32 669 put s 2002 ulong 512 670 put s 2003 neg ulong 1 671 p_imadi x m s 672 end 673 fn phase_89 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 674 note C phase: imadi(e, R(t1), R(lane), 16u, t1) 675 put s 2000 get s 32 676 put s 2001 get s 24 677 put s 2002 ulong 16 678 put s 2003 get s 32 679 p_imadi x m s 680 end 681 fn phase_90 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 682 note C phase: imadw(e, ad64, t1, 1u, pqkv) 683 put s 2000 get s 53 684 put s 2001 get s 32 685 put s 2002 ulong 1 686 put s 2003 get s 8 687 p_imadw x m s 688 end 689 fn phase_91 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 690 note C phase: ldg_wide(e, BW_IR_LDG_E_128, q4, ad64, 0, udesc, 1) 691 put s 2000 ulong 57 692 put s 2001 get s 39 693 put s 2002 get s 53 694 put s 2003 ulong 0 695 put s 2004 get s 7 696 put s 2005 ulong 1 697 p_ldg_wide x m s 698 end 699 fn phase_92 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 700 note C phase: imadw(e, ad64, lane, 16u, pqn) 701 put s 2000 get s 53 702 put s 2001 get s 24 703 put s 2002 ulong 16 704 put s 2003 get s 12 705 p_imadw x m s 706 end 707 fn phase_93 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 708 note C phase: ldg_wide(e, BW_IR_LDG_E_128, w4, ad64, 0, udesc, 0) 709 put s 2000 ulong 57 710 put s 2001 get s 40 711 put s 2002 get s 53 712 put s 2003 ulong 0 713 put s 2004 get s 7 714 put s 2005 ulong 0 715 p_ldg_wide x m s 716 end 717 fn phase_94 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 718 note C phase: andi(e, R(t2), R(lane), 15u) 719 put s 2000 get s 33 720 put s 2001 get s 24 721 put s 2002 ulong 15 722 p_andi x m s 723 end 724 fn phase_95 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 725 note C phase: imadi(e, R(t2), R(t2), 16u, -1) 726 put s 2000 get s 33 727 put s 2001 get s 33 728 put s 2002 ulong 16 729 put s 2003 neg ulong 1 730 p_imadi x m s 731 end 732 fn phase_96 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 733 note C phase: imadi(e, R(t2), R(pos), 512u, t2) 734 put s 2000 get s 33 735 put s 2001 get s 14 736 put s 2002 ulong 512 737 put s 2003 get s 33 738 p_imadi x m s 739 end 740 fn phase_97 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 741 note C phase: imadw(e, rope64, t2, 1u, prope) 742 put s 2000 get s 54 743 put s 2001 get s 33 744 put s 2002 ulong 1 745 put s 2003 get s 11 746 p_imadw x m s 747 end 748 fn phase_98 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 749 note C phase: ldg_wide(e, BW_IR_LDG_E_128, cos4, rope64, 0, udesc, 0) 750 put s 2000 ulong 57 751 put s 2001 get s 42 752 put s 2002 get s 54 753 put s 2003 ulong 0 754 put s 2004 get s 7 755 put s 2005 ulong 0 756 p_ldg_wide x m s 757 end 758 fn phase_99 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 759 note C phase: ldg_wide(e, BW_IR_LDG_E_128, sin4, rope64, 256, udesc, 0) 760 put s 2000 ulong 57 761 put s 2001 get s 43 762 put s 2002 get s 54 763 put s 2003 ulong 256 764 put s 2004 get s 7 765 put s 2005 ulong 0 766 p_ldg_wide x m s 767 end 768 fn phase_100 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 769 note C phase: imadi(e, R(sgn), R(one), 0xfffffff0u, lane) 770 put s 2000 get s 55 771 put s 2001 get s 25 772 put s 2002 ulong `4294967280` 773 put s 2003 get s 24 774 p_imadi x m s 775 end 776 fn phase_101 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 777 note C phase: shr(e, sgn, sgn, 31) 778 put s 2000 get s 55 779 put s 2001 get s 55 780 put s 2002 ulong 31 781 p_shr x m s 782 end 783 fn phase_102 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 784 note C phase: imadi(e, R(sgn), R(sgn), 0x80000000u, -1) 785 put s 2000 get s 55 786 put s 2001 get s 55 787 put s 2002 ulong `2147483648` 788 put s 2003 neg ulong 1 789 p_imadi x m s 790 end 791 fn phase_103 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 792 note C phase: for (unsigned i = 0; i < 4; i++) 793 put s 57 ulong 0 794 while lt get s 57 ulong 4 795 put s 2000 pack get s 43 get s 57 796 put s 2001 pack get s 43 get s 57 797 put s 2002 get s 55 798 p_xorr x m s 799 put s 57 add get s 57 1 800 end 801 end 802 fn phase_104 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 803 note C phase: xorr(e, R(pl), R(lane), R(c16)) 804 put s 2000 get s 56 805 put s 2001 get s 24 806 put s 2002 get s 28 807 p_xorr x m s 808 end 809 fn phase_105 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 810 note C phase: fmul(e, R(sq), S(q4, 0), S(q4, 0)) 811 put s 2000 get s 46 812 put s 2001 pack get s 39 ulong 0 813 put s 2002 pack get s 39 ulong 0 814 p_fmul x m s 815 end 816 fn phase_106 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 817 note C phase: for (unsigned i = 1; i < 4; i++) 818 put s 58 ulong 1 819 while lt get s 58 ulong 4 820 put s 2000 get s 46 821 put s 2001 pack get s 39 get s 58 822 put s 2002 pack get s 39 get s 58 823 put s 2003 get s 46 824 p_ffma x m s 825 put s 58 add get s 58 1 826 end 827 end 828 fn phase_107 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 829 note C phase: for (uint32_t o = 16; o >= 1; o /= 2) 830 put s 59 ulong 16 831 while ge get s 59 ulong 1 832 put s 2000 get s 47 833 put s 2001 get s 46 834 put s 2002 get s 59 835 p_shfl_down x m s 836 put s 2000 get s 46 837 put s 2001 get s 46 838 put s 2002 get s 47 839 p_fadd x m s 840 put s 59 div get s 59 ulong 2 841 end 842 end 843 fn phase_108 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 844 note C phase: imadi(e, R(a0), R(warp), 4u, -1) 845 put s 2000 get s 49 846 put s 2001 get s 23 847 put s 2002 ulong 4 848 put s 2003 neg ulong 1 849 p_imadi x m s 850 end 851 fn phase_109 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 852 note C phase: imadi(e, R(a0), R(one), 12576u, a0) 853 put s 2000 get s 49 854 put s 2001 get s 25 855 put s 2002 ulong 12576 856 put s 2003 get s 49 857 p_imadi x m s 858 end 859 fn phase_110 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 860 note C phase: isetp_ge_u32(e, lane, one) 861 put s 2000 get s 24 862 put s 2001 get s 25 863 p_isetp_ge_u32 x m s 864 end 865 fn phase_111 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 866 note C phase: { 867 put s 60 p_region_skip_if_p0 x m s 868 put s 2000 get s 49 869 put s 2001 get s 46 870 p_sts32 x m s 871 put s 2000 get s 60 872 p_region_end x m s 873 end 874 fn phase_112 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 875 note C phase: bar_sync(e) 876 p_bar_sync x m s 877 end 878 fn phase_113 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 879 note C phase: lds32(e, R(sq), a0, 1) 880 put s 2000 get s 46 881 put s 2001 get s 49 882 put s 2002 ulong 1 883 p_lds32 x m s 884 end 885 fn phase_114 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 886 note C phase: movi(e, ts, 0x3c000000u) 887 put s 2000 get s 47 888 put s 2001 ulong `1006632960` 889 p_movi x m s 890 end 891 fn phase_115 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 892 note C phase: ffma(e, R(rs), R(sq), R(ts), R(eps)) 893 put s 2000 get s 48 894 put s 2001 get s 46 895 put s 2002 get s 47 896 put s 2003 get s 18 897 p_ffma x m s 898 end 899 fn phase_116 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 900 note C phase: mufu(e, BW_IR_MUFU_RSQ, R(rs), R(rs)) 901 put s 2000 ulong 41 902 put s 2001 get s 48 903 put s 2002 get s 48 904 p_mufu x m s 905 end 906 fn phase_117 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 907 note C phase: for (unsigned i = 0; i < 4; i++) 908 put s 61 ulong 0 909 while lt get s 61 ulong 4 910 put s 2000 pack get s 39 get s 61 911 put s 2001 pack get s 39 get s 61 912 put s 2002 get s 48 913 p_fmul x m s 914 put s 2000 pack get s 39 get s 61 915 put s 2001 pack get s 39 get s 61 916 put s 2002 pack get s 40 get s 61 917 p_fmul x m s 918 put s 61 add get s 61 1 919 end 920 end 921 fn phase_118 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 922 note C phase: imadi(e, R(a0), R(warp), 512u, -1) 923 put s 2000 get s 49 924 put s 2001 get s 23 925 put s 2002 ulong 512 926 put s 2003 neg ulong 1 927 p_imadi x m s 928 end 929 fn phase_119 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 930 note C phase: imadi(e, R(a0), R(lane), 16u, a0) 931 put s 2000 get s 49 932 put s 2001 get s 24 933 put s 2002 ulong 16 934 put s 2003 get s 49 935 p_imadi x m s 936 end 937 fn phase_120 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 938 note C phase: imadi(e, R(a1), R(one), 4u, a0) 939 put s 2000 get s 50 940 put s 2001 get s 25 941 put s 2002 ulong 4 942 put s 2003 get s 49 943 p_imadi x m s 944 end 945 fn phase_121 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 946 note C phase: imadi(e, R(a2), R(one), 8u, a0) 947 put s 2000 get s 51 948 put s 2001 get s 25 949 put s 2002 ulong 8 950 put s 2003 get s 49 951 p_imadi x m s 952 end 953 fn phase_122 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 954 note C phase: imadi(e, R(a3), R(one), 12u, a0) 955 put s 2000 get s 52 956 put s 2001 get s 25 957 put s 2002 ulong 12 958 put s 2003 get s 49 959 p_imadi x m s 960 end 961 fn phase_123 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 962 note C phase: sts32(e, a0, S(q4, 0)) 963 put s 2000 get s 49 964 put s 2001 pack get s 39 ulong 0 965 p_sts32 x m s 966 end 967 fn phase_124 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 968 note C phase: sts32(e, a1, S(q4, 1)) 969 put s 2000 get s 50 970 put s 2001 pack get s 39 ulong 1 971 p_sts32 x m s 972 end 973 fn phase_125 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 974 note C phase: sts32(e, a2, S(q4, 2)) 975 put s 2000 get s 51 976 put s 2001 pack get s 39 ulong 2 977 p_sts32 x m s 978 end 979 fn phase_126 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 980 note C phase: sts32(e, a3, S(q4, 3)) 981 put s 2000 get s 52 982 put s 2001 pack get s 39 ulong 3 983 p_sts32 x m s 984 end 985 fn phase_127 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 986 note C phase: bar_sync(e) 987 p_bar_sync x m s 988 end 989 fn phase_128 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 990 note C phase: imadi(e, R(t2), R(warp), 512u, -1) 991 put s 2000 get s 33 992 put s 2001 get s 23 993 put s 2002 ulong 512 994 put s 2003 neg ulong 1 995 p_imadi x m s 996 end 997 fn phase_129 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 998 note C phase: imadi(e, R(t2), R(pl), 16u, t2) 999 put s 2000 get s 33 1000 put s 2001 get s 56 1001 put s 2002 ulong 16 1002 put s 2003 get s 33 1003 p_imadi x m s 1004 end 1005 fn phase_130 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1006 note C phase: lds128(e, pt4, t2, 0, 1) 1007 put s 2000 get s 41 1008 put s 2001 get s 33 1009 put s 2002 ulong 0 1010 put s 2003 ulong 1 1011 p_lds128 x m s 1012 end 1013 fn phase_131 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1014 note C phase: if (MUT != 1) 1015 if ne get s 6 ulong 1 1016 put s 62 ulong 0 1017 while lt get s 62 ulong 4 1018 put s 2000 get s 47 1019 put s 2001 pack get s 39 get s 62 1020 put s 2002 pack get s 42 get s 62 1021 p_fmul x m s 1022 put s 2000 pack get s 39 get s 62 1023 put s 2001 pack get s 41 get s 62 1024 put s 2002 pack get s 43 get s 62 1025 put s 2003 get s 47 1026 p_ffma x m s 1027 put s 62 add get s 62 1 1028 end 1029 end 1030 end 1031 fn phase_132 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1032 note C phase: for (unsigned i = 0; i < 4; i++) 1033 put s 63 ulong 0 1034 while lt get s 63 ulong 4 1035 put s 2000 pack get s 39 get s 63 1036 put s 2001 pack get s 39 get s 63 1037 put s 2002 get s 19 1038 p_fmul x m s 1039 put s 63 add get s 63 1 1040 end 1041 end 1042 fn phase_133 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1043 note C phase: bar_sync(e) 1044 p_bar_sync x m s 1045 end 1046 fn phase_134 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1047 note C phase: sts32(e, a0, S(q4, 0)) 1048 put s 2000 get s 49 1049 put s 2001 pack get s 39 ulong 0 1050 p_sts32 x m s 1051 end 1052 fn phase_135 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1053 note C phase: sts32(e, a1, S(q4, 1)) 1054 put s 2000 get s 50 1055 put s 2001 pack get s 39 ulong 1 1056 p_sts32 x m s 1057 end 1058 fn phase_136 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1059 note C phase: sts32(e, a2, S(q4, 2)) 1060 put s 2000 get s 51 1061 put s 2001 pack get s 39 ulong 2 1062 p_sts32 x m s 1063 end 1064 fn phase_137 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1065 note C phase: sts32(e, a3, S(q4, 3)) 1066 put s 2000 get s 52 1067 put s 2001 pack get s 39 ulong 3 1068 p_sts32 x m s 1069 end 1070 fn phase_138 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1071 note C phase: imadi(e, R(t1), R(cy), 512u, -1) 1072 put s 2000 get s 32 1073 put s 2001 get s 22 1074 put s 2002 ulong 512 1075 put s 2003 neg ulong 1 1076 p_imadi x m s 1077 end 1078 fn phase_139 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1079 note C phase: imadi(e, R(t1), R(lane), 16u, t1) 1080 put s 2000 get s 32 1081 put s 2001 get s 24 1082 put s 2002 ulong 16 1083 put s 2003 get s 32 1084 p_imadi x m s 1085 end 1086 fn phase_140 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1087 note C phase: imadi(e, R(t1), R(one), (32u * 128u) * 4u, t1) 1088 put s 2000 get s 32 1089 put s 2001 get s 25 1090 put s 2002 mul mul ulong 32 ulong 128 ulong 4 1091 put s 2003 get s 32 1092 p_imadi x m s 1093 end 1094 fn phase_141 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1095 note C phase: imadw(e, ad64, t1, 1u, pqkv) 1096 put s 2000 get s 53 1097 put s 2001 get s 32 1098 put s 2002 ulong 1 1099 put s 2003 get s 8 1100 p_imadw x m s 1101 end 1102 fn phase_142 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1103 note C phase: ldg_wide(e, BW_IR_LDG_E_128, k4, ad64, 0, udesc, 1) 1104 put s 2000 ulong 57 1105 put s 2001 get s 44 1106 put s 2002 get s 53 1107 put s 2003 ulong 0 1108 put s 2004 get s 7 1109 put s 2005 ulong 1 1110 p_ldg_wide x m s 1111 end 1112 fn phase_143 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1113 note C phase: ldg_wide(e, BW_IR_LDG_E_128, v4, ad64, (4u * 128u) * 4u, udesc, 0) 1114 put s 2000 ulong 57 1115 put s 2001 get s 45 1116 put s 2002 get s 53 1117 put s 2003 mul mul ulong 4 ulong 128 ulong 4 1118 put s 2004 get s 7 1119 put s 2005 ulong 0 1120 p_ldg_wide x m s 1121 end 1122 fn phase_144 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1123 note C phase: imadw(e, ad64, lane, 16u, pkn) 1124 put s 2000 get s 53 1125 put s 2001 get s 24 1126 put s 2002 ulong 16 1127 put s 2003 get s 13 1128 p_imadw x m s 1129 end 1130 fn phase_145 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1131 note C phase: ldg_wide(e, BW_IR_LDG_E_128, w4, ad64, 0, udesc, 0) 1132 put s 2000 ulong 57 1133 put s 2001 get s 40 1134 put s 2002 get s 53 1135 put s 2003 ulong 0 1136 put s 2004 get s 7 1137 put s 2005 ulong 0 1138 p_ldg_wide x m s 1139 end 1140 fn phase_146 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1141 note C phase: fmul(e, R(sq), S(k4, 0), S(k4, 0)) 1142 put s 2000 get s 46 1143 put s 2001 pack get s 44 ulong 0 1144 put s 2002 pack get s 44 ulong 0 1145 p_fmul x m s 1146 end 1147 fn phase_147 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1148 note C phase: for (unsigned i = 1; i < 4; i++) 1149 put s 64 ulong 1 1150 while lt get s 64 ulong 4 1151 put s 2000 get s 46 1152 put s 2001 pack get s 44 get s 64 1153 put s 2002 pack get s 44 get s 64 1154 put s 2003 get s 46 1155 p_ffma x m s 1156 put s 64 add get s 64 1 1157 end 1158 end 1159 fn phase_148 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1160 note C phase: for (uint32_t o = 16; o >= 1; o /= 2) 1161 put s 65 ulong 16 1162 while ge get s 65 ulong 1 1163 put s 2000 get s 47 1164 put s 2001 get s 46 1165 put s 2002 get s 65 1166 p_shfl_down x m s 1167 put s 2000 get s 46 1168 put s 2001 get s 46 1169 put s 2002 get s 47 1170 p_fadd x m s 1171 put s 65 div get s 65 ulong 2 1172 end 1173 end 1174 fn phase_149 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1175 note C phase: imadi(e, R(a1), R(warp), 4u, -1) 1176 put s 2000 get s 50 1177 put s 2001 get s 23 1178 put s 2002 ulong 4 1179 put s 2003 neg ulong 1 1180 p_imadi x m s 1181 end 1182 fn phase_150 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1183 note C phase: imadi(e, R(a1), R(one), 12576u, a1) 1184 put s 2000 get s 50 1185 put s 2001 get s 25 1186 put s 2002 ulong 12576 1187 put s 2003 get s 50 1188 p_imadi x m s 1189 end 1190 fn phase_151 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1191 note C phase: isetp_ge_u32(e, lane, one) 1192 put s 2000 get s 24 1193 put s 2001 get s 25 1194 p_isetp_ge_u32 x m s 1195 end 1196 fn phase_152 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1197 note C phase: { 1198 put s 66 p_region_skip_if_p0 x m s 1199 put s 2000 get s 50 1200 put s 2001 get s 46 1201 p_sts32 x m s 1202 put s 2000 get s 66 1203 p_region_end x m s 1204 end 1205 fn phase_153 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1206 note C phase: bar_sync(e) 1207 p_bar_sync x m s 1208 end 1209 fn phase_154 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1210 note C phase: lds32(e, R(sq), a1, 1) 1211 put s 2000 get s 46 1212 put s 2001 get s 50 1213 put s 2002 ulong 1 1214 p_lds32 x m s 1215 end 1216 fn phase_155 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1217 note C phase: movi(e, ts, 0x3c000000u) 1218 put s 2000 get s 47 1219 put s 2001 ulong `1006632960` 1220 p_movi x m s 1221 end 1222 fn phase_156 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1223 note C phase: ffma(e, R(rs), R(sq), R(ts), R(eps)) 1224 put s 2000 get s 48 1225 put s 2001 get s 46 1226 put s 2002 get s 47 1227 put s 2003 get s 18 1228 p_ffma x m s 1229 end 1230 fn phase_157 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1231 note C phase: mufu(e, BW_IR_MUFU_RSQ, R(rs), R(rs)) 1232 put s 2000 ulong 41 1233 put s 2001 get s 48 1234 put s 2002 get s 48 1235 p_mufu x m s 1236 end 1237 fn phase_158 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1238 note C phase: for (unsigned i = 0; i < 4; i++) 1239 put s 67 ulong 0 1240 while lt get s 67 ulong 4 1241 put s 2000 pack get s 44 get s 67 1242 put s 2001 pack get s 44 get s 67 1243 put s 2002 get s 48 1244 p_fmul x m s 1245 put s 2000 pack get s 44 get s 67 1246 put s 2001 pack get s 44 get s 67 1247 put s 2002 pack get s 40 get s 67 1248 p_fmul x m s 1249 put s 67 add get s 67 1 1250 end 1251 end 1252 fn phase_159 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1253 note C phase: imadi(e, R(a1), R(lane), 16u, -1) 1254 put s 2000 get s 50 1255 put s 2001 get s 24 1256 put s 2002 ulong 16 1257 put s 2003 neg ulong 1 1258 p_imadi x m s 1259 end 1260 fn phase_160 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1261 note C phase: imadi(e, R(a1), R(one), 12864u, a1) 1262 put s 2000 get s 50 1263 put s 2001 get s 25 1264 put s 2002 ulong 12864 1265 put s 2003 get s 50 1266 p_imadi x m s 1267 end 1268 fn phase_161 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1269 note C phase: imadi(e, R(a2), R(one), 4u, a1) 1270 put s 2000 get s 51 1271 put s 2001 get s 25 1272 put s 2002 ulong 4 1273 put s 2003 get s 50 1274 p_imadi x m s 1275 end 1276 fn phase_162 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1277 note C phase: imadi(e, R(a3), R(one), 8u, a1) 1278 put s 2000 get s 52 1279 put s 2001 get s 25 1280 put s 2002 ulong 8 1281 put s 2003 get s 50 1282 p_imadi x m s 1283 end 1284 fn phase_163 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1285 note C phase: imadi(e, R(t2), R(one), 12u, a1) 1286 put s 2000 get s 33 1287 put s 2001 get s 25 1288 put s 2002 ulong 12 1289 put s 2003 get s 50 1290 p_imadi x m s 1291 end 1292 fn phase_164 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1293 note C phase: sts32(e, a1, S(k4, 0)) 1294 put s 2000 get s 50 1295 put s 2001 pack get s 44 ulong 0 1296 p_sts32 x m s 1297 end 1298 fn phase_165 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1299 note C phase: sts32(e, a2, S(k4, 1)) 1300 put s 2000 get s 51 1301 put s 2001 pack get s 44 ulong 1 1302 p_sts32 x m s 1303 end 1304 fn phase_166 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1305 note C phase: sts32(e, a3, S(k4, 2)) 1306 put s 2000 get s 52 1307 put s 2001 pack get s 44 ulong 2 1308 p_sts32 x m s 1309 end 1310 fn phase_167 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1311 note C phase: sts32(e, t2, S(k4, 3)) 1312 put s 2000 get s 33 1313 put s 2001 pack get s 44 ulong 3 1314 p_sts32 x m s 1315 end 1316 fn phase_168 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1317 note C phase: bar_sync(e) 1318 p_bar_sync x m s 1319 end 1320 fn phase_169 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1321 note C phase: imadi(e, R(t2), R(pl), 16u, -1) 1322 put s 2000 get s 33 1323 put s 2001 get s 56 1324 put s 2002 ulong 16 1325 put s 2003 neg ulong 1 1326 p_imadi x m s 1327 end 1328 fn phase_170 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1329 note C phase: imadi(e, R(t2), R(one), 12864u, t2) 1330 put s 2000 get s 33 1331 put s 2001 get s 25 1332 put s 2002 ulong 12864 1333 put s 2003 get s 33 1334 p_imadi x m s 1335 end 1336 fn phase_171 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1337 note C phase: lds128(e, pt4, t2, 0, 1) 1338 put s 2000 get s 41 1339 put s 2001 get s 33 1340 put s 2002 ulong 0 1341 put s 2003 ulong 1 1342 p_lds128 x m s 1343 end 1344 fn phase_172 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1345 note C phase: if (MUT != 1) 1346 if ne get s 6 ulong 1 1347 put s 68 ulong 0 1348 while lt get s 68 ulong 4 1349 put s 2000 get s 47 1350 put s 2001 pack get s 44 get s 68 1351 put s 2002 pack get s 42 get s 68 1352 p_fmul x m s 1353 put s 2000 pack get s 44 get s 68 1354 put s 2001 pack get s 41 get s 68 1355 put s 2002 pack get s 43 get s 68 1356 put s 2003 get s 47 1357 p_ffma x m s 1358 put s 68 add get s 68 1 1359 end 1360 end 1361 end 1362 fn phase_173 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1363 note C phase: { 1364 put s 69 p_V x m s 1365 put s 70 p_V x m s 1366 put s 71 p_V x m s 1367 put s 72 get s 69 1368 put s 73 pack get s 44 ulong 0 1369 put s 74 get s 27 1370 put s 75 get s 71 1371 put s 2000 get s 75 1372 put s 2001 get s 73 1373 put s 2002 ulong 16 1374 p_shrs x m s 1375 put s 2000 get s 75 1376 put s 2001 get s 75 1377 put s 2002 ulong 1 1378 p_andi x m s 1379 put s 2000 get s 75 1380 put s 2001 get s 75 1381 put s 2002 get s 74 1382 p_iadd x m s 1383 put s 2000 ulong 14 1384 put s 2001 get s 72 1385 put s 2002 get s 73 1386 put s 2003 get s 75 1387 put s 2004 neg ulong 1 1388 p_fop x m s 1389 put s 2000 get s 72 1390 put s 2001 get s 72 1391 put s 2002 ulong 16 1392 p_shr x m s 1393 put s 76 get s 70 1394 put s 77 pack get s 44 ulong 1 1395 put s 78 get s 27 1396 put s 79 get s 71 1397 put s 2000 get s 79 1398 put s 2001 get s 77 1399 put s 2002 ulong 16 1400 p_shrs x m s 1401 put s 2000 get s 79 1402 put s 2001 get s 79 1403 put s 2002 ulong 1 1404 p_andi x m s 1405 put s 2000 get s 79 1406 put s 2001 get s 79 1407 put s 2002 get s 78 1408 p_iadd x m s 1409 put s 2000 ulong 14 1410 put s 2001 get s 76 1411 put s 2002 get s 77 1412 put s 2003 get s 79 1413 put s 2004 neg ulong 1 1414 p_fop x m s 1415 put s 2000 get s 76 1416 put s 2001 get s 76 1417 put s 2002 ulong 16 1418 p_shr x m s 1419 put s 2000 get s 51 1420 put s 2001 get s 70 1421 put s 2002 ulong 65536 1422 put s 2003 get s 69 1423 p_imadi x m s 1424 put s 80 get s 69 1425 put s 81 pack get s 44 ulong 2 1426 put s 82 get s 27 1427 put s 83 get s 71 1428 put s 2000 get s 83 1429 put s 2001 get s 81 1430 put s 2002 ulong 16 1431 p_shrs x m s 1432 put s 2000 get s 83 1433 put s 2001 get s 83 1434 put s 2002 ulong 1 1435 p_andi x m s 1436 put s 2000 get s 83 1437 put s 2001 get s 83 1438 put s 2002 get s 82 1439 p_iadd x m s 1440 put s 2000 ulong 14 1441 put s 2001 get s 80 1442 put s 2002 get s 81 1443 put s 2003 get s 83 1444 put s 2004 neg ulong 1 1445 p_fop x m s 1446 put s 2000 get s 80 1447 put s 2001 get s 80 1448 put s 2002 ulong 16 1449 p_shr x m s 1450 put s 84 get s 70 1451 put s 85 pack get s 44 ulong 3 1452 put s 86 get s 27 1453 put s 87 get s 71 1454 put s 2000 get s 87 1455 put s 2001 get s 85 1456 put s 2002 ulong 16 1457 p_shrs x m s 1458 put s 2000 get s 87 1459 put s 2001 get s 87 1460 put s 2002 ulong 1 1461 p_andi x m s 1462 put s 2000 get s 87 1463 put s 2001 get s 87 1464 put s 2002 get s 86 1465 p_iadd x m s 1466 put s 2000 ulong 14 1467 put s 2001 get s 84 1468 put s 2002 get s 85 1469 put s 2003 get s 87 1470 put s 2004 neg ulong 1 1471 p_fop x m s 1472 put s 2000 get s 84 1473 put s 2001 get s 84 1474 put s 2002 ulong 16 1475 p_shr x m s 1476 put s 2000 get s 52 1477 put s 2001 get s 70 1478 put s 2002 ulong 65536 1479 put s 2003 get s 69 1480 p_imadi x m s 1481 put s 88 get s 69 1482 put s 89 pack get s 45 ulong 0 1483 put s 90 get s 27 1484 put s 91 get s 71 1485 put s 2000 get s 91 1486 put s 2001 get s 89 1487 put s 2002 ulong 16 1488 p_shrs x m s 1489 put s 2000 get s 91 1490 put s 2001 get s 91 1491 put s 2002 ulong 1 1492 p_andi x m s 1493 put s 2000 get s 91 1494 put s 2001 get s 91 1495 put s 2002 get s 90 1496 p_iadd x m s 1497 put s 2000 ulong 14 1498 put s 2001 get s 88 1499 put s 2002 get s 89 1500 put s 2003 get s 91 1501 put s 2004 neg ulong 1 1502 p_fop x m s 1503 put s 2000 get s 88 1504 put s 2001 get s 88 1505 put s 2002 ulong 16 1506 p_shr x m s 1507 put s 92 get s 70 1508 put s 93 pack get s 45 ulong 1 1509 put s 94 get s 27 1510 put s 95 get s 71 1511 put s 2000 get s 95 1512 put s 2001 get s 93 1513 put s 2002 ulong 16 1514 p_shrs x m s 1515 put s 2000 get s 95 1516 put s 2001 get s 95 1517 put s 2002 ulong 1 1518 p_andi x m s 1519 put s 2000 get s 95 1520 put s 2001 get s 95 1521 put s 2002 get s 94 1522 p_iadd x m s 1523 put s 2000 ulong 14 1524 put s 2001 get s 92 1525 put s 2002 get s 93 1526 put s 2003 get s 95 1527 put s 2004 neg ulong 1 1528 p_fop x m s 1529 put s 2000 get s 92 1530 put s 2001 get s 92 1531 put s 2002 ulong 16 1532 p_shr x m s 1533 put s 2000 get s 46 1534 put s 2001 get s 70 1535 put s 2002 ulong 65536 1536 put s 2003 get s 69 1537 p_imadi x m s 1538 put s 96 get s 69 1539 put s 97 pack get s 45 ulong 2 1540 put s 98 get s 27 1541 put s 99 get s 71 1542 put s 2000 get s 99 1543 put s 2001 get s 97 1544 put s 2002 ulong 16 1545 p_shrs x m s 1546 put s 2000 get s 99 1547 put s 2001 get s 99 1548 put s 2002 ulong 1 1549 p_andi x m s 1550 put s 2000 get s 99 1551 put s 2001 get s 99 1552 put s 2002 get s 98 1553 p_iadd x m s 1554 put s 2000 ulong 14 1555 put s 2001 get s 96 1556 put s 2002 get s 97 1557 put s 2003 get s 99 1558 put s 2004 neg ulong 1 1559 p_fop x m s 1560 put s 2000 get s 96 1561 put s 2001 get s 96 1562 put s 2002 ulong 16 1563 p_shr x m s 1564 put s 100 get s 70 1565 put s 101 pack get s 45 ulong 3 1566 put s 102 get s 27 1567 put s 103 get s 71 1568 put s 2000 get s 103 1569 put s 2001 get s 101 1570 put s 2002 ulong 16 1571 p_shrs x m s 1572 put s 2000 get s 103 1573 put s 2001 get s 103 1574 put s 2002 ulong 1 1575 p_andi x m s 1576 put s 2000 get s 103 1577 put s 2001 get s 103 1578 put s 2002 get s 102 1579 p_iadd x m s 1580 put s 2000 ulong 14 1581 put s 2001 get s 100 1582 put s 2002 get s 101 1583 put s 2003 get s 103 1584 put s 2004 neg ulong 1 1585 p_fop x m s 1586 put s 2000 get s 100 1587 put s 2001 get s 100 1588 put s 2002 ulong 16 1589 p_shr x m s 1590 put s 2000 get s 47 1591 put s 2001 get s 70 1592 put s 2002 ulong 65536 1593 put s 2003 get s 69 1594 p_imadi x m s 1595 end 1596 fn phase_174 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1597 note C phase: imadi(e, R(t1), R(pos), 256u, cyk) 1598 put s 2000 get s 32 1599 put s 2001 get s 14 1600 put s 2002 ulong 256 1601 put s 2003 get s 38 1602 p_imadi x m s 1603 end 1604 fn phase_175 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1605 note C phase: imadi(e, R(t1), R(lane), 8u, t1) 1606 put s 2000 get s 32 1607 put s 2001 get s 24 1608 put s 2002 ulong 8 1609 put s 2003 get s 32 1610 p_imadi x m s 1611 end 1612 fn phase_176 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1613 note C phase: imadi(e, R(t2), R(cx), 0xffffffffu, splitsm1) 1614 put s 2000 get s 33 1615 put s 2001 get s 21 1616 put s 2002 ulong `4294967295` 1617 put s 2003 get s 37 1618 p_imadi x m s 1619 end 1620 fn phase_177 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1621 note C phase: if (MUT != 3) 1622 if ne get s 6 ulong 3 1623 put s 104 p_V64 x m s 1624 put s 105 p_V64 x m s 1625 put s 106 p_V x m s 1626 put s 2000 get s 106 1627 put s 2001 get s 33 1628 put s 2002 ulong 1 1629 put s 2003 get s 23 1630 p_imadi x m s 1631 put s 2000 get s 106 1632 put s 2001 get s 25 1633 p_isetp_ge_u32 x m s 1634 put s 107 p_bra_if_p0_fwd x m s 1635 put s 2000 get s 104 1636 put s 2001 get s 32 1637 put s 2002 ulong 1 1638 put s 2003 get s 9 1639 p_imadw x m s 1640 put s 2000 get s 105 1641 put s 2001 get s 25 1642 put s 2002 ulong 4 1643 put s 2003 get s 104 1644 p_imadw x m s 1645 put s 2000 ulong 12 1646 put s 2001 get s 104 1647 put s 2002 get s 51 1648 put s 2003 get s 7 1649 p_stg x m s 1650 put s 2000 ulong 12 1651 put s 2001 get s 105 1652 put s 2002 get s 52 1653 put s 2003 get s 7 1654 p_stg x m s 1655 put s 2000 get s 107 1656 put s 2001 p_here x m s 1657 p_patch_bra x m s 1658 put s 2000 get s 106 1659 put s 2001 get s 23 1660 put s 2002 get s 25 1661 p_xorr x m s 1662 put s 2000 get s 106 1663 put s 2001 get s 33 1664 put s 2002 ulong 1 1665 put s 2003 get s 106 1666 p_imadi x m s 1667 put s 2000 get s 106 1668 put s 2001 get s 25 1669 p_isetp_ge_u32 x m s 1670 put s 108 p_bra_if_p0_fwd x m s 1671 put s 2000 get s 104 1672 put s 2001 get s 32 1673 put s 2002 ulong 1 1674 put s 2003 get s 10 1675 p_imadw x m s 1676 put s 2000 get s 105 1677 put s 2001 get s 25 1678 put s 2002 ulong 4 1679 put s 2003 get s 104 1680 p_imadw x m s 1681 put s 2000 ulong 12 1682 put s 2001 get s 104 1683 put s 2002 get s 46 1684 put s 2003 get s 7 1685 p_stg x m s 1686 put s 2000 ulong 12 1687 put s 2001 get s 105 1688 put s 2002 get s 47 1689 put s 2003 get s 7 1690 p_stg x m s 1691 put s 2000 get s 108 1692 put s 2001 p_here x m s 1693 p_patch_bra x m s 1694 end 1695 end 1696 fn phase_178 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1697 note C phase: membar(e) 1698 p_membar x m s 1699 end 1700 fn phase_179 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1701 note C phase: bar_sync(e) 1702 p_bar_sync x m s 1703 end 1704 fn phase_180 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1705 note C phase: int mn = V(e) 1706 put s 157 p_V x m s 1707 end 1708 fn phase_181 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1709 note C phase: for (unsigned h = 0; h < 8; h++) 1710 put s 158 ulong 0 1711 while lt get s 158 ulong 8 1712 put s add 109 get s 158 p_V128 x m s 1713 put s add 117 get s 158 p_V x m s 1714 put s add 125 get s 158 p_V x m s 1715 put s add 133 get s 158 p_V x m s 1716 put s add 141 get s 158 p_V x m s 1717 put s add 149 get s 158 p_V x m s 1718 put s 158 add get s 158 1 1719 end 1720 end 1721 fn phase_182 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1722 note C phase: for (uint32_t d = 0; d < D; d++) 1723 put s 167 ulong 0 1724 while lt get s 167 get s 5 1725 put s add 159 get s 167 p_V128 x m s 1726 put s add 163 get s 167 p_V64 x m s 1727 put s 167 add get s 167 1 1728 end 1729 end 1730 fn phase_183 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1731 note C phase: int qa4 = V128(e) 1732 put s 168 p_V128 x m s 1733 end 1734 fn phase_184 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1735 note C phase: int qb4 = V128(e) 1736 put s 169 p_V128 x m s 1737 end 1738 fn phase_185 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1739 note C phase: int cb = V(e) 1740 put s 170 p_V x m s 1741 end 1742 fn phase_186 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1743 note C phase: int tpos = V(e) 1744 put s 171 p_V x m s 1745 end 1746 fn phase_187 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1747 note C phase: int over = V(e) 1748 put s 172 p_V x m s 1749 end 1750 fn phase_188 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1751 note C phase: int krow = V64(e) 1752 put s 173 p_V64 x m s 1753 end 1754 fn phase_189 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1755 note C phase: int kpf = V64(e) 1756 put s 174 p_V64 x m s 1757 end 1758 fn phase_190 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1759 note C phase: int qoff = V(e) 1760 put s 175 p_V x m s 1761 end 1762 fn phase_191 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1763 note C phase: int j = V(e) 1764 put s 176 p_V x m s 1765 end 1766 fn phase_192 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1767 note C phase: int sa = V(e) 1768 put s 177 p_V x m s 1769 end 1770 fn phase_193 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1771 note C phase: int smS = V(e) 1772 put s 178 p_V x m s 1773 end 1774 fn phase_194 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1775 note C phase: int n = V(e) 1776 put s 179 p_V x m s 1777 end 1778 fn phase_195 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1779 note C phase: int vrow = V64(e) 1780 put s 180 p_V64 x m s 1781 end 1782 fn phase_196 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1783 note C phase: int vpf = V64(e) 1784 put s 181 p_V64 x m s 1785 end 1786 fn phase_197 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1787 note C phase: int pa = V(e) 1788 put s 182 p_V x m s 1789 end 1790 fn phase_198 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1791 note C phase: int i = V(e) 1792 put s 183 p_V x m s 1793 end 1794 fn phase_199 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1795 note C phase: int dsum = V(e) 1796 put s 184 p_V x m s 1797 end 1798 fn phase_200 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1799 note C phase: int lane8 = V(e) 1800 put s 185 p_V x m s 1801 end 1802 fn phase_201 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1803 note C phase: int negwarp = V(e) 1804 put s 186 p_V x m s 1805 end 1806 fn phase_202 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1807 note C phase: int ccnt = V(e) 1808 put s 187 p_V x m s 1809 end 1810 fn phase_203 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1811 note C phase: for (unsigned h = 0; h < 8; h++) 1812 put s 188 ulong 0 1813 while lt get s 188 ulong 8 1814 put s 189 ulong 0 1815 while lt get s 189 ulong 4 1816 put s 2000 pack get s add 109 get s 188 get s 189 1817 p_movrz x m s 1818 put s 189 add get s 189 1 1819 end 1820 put s 2000 get s add 117 get s 188 1821 put s 2001 `4048155338` 1822 p_movi x m s 1823 put s 2000 get s add 125 get s 188 1824 p_movrz x m s 1825 put s 188 add get s 188 1 1826 end 1827 end 1828 fn phase_204 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1829 note C phase: movi(e, smS, 4096u) 1830 put s 2000 get s 178 1831 put s 2001 ulong 4096 1832 p_movi x m s 1833 end 1834 fn phase_205 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1835 note C phase: imadi(e, R(lane8), R(lane), 8u, -1) 1836 put s 2000 get s 185 1837 put s 2001 get s 24 1838 put s 2002 ulong 8 1839 put s 2003 neg ulong 1 1840 p_imadi x m s 1841 end 1842 fn phase_206 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1843 note C phase: if (MUT == 2) 1844 if eq get s 6 ulong 2 1845 put s 2000 get s 185 1846 put s 2001 get s 25 1847 put s 2002 ulong 256 1848 put s 2003 get s 185 1849 p_imadi x m s 1850 end 1851 end 1852 fn phase_207 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1853 note C phase: imadi(e, R(negwarp), R(warp), 0xffffffffu, -1) 1854 put s 2000 get s 186 1855 put s 2001 get s 23 1856 put s 2002 ulong `4294967295` 1857 put s 2003 neg ulong 1 1858 p_imadi x m s 1859 end 1860 fn phase_208 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1861 note C phase: movi(e, ccnt, 16) 1862 put s 2000 get s 187 1863 put s 2001 ulong 16 1864 p_movi x m s 1865 end 1866 fn phase_209 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1867 note C phase: mov(e, R(cb), R(base)) 1868 put s 2000 get s 170 1869 put s 2001 get s 29 1870 p_mov x m s 1871 end 1872 fn phase_210 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1873 note C phase: const int L_chunk = here(e) 1874 put s 190 p_here x m s 1875 end 1876 fn phase_211 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1877 note C phase: loop_begin(e) 1878 p_loop_begin x m s 1879 end 1880 fn phase_212 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1881 note C phase: isetp_ge_u32(e, cb, end) 1882 put s 2000 get s 170 1883 put s 2001 get s 34 1884 p_isetp_ge_u32 x m s 1885 end 1886 fn phase_213 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1887 note C phase: const int bra_done = bra_if_p0_fwd(e) 1888 put s 191 p_bra_if_p0_fwd x m s 1889 end 1890 fn phase_214 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1891 note C phase: imadi(e, R(tpos), R(cb), 1u, tid) 1892 put s 2000 get s 171 1893 put s 2001 get s 170 1894 put s 2002 ulong 1 1895 put s 2003 get s 20 1896 p_imadi x m s 1897 end 1898 fn phase_215 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1899 note C phase: imadi(e, R(over), R(tpos), 0xffffffffu, endm1) 1900 put s 2000 get s 172 1901 put s 2001 get s 171 1902 put s 2002 ulong `4294967295` 1903 put s 2003 get s 35 1904 p_imadi x m s 1905 end 1906 fn phase_216 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1907 note C phase: shr(e, over, over, 31) 1908 put s 2000 get s 172 1909 put s 2001 get s 172 1910 put s 2002 ulong 31 1911 p_shr x m s 1912 end 1913 fn phase_217 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1914 note C phase: imadi(e, R(t1), R(tpos), 1u, negendm1) 1915 put s 2000 get s 32 1916 put s 2001 get s 171 1917 put s 2002 ulong 1 1918 put s 2003 get s 36 1919 p_imadi x m s 1920 end 1921 fn phase_218 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1922 note C phase: imadr(e, t1, over, t1, -1) 1923 put s 2000 get s 32 1924 put s 2001 get s 172 1925 put s 2002 get s 32 1926 put s 2003 neg ulong 1 1927 p_imadr x m s 1928 end 1929 fn phase_219 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1930 note C phase: imadi(e, R(t1), R(t1), 0xffffffffu, tpos) 1931 put s 2000 get s 32 1932 put s 2001 get s 32 1933 put s 2002 ulong `4294967295` 1934 put s 2003 get s 171 1935 p_imadi x m s 1936 end 1937 fn phase_220 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1938 note C phase: imadi(e, R(t1), R(t1), 256u, cyk) 1939 put s 2000 get s 32 1940 put s 2001 get s 32 1941 put s 2002 ulong 256 1942 put s 2003 get s 38 1943 p_imadi x m s 1944 end 1945 fn phase_221 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1946 note C phase: imadw(e, krow, t1, 1u, pkc) 1947 put s 2000 get s 173 1948 put s 2001 get s 32 1949 put s 2002 ulong 1 1950 put s 2003 get s 9 1951 p_imadw x m s 1952 end 1953 fn phase_222 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1954 note C phase: for (unsigned h = 0; h < 8; h++) 1955 put s 192 ulong 0 1956 while lt get s 192 ulong 8 1957 put s 2000 get s add 133 get s 192 1958 p_movrz x m s 1959 put s 192 add get s 192 1 1960 end 1961 end 1962 fn phase_223 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1963 note C phase: for (uint32_t d = 0; d < D; d++) 1964 put s 193 ulong 0 1965 while lt get s 193 get s 5 1966 put s 2000 ulong 57 1967 put s 2001 get s add 159 get s 193 1968 put s 2002 get s 173 1969 put s 2003 mul get s 193 ulong 16 1970 put s 2004 get s 7 1971 put s 2005 choose eq get s 193 ulong 0 1 0 1972 p_ldg_wide x m s 1973 put s 193 add get s 193 1 1974 end 1975 end 1976 fn phase_224 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1977 note C phase: imadw(e, kpf, one, D * 16u, krow) 1978 put s 2000 get s 174 1979 put s 2001 get s 25 1980 put s 2002 mul get s 5 ulong 16 1981 put s 2003 get s 173 1982 p_imadw x m s 1983 end 1984 fn phase_225 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1985 note C phase: movrz(e, R(qoff)) 1986 put s 2000 get s 175 1987 p_movrz x m s 1988 end 1989 fn phase_226 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1990 note C phase: movrz(e, R(j)) 1991 put s 2000 get s 176 1992 p_movrz x m s 1993 end 1994 fn phase_227 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1995 note C phase: const int L_q = here(e) 1996 put s 194 p_here x m s 1997 end 1998 fn phase_228 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 1999 note C phase: loop_begin(e) 2000 p_loop_begin x m s 2001 end 2002 fn phase_229 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2003 note C phase: isetp_ge_u32(e, j, ccnt) 2004 put s 2000 get s 176 2005 put s 2001 get s 187 2006 p_isetp_ge_u32 x m s 2007 end 2008 fn phase_230 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2009 note C phase: const int bra_qend = bra_if_p0_fwd(e) 2010 put s 195 p_bra_if_p0_fwd x m s 2011 end 2012 fn phase_231 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2013 note C phase: for (unsigned w = 0; w < 4; w++) 2014 put s 196 ulong 0 2015 while lt get s 196 ulong 4 2016 put s 2000 get s add 149 mul ulong 2 get s 196 2017 put s 2001 pack get s add 159 ulong 0 get s 196 2018 put s 2002 ulong 65536 2019 put s 2003 neg ulong 1 2020 p_imadi x m s 2021 put s 1940 get s 196 2022 put s 1941 mul ulong 2 get s 1940 2023 put s 1942 add get s 1941 ulong 1 2024 put s 1943 add 149 get s 1942 2025 put s 2000 get s get s 1943 2026 put s 2001 pack get s add 159 ulong 0 get s 196 2027 put s 2002 ulong `4294901760` 2028 p_andi x m s 2029 put s 196 add get s 196 1 2030 end 2031 end 2032 fn phase_232 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2033 note C phase: for (unsigned h = 0; h < 8; h++) 2034 put s 197 ulong 0 2035 while lt get s 197 ulong 8 2036 put s 2000 get s 168 2037 put s 2001 get s 175 2038 put s 2002 mul get s 197 ulong 512 2039 put s 2003 ulong 1 2040 p_lds128 x m s 2041 put s 2000 get s 169 2042 put s 2001 get s 175 2043 put s 2002 add mul get s 197 ulong 512 ulong 16 2044 put s 2003 ulong 0 2045 p_lds128 x m s 2046 put s 198 ulong 0 2047 while lt get s 198 ulong 4 2048 put s 2000 get s add 133 get s 197 2049 put s 2001 get s add 149 get s 198 2050 put s 2002 pack get s 168 get s 198 2051 put s 2003 get s add 133 get s 197 2052 p_ffma x m s 2053 put s 198 add get s 198 1 2054 end 2055 put s 199 ulong 0 2056 while lt get s 199 ulong 4 2057 put s 2000 get s add 133 get s 197 2058 put s 2001 get s add 149 add ulong 4 get s 199 2059 put s 2002 pack get s 169 get s 199 2060 put s 2003 get s add 133 get s 197 2061 p_ffma x m s 2062 put s 199 add get s 199 1 2063 end 2064 put s 197 add get s 197 1 2065 end 2066 end 2067 fn phase_233 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2068 note C phase: for (uint32_t d = 0; (d + 1) < D; d++) 2069 put s 200 ulong 0 2070 while lt add get s 200 ulong 1 get s 5 2071 put s 201 ulong 0 2072 while lt get s 201 ulong 4 2073 put s 2000 pack get s add 159 get s 200 get s 201 2074 put s 1940 get s 200 2075 put s 1941 add get s 1940 ulong 1 2076 put s 1942 add 159 get s 1941 2077 put s 1943 get s get s 1942 2078 put s 1944 get s 201 2079 put s 2001 pack get s 1943 get s 1944 2080 p_mov x m s 2081 put s 201 add get s 201 1 2082 end 2083 put s 200 add get s 200 1 2084 end 2085 end 2086 fn phase_234 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2087 note C phase: ldg_wide(e, BW_IR_LDG_E_128, kq[D - 1], kpf, 0, udesc, 1) 2088 put s 2000 ulong 57 2089 put s 2001 get s add 159 sub get s 5 ulong 1 2090 put s 2002 get s 174 2091 put s 2003 ulong 0 2092 put s 2004 get s 7 2093 put s 2005 ulong 1 2094 p_ldg_wide x m s 2095 end 2096 fn phase_235 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2097 note C phase: imadw(e, kpf, one, 16u, kpf) 2098 put s 2000 get s 174 2099 put s 2001 get s 25 2100 put s 2002 ulong 16 2101 put s 2003 get s 174 2102 p_imadw x m s 2103 end 2104 fn phase_236 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2105 note C phase: imadi(e, R(qoff), R(one), 32u, qoff) 2106 put s 2000 get s 175 2107 put s 2001 get s 25 2108 put s 2002 ulong 32 2109 put s 2003 get s 175 2110 p_imadi x m s 2111 end 2112 fn phase_237 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2113 note C phase: imadi(e, R(j), R(one), 1u, j) 2114 put s 2000 get s 176 2115 put s 2001 get s 25 2116 put s 2002 ulong 1 2117 put s 2003 get s 176 2118 p_imadi x m s 2119 end 2120 fn phase_238 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2121 note C phase: bra(e, L_q) 2122 put s 2000 get s 194 2123 p_bra x m s 2124 end 2125 fn phase_239 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2126 note C phase: loop_end(e) 2127 p_loop_end x m s 2128 end 2129 fn phase_240 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2130 note C phase: patch_bra(e, bra_qend, here(e)) 2131 put s 2000 get s 195 2132 put s 2001 p_here x m s 2133 p_patch_bra x m s 2134 end 2135 fn phase_241 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2136 note C phase: imadi(e, R(sa), R(tid), 32u, smS) 2137 put s 2000 get s 177 2138 put s 2001 get s 20 2139 put s 2002 ulong 32 2140 put s 2003 get s 178 2141 p_imadi x m s 2142 end 2143 fn phase_242 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2144 note C phase: for (unsigned h = 0; h < 8; h++) 2145 put s 202 ulong 0 2146 while lt get s 202 ulong 8 2147 put s 2000 get s 32 2148 put s 2001 get s 25 2149 put s 2002 mul get s 202 ulong 4 2150 put s 2003 get s 177 2151 p_imadi x m s 2152 put s 2000 get s 32 2153 put s 2001 get s add 133 get s 202 2154 p_sts32 x m s 2155 put s 202 add get s 202 1 2156 end 2157 end 2158 fn phase_243 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2159 note C phase: bar_sync(e) 2160 p_bar_sync x m s 2161 end 2162 fn phase_244 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2163 note C phase: imadi(e, R(t1), R(one), 256u, cb) 2164 put s 2000 get s 32 2165 put s 2001 get s 25 2166 put s 2002 ulong 256 2167 put s 2003 get s 170 2168 p_imadi x m s 2169 end 2170 fn phase_245 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2171 note C phase: imadi(e, R(t2), R(t1), 0xffffffffu, end) 2172 put s 2000 get s 33 2173 put s 2001 get s 32 2174 put s 2002 ulong `4294967295` 2175 put s 2003 get s 34 2176 p_imadi x m s 2177 end 2178 fn phase_246 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2179 note C phase: shr(e, over, t2, 31) 2180 put s 2000 get s 172 2181 put s 2001 get s 33 2182 put s 2002 ulong 31 2183 p_shr x m s 2184 end 2185 fn phase_247 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2186 note C phase: imadr(e, t2, over, t2, t1) 2187 put s 2000 get s 33 2188 put s 2001 get s 172 2189 put s 2002 get s 33 2190 put s 2003 get s 32 2191 p_imadr x m s 2192 end 2193 fn phase_248 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2194 note C phase: imadi(e, R(t1), R(cb), 0xffffffffu, t2) 2195 put s 2000 get s 32 2196 put s 2001 get s 170 2197 put s 2002 ulong `4294967295` 2198 put s 2003 get s 33 2199 p_imadi x m s 2200 end 2201 fn phase_249 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2202 note C phase: imadi(e, R(t1), R(t1), 1u, negwarp) 2203 put s 2000 get s 32 2204 put s 2001 get s 32 2205 put s 2002 ulong 1 2206 put s 2003 get s 186 2207 p_imadi x m s 2208 end 2209 fn phase_250 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2210 note C phase: shr(e, over, t1, 31) 2211 put s 2000 get s 172 2212 put s 2001 get s 32 2213 put s 2002 ulong 31 2214 p_shr x m s 2215 end 2216 fn phase_251 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2217 note C phase: imadi(e, R(n), R(one), 7u, t1) 2218 put s 2000 get s 179 2219 put s 2001 get s 25 2220 put s 2002 ulong 7 2221 put s 2003 get s 32 2222 p_imadi x m s 2223 end 2224 fn phase_252 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2225 note C phase: shr(e, n, n, 3) 2226 put s 2000 get s 179 2227 put s 2001 get s 179 2228 put s 2002 ulong 3 2229 p_shr x m s 2230 end 2231 fn phase_253 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2232 note C phase: imadr(e, t2, over, n, -1) 2233 put s 2000 get s 33 2234 put s 2001 get s 172 2235 put s 2002 get s 179 2236 put s 2003 neg ulong 1 2237 p_imadr x m s 2238 end 2239 fn phase_254 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2240 note C phase: imadi(e, R(n), R(t2), 0xffffffffu, n) 2241 put s 2000 get s 179 2242 put s 2001 get s 33 2243 put s 2002 ulong `4294967295` 2244 put s 2003 get s 179 2245 p_imadi x m s 2246 end 2247 fn phase_255 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2248 note C phase: imadi(e, R(t1), R(cb), 1u, warp) 2249 put s 2000 get s 32 2250 put s 2001 get s 170 2251 put s 2002 ulong 1 2252 put s 2003 get s 23 2253 p_imadi x m s 2254 end 2255 fn phase_256 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2256 note C phase: imadi(e, R(t1), R(t1), 256u, lane8) 2257 put s 2000 get s 32 2258 put s 2001 get s 32 2259 put s 2002 ulong 256 2260 put s 2003 get s 185 2261 p_imadi x m s 2262 end 2263 fn phase_257 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2264 note C phase: imadi(e, R(t1), R(t1), 1u, cyk) 2265 put s 2000 get s 32 2266 put s 2001 get s 32 2267 put s 2002 ulong 1 2268 put s 2003 get s 38 2269 p_imadi x m s 2270 end 2271 fn phase_258 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2272 note C phase: imadw(e, vrow, t1, 1u, pvc) 2273 put s 2000 get s 180 2274 put s 2001 get s 32 2275 put s 2002 ulong 1 2276 put s 2003 get s 10 2277 p_imadw x m s 2278 end 2279 fn phase_259 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2280 note C phase: for (uint32_t d = 0; d < D; d++) 2281 put s 203 ulong 0 2282 while lt get s 203 get s 5 2283 put s 2000 ulong 56 2284 put s 2001 get s add 163 get s 203 2285 put s 2002 get s 180 2286 put s 2003 mul mul get s 203 ulong 8 ulong 256 2287 put s 2004 get s 7 2288 put s 2005 choose eq get s 203 ulong 0 1 0 2289 p_ldg_wide x m s 2290 put s 203 add get s 203 1 2291 end 2292 end 2293 fn phase_260 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2294 note C phase: imadw(e, vpf, one, (D * 8u) * 256u, vrow) 2295 put s 2000 get s 181 2296 put s 2001 get s 25 2297 put s 2002 mul mul get s 5 ulong 8 ulong 256 2298 put s 2003 get s 180 2299 p_imadw x m s 2300 end 2301 fn phase_261 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2302 note C phase: imadi(e, R(pa), R(warp), 32u, smS) 2303 put s 2000 get s 182 2304 put s 2001 get s 23 2305 put s 2002 ulong 32 2306 put s 2003 get s 178 2307 p_imadi x m s 2308 end 2309 fn phase_262 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2310 note C phase: movrz(e, R(i)) 2311 put s 2000 get s 183 2312 p_movrz x m s 2313 end 2314 fn phase_263 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2315 note C phase: const int L_v = here(e) 2316 put s 204 p_here x m s 2317 end 2318 fn phase_264 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2319 note C phase: loop_begin(e) 2320 p_loop_begin x m s 2321 end 2322 fn phase_265 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2323 note C phase: isetp_ge_u32(e, i, n) 2324 put s 2000 get s 183 2325 put s 2001 get s 179 2326 p_isetp_ge_u32 x m s 2327 end 2328 fn phase_266 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2329 note C phase: const int bra_vend = bra_if_p0_fwd(e) 2330 put s 205 p_bra_if_p0_fwd x m s 2331 end 2332 fn phase_267 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2333 note C phase: imadi(e, R(wd[0]), S(vq[0], 0), 65536u, -1) 2334 put s 2000 get s add 149 ulong 0 2335 put s 2001 pack get s add 163 ulong 0 ulong 0 2336 put s 2002 ulong 65536 2337 put s 2003 neg ulong 1 2338 p_imadi x m s 2339 end 2340 fn phase_268 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2341 note C phase: andi(e, R(wd[1]), S(vq[0], 0), 0xffff0000u) 2342 put s 2000 get s add 149 ulong 1 2343 put s 2001 pack get s add 163 ulong 0 ulong 0 2344 put s 2002 ulong `4294901760` 2345 p_andi x m s 2346 end 2347 fn phase_269 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2348 note C phase: imadi(e, R(wd[2]), S(vq[0], 1), 65536u, -1) 2349 put s 2000 get s add 149 ulong 2 2350 put s 2001 pack get s add 163 ulong 0 ulong 1 2351 put s 2002 ulong 65536 2352 put s 2003 neg ulong 1 2353 p_imadi x m s 2354 end 2355 fn phase_270 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2356 note C phase: andi(e, R(wd[3]), S(vq[0], 1), 0xffff0000u) 2357 put s 2000 get s add 149 ulong 3 2358 put s 2001 pack get s add 163 ulong 0 ulong 1 2359 put s 2002 ulong `4294901760` 2360 p_andi x m s 2361 end 2362 fn phase_271 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2363 note C phase: lds128(e, qa4, pa, 0, 1) 2364 put s 2000 get s 168 2365 put s 2001 get s 182 2366 put s 2002 ulong 0 2367 put s 2003 ulong 1 2368 p_lds128 x m s 2369 end 2370 fn phase_272 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2371 note C phase: lds128(e, qb4, pa, 16, 0) 2372 put s 2000 get s 169 2373 put s 2001 get s 182 2374 put s 2002 ulong 16 2375 put s 2003 ulong 0 2376 p_lds128 x m s 2377 end 2378 fn phase_273 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2379 note C phase: for (unsigned h = 0; h < 8; h++) 2380 put s 206 ulong 0 2381 while lt get s 206 ulong 8 2382 put s 2000 get s 157 2383 put s 2001 get s add 117 get s 206 2384 put s 1940 get s 206 2385 put s 1941 get s 168 2386 put s 1942 get s 206 2387 put s 1943 pack get s 1941 get s 1942 2388 put s 1944 get s 169 2389 put s 1945 get s 206 2390 put s 1946 sub get s 1945 ulong 4 2391 put s 1947 pack get s 1944 get s 1946 2392 put s 2002 choose lt get s 1940 ulong 4 get s 1943 get s 1947 2393 p_fmaxx x m s 2394 put s 2000 get s add 141 get s 206 2395 put s 2001 get s add 117 get s 206 2396 put s 2002 get s 157 2397 p_fsub x m s 2398 put s 2000 get s add 117 get s 206 2399 put s 2001 get s 157 2400 p_mov x m s 2401 put s 206 add get s 206 1 2402 end 2403 end 2404 fn phase_274 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2405 note C phase: fadd(e, R(dsum), R(dl[0]), R(dl[1])) 2406 put s 2000 get s 184 2407 put s 2001 get s add 141 ulong 0 2408 put s 2002 get s add 141 ulong 1 2409 p_fadd x m s 2410 end 2411 fn phase_275 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2412 note C phase: for (unsigned h = 2; h < 8; h++) 2413 put s 207 ulong 2 2414 while lt get s 207 ulong 8 2415 put s 2000 get s 184 2416 put s 2001 get s 184 2417 put s 2002 get s add 141 get s 207 2418 p_fadd x m s 2419 put s 207 add get s 207 1 2420 end 2421 end 2422 fn phase_276 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2423 note C phase: isetp_ge_u32(e, one, dsum) 2424 put s 2000 get s 25 2425 put s 2001 get s 184 2426 p_isetp_ge_u32 x m s 2427 end 2428 fn phase_277 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2429 note C phase: const int bra_nores = bra_if_p0_fwd(e) 2430 put s 208 p_bra_if_p0_fwd x m s 2431 end 2432 fn phase_278 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2433 note C phase: for (unsigned h = 0; h < 8; h++) 2434 put s 209 ulong 0 2435 while lt get s 209 ulong 8 2436 put s 2000 ulong 47 2437 put s 2001 get s add 141 get s 209 2438 put s 2002 get s add 141 get s 209 2439 p_mufu x m s 2440 put s 209 add get s 209 1 2441 end 2442 end 2443 fn phase_279 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2444 note C phase: for (unsigned h = 0; h < 8; h++) 2445 put s 210 ulong 0 2446 while lt get s 210 ulong 8 2447 put s 211 ulong 0 2448 while lt get s 211 ulong 4 2449 put s 2000 pack get s add 109 get s 210 get s 211 2450 put s 2001 pack get s add 109 get s 210 get s 211 2451 put s 2002 get s add 141 get s 210 2452 p_fmul x m s 2453 put s 211 add get s 211 1 2454 end 2455 put s 2000 get s add 125 get s 210 2456 put s 2001 get s add 125 get s 210 2457 put s 2002 get s add 141 get s 210 2458 p_fmul x m s 2459 put s 210 add get s 210 1 2460 end 2461 end 2462 fn phase_280 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2463 note C phase: patch_bra(e, bra_nores, here(e)) 2464 put s 2000 get s 208 2465 put s 2001 p_here x m s 2466 p_patch_bra x m s 2467 end 2468 fn phase_281 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2469 note C phase: for (unsigned h = 0; h < 8; h++) 2470 put s 212 ulong 0 2471 while lt get s 212 ulong 8 2472 put s 2000 get s add 141 get s 212 2473 put s 1940 get s 212 2474 put s 1941 get s 168 2475 put s 1942 get s 212 2476 put s 1943 pack get s 1941 get s 1942 2477 put s 1944 get s 169 2478 put s 1945 get s 212 2479 put s 1946 sub get s 1945 ulong 4 2480 put s 1947 pack get s 1944 get s 1946 2481 put s 2001 choose lt get s 1940 ulong 4 get s 1943 get s 1947 2482 put s 2002 get s add 117 get s 212 2483 p_fsub x m s 2484 put s 2000 ulong 47 2485 put s 2001 get s add 141 get s 212 2486 put s 2002 get s add 141 get s 212 2487 p_mufu x m s 2488 put s 212 add get s 212 1 2489 end 2490 end 2491 fn phase_282 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2492 note C phase: for (unsigned h = 0; h < 8; h++) 2493 put s 213 ulong 0 2494 while lt get s 213 ulong 8 2495 put s 214 ulong 0 2496 while lt get s 214 ulong 4 2497 put s 2000 pack get s add 109 get s 213 get s 214 2498 put s 2001 get s add 141 get s 213 2499 put s 2002 get s add 149 get s 214 2500 put s 2003 pack get s add 109 get s 213 get s 214 2501 p_ffma x m s 2502 put s 214 add get s 214 1 2503 end 2504 put s 2000 get s add 125 get s 213 2505 put s 2001 get s add 125 get s 213 2506 put s 2002 get s add 141 get s 213 2507 p_fadd x m s 2508 put s 213 add get s 213 1 2509 end 2510 end 2511 fn phase_283 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2512 note C phase: for (uint32_t d = 0; (d + 1) < D; d++) 2513 put s 215 ulong 0 2514 while lt add get s 215 ulong 1 get s 5 2515 put s 216 ulong 0 2516 while lt get s 216 ulong 2 2517 put s 2000 pack get s add 163 get s 215 get s 216 2518 put s 1940 get s 215 2519 put s 1941 add get s 1940 ulong 1 2520 put s 1942 add 163 get s 1941 2521 put s 1943 get s get s 1942 2522 put s 1944 get s 216 2523 put s 2001 pack get s 1943 get s 1944 2524 p_mov x m s 2525 put s 216 add get s 216 1 2526 end 2527 put s 215 add get s 215 1 2528 end 2529 end 2530 fn phase_284 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2531 note C phase: ldg_wide(e, BW_IR_LDG_E_64, vq[D - 1], vpf, 0, udesc, 1) 2532 put s 2000 ulong 56 2533 put s 2001 get s add 163 sub get s 5 ulong 1 2534 put s 2002 get s 181 2535 put s 2003 ulong 0 2536 put s 2004 get s 7 2537 put s 2005 ulong 1 2538 p_ldg_wide x m s 2539 end 2540 fn phase_285 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2541 note C phase: imadw(e, vpf, one, 8u * 256u, vpf) 2542 put s 2000 get s 181 2543 put s 2001 get s 25 2544 put s 2002 mul ulong 8 ulong 256 2545 put s 2003 get s 181 2546 p_imadw x m s 2547 end 2548 fn phase_286 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2549 note C phase: imadi(e, R(pa), R(one), 8u * 32u, pa) 2550 put s 2000 get s 182 2551 put s 2001 get s 25 2552 put s 2002 mul ulong 8 ulong 32 2553 put s 2003 get s 182 2554 p_imadi x m s 2555 end 2556 fn phase_287 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2557 note C phase: imadi(e, R(i), R(one), 1u, i) 2558 put s 2000 get s 183 2559 put s 2001 get s 25 2560 put s 2002 ulong 1 2561 put s 2003 get s 183 2562 p_imadi x m s 2563 end 2564 fn phase_288 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2565 note C phase: bra(e, L_v) 2566 put s 2000 get s 204 2567 p_bra x m s 2568 end 2569 fn phase_289 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2570 note C phase: loop_end(e) 2571 p_loop_end x m s 2572 end 2573 fn phase_290 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2574 note C phase: patch_bra(e, bra_vend, here(e)) 2575 put s 2000 get s 205 2576 put s 2001 p_here x m s 2577 p_patch_bra x m s 2578 end 2579 fn phase_291 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2580 note C phase: bar_sync(e) 2581 p_bar_sync x m s 2582 end 2583 fn phase_292 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2584 note C phase: imadi(e, R(cb), R(one), 256u, cb) 2585 put s 2000 get s 170 2586 put s 2001 get s 25 2587 put s 2002 ulong 256 2588 put s 2003 get s 170 2589 p_imadi x m s 2590 end 2591 fn phase_293 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2592 note C phase: bra(e, L_chunk) 2593 put s 2000 get s 190 2594 p_bra x m s 2595 end 2596 fn phase_294 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2597 note C phase: loop_end(e) 2598 p_loop_end x m s 2599 end 2600 fn phase_295 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2601 note C phase: patch_bra(e, bra_done, here(e)) 2602 put s 2000 get s 191 2603 put s 2001 p_here x m s 2604 p_patch_bra x m s 2605 end 2606 fn phase_296 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2607 note C phase: for (unsigned h = 0; h < 8; h++) 2608 put s 241 ulong 0 2609 while lt get s 241 ulong 8 2610 put s add 217 get s 241 p_V x m s 2611 put s add 225 get s 241 p_V x m s 2612 put s add 233 get s 241 p_V x m s 2613 put s 241 add get s 241 1 2614 end 2615 end 2616 fn phase_297 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2617 note C phase: int pout = V64(e) 2618 put s 242 p_V64 x m s 2619 end 2620 fn phase_298 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2621 note C phase: int ppart = V64(e) 2622 put s 243 p_V64 x m s 2623 end 2624 fn phase_299 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2625 note C phase: int pcnt = V64(e) 2626 put s 244 p_V64 x m s 2627 end 2628 fn phase_300 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2629 note C phase: int oscale = V(e) 2630 put s 245 p_V x m s 2631 end 2632 fn phase_301 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2633 note C phase: ldc64(e, pout, 0x3b0u) 2634 put s 2000 get s 242 2635 put s 2001 ulong 944 2636 p_ldc64 x m s 2637 end 2638 fn phase_302 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2639 note C phase: ldc64(e, ppart, 0x3b8u) 2640 put s 2000 get s 243 2641 put s 2001 ulong 952 2642 p_ldc64 x m s 2643 end 2644 fn phase_303 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2645 note C phase: ldc64(e, pcnt, 0x3c0u) 2646 put s 2000 get s 244 2647 put s 2001 ulong 960 2648 p_ldc64 x m s 2649 end 2650 fn phase_304 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2651 note C phase: ldc32(e, oscale, 0x3dcu) 2652 put s 2000 get s 245 2653 put s 2001 ulong 988 2654 p_ldc32 x m s 2655 end 2656 fn phase_305 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2657 note C phase: imadi(e, R(a0), R(warp), 32u, -1) 2658 put s 2000 get s 49 2659 put s 2001 get s 23 2660 put s 2002 ulong 32 2661 put s 2003 neg ulong 1 2662 p_imadi x m s 2663 end 2664 fn phase_306 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2665 note C phase: imadi(e, R(a0), R(one), 12288u, a0) 2666 put s 2000 get s 49 2667 put s 2001 get s 25 2668 put s 2002 ulong 12288 2669 put s 2003 get s 49 2670 p_imadi x m s 2671 end 2672 fn phase_307 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2673 note C phase: isetp_ge_u32(e, lane, one) 2674 put s 2000 get s 24 2675 put s 2001 get s 25 2676 p_isetp_ge_u32 x m s 2677 end 2678 fn phase_308 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2679 note C phase: { 2680 put s 246 p_region_skip_if_p0 x m s 2681 put s 247 ulong 0 2682 while lt get s 247 ulong 8 2683 put s 2000 get s 32 2684 put s 2001 get s 25 2685 put s 2002 mul get s 247 ulong 4 2686 put s 2003 get s 49 2687 p_imadi x m s 2688 put s 2000 get s 32 2689 put s 2001 get s add 117 get s 247 2690 p_sts32 x m s 2691 put s 247 add get s 247 1 2692 end 2693 put s 2000 get s 246 2694 p_region_end x m s 2695 end 2696 fn phase_309 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2697 note C phase: bar_sync(e) 2698 p_bar_sync x m s 2699 end 2700 fn phase_310 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2701 note C phase: movi(e, ccnt, 8) 2702 put s 2000 get s 187 2703 put s 2001 ulong 8 2704 p_movi x m s 2705 end 2706 fn phase_311 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2707 note C phase: isetp_ge_u32(e, lane, ccnt) 2708 put s 2000 get s 24 2709 put s 2001 get s 187 2710 p_isetp_ge_u32 x m s 2711 end 2712 fn phase_312 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2713 note C phase: { 2714 put s 248 p_region_skip_if_p0 x m s 2715 put s 2000 get s 50 2716 put s 2001 get s 24 2717 put s 2002 ulong 4 2718 put s 2003 neg ulong 1 2719 p_imadi x m s 2720 put s 2000 get s 50 2721 put s 2001 get s 25 2722 put s 2002 ulong 12288 2723 put s 2003 get s 50 2724 p_imadi x m s 2725 put s 249 ulong 0 2726 while lt get s 249 ulong 8 2727 put s 2000 get s 32 2728 put s 2001 get s 25 2729 put s 2002 mul get s 249 ulong 32 2730 put s 2003 get s 50 2731 p_imadi x m s 2732 put s 2000 get s add 217 get s 249 2733 put s 2001 get s 32 2734 put s 2002 choose eq get s 249 ulong 0 1 0 2735 p_lds32 x m s 2736 put s 249 add get s 249 1 2737 end 2738 put s 250 ulong 1 2739 while lt get s 250 ulong 8 2740 put s 2000 get s add 217 ulong 0 2741 put s 2001 get s add 217 ulong 0 2742 put s 2002 get s add 217 get s 250 2743 p_fmaxx x m s 2744 put s 250 add get s 250 1 2745 end 2746 put s 2000 get s 32 2747 put s 2001 get s 25 2748 put s 2002 ulong 256 2749 put s 2003 get s 50 2750 p_imadi x m s 2751 put s 2000 get s 32 2752 put s 2001 get s add 217 ulong 0 2753 p_sts32 x m s 2754 put s 2000 get s 248 2755 p_region_end x m s 2756 end 2757 fn phase_313 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2758 note C phase: bar_sync(e) 2759 p_bar_sync x m s 2760 end 2761 fn phase_314 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2762 note C phase: movi(e, t1, 12288u + 256u) 2763 put s 2000 get s 32 2764 put s 2001 add ulong 12288 ulong 256 2765 p_movi x m s 2766 end 2767 fn phase_315 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2768 note C phase: lds128(e, qa4, t1, 0, 1) 2769 put s 2000 get s 168 2770 put s 2001 get s 32 2771 put s 2002 ulong 0 2772 put s 2003 ulong 1 2773 p_lds128 x m s 2774 end 2775 fn phase_316 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2776 note C phase: lds128(e, qb4, t1, 16, 0) 2777 put s 2000 get s 169 2778 put s 2001 get s 32 2779 put s 2002 ulong 16 2780 put s 2003 ulong 0 2781 p_lds128 x m s 2782 end 2783 fn phase_317 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2784 note C phase: for (unsigned h = 0; h < 8; h++) 2785 put s 251 ulong 0 2786 while lt get s 251 ulong 8 2787 put s 2000 get s add 225 get s 251 2788 put s 2001 get s add 117 get s 251 2789 put s 1940 get s 251 2790 put s 1941 get s 168 2791 put s 1942 get s 251 2792 put s 1943 pack get s 1941 get s 1942 2793 put s 1944 get s 169 2794 put s 1945 get s 251 2795 put s 1946 sub get s 1945 ulong 4 2796 put s 1947 pack get s 1944 get s 1946 2797 put s 2002 choose lt get s 1940 ulong 4 get s 1943 get s 1947 2798 p_fsub x m s 2799 put s 2000 ulong 47 2800 put s 2001 get s add 225 get s 251 2801 put s 2002 get s add 225 get s 251 2802 p_mufu x m s 2803 put s 251 add get s 251 1 2804 end 2805 end 2806 fn phase_318 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2807 note C phase: for (unsigned h = 0; h < 8; h++) 2808 put s 252 ulong 0 2809 while lt get s 252 ulong 8 2810 put s 253 ulong 0 2811 while lt get s 253 ulong 4 2812 put s 2000 pack get s add 109 get s 252 get s 253 2813 put s 2001 pack get s add 109 get s 252 get s 253 2814 put s 2002 get s add 225 get s 252 2815 p_fmul x m s 2816 put s 253 add get s 253 1 2817 end 2818 put s 2000 get s add 125 get s 252 2819 put s 2001 get s add 125 get s 252 2820 put s 2002 get s add 225 get s 252 2821 p_fmul x m s 2822 put s 252 add get s 252 1 2823 end 2824 end 2825 fn phase_319 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2826 note C phase: imadi(e, R(a0), R(warp), 32u, -1) 2827 put s 2000 get s 49 2828 put s 2001 get s 23 2829 put s 2002 ulong 32 2830 put s 2003 neg ulong 1 2831 p_imadi x m s 2832 end 2833 fn phase_320 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2834 note C phase: imadi(e, R(a0), R(one), 12576u, a0) 2835 put s 2000 get s 49 2836 put s 2001 get s 25 2837 put s 2002 ulong 12576 2838 put s 2003 get s 49 2839 p_imadi x m s 2840 end 2841 fn phase_321 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2842 note C phase: isetp_ge_u32(e, lane, one) 2843 put s 2000 get s 24 2844 put s 2001 get s 25 2845 p_isetp_ge_u32 x m s 2846 end 2847 fn phase_322 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2848 note C phase: { 2849 put s 254 p_region_skip_if_p0 x m s 2850 put s 255 ulong 0 2851 while lt get s 255 ulong 8 2852 put s 2000 get s 32 2853 put s 2001 get s 25 2854 put s 2002 mul get s 255 ulong 4 2855 put s 2003 get s 49 2856 p_imadi x m s 2857 put s 2000 get s 32 2858 put s 2001 get s add 125 get s 255 2859 p_sts32 x m s 2860 put s 255 add get s 255 1 2861 end 2862 put s 2000 get s 254 2863 p_region_end x m s 2864 end 2865 fn phase_323 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2866 note C phase: bar_sync(e) 2867 p_bar_sync x m s 2868 end 2869 fn phase_324 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2870 note C phase: int pp = V64(e) 2871 put s 256 p_V64 x m s 2872 end 2873 fn phase_325 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2874 note C phase: int pa64 = V64(e) 2875 put s 257 p_V64 x m s 2876 end 2877 fn phase_326 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2878 note C phase: int pb64 = V64(e) 2879 put s 258 p_V64 x m s 2880 end 2881 fn phase_327 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2882 note C phase: imadr(e, t2, cy, splits, cx) 2883 put s 2000 get s 33 2884 put s 2001 get s 22 2885 put s 2002 get s 16 2886 put s 2003 get s 21 2887 p_imadr x m s 2888 end 2889 fn phase_328 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2890 note C phase: imadi(e, R(t2), R(t2), 1040u * 4u, -1) 2891 put s 2000 get s 33 2892 put s 2001 get s 33 2893 put s 2002 mul ulong 1040 ulong 4 2894 put s 2003 neg ulong 1 2895 p_imadi x m s 2896 end 2897 fn phase_329 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2898 note C phase: imadw(e, pp, t2, 1u, ppart) 2899 put s 2000 get s 256 2900 put s 2001 get s 33 2901 put s 2002 ulong 1 2902 put s 2003 get s 243 2903 p_imadw x m s 2904 end 2905 fn phase_330 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2906 note C phase: isetp_ge_u32(e, tid, ccnt) 2907 put s 2000 get s 20 2908 put s 2001 get s 187 2909 p_isetp_ge_u32 x m s 2910 end 2911 fn phase_331 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2912 note C phase: { 2913 put s 259 p_region_skip_if_p0 x m s 2914 put s 2000 get s 50 2915 put s 2001 get s 20 2916 put s 2002 ulong 4 2917 put s 2003 neg ulong 1 2918 p_imadi x m s 2919 put s 2000 get s 50 2920 put s 2001 get s 25 2921 put s 2002 ulong 12576 2922 put s 2003 get s 50 2923 p_imadi x m s 2924 put s 260 ulong 0 2925 while lt get s 260 ulong 8 2926 put s 2000 get s 32 2927 put s 2001 get s 25 2928 put s 2002 mul get s 260 ulong 32 2929 put s 2003 get s 50 2930 p_imadi x m s 2931 put s 2000 get s add 217 get s 260 2932 put s 2001 get s 32 2933 put s 2002 choose eq get s 260 ulong 0 1 0 2934 p_lds32 x m s 2935 put s 260 add get s 260 1 2936 end 2937 put s 261 ulong 1 2938 while lt get s 261 ulong 8 2939 put s 2000 get s add 217 ulong 0 2940 put s 2001 get s add 217 ulong 0 2941 put s 2002 get s add 217 get s 261 2942 p_fadd x m s 2943 put s 261 add get s 261 1 2944 end 2945 put s 2000 get s 32 2946 put s 2001 get s 20 2947 put s 2002 ulong 4 2948 put s 2003 neg ulong 1 2949 p_imadi x m s 2950 put s 2000 get s 32 2951 put s 2001 get s 25 2952 put s 2002 add ulong 12288 ulong 256 2953 put s 2003 get s 32 2954 p_imadi x m s 2955 put s 2000 get s add 217 ulong 1 2956 put s 2001 get s 32 2957 put s 2002 ulong 1 2958 p_lds32 x m s 2959 put s 2000 get s 257 2960 put s 2001 get s 20 2961 put s 2002 ulong 4 2962 put s 2003 get s 256 2963 p_imadw x m s 2964 put s 2000 ulong 12 2965 put s 2001 get s 257 2966 put s 2002 get s add 217 ulong 1 2967 put s 2003 get s 7 2968 p_stg x m s 2969 put s 2000 get s 258 2970 put s 2001 get s 25 2971 put s 2002 ulong 32 2972 put s 2003 get s 257 2973 p_imadw x m s 2974 put s 2000 ulong 12 2975 put s 2001 get s 258 2976 put s 2002 get s add 217 ulong 0 2977 put s 2003 get s 7 2978 p_stg x m s 2979 put s 2000 get s 259 2980 p_region_end x m s 2981 end 2982 fn phase_332 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2983 note C phase: imadi(e, R(a0), R(warp), 1024u, -1) 2984 put s 2000 get s 49 2985 put s 2001 get s 23 2986 put s 2002 ulong 1024 2987 put s 2003 neg ulong 1 2988 p_imadi x m s 2989 end 2990 fn phase_333 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2991 note C phase: imadi(e, R(a0), R(lane), 16u, a0) 2992 put s 2000 get s 49 2993 put s 2001 get s 24 2994 put s 2002 ulong 16 2995 put s 2003 get s 49 2996 p_imadi x m s 2997 end 2998 fn phase_334 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 2999 note C phase: imadi(e, R(a0), R(one), 4096u, a0) 3000 put s 2000 get s 49 3001 put s 2001 get s 25 3002 put s 2002 ulong 4096 3003 put s 2003 get s 49 3004 p_imadi x m s 3005 end 3006 fn phase_335 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3007 note C phase: imadi(e, R(a1), R(tid), 4u, -1) 3008 put s 2000 get s 50 3009 put s 2001 get s 20 3010 put s 2002 ulong 4 3011 put s 2003 neg ulong 1 3012 p_imadi x m s 3013 end 3014 fn phase_336 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3015 note C phase: imadi(e, R(a1), R(one), 4096u, a1) 3016 put s 2000 get s 50 3017 put s 2001 get s 25 3018 put s 2002 ulong 4096 3019 put s 2003 get s 50 3020 p_imadi x m s 3021 end 3022 fn phase_337 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3023 note C phase: for (unsigned q = 0; q < 8; q++) 3024 put s 262 ulong 0 3025 while lt get s 262 ulong 8 3026 put s 2000 get s add 233 get s 262 3027 put s 2001 get s 25 3028 put s 1940 get s 262 3029 put s 1941 div get s 1940 ulong 4 3030 put s 1942 mul get s 1941 ulong 512 3031 put s 1943 get s 262 3032 put s 1944 rem get s 1943 ulong 4 3033 put s 1945 mul get s 1944 ulong 4 3034 put s 2002 add get s 1942 get s 1945 3035 put s 2003 get s 49 3036 p_imadi x m s 3037 put s 262 add get s 262 1 3038 end 3039 end 3040 fn phase_338 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3041 note C phase: for (unsigned w = 0; w < 8; w++) 3042 put s 263 ulong 0 3043 while lt get s 263 ulong 8 3044 put s 2000 get s add 225 get s 263 3045 put s 2001 get s 25 3046 put s 2002 mul get s 263 ulong 1024 3047 put s 2003 get s 50 3048 p_imadi x m s 3049 put s 263 add get s 263 1 3050 end 3051 end 3052 fn phase_339 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3053 note C phase: imadw(e, pa64, tid, 4u, pp) 3054 put s 2000 get s 257 3055 put s 2001 get s 20 3056 put s 2002 ulong 4 3057 put s 2003 get s 256 3058 p_imadw x m s 3059 end 3060 fn phase_340 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3061 note C phase: for (unsigned rd = 0; rd < 4; rd++) 3062 put s 264 ulong 0 3063 while lt get s 264 ulong 4 3064 put s 265 ulong 0 3065 while lt get s 265 ulong 2 3066 put s 266 ulong 0 3067 while lt get s 266 ulong 4 3068 put s 1940 get s 265 3069 put s 1941 mul get s 1940 ulong 4 3070 put s 1942 get s 266 3071 put s 1943 add get s 1941 get s 1942 3072 put s 1944 add 233 get s 1943 3073 put s 2000 get s get s 1944 3074 put s 1940 get s 264 3075 put s 1941 mul ulong 2 get s 1940 3076 put s 1942 get s 265 3077 put s 1943 add get s 1941 get s 1942 3078 put s 1944 add 109 get s 1943 3079 put s 1945 get s get s 1944 3080 put s 1946 get s 266 3081 put s 2001 pack get s 1945 get s 1946 3082 p_sts32 x m s 3083 put s 266 add get s 266 1 3084 end 3085 put s 265 add get s 265 1 3086 end 3087 p_bar_sync x m s 3088 put s 267 ulong 0 3089 while lt get s 267 ulong 8 3090 put s 2000 get s add 217 get s 267 3091 put s 2001 get s add 225 get s 267 3092 put s 2002 choose eq get s 267 ulong 0 1 0 3093 p_lds32 x m s 3094 put s 267 add get s 267 1 3095 end 3096 put s 268 ulong 1 3097 while lt get s 268 ulong 8 3098 put s 2000 get s add 217 ulong 0 3099 put s 2001 get s add 217 ulong 0 3100 put s 2002 get s add 217 get s 268 3101 p_fadd x m s 3102 put s 268 add get s 268 1 3103 end 3104 put s 2000 get s 258 3105 put s 2001 get s 25 3106 put s 2002 add ulong 64 mul get s 264 ulong 1024 3107 put s 2003 get s 257 3108 p_imadw x m s 3109 put s 2000 ulong 12 3110 put s 2001 get s 258 3111 put s 2002 get s add 217 ulong 0 3112 put s 2003 get s 7 3113 p_stg x m s 3114 p_bar_sync x m s 3115 put s 264 add get s 264 1 3116 end 3117 end 3118 fn phase_341 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3119 note C phase: membar(e) 3120 p_membar x m s 3121 end 3122 fn phase_342 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3123 note C phase: bar_sync(e) 3124 p_bar_sync x m s 3125 end 3126 fn phase_343 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3127 note C phase: movi(e, t1, 12832u) 3128 put s 2000 get s 32 3129 put s 2001 ulong 12832 3130 p_movi x m s 3131 end 3132 fn phase_344 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3133 note C phase: isetp_ge_u32(e, tid, one) 3134 put s 2000 get s 20 3135 put s 2001 get s 25 3136 p_isetp_ge_u32 x m s 3137 end 3138 fn phase_345 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3139 note C phase: { 3140 put s 269 p_region_skip_if_p0 x m s 3141 put s 2000 get s 258 3142 put s 2001 get s 22 3143 put s 2002 ulong 4 3144 put s 2003 get s 244 3145 p_imadw x m s 3146 put s 2000 get s add 217 ulong 0 3147 put s 2001 get s 258 3148 put s 2002 get s 25 3149 put s 2003 get s 7 3150 p_atom_add x m s 3151 put s 2000 get s 32 3152 put s 2001 get s add 217 ulong 0 3153 p_sts32 x m s 3154 put s 2000 get s 269 3155 p_region_end x m s 3156 end 3157 fn phase_346 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3158 note C phase: bar_sync(e) 3159 p_bar_sync x m s 3160 end 3161 fn phase_347 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3162 note C phase: lds32(e, R(ep[0]), t1, 1) 3163 put s 2000 get s add 217 ulong 0 3164 put s 2001 get s 32 3165 put s 2002 ulong 1 3166 p_lds32 x m s 3167 end 3168 fn phase_348 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3169 note C phase: isetp_ge_u32(e, ep[0], splitsm1) 3170 put s 2000 get s add 217 ulong 0 3171 put s 2001 get s 37 3172 p_isetp_ge_u32 x m s 3173 end 3174 fn phase_349 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3175 note C phase: const int bra_last = bra_if_p0_fwd(e) 3176 put s 270 p_bra_if_p0_fwd x m s 3177 end 3178 fn phase_350 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3179 note C phase: exit_k(e) 3180 p_exit_k x m s 3181 end 3182 fn phase_351 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3183 note C phase: patch_bra(e, bra_last, here(e)) 3184 put s 2000 get s 270 3185 put s 2001 p_here x m s 3186 p_patch_bra x m s 3187 end 3188 fn phase_352 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3189 note C phase: int ho = V(e) 3190 put s 271 p_V x m s 3191 end 3192 fn phase_353 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3193 note C phase: int oidx = V(e) 3194 put s 272 p_V x m s 3195 end 3196 fn phase_354 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3197 note C phase: int ma = V64(e) 3198 put s 273 p_V64 x m s 3199 end 3200 fn phase_355 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3201 note C phase: int la = V64(e) 3202 put s 274 p_V64 x m s 3203 end 3204 fn phase_356 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3205 note C phase: int aa = V64(e) 3206 put s 275 p_V64 x m s 3207 end 3208 fn phase_357 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3209 note C phase: int num = V(e) 3210 put s 276 p_V x m s 3211 end 3212 fn phase_358 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3213 note C phase: int den = V(e) 3214 put s 277 p_V x m s 3215 end 3216 fn phase_359 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3217 note C phase: int mx = V(e) 3218 put s 278 p_V x m s 3219 end 3220 fn phase_360 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3221 note C phase: int s_i = V(e) 3222 put s 279 p_V x m s 3223 end 3224 fn phase_361 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3225 note C phase: int rr = V(e) 3226 put s 280 p_V x m s 3227 end 3228 fn phase_362 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3229 note C phase: shr(e, ho, tid, 7) 3230 put s 2000 get s 271 3231 put s 2001 get s 20 3232 put s 2002 ulong 7 3233 p_shr x m s 3234 end 3235 fn phase_363 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3236 note C phase: mov(e, R(oidx), R(tid)) 3237 put s 2000 get s 272 3238 put s 2001 get s 20 3239 p_mov x m s 3240 end 3241 fn phase_364 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3242 note C phase: movrz(e, R(rr)) 3243 put s 2000 get s 280 3244 p_movrz x m s 3245 end 3246 fn phase_365 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3247 note C phase: movi(e, ccnt, 4) 3248 put s 2000 get s 187 3249 put s 2001 ulong 4 3250 p_movi x m s 3251 end 3252 fn phase_366 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3253 note C phase: imadr(e, t2, cy, splits, -1) 3254 put s 2000 get s 33 3255 put s 2001 get s 22 3256 put s 2002 get s 16 3257 put s 2003 neg ulong 1 3258 p_imadr x m s 3259 end 3260 fn phase_367 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3261 note C phase: imadi(e, R(t2), R(t2), 1040u * 4u, -1) 3262 put s 2000 get s 33 3263 put s 2001 get s 33 3264 put s 2002 mul ulong 1040 ulong 4 3265 put s 2003 neg ulong 1 3266 p_imadi x m s 3267 end 3268 fn phase_368 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3269 note C phase: const int L_r = here(e) 3270 put s 281 p_here x m s 3271 end 3272 fn phase_369 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3273 note C phase: loop_begin(e) 3274 p_loop_begin x m s 3275 end 3276 fn phase_370 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3277 note C phase: isetp_ge_u32(e, rr, ccnt) 3278 put s 2000 get s 280 3279 put s 2001 get s 187 3280 p_isetp_ge_u32 x m s 3281 end 3282 fn phase_371 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3283 note C phase: const int bra_rend = bra_if_p0_fwd(e) 3284 put s 282 p_bra_if_p0_fwd x m s 3285 end 3286 fn phase_372 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3287 note C phase: imadi(e, R(t1), R(ho), 4u, t2) 3288 put s 2000 get s 32 3289 put s 2001 get s 271 3290 put s 2002 ulong 4 3291 put s 2003 get s 33 3292 p_imadi x m s 3293 end 3294 fn phase_373 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3295 note C phase: imadw(e, ma, t1, 1u, ppart) 3296 put s 2000 get s 273 3297 put s 2001 get s 32 3298 put s 2002 ulong 1 3299 put s 2003 get s 243 3300 p_imadw x m s 3301 end 3302 fn phase_374 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3303 note C phase: imadw(e, la, one, 32u, ma) 3304 put s 2000 get s 274 3305 put s 2001 get s 25 3306 put s 2002 ulong 32 3307 put s 2003 get s 273 3308 p_imadw x m s 3309 end 3310 fn phase_375 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3311 note C phase: imadi(e, R(t1), R(oidx), 4u, t2) 3312 put s 2000 get s 32 3313 put s 2001 get s 272 3314 put s 2002 ulong 4 3315 put s 2003 get s 33 3316 p_imadi x m s 3317 end 3318 fn phase_376 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3319 note C phase: imadw(e, aa, t1, 1u, ppart) 3320 put s 2000 get s 275 3321 put s 2001 get s 32 3322 put s 2002 ulong 1 3323 put s 2003 get s 243 3324 p_imadw x m s 3325 end 3326 fn phase_377 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3327 note C phase: imadw(e, aa, one, 64u, aa) 3328 put s 2000 get s 275 3329 put s 2001 get s 25 3330 put s 2002 ulong 64 3331 put s 2003 get s 275 3332 p_imadw x m s 3333 end 3334 fn phase_378 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3335 note C phase: movrz(e, R(num)) 3336 put s 2000 get s 276 3337 p_movrz x m s 3338 end 3339 fn phase_379 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3340 note C phase: movrz(e, R(den)) 3341 put s 2000 get s 277 3342 p_movrz x m s 3343 end 3344 fn phase_380 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3345 note C phase: movi(e, mx, NEG_BIG) 3346 put s 2000 get s 278 3347 put s 2001 `4048155338` 3348 p_movi x m s 3349 end 3350 fn phase_381 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3351 note C phase: movrz(e, R(s_i)) 3352 put s 2000 get s 279 3353 p_movrz x m s 3354 end 3355 fn phase_382 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3356 note C phase: const int L_s = here(e) 3357 put s 283 p_here x m s 3358 end 3359 fn phase_383 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3360 note C phase: loop_begin(e) 3361 p_loop_begin x m s 3362 end 3363 fn phase_384 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3364 note C phase: isetp_ge_u32(e, s_i, splits) 3365 put s 2000 get s 279 3366 put s 2001 get s 16 3367 p_isetp_ge_u32 x m s 3368 end 3369 fn phase_385 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3370 note C phase: const int bra_send = bra_if_p0_fwd(e) 3371 put s 284 p_bra_if_p0_fwd x m s 3372 end 3373 fn phase_386 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3374 note C phase: ldg32(e, BW_IR_LDG_STRONG_SYS, ep[0], ma, udesc, 1) 3375 put s 2000 ulong 20 3376 put s 2001 get s add 217 ulong 0 3377 put s 2002 get s 273 3378 put s 2003 get s 7 3379 put s 2004 ulong 1 3380 p_ldg32 x m s 3381 end 3382 fn phase_387 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3383 note C phase: ldg32(e, BW_IR_LDG_STRONG_SYS, ep[1], la, udesc, 0) 3384 put s 2000 ulong 20 3385 put s 2001 get s add 217 ulong 1 3386 put s 2002 get s 274 3387 put s 2003 get s 7 3388 put s 2004 ulong 0 3389 p_ldg32 x m s 3390 end 3391 fn phase_388 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3392 note C phase: ldg32(e, BW_IR_LDG_STRONG_SYS, ep[2], aa, udesc, 0) 3393 put s 2000 ulong 20 3394 put s 2001 get s add 217 ulong 2 3395 put s 2002 get s 275 3396 put s 2003 get s 7 3397 put s 2004 ulong 0 3398 p_ldg32 x m s 3399 end 3400 fn phase_389 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3401 note C phase: if (MUT != 4) 3402 if ne get s 6 ulong 4 3403 put s 2000 get s add 217 ulong 3 3404 put s 2001 get s 278 3405 put s 2002 get s add 217 ulong 0 3406 p_fmaxx x m s 3407 put s 2000 get s add 217 ulong 4 3408 put s 2001 get s 278 3409 put s 2002 get s add 217 ulong 3 3410 p_fsub x m s 3411 put s 2000 ulong 47 3412 put s 2001 get s add 217 ulong 4 3413 put s 2002 get s add 217 ulong 4 3414 p_mufu x m s 3415 put s 2000 get s add 217 ulong 5 3416 put s 2001 get s add 217 ulong 0 3417 put s 2002 get s add 217 ulong 3 3418 p_fsub x m s 3419 put s 2000 ulong 47 3420 put s 2001 get s add 217 ulong 5 3421 put s 2002 get s add 217 ulong 5 3422 p_mufu x m s 3423 put s 2000 get s 278 3424 put s 2001 get s add 217 ulong 3 3425 p_mov x m s 3426 put s 2000 get s 276 3427 put s 2001 get s 276 3428 put s 2002 get s add 217 ulong 4 3429 p_fmul x m s 3430 put s 2000 get s 277 3431 put s 2001 get s 277 3432 put s 2002 get s add 217 ulong 4 3433 p_fmul x m s 3434 else 3435 put s 2000 get s add 217 ulong 5 3436 put s 2001 ulong `1065353216` 3437 p_movi x m s 3438 end 3439 end 3440 fn phase_390 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3441 note C phase: ffma(e, R(num), R(ep[5]), R(ep[2]), R(num)) 3442 put s 2000 get s 276 3443 put s 2001 get s add 217 ulong 5 3444 put s 2002 get s add 217 ulong 2 3445 put s 2003 get s 276 3446 p_ffma x m s 3447 end 3448 fn phase_391 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3449 note C phase: ffma(e, R(den), R(ep[5]), R(ep[1]), R(den)) 3450 put s 2000 get s 277 3451 put s 2001 get s add 217 ulong 5 3452 put s 2002 get s add 217 ulong 1 3453 put s 2003 get s 277 3454 p_ffma x m s 3455 end 3456 fn phase_392 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3457 note C phase: imadw(e, ma, one, 1040u * 4u, ma) 3458 put s 2000 get s 273 3459 put s 2001 get s 25 3460 put s 2002 mul ulong 1040 ulong 4 3461 put s 2003 get s 273 3462 p_imadw x m s 3463 end 3464 fn phase_393 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3465 note C phase: imadw(e, la, one, 1040u * 4u, la) 3466 put s 2000 get s 274 3467 put s 2001 get s 25 3468 put s 2002 mul ulong 1040 ulong 4 3469 put s 2003 get s 274 3470 p_imadw x m s 3471 end 3472 fn phase_394 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3473 note C phase: imadw(e, aa, one, 1040u * 4u, aa) 3474 put s 2000 get s 275 3475 put s 2001 get s 25 3476 put s 2002 mul ulong 1040 ulong 4 3477 put s 2003 get s 275 3478 p_imadw x m s 3479 end 3480 fn phase_395 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3481 note C phase: imadi(e, R(s_i), R(one), 1u, s_i) 3482 put s 2000 get s 279 3483 put s 2001 get s 25 3484 put s 2002 ulong 1 3485 put s 2003 get s 279 3486 p_imadi x m s 3487 end 3488 fn phase_396 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3489 note C phase: bra(e, L_s) 3490 put s 2000 get s 283 3491 p_bra x m s 3492 end 3493 fn phase_397 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3494 note C phase: loop_end(e) 3495 p_loop_end x m s 3496 end 3497 fn phase_398 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3498 note C phase: patch_bra(e, bra_send, here(e)) 3499 put s 2000 get s 284 3500 put s 2001 p_here x m s 3501 p_patch_bra x m s 3502 end 3503 fn phase_399 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3504 note C phase: mufu(e, BW_IR_MUFU_RCP, R(den), R(den)) 3505 put s 2000 ulong 40 3506 put s 2001 get s 277 3507 put s 2002 get s 277 3508 p_mufu x m s 3509 end 3510 fn phase_400 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3511 note C phase: fmul(e, R(num), R(num), R(den)) 3512 put s 2000 get s 276 3513 put s 2001 get s 276 3514 put s 2002 get s 277 3515 p_fmul x m s 3516 end 3517 fn phase_401 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3518 note C phase: fmul(e, R(num), R(num), R(oscale)) 3519 put s 2000 get s 276 3520 put s 2001 get s 276 3521 put s 2002 get s 245 3522 p_fmul x m s 3523 end 3524 fn phase_402 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3525 note C phase: imadi(e, R(t1), R(cy), 1024u, oidx) 3526 put s 2000 get s 32 3527 put s 2001 get s 22 3528 put s 2002 ulong 1024 3529 put s 2003 get s 272 3530 p_imadi x m s 3531 end 3532 fn phase_403 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3533 note C phase: imadw(e, pb64, t1, 4u, pout) 3534 put s 2000 get s 258 3535 put s 2001 get s 32 3536 put s 2002 ulong 4 3537 put s 2003 get s 242 3538 p_imadw x m s 3539 end 3540 fn phase_404 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3541 note C phase: stg(e, BW_IR_STG_E, pb64, R(num), udesc) 3542 put s 2000 ulong 12 3543 put s 2001 get s 258 3544 put s 2002 get s 276 3545 put s 2003 get s 7 3546 p_stg x m s 3547 end 3548 fn phase_405 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3549 note C phase: imadi(e, R(ho), R(one), 2u, ho) 3550 put s 2000 get s 271 3551 put s 2001 get s 25 3552 put s 2002 ulong 2 3553 put s 2003 get s 271 3554 p_imadi x m s 3555 end 3556 fn phase_406 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3557 note C phase: imadi(e, R(oidx), R(one), 256u, oidx) 3558 put s 2000 get s 272 3559 put s 2001 get s 25 3560 put s 2002 ulong 256 3561 put s 2003 get s 272 3562 p_imadi x m s 3563 end 3564 fn phase_407 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3565 note C phase: imadi(e, R(rr), R(one), 1u, rr) 3566 put s 2000 get s 280 3567 put s 2001 get s 25 3568 put s 2002 ulong 1 3569 put s 2003 get s 280 3570 p_imadi x m s 3571 end 3572 fn phase_408 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3573 note C phase: bra(e, L_r) 3574 put s 2000 get s 281 3575 p_bra x m s 3576 end 3577 fn phase_409 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3578 note C phase: loop_end(e) 3579 p_loop_end x m s 3580 end 3581 fn phase_410 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3582 note C phase: patch_bra(e, bra_rend, here(e)) 3583 put s 2000 get s 282 3584 put s 2001 p_here x m s 3585 p_patch_bra x m s 3586 end 3587 fn phase_411 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3588 note C phase: isetp_ge_u32(e, tid, one) 3589 put s 2000 get s 20 3590 put s 2001 get s 25 3591 p_isetp_ge_u32 x m s 3592 end 3593 fn phase_412 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3594 note C phase: { 3595 put s 285 p_region_skip_if_p0 x m s 3596 put s 2000 get s 258 3597 put s 2001 get s 22 3598 put s 2002 ulong 4 3599 put s 2003 get s 244 3600 p_imadw x m s 3601 put s 2000 ulong 22 3602 put s 2001 get s 258 3603 put s 2002 get s 26 3604 put s 2003 get s 7 3605 p_stg x m s 3606 put s 2000 get s 285 3607 p_region_end x m s 3608 end 3609 fn phase_413 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3610 note C phase: tail(e) 3611 p_tail x m s 3612 end 3613 fn phase_414 x edit ulong 8192 m edit ulong 512 s edit ulong 2048 to void 3614 note C phase: return omega_bw_regalloc_solve(prog); 3615 put s 1990 1 3616 ret 3617 end 3618 fn cg_attn kind ulong a ulong b ulong c ulong x edit ulong 8192 m edit ulong 512 to int 3619 if gt kind 1 3620 ret 1 3621 end 3622 if or lt a 1 gt a 4 3623 ret 1 3624 end 3625 if gt b 4 3626 ret 1 3627 end 3628 if ne c 0 3629 ret 1 3630 end 3631 s = new ulong 2048 0 3632 put s 0 a 3633 put s 1 b 3634 if eq get s 1990 0 3635 phase_1 x m s 3636 end 3637 if eq get s 1990 0 3638 phase_2 x m s 3639 end 3640 if eq get s 1990 0 3641 phase_3 x m s 3642 end 3643 if eq get s 1990 0 3644 phase_4 x m s 3645 end 3646 if eq get s 1990 0 3647 phase_5 x m s 3648 end 3649 if eq get s 1990 0 3650 phase_6 x m s 3651 end 3652 if eq get s 1990 0 3653 phase_7 x m s 3654 end 3655 if eq get s 1990 0 3656 phase_8 x m s 3657 end 3658 if eq get s 1990 0 3659 phase_9 x m s 3660 end 3661 if eq get s 1990 0 3662 phase_10 x m s 3663 end 3664 if eq get s 1990 0 3665 phase_11 x m s 3666 end 3667 if eq get s 1990 0 3668 phase_12 x m s 3669 end 3670 if eq get s 1990 0 3671 phase_13 x m s 3672 end 3673 if eq get s 1990 0 3674 phase_14 x m s 3675 end 3676 if eq get s 1990 0 3677 phase_15 x m s 3678 end 3679 if eq get s 1990 0 3680 phase_16 x m s 3681 end 3682 if eq get s 1990 0 3683 phase_17 x m s 3684 end 3685 if eq get s 1990 0 3686 phase_18 x m s 3687 end 3688 if eq get s 1990 0 3689 phase_19 x m s 3690 end 3691 if eq get s 1990 0 3692 phase_20 x m s 3693 end 3694 if eq get s 1990 0 3695 phase_21 x m s 3696 end 3697 if eq get s 1990 0 3698 phase_22 x m s 3699 end 3700 if eq get s 1990 0 3701 phase_23 x m s 3702 end 3703 if eq get s 1990 0 3704 phase_24 x m s 3705 end 3706 if eq get s 1990 0 3707 phase_25 x m s 3708 end 3709 if eq get s 1990 0 3710 phase_26 x m s 3711 end 3712 if eq get s 1990 0 3713 phase_27 x m s 3714 end 3715 if eq get s 1990 0 3716 phase_28 x m s 3717 end 3718 if eq get s 1990 0 3719 phase_29 x m s 3720 end 3721 if eq get s 1990 0 3722 phase_30 x m s 3723 end 3724 if eq get s 1990 0 3725 phase_31 x m s 3726 end 3727 if eq get s 1990 0 3728 phase_32 x m s 3729 end 3730 if eq get s 1990 0 3731 phase_33 x m s 3732 end 3733 if eq get s 1990 0 3734 phase_34 x m s 3735 end 3736 if eq get s 1990 0 3737 phase_35 x m s 3738 end 3739 if eq get s 1990 0 3740 phase_36 x m s 3741 end 3742 if eq get s 1990 0 3743 phase_37 x m s 3744 end 3745 if eq get s 1990 0 3746 phase_38 x m s 3747 end 3748 if eq get s 1990 0 3749 phase_39 x m s 3750 end 3751 if eq get s 1990 0 3752 phase_40 x m s 3753 end 3754 if eq get s 1990 0 3755 phase_41 x m s 3756 end 3757 if eq get s 1990 0 3758 phase_42 x m s 3759 end 3760 if eq get s 1990 0 3761 phase_43 x m s 3762 end 3763 if eq get s 1990 0 3764 phase_44 x m s 3765 end 3766 if eq get s 1990 0 3767 phase_45 x m s 3768 end 3769 if eq get s 1990 0 3770 phase_46 x m s 3771 end 3772 if eq get s 1990 0 3773 phase_47 x m s 3774 end 3775 if eq get s 1990 0 3776 phase_48 x m s 3777 end 3778 if eq get s 1990 0 3779 phase_49 x m s 3780 end 3781 if eq get s 1990 0 3782 phase_50 x m s 3783 end 3784 if eq get s 1990 0 3785 phase_51 x m s 3786 end 3787 if eq get s 1990 0 3788 phase_52 x m s 3789 end 3790 if eq get s 1990 0 3791 phase_53 x m s 3792 end 3793 if eq get s 1990 0 3794 phase_54 x m s 3795 end 3796 if eq get s 1990 0 3797 phase_55 x m s 3798 end 3799 if eq get s 1990 0 3800 phase_56 x m s 3801 end 3802 if eq get s 1990 0 3803 phase_57 x m s 3804 end 3805 if eq get s 1990 0 3806 phase_58 x m s 3807 end 3808 if eq get s 1990 0 3809 phase_59 x m s 3810 end 3811 if eq get s 1990 0 3812 phase_60 x m s 3813 end 3814 if eq get s 1990 0 3815 phase_61 x m s 3816 end 3817 if eq get s 1990 0 3818 phase_62 x m s 3819 end 3820 if eq get s 1990 0 3821 phase_63 x m s 3822 end 3823 if eq get s 1990 0 3824 phase_64 x m s 3825 end 3826 if eq get s 1990 0 3827 phase_65 x m s 3828 end 3829 if eq get s 1990 0 3830 phase_66 x m s 3831 end 3832 if eq get s 1990 0 3833 phase_67 x m s 3834 end 3835 if eq get s 1990 0 3836 phase_68 x m s 3837 end 3838 if eq get s 1990 0 3839 phase_69 x m s 3840 end 3841 if eq get s 1990 0 3842 phase_70 x m s 3843 end 3844 if eq get s 1990 0 3845 phase_71 x m s 3846 end 3847 if eq get s 1990 0 3848 phase_72 x m s 3849 end 3850 if eq get s 1990 0 3851 phase_73 x m s 3852 end 3853 if eq get s 1990 0 3854 phase_74 x m s 3855 end 3856 if eq get s 1990 0 3857 phase_75 x m s 3858 end 3859 if eq get s 1990 0 3860 phase_76 x m s 3861 end 3862 if eq get s 1990 0 3863 phase_77 x m s 3864 end 3865 if eq get s 1990 0 3866 phase_78 x m s 3867 end 3868 if eq get s 1990 0 3869 phase_79 x m s 3870 end 3871 if eq get s 1990 0 3872 phase_80 x m s 3873 end 3874 if eq get s 1990 0 3875 phase_81 x m s 3876 end 3877 if eq get s 1990 0 3878 phase_82 x m s 3879 end 3880 if eq get s 1990 0 3881 phase_83 x m s 3882 end 3883 if eq get s 1990 0 3884 phase_84 x m s 3885 end 3886 if eq get s 1990 0 3887 phase_85 x m s 3888 end 3889 if eq get s 1990 0 3890 phase_86 x m s 3891 end 3892 if eq get s 1990 0 3893 phase_87 x m s 3894 end 3895 if eq get s 1990 0 3896 phase_88 x m s 3897 end 3898 if eq get s 1990 0 3899 phase_89 x m s 3900 end 3901 if eq get s 1990 0 3902 phase_90 x m s 3903 end 3904 if eq get s 1990 0 3905 phase_91 x m s 3906 end 3907 if eq get s 1990 0 3908 phase_92 x m s 3909 end 3910 if eq get s 1990 0 3911 phase_93 x m s 3912 end 3913 if eq get s 1990 0 3914 phase_94 x m s 3915 end 3916 if eq get s 1990 0 3917 phase_95 x m s 3918 end 3919 if eq get s 1990 0 3920 phase_96 x m s 3921 end 3922 if eq get s 1990 0 3923 phase_97 x m s 3924 end 3925 if eq get s 1990 0 3926 phase_98 x m s 3927 end 3928 if eq get s 1990 0 3929 phase_99 x m s 3930 end 3931 if eq get s 1990 0 3932 phase_100 x m s 3933 end 3934 if eq get s 1990 0 3935 phase_101 x m s 3936 end 3937 if eq get s 1990 0 3938 phase_102 x m s 3939 end 3940 if eq get s 1990 0 3941 phase_103 x m s 3942 end 3943 if eq get s 1990 0 3944 phase_104 x m s 3945 end 3946 if eq get s 1990 0 3947 phase_105 x m s 3948 end 3949 if eq get s 1990 0 3950 phase_106 x m s 3951 end 3952 if eq get s 1990 0 3953 phase_107 x m s 3954 end 3955 if eq get s 1990 0 3956 phase_108 x m s 3957 end 3958 if eq get s 1990 0 3959 phase_109 x m s 3960 end 3961 if eq get s 1990 0 3962 phase_110 x m s 3963 end 3964 if eq get s 1990 0 3965 phase_111 x m s 3966 end 3967 if eq get s 1990 0 3968 phase_112 x m s 3969 end 3970 if eq get s 1990 0 3971 phase_113 x m s 3972 end 3973 if eq get s 1990 0 3974 phase_114 x m s 3975 end 3976 if eq get s 1990 0 3977 phase_115 x m s 3978 end 3979 if eq get s 1990 0 3980 phase_116 x m s 3981 end 3982 if eq get s 1990 0 3983 phase_117 x m s 3984 end 3985 if eq get s 1990 0 3986 phase_118 x m s 3987 end 3988 if eq get s 1990 0 3989 phase_119 x m s 3990 end 3991 if eq get s 1990 0 3992 phase_120 x m s 3993 end 3994 if eq get s 1990 0 3995 phase_121 x m s 3996 end 3997 if eq get s 1990 0 3998 phase_122 x m s 3999 end 4000 if eq get s 1990 0 4001 phase_123 x m s 4002 end 4003 if eq get s 1990 0 4004 phase_124 x m s 4005 end 4006 if eq get s 1990 0 4007 phase_125 x m s 4008 end 4009 if eq get s 1990 0 4010 phase_126 x m s 4011 end 4012 if eq get s 1990 0 4013 phase_127 x m s 4014 end 4015 if eq get s 1990 0 4016 phase_128 x m s 4017 end 4018 if eq get s 1990 0 4019 phase_129 x m s 4020 end 4021 if eq get s 1990 0 4022 phase_130 x m s 4023 end 4024 if eq get s 1990 0 4025 phase_131 x m s 4026 end 4027 if eq get s 1990 0 4028 phase_132 x m s 4029 end 4030 if eq get s 1990 0 4031 phase_133 x m s 4032 end 4033 if eq get s 1990 0 4034 phase_134 x m s 4035 end 4036 if eq get s 1990 0 4037 phase_135 x m s 4038 end 4039 if eq get s 1990 0 4040 phase_136 x m s 4041 end 4042 if eq get s 1990 0 4043 phase_137 x m s 4044 end 4045 if eq get s 1990 0 4046 phase_138 x m s 4047 end 4048 if eq get s 1990 0 4049 phase_139 x m s 4050 end 4051 if eq get s 1990 0 4052 phase_140 x m s 4053 end 4054 if eq get s 1990 0 4055 phase_141 x m s 4056 end 4057 if eq get s 1990 0 4058 phase_142 x m s 4059 end 4060 if eq get s 1990 0 4061 phase_143 x m s 4062 end 4063 if eq get s 1990 0 4064 phase_144 x m s 4065 end 4066 if eq get s 1990 0 4067 phase_145 x m s 4068 end 4069 if eq get s 1990 0 4070 phase_146 x m s 4071 end 4072 if eq get s 1990 0 4073 phase_147 x m s 4074 end 4075 if eq get s 1990 0 4076 phase_148 x m s 4077 end 4078 if eq get s 1990 0 4079 phase_149 x m s 4080 end 4081 if eq get s 1990 0 4082 phase_150 x m s 4083 end 4084 if eq get s 1990 0 4085 phase_151 x m s 4086 end 4087 if eq get s 1990 0 4088 phase_152 x m s 4089 end 4090 if eq get s 1990 0 4091 phase_153 x m s 4092 end 4093 if eq get s 1990 0 4094 phase_154 x m s 4095 end 4096 if eq get s 1990 0 4097 phase_155 x m s 4098 end 4099 if eq get s 1990 0 4100 phase_156 x m s 4101 end 4102 if eq get s 1990 0 4103 phase_157 x m s 4104 end 4105 if eq get s 1990 0 4106 phase_158 x m s 4107 end 4108 if eq get s 1990 0 4109 phase_159 x m s 4110 end 4111 if eq get s 1990 0 4112 phase_160 x m s 4113 end 4114 if eq get s 1990 0 4115 phase_161 x m s 4116 end 4117 if eq get s 1990 0 4118 phase_162 x m s 4119 end 4120 if eq get s 1990 0 4121 phase_163 x m s 4122 end 4123 if eq get s 1990 0 4124 phase_164 x m s 4125 end 4126 if eq get s 1990 0 4127 phase_165 x m s 4128 end 4129 if eq get s 1990 0 4130 phase_166 x m s 4131 end 4132 if eq get s 1990 0 4133 phase_167 x m s 4134 end 4135 if eq get s 1990 0 4136 phase_168 x m s 4137 end 4138 if eq get s 1990 0 4139 phase_169 x m s 4140 end 4141 if eq get s 1990 0 4142 phase_170 x m s 4143 end 4144 if eq get s 1990 0 4145 phase_171 x m s 4146 end 4147 if eq get s 1990 0 4148 phase_172 x m s 4149 end 4150 if eq get s 1990 0 4151 phase_173 x m s 4152 end 4153 if eq get s 1990 0 4154 phase_174 x m s 4155 end 4156 if eq get s 1990 0 4157 phase_175 x m s 4158 end 4159 if eq get s 1990 0 4160 phase_176 x m s 4161 end 4162 if eq get s 1990 0 4163 phase_177 x m s 4164 end 4165 if eq get s 1990 0 4166 phase_178 x m s 4167 end 4168 if eq get s 1990 0 4169 phase_179 x m s 4170 end 4171 if eq get s 1990 0 4172 phase_180 x m s 4173 end 4174 if eq get s 1990 0 4175 phase_181 x m s 4176 end 4177 if eq get s 1990 0 4178 phase_182 x m s 4179 end 4180 if eq get s 1990 0 4181 phase_183 x m s 4182 end 4183 if eq get s 1990 0 4184 phase_184 x m s 4185 end 4186 if eq get s 1990 0 4187 phase_185 x m s 4188 end 4189 if eq get s 1990 0 4190 phase_186 x m s 4191 end 4192 if eq get s 1990 0 4193 phase_187 x m s 4194 end 4195 if eq get s 1990 0 4196 phase_188 x m s 4197 end 4198 if eq get s 1990 0 4199 phase_189 x m s 4200 end 4201 if eq get s 1990 0 4202 phase_190 x m s 4203 end 4204 if eq get s 1990 0 4205 phase_191 x m s 4206 end 4207 if eq get s 1990 0 4208 phase_192 x m s 4209 end 4210 if eq get s 1990 0 4211 phase_193 x m s 4212 end 4213 if eq get s 1990 0 4214 phase_194 x m s 4215 end 4216 if eq get s 1990 0 4217 phase_195 x m s 4218 end 4219 if eq get s 1990 0 4220 phase_196 x m s 4221 end 4222 if eq get s 1990 0 4223 phase_197 x m s 4224 end 4225 if eq get s 1990 0 4226 phase_198 x m s 4227 end 4228 if eq get s 1990 0 4229 phase_199 x m s 4230 end 4231 if eq get s 1990 0 4232 phase_200 x m s 4233 end 4234 if eq get s 1990 0 4235 phase_201 x m s 4236 end 4237 if eq get s 1990 0 4238 phase_202 x m s 4239 end 4240 if eq get s 1990 0 4241 phase_203 x m s 4242 end 4243 if eq get s 1990 0 4244 phase_204 x m s 4245 end 4246 if eq get s 1990 0 4247 phase_205 x m s 4248 end 4249 if eq get s 1990 0 4250 phase_206 x m s 4251 end 4252 if eq get s 1990 0 4253 phase_207 x m s 4254 end 4255 if eq get s 1990 0 4256 phase_208 x m s 4257 end 4258 if eq get s 1990 0 4259 phase_209 x m s 4260 end 4261 if eq get s 1990 0 4262 phase_210 x m s 4263 end 4264 if eq get s 1990 0 4265 phase_211 x m s 4266 end 4267 if eq get s 1990 0 4268 phase_212 x m s 4269 end 4270 if eq get s 1990 0 4271 phase_213 x m s 4272 end 4273 if eq get s 1990 0 4274 phase_214 x m s 4275 end 4276 if eq get s 1990 0 4277 phase_215 x m s 4278 end 4279 if eq get s 1990 0 4280 phase_216 x m s 4281 end 4282 if eq get s 1990 0 4283 phase_217 x m s 4284 end 4285 if eq get s 1990 0 4286 phase_218 x m s 4287 end 4288 if eq get s 1990 0 4289 phase_219 x m s 4290 end 4291 if eq get s 1990 0 4292 phase_220 x m s 4293 end 4294 if eq get s 1990 0 4295 phase_221 x m s 4296 end 4297 if eq get s 1990 0 4298 phase_222 x m s 4299 end 4300 if eq get s 1990 0 4301 phase_223 x m s 4302 end 4303 if eq get s 1990 0 4304 phase_224 x m s 4305 end 4306 if eq get s 1990 0 4307 phase_225 x m s 4308 end 4309 if eq get s 1990 0 4310 phase_226 x m s 4311 end 4312 if eq get s 1990 0 4313 phase_227 x m s 4314 end 4315 if eq get s 1990 0 4316 phase_228 x m s 4317 end 4318 if eq get s 1990 0 4319 phase_229 x m s 4320 end 4321 if eq get s 1990 0 4322 phase_230 x m s 4323 end 4324 if eq get s 1990 0 4325 phase_231 x m s 4326 end 4327 if eq get s 1990 0 4328 phase_232 x m s 4329 end 4330 if eq get s 1990 0 4331 phase_233 x m s 4332 end 4333 if eq get s 1990 0 4334 phase_234 x m s 4335 end 4336 if eq get s 1990 0 4337 phase_235 x m s 4338 end 4339 if eq get s 1990 0 4340 phase_236 x m s 4341 end 4342 if eq get s 1990 0 4343 phase_237 x m s 4344 end 4345 if eq get s 1990 0 4346 phase_238 x m s 4347 end 4348 if eq get s 1990 0 4349 phase_239 x m s 4350 end 4351 if eq get s 1990 0 4352 phase_240 x m s 4353 end 4354 if eq get s 1990 0 4355 phase_241 x m s 4356 end 4357 if eq get s 1990 0 4358 phase_242 x m s 4359 end 4360 if eq get s 1990 0 4361 phase_243 x m s 4362 end 4363 if eq get s 1990 0 4364 phase_244 x m s 4365 end 4366 if eq get s 1990 0 4367 phase_245 x m s 4368 end 4369 if eq get s 1990 0 4370 phase_246 x m s 4371 end 4372 if eq get s 1990 0 4373 phase_247 x m s 4374 end 4375 if eq get s 1990 0 4376 phase_248 x m s 4377 end 4378 if eq get s 1990 0 4379 phase_249 x m s 4380 end 4381 if eq get s 1990 0 4382 phase_250 x m s 4383 end 4384 if eq get s 1990 0 4385 phase_251 x m s 4386 end 4387 if eq get s 1990 0 4388 phase_252 x m s 4389 end 4390 if eq get s 1990 0 4391 phase_253 x m s 4392 end 4393 if eq get s 1990 0 4394 phase_254 x m s 4395 end 4396 if eq get s 1990 0 4397 phase_255 x m s 4398 end 4399 if eq get s 1990 0 4400 phase_256 x m s 4401 end 4402 if eq get s 1990 0 4403 phase_257 x m s 4404 end 4405 if eq get s 1990 0 4406 phase_258 x m s 4407 end 4408 if eq get s 1990 0 4409 phase_259 x m s 4410 end 4411 if eq get s 1990 0 4412 phase_260 x m s 4413 end 4414 if eq get s 1990 0 4415 phase_261 x m s 4416 end 4417 if eq get s 1990 0 4418 phase_262 x m s 4419 end 4420 if eq get s 1990 0 4421 phase_263 x m s 4422 end 4423 if eq get s 1990 0 4424 phase_264 x m s 4425 end 4426 if eq get s 1990 0 4427 phase_265 x m s 4428 end 4429 if eq get s 1990 0 4430 phase_266 x m s 4431 end 4432 if eq get s 1990 0 4433 phase_267 x m s 4434 end 4435 if eq get s 1990 0 4436 phase_268 x m s 4437 end 4438 if eq get s 1990 0 4439 phase_269 x m s 4440 end 4441 if eq get s 1990 0 4442 phase_270 x m s 4443 end 4444 if eq get s 1990 0 4445 phase_271 x m s 4446 end 4447 if eq get s 1990 0 4448 phase_272 x m s 4449 end 4450 if eq get s 1990 0 4451 phase_273 x m s 4452 end 4453 if eq get s 1990 0 4454 phase_274 x m s 4455 end 4456 if eq get s 1990 0 4457 phase_275 x m s 4458 end 4459 if eq get s 1990 0 4460 phase_276 x m s 4461 end 4462 if eq get s 1990 0 4463 phase_277 x m s 4464 end 4465 if eq get s 1990 0 4466 phase_278 x m s 4467 end 4468 if eq get s 1990 0 4469 phase_279 x m s 4470 end 4471 if eq get s 1990 0 4472 phase_280 x m s 4473 end 4474 if eq get s 1990 0 4475 phase_281 x m s 4476 end 4477 if eq get s 1990 0 4478 phase_282 x m s 4479 end 4480 if eq get s 1990 0 4481 phase_283 x m s 4482 end 4483 if eq get s 1990 0 4484 phase_284 x m s 4485 end 4486 if eq get s 1990 0 4487 phase_285 x m s 4488 end 4489 if eq get s 1990 0 4490 phase_286 x m s 4491 end 4492 if eq get s 1990 0 4493 phase_287 x m s 4494 end 4495 if eq get s 1990 0 4496 phase_288 x m s 4497 end 4498 if eq get s 1990 0 4499 phase_289 x m s 4500 end 4501 if eq get s 1990 0 4502 phase_290 x m s 4503 end 4504 if eq get s 1990 0 4505 phase_291 x m s 4506 end 4507 if eq get s 1990 0 4508 phase_292 x m s 4509 end 4510 if eq get s 1990 0 4511 phase_293 x m s 4512 end 4513 if eq get s 1990 0 4514 phase_294 x m s 4515 end 4516 if eq get s 1990 0 4517 phase_295 x m s 4518 end 4519 if eq get s 1990 0 4520 phase_296 x m s 4521 end 4522 if eq get s 1990 0 4523 phase_297 x m s 4524 end 4525 if eq get s 1990 0 4526 phase_298 x m s 4527 end 4528 if eq get s 1990 0 4529 phase_299 x m s 4530 end 4531 if eq get s 1990 0 4532 phase_300 x m s 4533 end 4534 if eq get s 1990 0 4535 phase_301 x m s 4536 end 4537 if eq get s 1990 0 4538 phase_302 x m s 4539 end 4540 if eq get s 1990 0 4541 phase_303 x m s 4542 end 4543 if eq get s 1990 0 4544 phase_304 x m s 4545 end 4546 if eq get s 1990 0 4547 phase_305 x m s 4548 end 4549 if eq get s 1990 0 4550 phase_306 x m s 4551 end 4552 if eq get s 1990 0 4553 phase_307 x m s 4554 end 4555 if eq get s 1990 0 4556 phase_308 x m s 4557 end 4558 if eq get s 1990 0 4559 phase_309 x m s 4560 end 4561 if eq get s 1990 0 4562 phase_310 x m s 4563 end 4564 if eq get s 1990 0 4565 phase_311 x m s 4566 end 4567 if eq get s 1990 0 4568 phase_312 x m s 4569 end 4570 if eq get s 1990 0 4571 phase_313 x m s 4572 end 4573 if eq get s 1990 0 4574 phase_314 x m s 4575 end 4576 if eq get s 1990 0 4577 phase_315 x m s 4578 end 4579 if eq get s 1990 0 4580 phase_316 x m s 4581 end 4582 if eq get s 1990 0 4583 phase_317 x m s 4584 end 4585 if eq get s 1990 0 4586 phase_318 x m s 4587 end 4588 if eq get s 1990 0 4589 phase_319 x m s 4590 end 4591 if eq get s 1990 0 4592 phase_320 x m s 4593 end 4594 if eq get s 1990 0 4595 phase_321 x m s 4596 end 4597 if eq get s 1990 0 4598 phase_322 x m s 4599 end 4600 if eq get s 1990 0 4601 phase_323 x m s 4602 end 4603 if eq get s 1990 0 4604 phase_324 x m s 4605 end 4606 if eq get s 1990 0 4607 phase_325 x m s 4608 end 4609 if eq get s 1990 0 4610 phase_326 x m s 4611 end 4612 if eq get s 1990 0 4613 phase_327 x m s 4614 end 4615 if eq get s 1990 0 4616 phase_328 x m s 4617 end 4618 if eq get s 1990 0 4619 phase_329 x m s 4620 end 4621 if eq get s 1990 0 4622 phase_330 x m s 4623 end 4624 if eq get s 1990 0 4625 phase_331 x m s 4626 end 4627 if eq get s 1990 0 4628 phase_332 x m s 4629 end 4630 if eq get s 1990 0 4631 phase_333 x m s 4632 end 4633 if eq get s 1990 0 4634 phase_334 x m s 4635 end 4636 if eq get s 1990 0 4637 phase_335 x m s 4638 end 4639 if eq get s 1990 0 4640 phase_336 x m s 4641 end 4642 if eq get s 1990 0 4643 phase_337 x m s 4644 end 4645 if eq get s 1990 0 4646 phase_338 x m s 4647 end 4648 if eq get s 1990 0 4649 phase_339 x m s 4650 end 4651 if eq get s 1990 0 4652 phase_340 x m s 4653 end 4654 if eq get s 1990 0 4655 phase_341 x m s 4656 end 4657 if eq get s 1990 0 4658 phase_342 x m s 4659 end 4660 if eq get s 1990 0 4661 phase_343 x m s 4662 end 4663 if eq get s 1990 0 4664 phase_344 x m s 4665 end 4666 if eq get s 1990 0 4667 phase_345 x m s 4668 end 4669 if eq get s 1990 0 4670 phase_346 x m s 4671 end 4672 if eq get s 1990 0 4673 phase_347 x m s 4674 end 4675 if eq get s 1990 0 4676 phase_348 x m s 4677 end 4678 if eq get s 1990 0 4679 phase_349 x m s 4680 end 4681 if eq get s 1990 0 4682 phase_350 x m s 4683 end 4684 if eq get s 1990 0 4685 phase_351 x m s 4686 end 4687 if eq get s 1990 0 4688 phase_352 x m s 4689 end 4690 if eq get s 1990 0 4691 phase_353 x m s 4692 end 4693 if eq get s 1990 0 4694 phase_354 x m s 4695 end 4696 if eq get s 1990 0 4697 phase_355 x m s 4698 end 4699 if eq get s 1990 0 4700 phase_356 x m s 4701 end 4702 if eq get s 1990 0 4703 phase_357 x m s 4704 end 4705 if eq get s 1990 0 4706 phase_358 x m s 4707 end 4708 if eq get s 1990 0 4709 phase_359 x m s 4710 end 4711 if eq get s 1990 0 4712 phase_360 x m s 4713 end 4714 if eq get s 1990 0 4715 phase_361 x m s 4716 end 4717 if eq get s 1990 0 4718 phase_362 x m s 4719 end 4720 if eq get s 1990 0 4721 phase_363 x m s 4722 end 4723 if eq get s 1990 0 4724 phase_364 x m s 4725 end 4726 if eq get s 1990 0 4727 phase_365 x m s 4728 end 4729 if eq get s 1990 0 4730 phase_366 x m s 4731 end 4732 if eq get s 1990 0 4733 phase_367 x m s 4734 end 4735 if eq get s 1990 0 4736 phase_368 x m s 4737 end 4738 if eq get s 1990 0 4739 phase_369 x m s 4740 end 4741 if eq get s 1990 0 4742 phase_370 x m s 4743 end 4744 if eq get s 1990 0 4745 phase_371 x m s 4746 end 4747 if eq get s 1990 0 4748 phase_372 x m s 4749 end 4750 if eq get s 1990 0 4751 phase_373 x m s 4752 end 4753 if eq get s 1990 0 4754 phase_374 x m s 4755 end 4756 if eq get s 1990 0 4757 phase_375 x m s 4758 end 4759 if eq get s 1990 0 4760 phase_376 x m s 4761 end 4762 if eq get s 1990 0 4763 phase_377 x m s 4764 end 4765 if eq get s 1990 0 4766 phase_378 x m s 4767 end 4768 if eq get s 1990 0 4769 phase_379 x m s 4770 end 4771 if eq get s 1990 0 4772 phase_380 x m s 4773 end 4774 if eq get s 1990 0 4775 phase_381 x m s 4776 end 4777 if eq get s 1990 0 4778 phase_382 x m s 4779 end 4780 if eq get s 1990 0 4781 phase_383 x m s 4782 end 4783 if eq get s 1990 0 4784 phase_384 x m s 4785 end 4786 if eq get s 1990 0 4787 phase_385 x m s 4788 end 4789 if eq get s 1990 0 4790 phase_386 x m s 4791 end 4792 if eq get s 1990 0 4793 phase_387 x m s 4794 end 4795 if eq get s 1990 0 4796 phase_388 x m s 4797 end 4798 if eq get s 1990 0 4799 phase_389 x m s 4800 end 4801 if eq get s 1990 0 4802 phase_390 x m s 4803 end 4804 if eq get s 1990 0 4805 phase_391 x m s 4806 end 4807 if eq get s 1990 0 4808 phase_392 x m s 4809 end 4810 if eq get s 1990 0 4811 phase_393 x m s 4812 end 4813 if eq get s 1990 0 4814 phase_394 x m s 4815 end 4816 if eq get s 1990 0 4817 phase_395 x m s 4818 end 4819 if eq get s 1990 0 4820 phase_396 x m s 4821 end 4822 if eq get s 1990 0 4823 phase_397 x m s 4824 end 4825 if eq get s 1990 0 4826 phase_398 x m s 4827 end 4828 if eq get s 1990 0 4829 phase_399 x m s 4830 end 4831 if eq get s 1990 0 4832 phase_400 x m s 4833 end 4834 if eq get s 1990 0 4835 phase_401 x m s 4836 end 4837 if eq get s 1990 0 4838 phase_402 x m s 4839 end 4840 if eq get s 1990 0 4841 phase_403 x m s 4842 end 4843 if eq get s 1990 0 4844 phase_404 x m s 4845 end 4846 if eq get s 1990 0 4847 phase_405 x m s 4848 end 4849 if eq get s 1990 0 4850 phase_406 x m s 4851 end 4852 if eq get s 1990 0 4853 phase_407 x m s 4854 end 4855 if eq get s 1990 0 4856 phase_408 x m s 4857 end 4858 if eq get s 1990 0 4859 phase_409 x m s 4860 end 4861 if eq get s 1990 0 4862 phase_410 x m s 4863 end 4864 if eq get s 1990 0 4865 phase_411 x m s 4866 end 4867 if eq get s 1990 0 4868 phase_412 x m s 4869 end 4870 if eq get s 1990 0 4871 phase_413 x m s 4872 end 4873 if eq get s 1990 0 4874 phase_414 x m s 4875 end 4876 if eq kind 1 4877 note Mutant: change the first uniform-load stall; parity must kill this for every accepted configuration. 4878 put x 6 xor get x 6 shl ulong 1 41 4879 end 4880 if ne get m 4 0 4881 ret 2 4882 end 4883 ret 0 4884 end