Files
mandy/tests/semantic/fixtures/disasm/ps_ops5.s
Kam471 af08a9e696 tests: rebase semantic value coverage onto current main
Port the #78 value-level cases (ps_ops5, ps_ops6, ps_vcc_x2, ps_flat,
cs_bounds) onto main's semantic suite. Keep main's ps_ops4/ps_legacy_mul
coverage and forward-only execution contract, and extend the mini
interpreter with 64-bit integers, Input/PushConstant seeding, physical
storage buffer memory, OpBranch/OpPhi at forward merges, and the opcodes
the new fixtures use.
2026-11-21 19:56:24 +00:00

18 lines
537 B
ArmAsm

; ps_ops5 test fixture generated by tests/semantic/regen_fixtures.py from runtime/test/shaders/ps_ops5.asm
v_mov_b32_e32 v0, 0x12348001
v_mov_b32_e32 v1, 0x12340000
v_mov_b32_e32 v2, 4
v_lshlrev_b16_e64 v1, v2, v0
v_mov_b32_e32 v3, 0xbeef8001
v_mov_b32_e32 v4, 0xbeef0000
v_lshrrev_b16_e64 v4, v2, v3
v_mov_b32_e32 v5, 0xfff0
v_mov_b32_e32 v6, 4
v_mov_b32_e32 v7, 0xaaaa0000
v_ashrrev_i16_e64 v7, v6, v5
v_mov_b32_e32 v8, 0x3800
v_mov_b32_e32 v9, 0xdead0000
v_cos_f16_e32 v9, v8
exp mrt0 v1, v4, v7, v9 done vm
s_endpgm