mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 17:18:38 +00:00
ds_read_u8_d16, ds_read_u8_d16_hi, ds_read_i8_d16 and ds_read_i8_d16_hi (RDNA2 DS opcodes 162-165) were rejected. They reuse the u8/i8/u16_d16 path: the byte is zero- or sign-extended 8->16 into one half of the destination and the other half is kept. Tests: CPU value test on the new cs_w32_lds_u8_d16 fixture (mini interpreter now accepts Workgroup variables for one invocation), GPU dump cs_w32_lds_u8_d16.asm registered in check.py and run_gpu_tests.py, lds_fuzz generates the four reads. Contract row in docs/design.md and shader_validation.md updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>