Files
mandy/tests/semantic/fixtures/disasm/cs_w32_buffer_sub16.s
2026-11-23 09:32:35 -06:00

57 lines
2.0 KiB
ArmAsm

; cs_w32_buffer_sub16 test fixture generated by tests/semantic/regen_fixtures.py from runtime/test/shaders/cs_w32_buffer_sub16.asm
v_cmpx_eq_u32_e32 0, v0
v_mov_b32_e32 v20, 0x40
v_mov_b32_e32 v21, 0x8899aabb
buffer_store_dword v21, v20, s[0:3], 0 offen
v_mov_b32_e32 v20, 0x50
v_mov_b32_e32 v21, 0x11223344
buffer_store_dword v21, v20, s[0:3], 0 offen
v_mov_b32_e32 v20, 0x60
v_mov_b32_e32 v21, 0x55667788
buffer_store_dword v21, v20, s[0:3], 0 offen
s_waitcnt_vscnt null, 0
v_mov_b32_e32 v1, 0x41
v_mov_b32_e32 v2, 0x42
v_mov_b32_e32 v10, 0xbeef1234
v_mov_b32_e32 v11, 0xbeef1234
v_mov_b32_e32 v12, 0xbeef1234
v_mov_b32_e32 v13, 0xbeef1234
v_mov_b32_e32 v14, 0xbeef1234
v_mov_b32_e32 v15, 0xbeef1234
buffer_load_ubyte_d16 v10, v1, s[0:3], 0 offen
buffer_load_ubyte_d16_hi v11, v1, s[0:3], 0 offen
buffer_load_sbyte_d16 v12, v1, s[0:3], 0 offen
buffer_load_sbyte_d16_hi v13, v1, s[0:3], 0 offen
buffer_load_short_d16 v14, v2, s[0:3], 0 offen
buffer_load_short_d16_hi v15, v2, s[0:3], 0 offen
v_mov_b32_e32 v20, 0x51
v_mov_b32_e32 v21, 0xcd0000
buffer_store_byte_d16_hi v21, v20, s[0:3], 0 offen
v_mov_b32_e32 v20, 0x62
v_mov_b32_e32 v21, 0xabcd0000
buffer_store_short_d16_hi v21, v20, s[0:3], 0 offen
s_waitcnt vmcnt(0)
s_waitcnt_vscnt null, 0
v_mov_b32_e32 v20, 0x50
buffer_load_dword v16, v20, s[0:3], 0 offen
v_mov_b32_e32 v20, 0x60
buffer_load_dword v17, v20, s[0:3], 0 offen
s_waitcnt vmcnt(0)
v_mov_b32_e32 v20, 0
buffer_store_dword v10, v20, s[0:3], 0 offen
v_mov_b32_e32 v20, 4
buffer_store_dword v11, v20, s[0:3], 0 offen
v_mov_b32_e32 v20, 8
buffer_store_dword v12, v20, s[0:3], 0 offen
v_mov_b32_e32 v20, 12
buffer_store_dword v13, v20, s[0:3], 0 offen
v_mov_b32_e32 v20, 16
buffer_store_dword v14, v20, s[0:3], 0 offen
v_mov_b32_e32 v20, 20
buffer_store_dword v15, v20, s[0:3], 0 offen
v_mov_b32_e32 v20, 24
buffer_store_dword v16, v20, s[0:3], 0 offen
v_mov_b32_e32 v20, 28
buffer_store_dword v17, v20, s[0:3], 0 offen
s_endpgm