• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc -arch=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck %s -check-prefix=GCN
2
3# GCN: s_cmp_eq_i32 s1, s2 ; encoding: [0x01,0x02,0x00,0xbf]
40x01 0x02 0x00 0xbf
5
6# GCN: s_cmp_lg_i32 s1, s2 ; encoding: [0x01,0x02,0x01,0xbf]
70x01 0x02 0x01 0xbf
8
9# GCN: s_cmp_gt_i32 s1, s2 ; encoding: [0x01,0x02,0x02,0xbf]
100x01 0x02 0x02 0xbf
11
12# GCN: s_cmp_ge_i32 s1, s2 ; encoding: [0x01,0x02,0x03,0xbf]
130x01 0x02 0x03 0xbf
14
15# GCN: s_cmp_lt_i32 s1, s2 ; encoding: [0x01,0x02,0x04,0xbf]
160x01 0x02 0x04 0xbf
17
18# GCN: s_cmp_le_i32 s1, s2 ; encoding: [0x01,0x02,0x05,0xbf]
190x01 0x02 0x05 0xbf
20
21# GCN: s_cmp_eq_u32 s1, s2 ; encoding: [0x01,0x02,0x06,0xbf]
220x01 0x02 0x06 0xbf
23
24# GCN: s_cmp_lg_u32 s1, s2 ; encoding: [0x01,0x02,0x07,0xbf]
250x01 0x02 0x07 0xbf
26
27# GCN: s_cmp_gt_u32 s1, s2 ; encoding: [0x01,0x02,0x08,0xbf]
280x01 0x02 0x08 0xbf
29
30# GCN: s_cmp_ge_u32 s1, s2 ; encoding: [0x01,0x02,0x09,0xbf]
310x01 0x02 0x09 0xbf
32
33# GCN: s_cmp_lt_u32 s1, s2 ; encoding: [0x01,0x02,0x0a,0xbf]
340x01 0x02 0x0a 0xbf
35
36# GCN: s_cmp_le_u32 s1, s2 ; encoding: [0x01,0x02,0x0b,0xbf]
370x01 0x02 0x0b 0xbf
38
39# GCN: s_bitcmp0_b32 s1, s2 ; encoding: [0x01,0x02,0x0c,0xbf]
400x01 0x02 0x0c 0xbf
41
42# GCN: s_bitcmp1_b32 s1, s2 ; encoding: [0x01,0x02,0x0d,0xbf]
430x01 0x02 0x0d 0xbf
44
45# GCN: s_bitcmp0_b64 s[2:3], s4 ; encoding: [0x02,0x04,0x0e,0xbf]
460x02 0x04 0x0e 0xbf
47
48# GCN: s_bitcmp1_b64 s[2:3], s4 ; encoding: [0x02,0x04,0x0f,0xbf]
490x02 0x04 0x0f 0xbf
50
51# GCN: s_setvskip s3, s5 ; encoding: [0x03,0x05,0x10,0xbf]
520x03 0x05 0x10 0xbf
53