Commit Graph

2 Commits

Author SHA1 Message Date
df9778f4cc cs_w32_misc_ext, cs_w32_new_ops: run the LDS ops in lane 0 only
Both ran their LDS ops in all 32 lanes on one address before cutting EXEC
to lane 0, the race #1850 found for ds_xor_b64: lane 0's ds_cmpst_rtn_b32
old value (cs_w32_misc_ext) and ds_wrxchg2_rtn_b32 old word
(cs_w32_new_ops) are only the expected ones when lane 0 goes first. They
passed on every GPU so far, but the order is not guaranteed. v_cmpx now
comes before the LDS block; the expected words are unchanged. The CPU
fixtures can't see it (each invocation has its own LDS in
spirv_mini_interp), so each fixture test now checks the source order.
2026-11-22 12:04:08 -03:00
7173782f05 GPU test cs_w32_new_ops: ops merged today with CPU-only checks
s_quadmask_b32/b64, s_bitreplicate_b64_b32, v_cvt_pknorm_i16/u16_f32,
ds_wrxchg2_rtn_b32 and the ds_nop / v_clrexcp no-ops were merged with
semantic tests only. cs_w32_new_ops.asm has lane 0 of a wave32 group
store one word of each; check.py and run_gpu_tests.py expect the eight
words (derived in the .asm header), so CI runs it on llvmpipe.

tests/semantic/test_new_ops_fixture.py runs the fixture on the CPU,
checks the words against values computed from the ISA definitions, and
that both GPU runners expect the same words.
2026-11-22 09:35:20 -03:00