diff options
| author | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-21 18:32:41 -0300 |
|---|---|---|
| committer | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-21 18:32:41 -0300 |
| commit | 323341759af5b5bfb2b2b440dcca658b5c80f0cf (patch) | |
| tree | 9c01cc0d25acb3aa6e1322c9dfed3af3586a5fa0 /runtime/src/main.cpp | |
| parent | 6220fd078c6c45420580aeb9566669a134f04135 (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/main.cpp')
0 files changed, 0 insertions, 0 deletions