upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorLuiz Neves <luizgustavobenicio@gmail.com>2026-11-21 21:36:31 -0300
committerLuiz Neves <luizgustavobenicio@gmail.com>2026-11-21 21:36:31 -0300
commit7a86a2e81432e3d52fbfcf658d45e9d789931264 (patch)
tree463105d44115233c50b4622e0b96216fe7646a2e /runtime/src/main.cpp
parent91b36cf86cb92a95836eed8af73abc0671a61e31 (diff)
Translator: v_sad_u8, v_sad_hi_u8, v_sad_u16, v_sad_u32, v_msad_u8
All five raised Unsupported. They add the sum of absolute differences of the sources' bytes / halves / words to S2 (unsigned, wrapping at 32 bits), as in the RDNA ISA pseudocode; v_sad_hi_u8 shifts the byte sum left by 16 and v_msad_u8 skips the bytes where S1's byte is 0. clamp is rejected, not guessed. tests/semantic/test_alu_sad.py checks all five against a plain-Python reference. test_translate.py and test_f16_op_sel.py used v_sad_u8 as their example of an unsupported instruction; they now use v_mqsad_u32_u8.
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions