diff options
| author | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-22 11:36:18 -0300 |
|---|---|---|
| committer | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-22 11:55:06 -0300 |
| commit | f5fa44f68da98ded0e7b2e8125a31091094ae1e0 (patch) | |
| tree | a5e350cabdfe33ad9354bbd37f6ab56ebdaeb1e8 /runtime/src/pe_loader.cpp | |
| parent | c49bdcd156faf4024b05bf09cf9669553c2186f1 (diff) | |
sop2_b32_srcs: mask reads only when the result goes to EXEC / VCC
s_and_b32 s20, exec_lo, 1 put each lane's bit in s20, which lane_masks.py
classifies as data when the other operand is a constant, so s_bcnt1 of it
counted 32 / 0 instead of 1 (found by @Pierre-Kookis on #1792, reproduced
on AMD RDNA2 and an RTX 4070 Ti SUPER; main was right). The mask read is
now only for an EXEC / VCC destination; into a plain SGPR the op keeps the
data read. test_mask_src_sgpr_const.py has the case.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions