<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/docs/design.md, 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-26T21:42:30+00:00</updated>
<entry>
<title>Merge pull request #2102 from DadaCap/mesh-epilogue-tail</title>
<updated>2026-11-26T21:42:30+00:00</updated>
<author>
<name>Aslan2142</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-26T21:42:30+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=8bc59a74c2436fc6608c1466092d94ad46970ab0'/>
<id>urn:sha1:8bc59a74c2436fc6608c1466092d94ad46970ab0</id>
<content type='text'>
wave64_emulate_opt: a guarded s_barrier keeps only the tail in the round scheduler (SHADER-W64-STRUCTURED-SBARRIER-TAIL)</content>
</entry>
<entry>
<title>Merge pull request #1647 from OreoFR/shader-vopcx-dpp</title>
<updated>2026-11-26T18:54:03+00:00</updated>
<author>
<name>Aslan2142</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-26T18:54:03+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=2d43417d49fdd8f2d8241f75ea8fd0cdd8811137'/>
<id>urn:sha1:2d43417d49fdd8f2d8241f75ea8fd0cdd8811137</id>
<content type='text'>
rdna2spirv: translate v_cmpx in DPP form (SHADER-VOPCX-DPP)</content>
</entry>
<entry>
<title>Merge pull request #2142 from DadaCap/mix-literal-text-cut</title>
<updated>2026-11-26T16:25:18+00:00</updated>
<author>
<name>Aslan2142</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-26T16:25:18+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=2e2c51c0929cae8195366e52adfef17156a355d2'/>
<id>urn:sha1:2e2c51c0929cae8195366e52adfef17156a355d2</id>
<content type='text'>
rdna2spirv: take a v_fma_mix literal from the printed encoding when only the text is cut (SHADER-FMA-MIX-TEXT-CUT-LITERAL)</content>
</entry>
<entry>
<title>d3d12: LEONIDA_ADDRESS_GUARD=1 keeps the guarded shaders' page table current</title>
<updated>2026-11-26T14:07:53+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-26T06:35:12+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=25621c61a08b07396543c3c77b08e2cb20567492'/>
<id>urn:sha1:25621c61a08b07396543c3c77b08e2cb20567492</id>
<content type='text'>
The arena keeps [0x70000, 0x80000) for the guard header and its two sinks (in the null region when
LEONIDA_ARENA_NULL_MB makes one). The page table is a host-visible buffer of its own; the header holds
its address minus heap_base, the arena's size and the magic, written last. Before each submission,
after the heap refresh, the windows and the geometry copies, update_address_guard makes the table say
exactly what is backed outside the arena: gpu_backings, the geometry copies' blocks and the separate
window buffers, the same set as the console heap pass's backed table but without its 100 ms limit.
Only changed words are written, level 2 before level 1; a chunk keeps its block for good; past 62
blocks a chunk passes unchecked, which is logged. Refusals the shaders count are logged at most once
a second with the last refused offset.

src/address_guard.h holds the format and the table (address_guard_test); docs/d3d12_vulkan.md 3.3
"Address guard" the design, the cost per access and what is and is not covered.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>rdna2spirv: no round-loop fallback for single-wave emulated programs</title>
<updated>2026-11-26T14:07:28+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-26T13:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=a02a5ef7a9a63a55d9bd72c7006e26d5abc5049b'/>
<id>urn:sha1:a02a5ef7a9a63a55d9bd72c7006e26d5abc5049b</id>
<content type='text'>
translate() re-translated every emulated wave64 program whose inline
structured form has an OpControlBarrier under a selection or loop as the
round loop (barriers_under_control_flow), for NVIDIA, which hangs on a
barrier only part of the workgroup reaches. A single-wave workgroup
(plan mode inline_all) is one wave: its barriers sit at the top level or
under %pc-only guards, which every invocation takes alike, so the
fallback only applies to multi-wave plans now.

The round form keeps nearly the whole register file live across the
loop and drove RADV/ACO's spiller past 12 GiB (53 GB uncapped) on large
single-wave programs, and made programs with long loops 10-100 times
slower. 666 main-set compute shaders return to the structured form;
translated and spirv-val counts are unchanged.

Restores the single-wave expectations in test_wave64_emulate_opt.py,
test_loop_ballot_barrier.py and test_loop_iteration_guard.py (its round
scheduler check now uses --dispatch-loop), adds
test_wave64_single_wave_barrier.py with a hand-written fixture, and a
docs/design.md contract row.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>rdna2spirv: restore a text-cut v_fma_mix literal with no blob too; pin the low-half guard</title>
<updated>2026-11-26T07:50:03+00:00</updated>
<author>
<name>DadaCap</name>
<email>167002618+DadaCap@users.noreply.github.com</email>
</author>
<published>2026-11-26T07:50:03+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=abcccefd7d4ffd52cb252fbf76cabea383fc307c'/>
<id>urn:sha1:abcccefd7d4ffd52cb252fbf76cabea383fc307c</id>
<content type='text'>
Review of #2142: the repair needs only the printed encoding, so it now runs before
check_printed_encodings' early returns (no blob next to the listing, header-only blob).
New tests: a listing with no blob gives the full literal, and a text immediate that is
not the encoded literal's low half is left as the text says. design.md: the third shape
now follows the second.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01Gt9hwRYcpySx4P4ncQ3wD5
</content>
</entry>
<entry>
<title>rdna2spirv: translate only the measured dot4 op_sel forms; keep restore_dot4_inline_sel</title>
<updated>2026-11-26T02:53:14+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-26T02:53:14+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=d09286f62401917641de097ae8d700f13a405cfd'/>
<id>urn:sha1:d09286f62401917641de097ae8d700f13a405cfd</id>
<content type='text'>
The general rule from #1495 (dot4_op_sel_fields / restore_dot4_op_sel,
ported from luizwidmer/palmetto) took the stored op_sel/op_sel_hi of any
v_dot4_i32_i8 that llvm-mc printed with the defaults. That translated
op_sel 0 / op_sel_hi 5 with a VGPR second source, a word #1317's
test_fspx_dot4_op_sel_disasm.py (case (0, 5)) requires to stay refused:
only op_sel 2 / op_sel_hi 5 was measured on gfx1036. The translator suite
failed there.

Resolve it on the measured side:
- drop dot4_op_sel_fields and restore_dot4_op_sel;
- keep main's restore_dot4_inline_sel (#984) and its three call sites:
  the clean-listing check, the forward re-anchor search, and the exact
  re-anchor window #1662 added today. The general rule does not cover
  only those cases, so it cannot replace them;
- tests/semantic/test_dot4_printed_op_sel.py now checks that the
  inline-integer form is restored in a clean listing and on re-anchoring,
  and that op_sel_hi 5 with a VGPR S1, op_sel 1 / op_sel_hi 6,
  op_sel_hi 4 and a non-default S2 half stay refused;
- docs/design.md "Signed-byte dot products" states how each form was
  confirmed (hardware for op_sel 2 / op_sel_hi 5, a corpus count for the
  inline-integer form, refused otherwise); docs/fspx.md follows.

This also settles the #1662 / #1862 overlap: #1662's call site stays.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge main into integration/boot-combined (RT-BOOT-COMBINED)</title>
<updated>2026-11-26T02:49:53+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-26T02:49:53+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=8d686309b0617e1a561c0404b8b79e6176385664'/>
<id>urn:sha1:8d686309b0617e1a561c0404b8b79e6176385664</id>
<content type='text'>
Conflict in runtime/shims/d3d12_xs_device.cpp, proxy_copy_descriptors_simple:
keep this branch's copy_null_rtv_marks call and main's fsdraw::enabled()
gate for the descriptor-copy diagnostic.

tools/rdna2spirv.py merged without a textual conflict, but #1662 on main
calls restore_dot4_inline_sel in the exact re-anchoring path, which this
branch had deleted. The merge puts main's function back so that call
resolves; the next commits reconcile it with the dot4 op_sel rule.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #1662 from Tyrannys/dot4-sel-exact-anchor</title>
<updated>2026-11-26T01:57:34+00:00</updated>
<author>
<name>Aslan2142</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-26T01:57:34+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=88b290fcbd6e5620d1766e828ed9c8a5a0af132d'/>
<id>urn:sha1:88b290fcbd6e5620d1766e828ed9c8a5a0af132d</id>
<content type='text'>
rdna2spirv: the exact re-anchor keeps a signed-byte dot's stored op_sel_hi (SHADER-DOT4-SEL-EXACT-ANCHOR)</content>
</entry>
<entry>
<title>Merge main c1e1ef0b8 into RT-POST-LOAD-GPU-MEMORY (#2098)</title>
<updated>2026-11-25T23:36:19+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-25T23:36:19+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=3a2820b3bff812ff3cff6a4d4087912edb0541bb'/>
<id>urn:sha1:3a2820b3bff812ff3cff6a4d4087912edb0541bb</id>
<content type='text'>
Two conflicts:

- d3d12_com.cpp, note_direct_heap_indexing: main's console_descriptor_table_va(cbv_srv_uav_base_) for the tracked
  table, with this branch's per-site once() flag instead of note_once on every draw.
- d3d12_vulkan_device.cpp, PipelineState::build_compute: this branch's body (build_compute_pipeline, journal, compile
  helper). main's dev_status::Build around the compute create moves into build_compute_pipeline, next to the
  pipeline_profile::DriverCall, so the status line still names the compute pipeline in the driver.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
