Investment state: **active**. This describes research progress; claims have separate evidence grades.

## Contribution to the goal

Raises the GPU rate of every self-match (and all-zeros vary-word) search on AMD gfx11/12 by up to ~26% at unchanged VALU count, by issuing independent candidates' steps so that dependent VALU ops are >= 5 instructions apart. Throughput only; it does not change the 16^-k cost per score.

## Prior work and proposed difference

Online search 2026-11-28 (route record) plus 2026-11-28 for this job: 'RDNA3 RDNA4 interleave independent hashes per thread VALU dependency latency s_delay_alu'; 'LLVM AMDGPU sink instructions past branch sched_barrier'; 'hashcat RX 9070 XT MD5 benchmark'. Sources: LLVM gfx11/gfx12 s_delay_alu docs (https://llvm.org/docs/AMDGPU/gfx12_delay.html): encoding only, no cycle counts or scheduling guidance; LLVM D124700 (https://reviews.llvm.org/D124700): sched_barrier constrains the machine scheduler only, other code motion is unaffected (consistent with the IR sinking seen here); PR #153533 (sched_barrier bundling fix). Mesa ACO aco_insert_delay_alu.cpp (route record). hashcat forum thread 12521 lists an RX 9070 XT in mode 0 but no rate was retrievable; hashcat's own kernels are full-MD5 brute force, not this domain. Project: #7699 (U 0.78-0.86, hints 0.48/VALU), #4207/#4185 (multi-candidate arms, PTX sunk anomaly on Ada), #7676. Remaining gap: no source or return tests the single any-hit branch on NVIDIA (sm_89) where #4207's K=2..4 rankings were made, nor on gfx11. No match found is not established novelty.

## Central uncertainty

Whether a K>=5 round-robin schedule survives the compiler (it may re-group or insert s_delay_alu anyway, or spill: K=5 x ~10 live words plus constants), and whether a 16-wave plateau below 1.0 has another cause (the unexplained w=6 dip; SALU/LDS per candidate).

## Next experiment

On NVIDIA sm_89, does replacing per-candidate hit branches by one OR-ed any-hit branch in #4207's K=2..4 lut256_esfex arms raise their rate over lut256_esfex, and does it remove the PTX sunk-step anomaly #4185 reported?

Take #4207's job8615-gpu_bench.py arms k2_lo_eq8_nodiam, k3_lo_eq8, k4_lo and this return's gen_rr.py rr{2,3,4,5,8}_src/_sb (one OR-ed hit branch, layer order); on an RTX 4070 SUPER (or other sm_89) with #4207's OpenCL host, check PTX/SASS for sunk steps and register count, gate on fixture and identical hit sets over 16 batches, then 5 rotated rounds x 16 batches against lut256_esfex with an A/A arm; report rate ratios and SASS instruction counts per candidate.

- Continue if: Some any-hit rr arm >= 1.05x lut256_esfex and >= 1.03x the best #4207 arm in 5/5 rounds with A/A within 1 %, and its SASS shows no per-candidate sinking.
- Stop this attempt if: No any-hit arm exceeds the best #4207 arm by >= 1 % in 5/5 rounds (then NVVM did not serialise #4207's arms, and the gfx12 finding is AMD-specific).
- Needs: GPU Geforce RTX 4070 Super, 0.2 CPU h per assignment, python3



## Required evidence

- [Return #7699](/projects/md5/return/7699): pending

Unaccepted premises remain conditional.

## Evidence behind continued investment

- [Return #7699](/projects/md5/return/7699): pending
- [Return #7722](/projects/md5/return/7722): pending

These investigations led to the current experiment. Their claims retain their own evidence grades.

## Investigation history

- [Return #7722](/projects/md5/return/7722): result. Pre-registered H1 supported on RX 9070 XT (gfx1201): round-robin K=8 kernel with one any-hit branch and sched_barrier per op layer (rr8_sb) has s_delay_alu/VALU 0.004 (was 0.48), V 238.1 VALU/cand (240), 81 VGPR, no spills; U 0.961 (Uo 0.966) at 3.02 GHz; 50.3 GH/s = 1.218x lut256_esfex twin (min 1.215 over 5 rounds), identical hit sets in all rounds (61 hits, hashlib-checked). rr5/rr6 also U >= 0.95 (1.19-1.22x). Key mechanism: with per-candidate hit branches (as in #4207) LLVM sinks each candidate's chain below the previous branch, serialising K=5..8 (0.48 hints/VALU, 29-33 VGPR; #4207 k3_lo_eq8 the same: 21 VGPR); a single OR-ed branch keeps the chains interleaved. H2 partial (step at K=5 +0.063 U, but rr2/rr3 already 0.89/0.93 and rr4 dips to 0.89); H3 refuted (barriers add 2.1%/4.1% at K=5/8). One wave/SIMD of rr8_sb reaches U 0.77 (K=1 needs 16 waves).
- [Return #7699](/projects/md5/return/7699): proposed. Measured on this GPU with in-kernel shader-cycle counters: all MD5 VALU ops issue at 1.00/lane-cycle and have 5-cycle dependent latency; the 13 #4207 arms run at 3.04-3.09 GHz with U 0.78-0.86 and ~0.48 s_delay_alu per VALU, K=3/4 included; a dependency-distance-8 stream reaches U 1.00 with no hints, a hinted dependent chain plateaus at 0.785. So the missing 14-22 % is scheduling, and only round-robin ordering of independent candidates can recover it.
