Files
6gbvram---16gb-ram/crates
illuminatedfellow a12e0ae254 ir::build: a scalar code past the registers is not an index past unspill's table
unspill marks the scalar codes a program uses in a table of 128, but an
instruction's effects can name a code up to 255 (a VOP3 compare whose
sdst field holds a constant's code, e.g. 0xD4C5A8D7), which panicked
with an index out of bounds instead of a translation error. The table
now covers every code, as stores and other beside it already do.

Found by fuzzing the translator (mutated test programs and random words
through ir::build, structure, resources, io and lowering). Port of
avatarmanz/VIctory-7900XTX#325; the new test panics on this main
(index 215, len 128) and passes with the change.

(cherry picked from commit d30f8bee17096cab6a6de3f5f37244211dcaa861)
2026-11-27 17:29:35 -08:00
..