<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/tests/test_mem_diff.py, branch docs/pso-cache-scope-note</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-23T04:14:49+00:00</updated>
<entry>
<title>Merge pull request #4448 from tedin7</title>
<updated>2026-11-23T04:14:49+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-23T04:14:49+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=76cf23f5c338039e398fc9b4833a1e0269691338'/>
<id>urn:sha1:76cf23f5c338039e398fc9b4833a1e0269691338</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>test: a run where every program was skipped is not a success (cf_diff, mem_diff, shader_diff, fmisc_diff)</title>
<updated>2026-11-23T01:27:39+00:00</updated>
<author>
<name>tedin7</name>
<email>tommasoderosa94@gmail.com</email>
</author>
<published>2026-11-23T01:27:39+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=da96d1fac99e1b204902f683f969ef2b86a33525'/>
<id>urn:sha1:da96d1fac99e1b204902f683f969ef2b86a33525</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge #2701 (376417b1) to resolve tools/mem_diff.py conflict</title>
<updated>2026-11-22T22:07:58+00:00</updated>
<author>
<name>eyyun</name>
<email>eyyun@users.noreply.github.com</email>
</author>
<published>2026-11-22T22:07:58+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=863a9289befb6ef5f690e3efa635c711a9ee9cfe'/>
<id>urn:sha1:863a9289befb6ef5f690e3efa635c711a9ee9cfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools: add global_atomic_* and sub-dword buffer_load to mem_diff</title>
<updated>2026-11-22T18:38:58+00:00</updated>
<author>
<name>eyyun</name>
<email>eyyun@users.noreply.github.com</email>
</author>
<published>2026-11-22T18:38:58+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=d27d7d457a466a8f48223e4e8d574a9888b0dd61'/>
<id>urn:sha1:d27d7d457a466a8f48223e4e8d574a9888b0dd61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(tests): cover the implicit MTBUF format in memory comparisons</title>
<updated>2026-11-22T17:55:58+00:00</updated>
<author>
<name>Vonsek</name>
<email>45567075+Vonsek@users.noreply.github.com</email>
</author>
<published>2026-11-22T17:55:58+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=376417b1acbd887f8426069d94e90e404f557920'/>
<id>urn:sha1:376417b1acbd887f8426069d94e90e404f557920</id>
<content type='text'>
LLVM omits the format modifier for 8_UNORM. Decode that spelling in the reference model and generate it so typed-buffer fuzz runs cover the same input.
</content>
</entry>
<entry>
<title>fix(fuzz): exercise bound MTBUF formats in differential cases</title>
<updated>2026-11-22T11:23:18+00:00</updated>
<author>
<name>Vonsek</name>
<email>45567075+Vonsek@users.noreply.github.com</email>
</author>
<published>2026-11-22T11:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=f67aec277c54f870647a352703c0c6bd263bcbe7'/>
<id>urn:sha1:f67aec277c54f870647a352703c0c6bd263bcbe7</id>
<content type='text'>
Use a bound descriptor to exercise the generated instruction format. Keep INVALID as an explicit reference control and model MTBUF's identity lanes independently of MUBUF selectors.
</content>
</entry>
<entry>
<title>Translator: honour V# OOB_SELECT in MUBUF/MTBUF bounds checks</title>
<updated>2026-11-22T06:40:20+00:00</updated>
<author>
<name>AlxcBTW</name>
<email>187763517+AlxcBTW@users.noreply.github.com</email>
</author>
<published>2026-11-22T06:40:20+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=14887e68280eb8fcd9f90953000ff4ff052e4c7e'/>
<id>urn:sha1:14887e68280eb8fcd9f90953000ff4ff052e4c7e</id>
<content type='text'>
buffer_address() picked the bounds check from the stride alone and never read
word3. It now reads OOB_SELECT (bits 29:28) and applies the rule measured
natively on RDNA2 (gfx1036, docs/buffer_bounds.md; Mesa's GFX11 column): a
dword is out of range in mode 0 at idx &gt;= NR or off + 4 &gt; stride, mode 1 at
idx &gt;= NR, mode 2 at NR == 0, mode 3 (RAW) at offs + 4 &gt; NR, where off is
inst_offset + vaddr and offs adds soffset. A literal word3 folds the mode, a
run-time one selects with OpSelect.

Builds on the raw tail rule of #443 (per-dword loads): x2..x4 loads AND stores
are per dword in modes 0 and 3 (a store that straddled the edge used to write
past it), modes 1 and 2 take the whole access, a typed element
(buffer_load/store_format) is all or nothing at its format's size, an atomic
checks its dword's end. Measured on a Radeon 880M (gfx1150), a valid proxy for
RDNA2: 504 buffer_load_dword cases over idxen/offen/inst_offset/soffset at the
stride and record edges agree with the rules, plus the x2/x4, typed and atomic
edges.

Swizzle (V# word1 bit 31 SWIZZLE_ENABLE, word3 bit 23 ADD_TID_ENABLE; Mesa
gfx10-rsrc.json lines 326 and 337): a literal V# with either is Unsupported in
every mode; a run-time one is translated unswizzled (documented known gap).

A V# with word3 = 0 is mode 0 / stride 0 and so always out of range, as on
hardware: the harness output V# (vk_compute_test, interpreter push constants),
cs_bounds, cs_fmt_1010102, cs_store, mem_diff and the format tests now say
OOB_SELECT 3 (or 1 with a stride) explicitly.

Tests: tests/semantic/test_buffer_oob_select.py (33 hand-tabulated cases plus
multi-dword stores, typed elements and the swizzle gate, literal and run-time
V#), GPU tests cs_oob_select.asm and cs_oob_tail.asm (the second tells the end
check from Mesa's GFX10 start check). docs/design.md, Buffer bounds checking,
has the per-mode rule; docs/buffer_bounds.md notes the translator reads it.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>SHADER-86: align mem_diff reference with RX 6700 typed-buffer decode</title>
<updated>2026-11-22T01:23:22+00:00</updated>
<author>
<name>LuanFreitas</name>
<email>luanftrs@gmail.com</email>
</author>
<published>2026-11-22T01:16:25+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=14d81dd093e91c2f9b4a21f74fe0db2d26db1199'/>
<id>urn:sha1:14d81dd093e91c2f9b4a21f74fe0db2d26db1199</id>
<content type='text'>
Repeat missing channels, drop the old norm-ulp1/missing-w32 splits, and allow DST_SEL 1 in the fuzzer.
</content>
</entry>
<entry>
<title>FUZZ-5: typed buffer loads in tools/mem_diff.py (buffer_load_format, tbuffer_load_format)</title>
<updated>2026-11-22T00:37:53+00:00</updated>
<author>
<name>Spaghetih</name>
<email>191181391+Spaghetih@users.noreply.github.com</email>
</author>
<published>2026-11-22T00:37:53+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=3f4cf2e40d6be28d665fef090bcaa8668b9e8481'/>
<id>urn:sha1:3f4cf2e40d6be28d665fef090bcaa8668b9e8481</id>
<content type='text'>
A buffer_format family: buffer_load_format_* on every format the translator decodes (random DST_SEL 0/X/Y/Z/W) and tbuffer_load_format_* on the five formats the 1.0.2.1 corpus uses. The reference decodes each element from the GFX10 format name (tools/gfx10_formats.json), not from the translator's table.

Two outcomes await a gfx10 hardware measurement (posted in #374) and are counted apart: UNORM/SNORM results 1 ULP from the correctly rounded value (the translator multiplies by a rounded reciprocal), and the missing W of a 32-bit format (0 in the translator, 1 / 1.0 for every other format). 5,000 programs: no other difference. Mutations of the 16_16_SNORM kind, the 8_8_8_8_UINT widths and the DST_SEL order make 33, 37 and 191 of 300 programs fail.

AI-assisted.
</content>
</entry>
<entry>
<title>FUZZ-5: memory differential fuzzer (tools/mem_diff.py)</title>
<updated>2026-11-21T23:52:32+00:00</updated>
<author>
<name>Spaghetih</name>
<email>191181391+Spaghetih@users.noreply.github.com</email>
</author>
<published>2026-11-21T23:44:16+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=d9e629288a44ab20709c96b3a741959206301536'/>
<id>urn:sha1:d9e629288a44ab20709c96b3a741959206301536</id>
<content type='text'>
tools/mem_diff.py runs seeded s_load, s_buffer_load, buffer load/store/atomic and global load/store programs through a small reference model written from the RDNA2 addressing rules and through the translation in spirv_mini_interp, and compares the exported words and the whole final memory. Accesses are generated in bounds; OOB, OOB_SELECT, swizzle and the s_buffer_load truncation are left for GPU-confirmed rules.

spirv_mini_interp gains OpSConvert and 32-bit PhysicalStorageBuffer atomics (spec semantics, one invocation), with tests.

The fuzzer found the global_* negative-offset bug that #421 fixes; its global family and tests/test_mem_diff.py's regression test pass once #421 is in.

AI-assisted.
</content>
</entry>
</feed>
