From bdcdd57c551249c408a5264cb47ca1d2590768e8 Mon Sep 17 00:00:00 2001 From: elforeign <324243036+elforeign@users.noreply.github.com> Date: Tue, 24 Nov 2026 09:39:39 -0600 Subject: [PATCH] docs: s_mov_b32 is now a registry SOP1 form (#215) Review finding: the scalar ALU page still called it hand-written. Signed-off-by: elforeign <324243036+elforeign@users.noreply.github.com> --- docs/shaders/scalar-alu.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/shaders/scalar-alu.md b/docs/shaders/scalar-alu.md index 7a74b12..7bd6ca9 100644 --- a/docs/shaders/scalar-alu.md +++ b/docs/shaders/scalar-alu.md @@ -189,8 +189,9 @@ Eleven 32-bit SOP1 forms are declared in the registry (operand rule (0xffffffff); `s_flbit_i32` returns -1 for both 0 and -1; sign extension reads S0[7:0] or S0[15:0]; `s_abs_i32` of 0x80000000 is 0x80000000. Only NOT, BCNT0, BCNT1 and ABS write SCC, as D != 0; the other seven leave it unchanged. -`s_mov_b32` stays hand-written, because it also accepts EXEC and VCC halves as -destinations. As for SOP2, destinations s0-s7 are refused when a fixture runs +`s_mov_b32` is the twelfth registry SOP1 form, under its own operand rule +`sop1_move`, because it also accepts EXEC and VCC halves as destinations (the +domain the hand-written decoder accepted before #215 moved it). As for SOP2, destinations s0-s7 are refused when a fixture runs (they hold its buffer descriptors), and float inline constants are rejected. `tests/validation/tests/sop1_unary.rs` checks 4,126 cases, with expected values