llvm/test/MC/Disassembler/AMDGPU/sop2_vi.txt
Valery Pykhtin 562564f42b [AMDGPU] add VI disassembler tests. NFC.
Autogenerated from the corresponding assembler tests with a few FIXME added (will fix soon).

Differential Revision: http://reviews.llvm.org/D18249

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263729 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-17 17:56:33 +00:00

95 lines
2.8 KiB
Plaintext

# RUN: llvm-mc -arch=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck %s -check-prefix=VI
# VI: s_and_b32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x86]
0x04 0x06 0x02 0x86
# VI: s_and_b64 s[2:3], s[4:5], s[6:7] ; encoding: [0x04,0x06,0x82,0x86]
0x04 0x06 0x82 0x86
# VI: s_or_b32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x87]
0x04 0x06 0x02 0x87
# VI: s_or_b64 s[2:3], s[4:5], s[6:7] ; encoding: [0x04,0x06,0x82,0x87]
0x04 0x06 0x82 0x87
# VI: s_xor_b32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x88]
0x04 0x06 0x02 0x88
# VI: s_xor_b64 s[2:3], s[4:5], s[6:7] ; encoding: [0x04,0x06,0x82,0x88]
0x04 0x06 0x82 0x88
# VI: s_andn2_b32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x89]
0x04 0x06 0x02 0x89
# VI: s_andn2_b64 s[2:3], s[4:5], s[6:7] ; encoding: [0x04,0x06,0x82,0x89]
0x04 0x06 0x82 0x89
# VI: s_orn2_b32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x8a]
0x04 0x06 0x02 0x8a
# VI: s_orn2_b64 s[2:3], s[4:5], s[6:7] ; encoding: [0x04,0x06,0x82,0x8a]
0x04 0x06 0x82 0x8a
# VI: s_nand_b32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x8b]
0x04 0x06 0x02 0x8b
# VI: s_nand_b64 s[2:3], s[4:5], s[6:7] ; encoding: [0x04,0x06,0x82,0x8b]
0x04 0x06 0x82 0x8b
# VI: s_nor_b32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x8c]
0x04 0x06 0x02 0x8c
# VI: s_nor_b64 s[2:3], s[4:5], s[6:7] ; encoding: [0x04,0x06,0x82,0x8c]
0x04 0x06 0x82 0x8c
# VI: s_xnor_b32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x8d]
0x04 0x06 0x02 0x8d
# VI: s_xnor_b64 s[2:3], s[4:5], s[6:7] ; encoding: [0x04,0x06,0x82,0x8d]
0x04 0x06 0x82 0x8d
# VI: s_lshl_b32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x8e]
0x04 0x06 0x02 0x8e
# VI: s_lshl_b64 s[2:3], s[4:5], s6 ; encoding: [0x04,0x06,0x82,0x8e]
0x04 0x06 0x82 0x8e
# VI: s_lshr_b32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x8f]
0x04 0x06 0x02 0x8f
# VI: s_lshr_b64 s[2:3], s[4:5], s6 ; encoding: [0x04,0x06,0x82,0x8f]
0x04 0x06 0x82 0x8f
# VI: s_ashr_i32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x90]
0x04 0x06 0x02 0x90
# VI: s_ashr_i64 s[2:3], s[4:5], s6 ; encoding: [0x04,0x06,0x82,0x90]
0x04 0x06 0x82 0x90
# VI: s_bfm_b32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x91]
0x04 0x06 0x02 0x91
# VI: s_bfm_b64 s[2:3], s4, s6 ; encoding: [0x04,0x06,0x82,0x91]
0x04 0x06 0x82 0x91
# VI: s_mul_i32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x92]
0x04 0x06 0x02 0x92
# VI: s_bfe_u32 s2, s4, s6 ; encoding: [0x04,0x06,0x82,0x92]
0x04 0x06 0x82 0x92
# VI: s_bfe_i32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x93]
0x04 0x06 0x02 0x93
# VI: s_bfe_u64 s[2:3], s[4:5], s6 ; encoding: [0x04,0x06,0x82,0x93]
0x04 0x06 0x82 0x93
# VI: s_bfe_i64 s[2:3], s[4:5], s6 ; encoding: [0x04,0x06,0x02,0x94]
0x04 0x06 0x02 0x94
# VI: s_cbranch_g_fork s[4:5], s[6:7] ; encoding: [0x04,0x06,0x80,0x94]
0x04 0x06 0x80 0x94
# VI: s_absdiff_i32 s2, s4, s6 ; encoding: [0x04,0x06,0x02,0x95]
0x04 0x06 0x02 0x95