Repository navigation
test(semantic): add reference oracle and semantic tests for v_pack_b32_u16 - #2892
ItsNotRexed merged 8 commits into
Conversation
…odel for v_pack_b32_u16
…ions for v_pack_b32_u16
…king for v_pack_b32_u16
…on for v_pack_b32_u16
…eneration for v_pack_b32_u16
…andling for v_pack_b32_u16
… detection for v_pack_b32_u16
|
Same finding as #2824: AI-assisted (ZCode agent): the verification was executed by a coding agent on this machine. |
|
Measured on gfx1036 (RDNA2, driver 26.10.1): |
They model the instruction in Python and never run tools/rdna2spirv.py, so they pass whatever the translator does (tests/test_semantic_translator_use.py, added this round, rejects them). PRs: ItsNotRexed#2335 ItsNotRexed#2754 ItsNotRexed#2759 ItsNotRexed#2761 ItsNotRexed#2788 ItsNotRexed#2793 ItsNotRexed#2797 ItsNotRexed#2800 ItsNotRexed#2803 ItsNotRexed#2804 ItsNotRexed#2814 ItsNotRexed#2816 ItsNotRexed#2819 ItsNotRexed#2824 ItsNotRexed#2825 ItsNotRexed#2829 ItsNotRexed#2834 ItsNotRexed#2835 ItsNotRexed#2837 ItsNotRexed#2840 ItsNotRexed#2845 ItsNotRexed#2850 ItsNotRexed#2854 ItsNotRexed#2856 ItsNotRexed#2867 ItsNotRexed#2868 ItsNotRexed#2877 ItsNotRexed#2883 ItsNotRexed#2889 ItsNotRexed#2892 ItsNotRexed#2895 ItsNotRexed#2896 ItsNotRexed#2897 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What and why
Adds a bit-accurate reference mathematical oracle and comprehensive semantic validation suite for
v_pack_b32_u16intests/semantic/test_valu_pack_b32_u16.py.Covers:
Tested
python -m compileall -q tests(Clean, 0 errors)python -I tests/semantic/test_valu_pack_b32_u16.py(All 56 tests pass in 0.004s)python -Icompatible, 0 external dependencies)Checklist
docs/design.md, with how it was confirmed.