diff options
| author | quartz-heron-58 <245169279+quartz-heron-58@users.noreply.github.com> | 2026-11-24 15:58:38 +0800 |
|---|---|---|
| committer | quartz-heron-58 <245169279+quartz-heron-58@users.noreply.github.com> | 2026-11-24 15:58:38 +0800 |
| commit | 86da7be469d01562982ba9e49d7bef4fa3d94849 (patch) | |
| tree | fd6522c16dc96aa8d7b8be0d8163cdfb011f4c75 /runtime/src/thread_stacks.cpp | |
| parent | 1c93c8697078c3ccbd6f374caf5bb3ab0b6bc8e4 (diff) | |
rdna2_decode: permlane16 op_sel and the exp null target match llvm-mc and shader_ir (DECODE-LLVM-PARITY)
test_parity_with_llvm_mc_on_shader_fixtures fails with llvm-mc 21.1.8
on two fixtures. CI does not see it: the jobs that run this file have
no llvm-mc, so the test skips.
- v_permlane16_b32 and v_permlanex16_b32 use op_sel bits 0 and 1 as FI
and BOUND_CTRL. llvm-mc prints op_sel:[FI,BOUND_CTRL], and nothing
when both are 0, whatever bits 2 and 3 hold. The decoder printed the
generic [s0,s1,s2,dst] list (cs_w32_permlane_fi.asm).
- shader_ir.parse_line reads the `null` export target as the special
register. decode_bytes gave it as a target, so a decoded `exp null`
did not equal its own printed line parsed back (ps_w64_a_discard.asm).
Two unit tests pin both with hand-assembled words, so they run without
llvm-mc too.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions