diff options
| author | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 09:40:38 +0100 |
|---|---|---|
| committer | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 09:40:38 +0100 |
| commit | 2e33dc681a4b009413fc04cdf4d8a438ef5c1600 (patch) | |
| tree | 2541774bba7535077f8f222caa231e34ca4f32b7 /runtime/src/tls_host.cpp | |
| parent | 0d61c357656d92334eef97facec1ae4f7b2b60b1 (diff) | |
salu_diff: SCC consumers in control flow (--branches, FUZZ-4 follow-up)
With --branches every SCC producer may be followed by a chain of 1..3
consumers (s_cselect_b32, s_addc_u32, s_subb_u32) or by s_cbranch_scc0/scc1
forward over the next 1..3 scalar instructions (one lane, no loops, no
nesting). Half the instructions are drawn from the SCC producers. Program
lines write a branch as "+N" instructions; the listing for the translator
carries the dword offset and ; encoding: placeholders of each instruction's
size (literal = 8 bytes), which place the branch targets. The reference
models the skip, the shrinker keeps skipped ranges consistent, and a
mismatch prints the real offsets. Default runs are unchanged so existing
seeds keep their programs; the hardware oracle refuses --branches.
8000 branch programs (8 seeds, max-ops 6/12/20, one with --bfe-any) match
on main. Also drops the stale "until #349 lands" note (#349 is merged).
AI-assisted (Claude Code).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/tls_host.cpp')
0 files changed, 0 insertions, 0 deletions