[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / test / MC / Disassembler / AMDGPU / sopc_vi.txt
blob4bf2aefaf0ce91ab081b969d2a9f35d827ab80c8
1 # RUN: llvm-mc -arch=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck %s -check-prefix=GCN
3 # GCN: s_cmp_eq_i32 s1, s2 ; encoding: [0x01,0x02,0x00,0xbf]
4 0x01 0x02 0x00 0xbf
6 # GCN: s_cmp_lg_i32 s1, s2 ; encoding: [0x01,0x02,0x01,0xbf]
7 0x01 0x02 0x01 0xbf
9 # GCN: s_cmp_gt_i32 s1, s2 ; encoding: [0x01,0x02,0x02,0xbf]
10 0x01 0x02 0x02 0xbf
12 # GCN: s_cmp_ge_i32 s1, s2 ; encoding: [0x01,0x02,0x03,0xbf]
13 0x01 0x02 0x03 0xbf
15 # GCN: s_cmp_lt_i32 s1, s2 ; encoding: [0x01,0x02,0x04,0xbf]
16 0x01 0x02 0x04 0xbf
18 # GCN: s_cmp_le_i32 s1, s2 ; encoding: [0x01,0x02,0x05,0xbf]
19 0x01 0x02 0x05 0xbf
21 # GCN: s_cmp_eq_u32 s1, s2 ; encoding: [0x01,0x02,0x06,0xbf]
22 0x01 0x02 0x06 0xbf
24 # GCN: s_cmp_lg_u32 s1, s2 ; encoding: [0x01,0x02,0x07,0xbf]
25 0x01 0x02 0x07 0xbf
27 # GCN: s_cmp_gt_u32 s1, s2 ; encoding: [0x01,0x02,0x08,0xbf]
28 0x01 0x02 0x08 0xbf
30 # GCN: s_cmp_ge_u32 s1, s2 ; encoding: [0x01,0x02,0x09,0xbf]
31 0x01 0x02 0x09 0xbf
33 # GCN: s_cmp_lt_u32 s1, s2 ; encoding: [0x01,0x02,0x0a,0xbf]
34 0x01 0x02 0x0a 0xbf
36 # GCN: s_cmp_le_u32 s1, s2 ; encoding: [0x01,0x02,0x0b,0xbf]
37 0x01 0x02 0x0b 0xbf
39 # GCN: s_bitcmp0_b32 s1, s2 ; encoding: [0x01,0x02,0x0c,0xbf]
40 0x01 0x02 0x0c 0xbf
42 # GCN: s_bitcmp1_b32 s1, s2 ; encoding: [0x01,0x02,0x0d,0xbf]
43 0x01 0x02 0x0d 0xbf
45 # GCN: s_bitcmp0_b64 s[2:3], s4 ; encoding: [0x02,0x04,0x0e,0xbf]
46 0x02 0x04 0x0e 0xbf
48 # GCN: s_bitcmp1_b64 s[2:3], s4 ; encoding: [0x02,0x04,0x0f,0xbf]
49 0x02 0x04 0x0f 0xbf
51 # GCN: s_setvskip s3, s5 ; encoding: [0x03,0x05,0x10,0xbf]
52 0x03 0x05 0x10 0xbf
54 # GCN: s_bitcmp0_b32 0xafaaffff, 0xafaaffff ; encoding: [0xff,0xff,0x0c,0xbf,0xff,0xff,0xaa,0xaf]
55 0xff 0xff 0x0c 0xbf 0xff 0xff 0xaa 0xaf
57 # GCN: s_set_gpr_idx_on s0, gpr_idx(SRC0) ; encoding: [0x00,0x01,0x11,0xbf]
58 0x00,0x01,0x11,0xbf
60 # GCN: s_set_gpr_idx_on s0, gpr_idx(SRC0,SRC1,SRC2,DST) ; encoding: [0x00,0x0f,0x11,0xbf]
61 0x00,0x0f,0x11,0xbf
63 # GCN: s_set_gpr_idx_on s0, gpr_idx(SRC0,SRC1,SRC2,DST) ; encoding: [0x00,0x0f,0x11,0xbf]
64 0x00,0x0f,0x11,0xbf
66 # GCN: s_set_gpr_idx_on s0, 0xff ; encoding: [0x00,0xff,0x11,0xbf]
67 0x00,0xff,0x11,0xbf