upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorLuiz Neves <luizgustavobenicio@gmail.com>2026-11-21 18:32:41 -0300
committerLuiz Neves <luizgustavobenicio@gmail.com>2026-11-21 18:32:41 -0300
commit323341759af5b5bfb2b2b440dcca658b5c80f0cf (patch)
tree9c01cc0d25acb3aa6e1322c9dfed3af3586a5fa0 /runtime/src/pe_loader.cpp
parent6220fd078c6c45420580aeb9566669a134f04135 (diff)
Translator: v_perm_b32 selectors 8-11 repeat a half's sign bit (fixes #211)
Selector bytes 8-11 gave 0x00. The RDNA2 ISA reference defines them as the sign bit of a 16-bit half of {S0, S1} repeated over the byte: bit 15, 31, 47 or 63. The byte's low two bits pick the half (0, 1 in S1; 2, 3 in S0), and the shift is 15 or 31, so it stays below 32. test_alu_perm_alignbit.py now covers 8-11 in every result byte, with #211's probe values.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions