upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorVonsek <45567075+Vonsek@users.noreply.github.com>2026-11-22 10:45:19 +0100
committerVonsek <45567075+Vonsek@users.noreply.github.com>2026-11-22 10:45:19 +0100
commit474134787af8ecd01e94a1d17a05dedf4ccd09b5 (patch)
tree38feab199d64b08dca49d4348e0f0e2ec0d86e79 /runtime/src/main.cpp
parente7584c5207e44ed51472e6aa05c781f39ea975f6 (diff)
Tests: GPU and CPU checks for untested VOPC compares and s_andn2 EXEC ops
Three hand-written fixtures for translator rules that no test exercised (or that only the CPU interpreter checked), expected words derived from the RDNA2 ISA definitions in each .asm header: - ps_vcmp_f32_nan: f32 VOPC with a quiet NaN read from memory. v_cmp ge/lg/neq/nge (VCC) and ngt/nle/nlt/tru (SGPR), v_cmpx ge/lg/nge/nlt/neq/o/tru/f. - ps_vcmp_64: v_cmp lt/le/gt/ge u64 and i64, ne_u64, eq/ne_i64, v_cmpx lt/ge/ne_i64 and gt/le_u64, with pairs where equal high words leave the decision to an unsigned low word (0x80000000 vs 1). - cs_w32_andn2_exec: s_andn2_saveexec_b32 and s_andn2_wrexec_b32 in a 32-thread wave: the EXEC they leave, old/new EXEC in D, SCC. Registered in check.py and run_gpu_tests.py, added to regen_fixtures.py, and asserted in test_value_semantics.py with plain-Python references. AI-assisted (Claude Code). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions