upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authormilk4sale <53350507+milk4sale@users.noreply.github.com>2026-11-23 21:36:53 -0600
committermilk4sale <53350507+milk4sale@users.noreply.github.com>2026-11-24 01:47:48 -0600
commit367d91ef238b0cc9ae2a1afb1baa3a84f6389e0b (patch)
treee0a13ba96f926251462177128942699d37d9759d /runtime/src/pe_loader.cpp
parent1c93c8697078c3ccbd6f374caf5bb3ab0b6bc8e4 (diff)
GPU fixture cs_imgatomic_ext: image_atomic_{swap,inc,dec,fmin,fmax,fcmpswap} (GPU-IMG-ATOMIC-EXT)
The row for the six remaining 32-bit MIMG image atomics was CPU-checked only (tests/semantic/test_image_atomics_32.py) and said "Not GPU-verified on RDNA2". This adds the GPU fixture, judged through vk_store_test's "words" mode and check.py's STORE_WORDS like cs_imgatomic/cs_imgatomic3d: - all six ops on the 2D r32 uint image (binding 4) and the volume (binding 7); inc/dec on both sides of their wrap and with a D that is negative as a signed number; fmin/fmax with a NaN data register; fcmpswap equal, unequal, +0 against -0 and NaN; glc and non-glc - inc/dec/fmin/fmax from all 64 threads on one texel, which runs the translator's CAS loops under contention - inactive lanes held on a trap texel that must keep its fill The cases leave out what the ISA and SPIR-V leave open: NaN or denormal texels for fmin/fmax/fcmpswap and +0 against -0 for fmin/fmax. Exact on a Radeon 610M (gfx1036, RDNA2, RADV Mesa 26.2.6) and an RTX 4070 Ti (NVIDIA 620.70.06), native and LEONIDA_W64_EMULATE=1. Five planted translator faults (signed inc/dec compare, fmin/fmax exchanged, fcmpswap without the +0/-0 rule, no inactive-lane guard, no glc return from swap) each fail it on both. docs/design.md records the GPU check. AI-assisted. No game files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions