upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/loader_test.cpp
diff options
context:
space:
mode:
authorRayhan Robin <rarobin2912@gmail.com>2026-11-21 17:09:17 -0600
committerRayhan Robin <rarobin2912@gmail.com>2026-11-21 17:09:17 -0600
commit1956790d847a5e374e18dbb8466ac58643cd5582 (patch)
tree81c3d6e283046a403136de6aa2a3527292dc68d2 /runtime/test/loader_test.cpp
parent8bd0087d2d0e45fc18fa78fb40b70ecfc6648854 (diff)
Tests: enforce strict integer width in mini SPIR-V interpreter
The live OpConvertUToF/OpConvertSToF branch masked operands wider than 32 bits, and the branch with the strict check was unreachable because it came after it. Move the guard into the live branch and delete the dead one. Also delete a dead FMax branch shadowed by the earlier FMax/FClamp branch. Add test_interp.test_wide_integer_conversion_is_rejected using synthetic 64-bit constants; it fails on unmodified main and passes with the fix. New TEST item claimed in #156. AI-assisted (OpenCode).
Diffstat (limited to 'runtime/test/loader_test.cpp')
0 files changed, 0 insertions, 0 deletions