<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/runtime/src/main.cpp, branch feat/acphal-xma2-decoder</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=feat%2Facphal-xma2-decoder</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=feat%2Facphal-xma2-decoder'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-24T00:42:33+00:00</updated>
<entry>
<title>Merge TreXito's unmerged PRs: translator fixes, fuzzers, CPU emulation, xapu/chad shims</title>
<updated>2026-11-24T00:42:33+00:00</updated>
<author>
<name>ubiquitarianism</name>
<email>283527159+ubiquitarianism@users.noreply.github.com</email>
</author>
<published>2026-11-24T00:42:33+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=6dece923175bf349236d6aa21d383339848088fe'/>
<id>urn:sha1:6dece923175bf349236d6aa21d383339848088fe</id>
<content type='text'>
Merged from the TreXito/mangrove copy of the original repository, which carried
contributor pull requests that were never merged here.

Kept: rdna2spirv fixes (ds_append/ds_consume, v_ldexp_f16 under MODE.FP_ROUND,
thread-group SGPR, fma exact), the differential fuzzers (dot, vint, wint, vrel, cvt,
f16misc, salu, mode) with their tests, the exe/import fail-fast and int3 cause tools,
Zen 2 instruction emulation (cpu_emulation.h) and the xapu.dll/chad.dll shims.

Not taken, because they conflict with different implementations already on main:
the D3D12 Xbox-ABI layer, xmem, acphal, loader TLS, f64_diff, DirectStorage (needs the
typed-error zlib inflate), and the copy's own MANGROVE.md and README changes.
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/pr/8964'</title>
<updated>2026-11-23T22:43:36+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-23T22:43:36+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=be4a51f5d415b3101b5ef9776107ec1dac8b2c17'/>
<id>urn:sha1:be4a51f5d415b3101b5ef9776107ec1dac8b2c17</id>
<content type='text'>
# Conflicts:
#	runtime/shims/d3d12_vulkan_device.cpp
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/pr/9754'</title>
<updated>2026-11-23T22:29:12+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-23T22:29:12+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=f7b3afcda95b5689a57e17e30acbd77148b104d1'/>
<id>urn:sha1:f7b3afcda95b5689a57e17e30acbd77148b104d1</id>
<content type='text'>
# Conflicts:
#	scripts/build_runtime.ps1
</content>
</entry>
<entry>
<title>gta6rt: --init/--run stop with a clear message on a host without AVX</title>
<updated>2026-11-23T22:07:51+00:00</updated>
<author>
<name>Senne Cools</name>
<email>113857183+sennecools@users.noreply.github.com</email>
</author>
<published>2026-11-23T22:07:51+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=ad6e5d6bbee5bd8c3c8a7e95216f12038fe3db22'/>
<id>urn:sha1:ad6e5d6bbee5bd8c3c8a7e95216f12038fe3db22</id>
<content type='text'>
The game runs AVX code from its TLS callbacks on, so a CPU or OS without
AVX (a QEMU qemu64 guest) died with a bare 0xC000001D. Check CPUID.1
AVX/OSXSAVE and XCR0 YMM state first, print one line and exit 4 (3 is
LEONIDA_UNIMPLEMENTED=stop). --dry-run is unchanged and
LEONIDA_SKIP_CPU_CHECK=1 skips the check.

AI-assisted.
</content>
</entry>
<entry>
<title>d3d12_xs: slot 133 commits the buffer's xmem pages before the host-pointer import</title>
<updated>2026-11-23T21:51:49+00:00</updated>
<author>
<name>Raavve</name>
<email>184497748+Raavve@users.noreply.github.com</email>
</author>
<published>2026-11-23T20:56:23+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=cb29a2b88f9f538f70c70575bdc9183b469fba9b'/>
<id>urn:sha1:cb29a2b88f9f538f70c70575bdc9183b469fba9b</id>
<content type='text'>
xmem commits physical pages on first touch (#7556), so a range the title has
mapped but not written yet is still MEM_RESERVE when it places a buffer on it
through device slot 133, and the Vulkan layer's import (#7218) refuses reserved
pages and answers with its fallback buffer, which the title's writes never reach.

Slot 133 now calls a registered pages hook (set_placed_at_va_pages_hook, next to
set_placed_at_va_handler) with the buffer's range before the handler; gta6rt
registers rt::xmem::commit_physical_range. A failed commit is logged once and the
handler still runs. Textures don't call it. The Vulkan layer doesn't link xmem.

Tests: xs_proxy_mock_test checks the hook order, arguments, failure and texture
cases; the new d3d12_xmem_placed_test places a buffer on untouched xmem physical
pages and checks the fallback without the hook, and with it the import and a GPU
copy reading the CPU's writes.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>d3d12: a shader path that is not UTF-8 never throws, and LEONIDA_SHADERS is absolute</title>
<updated>2026-11-23T19:50:00+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-23T19:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=f57ed9da22d9bd258db541e4537006727bc872ad'/>
<id>urn:sha1:f57ed9da22d9bd258db541e4537006727bc872ad</id>
<content type='text'>
- A shader_path.txt that is not UTF-8 no longer throws out of Create*PipelineState: MSVC's STL reports the failed
  conversion as std::system_error, not filesystem_error. configured_shader_directory() returns the reason instead,
  and DeviceState::library() catches every std::exception, so the "invalid translated shader path" message prints
  and the pipeline fails. The reader of the file itself is unchanged.
- A relative LEONIDA_SHADERS no longer follows the current directory: gta6rt makes it absolute at startup, next to
  --game-dir and --overlay, and ShaderLibrary::load keeps an absolute folder for the modules it reads later.

Tests: d3d12_shader_path_test (new, Windows, no GPU) and a relative-folder check in shader_library_test.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'pr7111' into ladder-frame</title>
<updated>2026-11-23T18:38:48+00:00</updated>
<author>
<name>ASTROWwwW</name>
<email>astrxwledev@gmail.com</email>
</author>
<published>2026-11-23T18:38:48+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=5caef48a194d1a39d0568427cdbb4da22a482817'/>
<id>urn:sha1:5caef48a194d1a39d0568427cdbb4da22a482817</id>
<content type='text'>
# Conflicts:
#	docs/runtime_imports.md
#	runtime/CMakeLists.txt
</content>
</entry>
<entry>
<title>Merge main into runtime/emulate-zen2-insns (keep both the cpu_emulation and xg_xs test targets)</title>
<updated>2026-11-23T18:35:24+00:00</updated>
<author>
<name>Krashgamer</name>
<email>64923888+Krashgamer@users.noreply.github.com</email>
</author>
<published>2026-11-23T18:35:24+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=39b757a6d283fedd32715f84107356b2250d7db9'/>
<id>urn:sha1:39b757a6d283fedd32715f84107356b2250d7db9</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/main' into rebase/4313-on-042c5f378</title>
<updated>2026-11-23T16:46:05+00:00</updated>
<author>
<name>Roberto0953</name>
<email>Roberto0953@users.noreply.github.com</email>
</author>
<published>2026-11-23T16:46:05+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=3dbde4295e33bd6cc10a8804e1327da90f37307e'/>
<id>urn:sha1:3dbde4295e33bd6cc10a8804e1327da90f37307e</id>
<content type='text'>
# Conflicts:
#	runtime/CMakeLists.txt
#	runtime/README.md
#	runtime/src/pe_loader.cpp
</content>
</entry>
<entry>
<title>gta6rt: emulate the Zen 2 instructions a desktop CPU may lack (INSERTQ/EXTRQ, CLZERO, MONITORX/MWAITX, CLWB)</title>
<updated>2026-11-23T15:57:59+00:00</updated>
<author>
<name>Krashgamer</name>
<email>64923888+Krashgamer@users.noreply.github.com</email>
</author>
<published>2026-11-23T15:56:57+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=62b410e75640c12a672f73552c754ca7945bf265'/>
<id>urn:sha1:62b410e75640c12a672f73552c754ca7945bf265</id>
<content type='text'>
The executable uses SSE4a INSERTQ, CLZERO and MONITORX/MWAITX (AMD only) and CLWB (Intel since Ice Lake)
without asking CPUID (docs/cpu_features.md). A host without one raises #UD there. src/cpu_emulation.h adds
a vectored handler that recognises those encodings at the faulting RIP, does the same work on the CONTEXT
and steps past the instruction; gta6rt installs it before any image code runs, after the startup trace's
handler so it runs first. One [rt] line names what the host lacks, one more per instruction on first use.

cpu_emulation_test checks the decoder on hand-written encodings, the bit-field helpers and apply() on a
synthetic CONTEXT, then runs every form for real from an executable buffer: natively on a Zen host,
through the handler on an Intel one, with the same expected values.

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