Files
mandy/tests/semantic/fixtures/disasm/cs_w64_exec_computed.s

94 lines
2.5 KiB
ArmAsm

; cs_w64_exec_computed test fixture generated by tests/semantic/regen_fixtures.py from runtime/test/shaders/cs_w64_exec_computed.asm
v_mov_b32_e32 v10, 0
v_mov_b32_e32 v11, 0
v_mov_b32_e32 v12, 0
v_mov_b32_e32 v13, 0
v_mov_b32_e32 v14, 0
v_mov_b32_e32 v15, 0
v_readfirstlane_b32 s4, v0
s_add_u32 s5, s4, 3
s_add_u32 s6, s4, 12
s_add_u32 s7, s4, 16
s_add_u32 s8, s4, 0xffff0
s_add_u32 s9, s4, 0x81
s_mov_b32 exec_lo, 0
s_lshl_b32 exec_hi, 1, s5
v_mov_b32_e32 v10, 1
s_mov_b64 exec, -1
s_mov_b32 exec_hi, 0
s_add_u32 exec_lo, s4, 0xf0
v_mov_b32_e32 v11, 1
s_mov_b64 exec, -1
s_bfm_b32 exec_hi, s6, s7
v_mov_b32_e32 v12, 1
s_mov_b64 exec, -1
s_lshl_b32 exec_lo, 1, s5
s_add_u32 exec_hi, s4, 0x81
v_mov_b32_e32 v13, 1
s_mov_b64 exec, -1
s_mov_b32 exec_lo, s9
s_not_b32 exec_hi, s5
v_mov_b32_e32 v14, 1
s_mov_b64 exec, -1
v_cmp_gt_u32_e32 vcc, 52, v0
s_mov_b32 exec_lo, 0
s_and_b32 exec_hi, vcc_hi, s8
v_mov_b32_e32 v15, 1
s_mov_b64 exec, -1
v_cmp_ne_u32_e32 vcc, 0, v10
s_bcnt1_i32_b64 s10, vcc
s_ff1_i32_b64 s11, vcc
s_lshl_b32 s10, s10, 8
s_or_b32 s10, s10, s11
v_cmp_ne_u32_e32 vcc, 0, v11
s_bcnt1_i32_b64 s12, vcc
s_ff1_i32_b64 s11, vcc
s_lshl_b32 s12, s12, 8
s_or_b32 s12, s12, s11
v_cmp_ne_u32_e32 vcc, 0, v12
s_bcnt1_i32_b64 s13, vcc
s_ff1_i32_b64 s11, vcc
s_lshl_b32 s13, s13, 8
s_or_b32 s13, s13, s11
v_cmp_ne_u32_e32 vcc, 0, v13
s_bcnt1_i32_b64 s14, vcc
s_ff1_i32_b64 s11, vcc
s_lshl_b32 s14, s14, 8
s_or_b32 s14, s14, s11
v_cmp_ne_u32_e32 vcc, 0, v14
s_bcnt1_i32_b64 s15, vcc
s_ff1_i32_b64 s11, vcc
s_lshl_b32 s15, s15, 8
s_or_b32 s15, s15, s11
v_cmp_ne_u32_e32 vcc, 0, v15
s_bcnt1_i32_b64 s16, vcc
s_ff1_i32_b64 s11, vcc
s_lshl_b32 s16, s16, 8
s_or_b32 s16, s16, s11
v_cmpx_eq_u32_e32 0, v0
v_mov_b32_e32 v20, s10
v_mov_b32_e32 v21, 0
buffer_store_dword v20, v21, s[0:3], 0 offen
v_mov_b32_e32 v20, s12
v_mov_b32_e32 v21, 4
buffer_store_dword v20, v21, s[0:3], 0 offen
v_mov_b32_e32 v20, s13
v_mov_b32_e32 v21, 8
buffer_store_dword v20, v21, s[0:3], 0 offen
v_mov_b32_e32 v20, s14
v_mov_b32_e32 v21, 12
buffer_store_dword v20, v21, s[0:3], 0 offen
v_mov_b32_e32 v20, s15
v_mov_b32_e32 v21, 16
buffer_store_dword v20, v21, s[0:3], 0 offen
v_mov_b32_e32 v20, s16
v_mov_b32_e32 v21, 20
buffer_store_dword v20, v21, s[0:3], 0 offen
v_mov_b32_e32 v20, s4
v_mov_b32_e32 v21, 24
buffer_store_dword v20, v21, s[0:3], 0 offen
v_mov_b32_e32 v20, s5
v_mov_b32_e32 v21, 28
buffer_store_dword v20, v21, s[0:3], 0 offen
s_endpgm