match(iqdec_b65): port sibling semantics for decode_iquant (30→13 reg) #955
Reference in New Issue
Block a user
Delete Branch "agent/grok/decomp-worker-1/iqdec_b65"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Port
decode_iquant_rc-style semantics intoTMCJPEGDEC_decode_iquant(libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32.c):u16*huffman table indexing indecodeLongHuffman/decodeACHuffmanload_buff(s32*)conv_row1UL <</ parenthesizedextra -= (tmp - 1)formsScore: 276/276, 30 → 13 reg-only (structural 0). Single-function unit; no other funcs to regress.
Remaining wall
AC callee-saved permutation (insns 115+):
huff_tblhuff_symzztblzz≥28 coloring levers (scoped DC/AC huff, declsearch×80, zz type/live-range, sibling decl order, coalesce via
dc_fast, etc.) could not break this without regenerating the already-identical DC body (0–114). Notes intools/decomp-assist/attempts/iqdec-b65-worker1.md.Test plan
ninjabuild ofiqdec_b65_frv32.o26116613f624061ba99c8d1a299aaa6efa85670dReviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.