mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 20:10:44 +00:00
The B3 oracle (#309) checks v_not_b32, v_bfrev_b32, v_ffbh_u32, v_ffbl_b32, v_ffbh_i32 and v_swap_b32 against the guide on both CPU interpreters, but its native Metal half was skipped because the translator did not accept the forms. This adds the VOP1 registry file and operand rule, decoder dispatch, IR and MSL lowering (v_swap_b32 writes both VGPRs, each merged under EXEC), fixture and goldens, and removes the oracle's skip from scripts/test-gpu.sh. A new CPU test checks that the compiler accepts every case of the oracle and rejects each of its rejections at the same word. v_mov_b32 stays hand-written. Signed-off-by: elforeign <324243036+elforeign@users.noreply.github.com>