<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/tools/rdna2_decode.py, branch ci/exclude-legacy-cpp-runtime-tests</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-12-01T08:39:30+00:00</updated>
<entry>
<title>Merge pull request #1524 from jarvixaiassistant-glitch/fix/decode-ds-llvm-parity</title>
<updated>2026-12-01T08:39:30+00:00</updated>
<author>
<name>MoonEyes</name>
<email>ducoinbenjamin@yahoo.fr</email>
</author>
<published>2026-12-01T08:39:30+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=ad7c62edbdee83d511b87ccf8b697925dd0c7af8'/>
<id>urn:sha1:ad7c62edbdee83d511b87ccf8b697925dd0c7af8</id>
<content type='text'>
rdna2_decode: align DS single-offset and ds_swizzle_b32 ROTATE/FFT formatting with LLVM (DECODE-DS-PARITY)</content>
</entry>
<entry>
<title>rdna2_decode: name source operand 239 src_pops_exiting_wave_id, as llvm-mc does</title>
<updated>2026-11-30T15:07:32+00:00</updated>
<author>
<name>OreoFR</name>
<email>tony37160@hotmail.fr</email>
</author>
<published>2026-11-30T15:07:32+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=ed699ed767b4a66831be7d23dddccf5338f23ad4'/>
<id>urn:sha1:ed699ed767b4a66831be7d23dddccf5338f23ad4</id>
<content type='text'>
The carry's new fixture ps_pops_wait_loop.asm reads it (s_add_i32), and
test_parity_with_llvm_mc_on_shader_fixtures failed where llvm-mc is installed:
the decoder gave raw src_239. rdna2spirv and shader_ir already expect the special name.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/main' into fix/decode-ds-llvm-parity</title>
<updated>2026-11-30T14:04:40+00:00</updated>
<author>
<name>JARVIX</name>
<email>273200855+jarvixaiassistant-glitch@users.noreply.github.com</email>
</author>
<published>2026-11-30T14:04:40+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=aa0687837f078ca7b904b204a34a1d5eab7b0fd8'/>
<id>urn:sha1:aa0687837f078ca7b904b204a34a1d5eab7b0fd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rdna2_decode: decode 16-bit integer inline constants 240..248 as binary16 hex (DECODE-VOP16-INT-INLINE)</title>
<updated>2026-11-28T09:13:33+00:00</updated>
<author>
<name>JARVIX</name>
<email>273200855+jarvixaiassistant-glitch@users.noreply.github.com</email>
</author>
<published>2026-11-24T16:29:12+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=79a5d7838c6999e171f597162ac7e97e513b17d1'/>
<id>urn:sha1:79a5d7838c6999e171f597162ac7e97e513b17d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rdna2_decode: align DS single-offset and ds_swizzle_b32 ROTATE/FFT formatting with LLVM</title>
<updated>2026-11-28T09:12:40+00:00</updated>
<author>
<name>JARVIX</name>
<email>273200855+jarvixaiassistant-glitch@users.noreply.github.com</email>
</author>
<published>2026-11-24T11:33:01+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=b7f1371c0524a1c4a4eb1758e2ddf1b8662e82d4'/>
<id>urn:sha1:b7f1371c0524a1c4a4eb1758e2ddf1b8662e82d4</id>
<content type='text'>
Fixes all 19 remaining mismatches against LLVM 21.1.8 gfx10_ds.txt (1,708/1,708
decoded vectors exact):
- ds_condxchg32_rtn_b64 (6 vectors): checking '2_ in name' falsely matched
  '32_', printing offset0/offset1 instead of a single 16-bit offset. Restrict
  2-address detection to ds_read2 / ds_write2 / ds_wrxchg2 prefixes.
- ds_swizzle_b32 (13 vectors): match LLVM AMDGPUInstPrinter::printSwizzle by
  omitting offset: when offset16 == 0, printing offset:swizzle(ROTATE,dir,size)
  for 0xC000..0xDFFF, and printing offset:swizzle(FFT,mask) for 0xE000..0xFFFF.
</content>
</entry>
<entry>
<title>Merge pull request #637 from jarvixaiassistant-glitch/fix/decode-mac-legacy-target</title>
<updated>2026-11-25T21:22:03+00:00</updated>
<author>
<name>aslan2142</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-25T21:22:03+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=0079b5ddffb3451f79cb9accd4c8acf0f05528e3'/>
<id>urn:sha1:0079b5ddffb3451f79cb9accd4c8acf0f05528e3</id>
<content type='text'>
rdna2_decode: decode VOP2 0x06 and VOP3 0x106 as v_mac_legacy_f32 on gfx101* (DECODE-MAC-LEGACY-TARGET)</content>
</entry>
<entry>
<title>Merge pull request #633 from jarvixaiassistant-glitch/fix/decode-mimg-llvm-parity</title>
<updated>2026-11-25T21:21:14+00:00</updated>
<author>
<name>aslan2142</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-25T21:21:14+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=2bfcb4fe718e4b2c09e1435fc432870d2d1fb8c7'/>
<id>urn:sha1:2bfcb4fe718e4b2c09e1435fc432870d2d1fb8c7</id>
<content type='text'>
rdna2_decode: align MIMG addr, atomic TFE/cmpswap, and r128 widths with LLVM (DECODE-MIMG-PARITY)</content>
</entry>
<entry>
<title>rdna2spirv, shader_disasm: VOPC compares in DPP form (SHADER-VOPC-DPP)</title>
<updated>2026-11-24T15:41:08+00:00</updated>
<author>
<name>quartz-heron-58</name>
<email>245169279+quartz-heron-58@users.noreply.github.com</email>
</author>
<published>2026-11-24T15:41:08+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=d046559435c22f1dc834001b1e117a992358f89e'/>
<id>urn:sha1:d046559435c22f1dc834001b1e117a992358f89e</id>
<content type='text'>
Three pipeline-library compute programs of 1.0.2.1 hold v_cmp_gt_f32 with a
DPP16 or DPP8 src0. llvm-mc has no gfx10 decoding for the pair, so the
listing dropped the words and the programs were refused.

shader_disasm.py prints the pair through a VOP2 stand-in that takes the same
DPP word, rdna2_decode.py decodes it directly, and Gen.dpp_insn translates
the compare for the forms where every lane writes its bit. Other forms and
v_cmpx are refused: what an unwritten lane does to VCC is not measured.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>rdna2_decode: decode VOP2 0x06 and VOP3 0x106 as v_mac_legacy_f32 on gfx101*</title>
<updated>2026-11-24T10:39:58+00:00</updated>
<author>
<name>JARVIX</name>
<email>273200855+jarvixaiassistant-glitch@users.noreply.github.com</email>
</author>
<published>2026-11-24T10:39:58+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=2da938a92c14879eb608a0f7a8ecbfbc58d95679'/>
<id>urn:sha1:2da938a92c14879eb608a0f7a8ecbfbc58d95679</id>
<content type='text'>
tools/rdna2_decode.py already renamed VOP3 0x140 from v_fma_legacy_f32 to
v_mad_legacy_f32 when mcpu starts with gfx101, but left VOP2 0x06 and VOP3
0x106 unconditionally named v_fmac_legacy_f32 even for the default gfx1013
console target.

Per LLVM 21 VOP2Instructions.td and docs/design.md, VOP2 0x06 and VOP3 0x106
are v_mac_legacy_f32 on gfx101* (translated by rdna2spirv.py) and
v_fmac_legacy_f32 on gfx103* (intentionally rejected as Unsupported).
Decoding them as v_fmac_legacy_f32 on gfx1013 broke end-to-end python
disassembly -&gt; rdna2spirv translation and caused 56 mismatches across LLVM's
gfx10_vop2.txt (18) and gfx10_vop3.txt (38).

Rename VOP2 0x06 and VOP3 0x106 to v_mac_legacy_f32 on gfx101* and add unit
plus end-to-end gfx1013 (translates and evaluates to 8.0) and gfx1030
(rejected as Unsupported) tests in tests/test_rdna2_decode.py.

AI-assisted: yes (JARVIX: Antigravity + DeepSeek V4 Flash + NVIDIA NIM Nemotron-3.5-Lightning &amp; Nemotron-3-Ultra-550B).
</content>
</entry>
<entry>
<title>rdna2_decode: align MIMG addr, atomic TFE/cmpswap, and r128 widths with LLVM</title>
<updated>2026-11-24T10:29:17+00:00</updated>
<author>
<name>JARVIX</name>
<email>273200855+jarvixaiassistant-glitch@users.noreply.github.com</email>
</author>
<published>2026-11-24T10:29:17+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=450cd810545937fb9880b486b7bbf5a8ae2e37b1'/>
<id>urn:sha1:450cd810545937fb9880b486b7bbf5a8ae2e37b1</id>
<content type='text'>
Cross-checking tools/rdna2_decode.py against all 291 GFX10/GFX1030 image_*
vectors in LLVM's disassembler suite (gfx10_mimg.txt, gfx10_mimg_features.txt,
gfx1030_new.txt) found 72 mismatches across three areas:

1. _mimg_addr_count():
   - Handle a16 on image_bvh_intersect_ray (8 VGPRs) and
     image_bvh64_intersect_ray (9 VGPRs), and on image_get_lod.
   - Stop substring-matching _l inside image_msaa_load, _b inside
     image_{load,store}_by{2,4}, and _c/_d inside image_sample_*cd*.
   - Include the mip VGPR for all *_mip* load/store variants
     (image_load_mip_pck, image_load_mip_pck_sgn, image_store_mip_pck, etc.).
   - Parse sample/gather modifiers as underscore-delimited tokens so _cl and
     _o before _g16 are seen, and pack _g16 gradients as alignTo&lt;2&gt;(grad_coords)
     matching LLVM AMDGPU::getAddrSizeMIMGOp.
   - Pack (coords + lod/cl/mip) under a16 as (packable + 1) // 2 so odd-coord
     dims (1D/3D/2D_ARRAY/CUBE) do not overcount by 1 VGPR.
2. _mimg_data_count():
   - Add +1 VGPR for tfe on image_atomic_* instead of returning early.
   - Return 2 VGPRs for image_atomic_{f,}cmpswap with dmask:0x1 (LLVM has no
     1-VGPR cmpswap variant).
3. MIMG rsrc_w:
   - Keep 8 SGPRs (SReg_256_XNULL) for non-BVH MIMG instructions even with
     r128; only image_bvh*_intersect_ray use 4 SGPRs (SReg_128_XNULL).

All 291/291 LLVM GFX10/GFX1030 MIMG vectors now decode with 0 mismatches.

AI-assisted: yes (JARVIX: Antigravity + DeepSeek V4 Flash + NVIDIA NIM Nemotron-3.5-Lightning &amp; Nemotron-3-Ultra-550B).
</content>
</entry>
</feed>
