Repository navigation
agx: rotate AGX3B integer-ALU compute loops and interleave IC/SCIB pipes - #1302
Conversation
There was a problem hiding this comment.
Verdict: MERGE at 0b084210
Blockers: none (second-generation J516s / G15S confirmation is queued)
Checked: no Apple material, no AI attribution, human DCO Signed-off-by on both commits, Borealis naming clean, strictly scoped to AGX3B (agx3_is_agx3b() / AGX_ISA_ENCODING_AGX3B) compute integer-ALU loops leaving AGX2, AGX3C, all graphics shaders, and all FP/memory compute loops 100% bit-identical (70/70 5-chip drm-shim matrix verified), agx_nir_unroll_runtime_loops_ex() guards rotation to cl->bottom && exact_tail && loop_is_int_alu_only(loop) (rejecting nested loops, float ALU, tex/deref, and non-reg intrinsics), agx_ilp_schedule() splits ILP_PIPE_SCIB vs ILP_PIPE_IC with 2-cycle IC issue spacing and caps bounded loop ALU lookahead strictly within the current occupancy tier (peak > 0 && peak <= 256 guarding agx_occupancy_for_register_count(), max_registers - 8, budget - 8, program_peak), 263/263 meson test --suite asahi PASS (including new rotation + IC/SCIB + occupancy-tier/high-pressure tests), exact-head J773g (G16G) mirrored AB PASS (compute.uber uniform d4 -4.08%, d1 -3.57%, divergent d1 -2.26%, 0 faults, all CRCs exact) and targeted Vulkan CTS 624/624 Pass, PR body has Tested: and Risk: Two-way door, branch is MERGEABLE against aurora-wip.
Evidence
- Inspected full diff (
+671/-63acrossagx_compile.c,agx_nir.h,agx_nir_unroll_runtime_loops.c,agx_pressure_schedule.c,test-agx3-fm-wave2.cpp,test-m5-runtime-loops.cpp):loop_is_int_alu_only(): rejects nested loops, any float ALU input/output,tex/deref, and any intrinsic other thanload_reg/store_reg, and requiresint_ops > 0.unroll_loop()rotation branch: guards entry once outsidemain_loop, repeats bodyfactortimes (<= 16), and places bottom latchif (!b_cont) break, keepingagx_nir_unroll_runtime_loops()callers unchanged (rotate_main = false).agx_ilp_schedule()(agx_pressure_schedule.c:2566-2615): requiresdynamic && size16 && ctx->stage == MESA_SHADER_COMPUTE && ctx->key->dev.encoding == AGX_ISA_ENCODING_AGX3B && int_ops >= 8 && fp_ops == 0, checkspeak > 0 && peak <= 256before callingagx_occupancy_for_register_count(), and only widensalu_slack(max8) whenpeak + 2 <= max_cap.
- Offline & hardware verification at
0b084210:263/263unit tests,70/705-chipdrm-shim,624/624targeted Vulkan CTS, exact-headJ773gmirrored AB with-2.26%to-4.08%GPU wins oncompute.uberand bit-identical non-target workloads.
0b08421 to
e4c9d1d
Compare
There was a problem hiding this comment.
The new IC issue spacing and split SCIB/IC pipe preference are keyed on interleave_alu, not the new int_alu_loop predicate. The shared no-memory loop call still passes is_agx3 && !m5 for interleave_alu even when int_alu_loop is false, so mixed FP/integer loops and other callers enabling that flag can change scheduling. Please separate the new split/spacing enable from the legacy interleave flag, preserve the old INT bucket for non-target callers, and add a mixed loop negative control whose scheduling order can distinguish the pipes.
DjDeveloperr
left a comment
There was a problem hiding this comment.
HOLD at e4c9d1dff6f43b9430b53b27273dc353652d47b5.
src/asahi/compiler/agx_pressure_schedule.c:2619picks the tier from unrounded SSA pressure. On G16G, the estimate stays within its 152-half cap while actual allocation rises from 159 to 162 halves, crossing 160. The sweep found 72 crossings in 103,032 pairs at 104, 136, 160 and 184, with 24 per chip on G15S, G16G and G17P. The same sweep with the live-base scheduler had zero crossings. Use allocator-compatible widths and liveness for the guard, and validate physical placement across the boundaries.src/asahi/compiler/agx_pressure_schedule.c:2640gives the shared ALU interleaver the new IC spacing and split pipe preference even whenint_alu_loopis false. A G16G vertex or fragment loop with two independentBFEILs and oneIADDchanges fromBFEIL BFEIL IADDtoBFEIL IADD BFEIL. With a liveFADDin a compute loop, the order changes fromBFEIL FADD BFEIL IADDtoBFEIL IADD BFEIL FADD. Gate the new pipe split and pacing on the intended compute predicate and retain the legacy integer bucket for other callers.
Reproduction and checks
- For the 160-half crossing, adapt the CFG in
Agx3bComputeIntLoopPreserves48And96HalfGranules. Setany_cf = true, preload at half index 2 and keep three 32-bitvec3s and 108 scalar halves live across the loop. Use 24 extra scalar halves on the alternate path and four integer chains with aBFEILin place of the first shiftedIADD. Compare pressure-only and pressure-then-ILP throughagx_ra()usingmax_reg + 1. Estimated peak goes 146 to 152 and allocated halves go 159 to 162. With sevenvec3s and 20 scalar halves the same shape goes 103 to 106, crossing 104. The scheduler charges six halves pervec3. RA rounds it to eight and also accounts for reserved registers and late kills. - The sweep covered all nine tracked boundaries with scalar, vec2, vec3 and vec4 values and SCIB-only and mixed IC/SCIB chains. Every allocation succeeded.
- Both new gtests passed at the reviewed head. With the scheduler restored to
0b084210df63and the new tests retained, the granule test reproduced 48 to 50 halves. The 8-half growth test passed in both configurations, and needs a fixture that fails with the guard reverted. - The NIR rotation requires AGX3B compute and an exact-tail bottom-tested loop. The entry guard and latch evaluate the legacy comparison on the state at each unrolled group boundary. The matcher rejects extra jumps and nested loop bodies. The rotation admits only register intrinsics, and the exact-tail check restricts live-outs to shared back-edge values or rematerializable invariants.
- Clean merge onto live
aurora-wipatb156422890b2, clean diff check, and matching human DCO sign-offs on both commits. - Fedora 44 full Asahi suite with DRM shim on the clean merge had 343 passes and 3 failures with each of
-Db_ndebug=falseand-Db_ndebug=true. The three known EGL priority cases failed atdlopen("libEGL.so.1")because the container lacks that library. The compiler suite passed in both modes. - The PR body records exact-head J773g smoke with 6/6 CRCs and zero faults. The second-generation AGX3B row on J700 or J516s is pending.
e4c9d1d to
10ebf8d
Compare
There was a problem hiding this comment.
Verdict: FINISH, then merge at 10ebf8db
Blockers:
- Branch is
CONFLICTING(DIRTY) againstaurora-wip; rebase or forward-merge onto currentaurora-wip(no force push if merging) and confirm host tests and binary/hardware checks on the resulting head.
Checked:
- Both code blockers from
e4c9d1dfare cleanly resolved (0 code blockers remain):src/asahi/compiler/agx_pressure_schedule.c: verifiedilp_ra_reserved_halves(),ilp_order_ra_demand(), andilp_block_ra_demand()matchagx_calc_register_demand()semantics (power-of-twora_size16, aligned reserved low halves,PRELOAD/EXPORTfloors, deduped killed sources, and unread destination overlap) with a 4-half margin inagx_ilp_agx3b_compute_granule_cap()andstrict_ra_capenforcing bothra_after <= ra_before + slackandra_after <= cap. Fallback when already inside the margin setsalu_slack = 0,strict_ra_cap = true, andsplit_int_pipes = false.split_int_pipesgating: verified everyilp_schedule_block()call site passesfalseexcept safe AGX3B computeint_alu_loopblocks (int_ops >= 8 && fp_ops == 0withra_peak <= max_cap), keepingIMAD/BFI/BFEIL/EXTR/ASRin the single legacy integer pipe with noic_readypacing on all other stages and mixed FP/int loops.src/asahi/compiler/agx_nir_unroll_runtime_loops.c: verifiedrotate_mainis strictly gated to AGX3B computecl->bottom && exact_tail && loop_is_int_alu_only(loop)(no nested loops, float ALU, tex/deref, or non-reg intrinsics).- Unit tests (
test-agx3-fm-wave2.cpp,test-m5-runtime-loops.cpp): verified coverage of all 9 AGX3B boundaries (48..184) acrossG15S/G16G/G17P, revert-proofed<= ra_peak + 8enforcement, non-leakage on vertex/fragment/mixed-FP loops, and rotated bottom-tested loops.
Evidence
- Head:
10ebf8db(mergeable: CONFLICTING,mergeStateStatus: DIRTY,+1347/-88across 5 files). - Author verification at
10ebf8db:compute.uberG16Gbinaries bit-identical toe4c9d1df/0b084210,meson test --suite asahi(-Db_ndebug=false)263/263PASS, 5-chipdrm-shim70/70PASS. - Note (non-code): second-generation AGX3B confirmation on J516s (
G15S) remains listed underNot yet.
Add agx_nir_unroll_runtime_loops_ex() with a rotate_main option and enable it for AGX3B compute shaders. When unrolling an exact-tail bottom-tested pure integer-ALU counted loop, guard entry once outside the unrolled main loop and keep the loop bottom-tested with the else-break latch form. Restricting rotation to exact-tail pure integer-ALU loops keeps FP16/FP32 and memory-bound compute loops bit-identical while preserving early loop compare placement (without register-cache interference on the early loop compare) and exposing the full unrolled integer loop body as a single header block for bounded-pressure IC/SCIB ILP scheduling. AGX3C, AGX2, and non-compute stages remain unchanged. Signed-off-by: DjDeveloperr <hey@djdev.me>
10ebf8d to
a78fb0e
Compare
There was a problem hiding this comment.
Verdict: MERGE at a78fb0e5
Blockers: none
Checked:
- Mergeability:
a78fb0e5resolves the10ebf8dbconflict cleanly (MERGEABLEonaurora-wip). src/asahi/compiler/agx_pressure_schedule.c: verifiedilp_is_pure_int_loop_op()strictly whitelists pure integer ALU, SSA glue, and integer control-flow opcodes (no FP, SFU, conversion, matrix, subgroup, or memory op can qualify forsplit_int_pipes), alongside the previously verified allocator-compatible RA demand (ilp_ra_reserved_halves(),ilp_order_ra_demand(),ilp_block_ra_demand(), 4-half margin,strict_ra_cap) andsplit_int_pipesgating.src/asahi/compiler/test/test-agx3-fm-wave2.cppandtest-m5-runtime-loops.cpp: verified the upgraded non-vacuous 9-int-op mixed fixtures (FADD,RCP,FCMPSEL) andnir_intrinsic_set_*initializer cleanup.
Evidence
- Head:
a78fb0e5(MERGEABLEonaurora-wip). - Author verification at
a78fb0e5:meson test --suite asahi(-Db_ndebug=false)263/263PASS;compute.uberuniform/divergentG16Gbinaries bit-identical toe4c9d1df;dt4/sh_alpha/pf4bit-identical to3c22d09094c0; 0 Clang-Wc99-designatorwarnings. - Note: second-generation AGX3B confirmation on J516s (
G15S) remains listed underNot yet.
DjDeveloperr
left a comment
There was a problem hiding this comment.
CHANGES-NEEDED at a78fb0e5363a442c86447bf5895bf62744098933.
Blocker
src/asahi/compiler/agx_pressure_schedule.c:1408 admits BITTEST_SELECT_AGX3 to the pure-integer whitelist. It is a floating-point select with float32 inputs and output. In a G16G compute loop with seven BFEIL instructions, two IADD instructions and a live BITTEST_SELECT_AGX3, the first two scheduled operations are BFEIL, IADD. Removing just this whitelist entry restores BFEIL, BFEIL and the probe passes. Exclude the opcode and cover it in the mixed-loop regression.
Checked
- Clean merge onto
878ddc0cc649, clean diff check and matching DCO sign-offs on both commits. The tile-load pinning and fragment SFU scheduler arguments from #1298 and #1299 are preserved. - Fedora 44 aarch64 Clang 22.1.8 Asahi suite passed 346/346 in each assertion mode with zero new warnings. Both
compute.ubervariants passed on all five DRM-shim chip profiles. - Physical RA showed 0 crossings in 103,032 pairs across all nine boundaries from 48 through 184 halves. Restoring unrounded demand reproduced 72 crossings.
Negative controls
Removing the whitelist made the FADD, RCP and FCMPSEL mixed-loop cases fail. Removing the rotation purity guard failed the floating-point and memory fixtures. An independent pure-integer, non-exact-tail loop passed with the guard and hit a NIR assertion when the exact-tail guard was removed. Disabling rotation failed the bottom-latch checks. Removing the 8-half growth limit let the independent test run grow from 56 to 68 halves and fail.
|
J700 second-generation confirmation. J700 / G17P B1, Aurora Fedora Remix release 44 aarch64, kernel PR head Vulkan CTS 1.4.7.1 passed 988/988 on each arm (120 compute, 624 loops, 4 spirv-integer, 120 ssbo, 120 subgroups), with 0 failures, crashes, timeouts or skips. GPUBench ABBA then BAAB, four captures per arm. All 48/48 captures matched their CPU reference CRC bit for bit. Times are medians of capture medians in µs. Brackets show the four-capture GPU range for each arm.
The kernel journal, dmesg and audit logs recorded zero GPU faults, recoveries, hang kills, quarantines, kernel WARN/BUG/Oops or SELinux AVCs. The temporary ICD overlay was removed, stock boot and Mesa checks matched, and |
On AGX3B compute integer-ALU loops, bounded ALU lookahead separates the 2-cycle IC pipe (IMAD/BFI/BFEIL/EXTR/ASR) from the 1-cycle SCIB pipe (IADD/BITOP/ICMPSEL) with 2-cycle IC pacing so integer ALU chains issue without stalling on back-to-back IC ops. Gate both the IC/SCIB pipe split and 2-cycle IC pacing strictly to pure integer AGX3B compute loops (explicit pure-integer/control/SSA opcode whitelist so no FP, SFU, conversion, matrix, subgroup, or memory op can qualify), keeping vertex, fragment, and mixed FP/SFU compute loops on legacy single-bucket integer scheduling. Size the per-block granule/occupancy cap and acceptance check from allocator-compatible register demand (power-of-two vector widths, aligned reserved low registers, preload/export floors, and late-kill source overlaps) with a 4-half RA margin and strict <= ra_peak + 8 growth bound so bounded lookahead never crosses a 48-half, 96-half, or occupancy register boundary on any AGX3B chip. Signed-off-by: DjDeveloperr <hey@djdev.me>
a78fb0e to
ed74eed
Compare
There was a problem hiding this comment.
Verdict: MERGE at ed74eed after hosted checks and hardware validation.
Checked: BITTEST_SELECT_AGX3 is excluded from the pure-integer whitelist and has a live mixed-loop regression with nine integer instructions, so the integer-count gate does not make the check vacuous. The prior J700 run remains tied to its tested commit. Keep hardware validation on the revised head.
|
J700 second-generation confirmation. J700 / G17P B1, Aurora Fedora Remix release 44 aarch64, kernel PR head The run finished before Vulkan CTS 1.4.7.1 passed 988/988 on each arm (120 compute, 624 loops, 4 spirv-integer, 120 ssbo, 120 subgroups), with 0 failures, crashes, timeouts or skips. GPUBench ABBA then BAAB, four captures per arm. All 48/48 captures matched their CPU reference CRC bit for bit. Times are medians of capture medians in µs. Brackets show the four-capture GPU range for each arm.
The uniform d4 GPU median changed by -2.18% on this head and +4.36% on the preceding head. The two arms' ranges overlapped in both runs and for all six workloads in this run. The kernel journal, dmesg and audit logs recorded zero GPU faults, recoveries, hang kills, quarantines, kernel WARN/BUG/Oops or SELinux AVCs. The temporary ICD overlay was removed, and the stock boot and Mesa checks matched before and after the run. |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict at ed74eed35557b21290ed8f177702310370e6844e FINISH, then merge.
Blockers None in the software review. Hardware results have separate rows.
Checked Removing BITTEST_SELECT_AGX3 resolves the mixed-loop scheduling issue. Restoring that one entry changes the second instruction from BFEIL to IADD in both the submitted regression and a probe with three 32-bit register inputs and mask 1. Both pass with the fixed whitelist.
Evidence
- Clean merge onto live
aurora-wipate48e57fa8b7f(tree006db34b95a6). Preceding commit939509e3e8bfis unchanged and both commits are signed off. - Fedora 44 aarch64 Clang 22.1.8 passed 347 Asahi and 5 Poly tests in each assertion mode, with zero new compiler warnings.
compute.uberuniform, divergent and ILP machine code matched the previous candidate across five DRM-shim profiles.- The remaining whitelist covers integer, bitwise, control flow and SSA operations.
ICMPSELuses integer comparisons and forwards selected payload bits unchanged.
What
Two strictly AGX3B-scoped (
agx3_is_agx3b(), coveringG15/G16/G17P) compute compiler optimizations targeting narrow integer-ALU loops (compute.uber), leaving all graphics shaders, non-integer compute loops (compute.fp16,compute.heavy,compute.stereo,compute.conv2d), and non-AGX3B targets (AGX2/G13G,AGX3C/G17S) 100% bit-identical toaurora-wip:c454fa1d77a4—agx: rotate AGX3B compute exact-tail integer-ALU unrolled main loopsagx_nir_unroll_runtime_loops_ex()with arotate_mainoption enabled for AGX3B compute shaders.exact_tail && loop_is_int_alu_only(loop)), guards entry once outside the unrolled main loop and preserves the bottom-tested else-break latch form.e4c9d1dff6f4—agx: interleave AGX3B IC/SCIB integer pipes with bounded loop ALU pressureagx_ilp_schedule()intoILP_PIPE_SCIB(IADD,BITOP,ICMPSEL; throughput 1) andILP_PIPE_IC(IMAD,BFI,BFEIL,EXTR,ASR; throughput 2), enforcing 2-cycle IC issue spacing wheninterleave_aluis active on AGX3B.agx_ilp_agx3b_compute_granule_cap(signed peak)reservingAGX_ILP_M5_OCCUPANCY_MARGIN(8halves) below 48 halves (-> 40), 96 halves (-> 88), and every higheragx_occupancy_for_register_count()step (104->96,112->104,128->120,136->128,144->136,160->152,184->176), returning0wheneverpeak <= 0 || peak > 256 || peak + 8 > top, and aligningbudgettobudget - 8.bool strict_captoilp_schedule_block()(falseat all other call sites) enforcing the strict conjunction of BOTH the granule cap AND the<= peak + 8growth bound (after > before + slack || (cap > 0 && live_past_end + after > cap)), preventing even +1/+2 half boundary crossings inside the 8-half RA margin.G16Gcompute.ubernarrow inner loops (128 -> 0on>> 9loops,192 -> 3on<< 7loops) and keeps consecutive IC ops<= 2without crossing any granule/occupancy step or changing GPRs, threads, or spills.Tested
Offline verification (
e4c9d1dff6f4on liveaurora-wip @ 702dd0165bd0,fedorax86_64-Db_ndebug=false)meson test --suite asahi: 263 / 263 PASS, 0 fail, 0 timeout:M5RuntimeLoops.BottomTestedRotateMainKeepsBottomTest(memory-load and FP-loop negative controls).FmWave2IlpSchedule.Agx3bComputeIntLoopPreserves48And96HalfGranules(actualagx_ra()sweep across all 9 boundaries{48, 96, 104, 112, 128, 136, 144, 160, 184}with scalars + 3 livevec3s, 0 boundary crossings; confirmed failing on pre-fix0b084210df63where48 -> 50).FmWave2IlpSchedule.Agx3bComputeIntLoopEnforces8HalfGrowthBoundand updatedAgx3bComputeLoopRespectsOccupancyTierCapAndHighPressure.drm-shimmatrix (g16g,g17p,g15s,g17s,g13g, withASAHI_SHIM_VALIDATE_G17P_STREAM=1on AGX3B) +heavy_alu+stereo: 70 / 70 PASS (0 refusals, 0 asserts, 0 rejections):g17s(AGX3C) andg13g(AGX2): 14 / 14 100% bit-identical to702dd0165bd0.g16g(M4): ONLYcompute.uber(uniformanddivergent) changes, and BOTH binaries are 100% bit-identical to0b084210df63(uniformsha256eb7d5d0a8220323e9ac20d4cb5ce3eb24dab3bda12778ba376ebee9456a5fd03,divergentsha2564f4ba43b8ceee58c1c5348fb280ffabb70c95c6b5fc5e9b733f4952902433921);compute.fp16,compute.heavy,compute.stereo,compute.conv2d, and all graphics rows are 100% bit-identical to702dd0165bd0.Apple Silicon hardware (
Mac mini J773g,T8132/G16G B0, stock kernel7.3.0-ARCH-m4mainefed1ae3, SLC ON 2 planes,gpubench @ ae90a40f11b9)702dd0165bd0vs0b084210df63, bit-identicalcompute.uberbinaries toe4c9d1dff6f4, 30 launches & 130 samples per arm, 18/18 gate CRCs, 78/78 timed CRCs, 0 GPU faults/recoveries/hang kills/quarantine):compute.uber uniform d4-3.92..-4.01%)-3.98..-4.12%)b022fbafcompute.uber uniform d1-3.44..-3.64%)b022fbafcompute.uber divergent d4-1.41..-1.88%)9963f56ccompute.uber divergent d1-2.22..-2.75%)9963f56ccompute.fp16 alu_mix d1(bit-identical)5166a42ccompute.heavy alu d1(bit-identical)compute.stereo d1 / d2(bit-identical)c62aadf9compute.conv2d gaussian d4(bit-identical)2d55a14d--jobs 1,0b084210df63): 624 Pass / 0 NotSupported / 0 Fail / 0 Crash (0 GPU faults, SLC ON 2 planes; exact-heade4c9d1dff6f4J773g smoke PASS (git-e4c9d1dff6, 6/6 CRCs, 0 faults, SLC ON 2 planes): matched-protocolcompute.uber uniform d4178.0944 us/submit / 177.791 us GPU,uniform d1177.46 us GPU,divergent d4469.49 us/submit,divergent d1482.92 us GPU,fp16 alu_mix d1391.88 us GPU,conv2d gaussian d4481.75 us GPU).Risk
Two-way door. Strictly AGX3B-scoped (
agx3_is_agx3b(), coveringG15/G16/G17P) compute compiler optimization with no UAPI, ABI, or kernel impact;AGX2,AGX3C, all graphics shaders, and all non-integer compute loops are verified 100% bit-identical.Not yet
MacBook Pro J516s(G15S/ M3 Pro) via Frontier.Rebase & Review-Blocker Fixes (
10ebf8db4b5eaee582bd7b9edab6af16906aed08)Rebased onto
aurora-wip @ 5b64e3c144d1(git merge-tree --write-treeclean vs liveorigin/aurora-wip @ 3c22d09094c0) and addressed both#6098808902review findings:ilp_ra_reserved_halves()(ALIGN_POT(agx_reserved_registers(ctx), 2)),ilp_order_ra_demand(), andilp_block_ra_demand()accounting for power-of-two vector rounding (util_next_power_of_two(agx_index_size_16(dest))), preload/export floors, and exact late-kill overlaps, with a 4-half RA margin inagx_ilp_agx3b_compute_granule_cap()and strictstrict_ra_capacceptance. Verified 0 crossings across all 9 AGX3B granule boundaries (48..184) acrossG15S/G16G/G17Pwith0/1/3/732-bitvec3s (Agx3bComputeIntLoopPreserves48And96HalfGranules) plus revert-proofed<= ra_peak + 8enforcement (Agx3bComputeIntLoopEnforces8HalfGrowthBound).split_int_pipesgating: Strictly gatedILP_PIPE_IC/ILP_PIPE_SCIBpipe split andic_ready = best_t + 2pacing behindbool split_int_pipes(safeint_alu_loopcompute blocks only), verified byAgx3bPipeSplitAndIcPacingDoNotLeakOutsideComputeIntLoops(vertex, fragment, and mixed FP/int compute loops unchanged).10ebf8db4b5e):compute.uberuniform(7a4c00e4...) anddivergent(8ed928db...)G16Gbinaries 100% bit-identical toe4c9d1dff6f4/0b084210df63;meson test --suite asahi(-Db_ndebug=false) 263/263 PASS; 5-chipdrm-shimmatrix 70/70 PASS.Rebase onto
#1298& Complete Pure-Int Whitelist (a78fb0e5363a442c86447bf5895bf62744098933)aurora-wip @ 3c22d09094c0(#1298+#1299+#1306, cleangit merge-treevs liveorigin/aurora-wip @ 878ddc0cc649).ilp_is_pure_int_loop_op()) so no FP, SFU (RCP,RSQRT,SRSQRT,FLOOR,CEIL,TRUNC,FCMPSEL,LOG2,EXP2,SIN_PT_*,SINC_AGX3,PERSP_RCP_AGX3,CONVERT, etc.), matrix, subgroup, or memory op can enablesplit_int_pipes.Agx3bPipeSplitAndIcPacingDoNotLeakOutsideComputeIntLoopsto non-vacuous 9-int-op mixed fixtures (FADD,RCP,FCMPSELeach with 7BFEIL+ 2IADD), revert-verified to fail all 3 cases if the whitelist is removed.BottomTestedRotateMainKeepsBottomTest(test-m5-runtime-loops.cpp) withnir_intrinsic_set_*for 0 Clang-Wc99-designatorwarnings.a78fb0e5363a(-Db_ndebug=false):meson test --suite asahi263/263 PASS;compute.uberuniform/divergentG16Gbinaries 100% bit-identical toe4c9d1dff6f4, anddt4/sh_alpha/pf4100% bit-identical to3c22d09094c0.Final Whitelist Fix (
ed74eed35557b21290ed8f177702310370e6844e)AGX_OPCODE_BITTEST_SELECT_AGX3(float32 select) fromilp_is_pure_int_loop_op()insrc/asahi/compiler/agx_pressure_schedule.c; verified zero float/SFU opcodes remain in the whitelist againstsrc/asahi/compiler/agx_opcodes.py.MIXED_BITTEST_SELECT(7 BFEIL + 2 IADD + live BITTEST_SELECT_AGX3) toFmWave2IlpSchedule.Agx3bPipeSplitAndIcPacingDoNotLeakOutsideComputeIntLoops(revert-verified to fail whenBITTEST_SELECT_AGX3is allowed).ed74eed35557(-Db_ndebug=false):meson test --suite asahi -t 3263/263 PASS;G16Gcompute.uberuniformanddivergentbinaries remain 100% bit-identical toa78fb0e5363a/e4c9d1dff6f4.Exact-Head J773g Smoke (
ed74eed35557b21290ed8f177702310370e6844e)T8132,G16G B0,7.3.0-ARCH-m4mainefed1ae3, SLC ON 2 planes) PASS:ed74eed35557b21290ed8f177702310370e6844e(tree875b59a41dc84e511226b03296f332314a950b00), loaded Borealisgit-ed74eed355, driver SHA-2560750fff0ba60958408091c150aea3cf1dab3368e0d36e01d8eb02ad2db7cc4b6.ae90a40f11b9ce22542fe55dabdb60033859fd13(--warmup-ms 150 --runs 3 --run-ms 200):compute.uberuniform d4:168.35 µssubmit /175.65 µsGPU (CRCb022fbaf)compute.uberdivergent d4:470.59 µssubmit /636.96 µsGPU (CRC9963f56c)render.deferredtile MSAA4 d2:285.71 µssubmit /297.38 µsGPU (CRC6dc74b48)render.shadowalpha-test d2:892.86 µssubmit /892.00 µsGPU (CRC7be9463a)