2016-03-17 18:56:33 +01:00
|
|
|
# RUN: llvm-mc -arch=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck %s -check-prefix=VI
|
|
|
|
|
|
|
|
# VI: s_cmovk_i32 s2, 0x6 ; encoding: [0x06,0x00,0x82,0xb0]
|
|
|
|
0x06 0x00 0x82 0xb0
|
|
|
|
|
|
|
|
# VI: s_cmpk_eq_i32 s2, 0x6 ; encoding: [0x06,0x00,0x02,0xb1]
|
|
|
|
0x06 0x00 0x02 0xb1
|
|
|
|
|
|
|
|
# VI: s_cmpk_lg_i32 s2, 0x6 ; encoding: [0x06,0x00,0x82,0xb1]
|
|
|
|
0x06 0x00 0x82 0xb1
|
|
|
|
|
|
|
|
# VI: s_cmpk_gt_i32 s2, 0x6 ; encoding: [0x06,0x00,0x02,0xb2]
|
|
|
|
0x06 0x00 0x02 0xb2
|
|
|
|
|
|
|
|
# VI: s_cmpk_ge_i32 s2, 0x6 ; encoding: [0x06,0x00,0x82,0xb2]
|
|
|
|
0x06 0x00 0x82 0xb2
|
|
|
|
|
|
|
|
# VI: s_cmpk_lt_i32 s2, 0x6 ; encoding: [0x06,0x00,0x02,0xb3]
|
|
|
|
0x06 0x00 0x02 0xb3
|
|
|
|
|
|
|
|
# VI: s_cmpk_le_i32 s2, 0x6 ; encoding: [0x06,0x00,0x82,0xb3]
|
|
|
|
0x06 0x00 0x82 0xb3
|
|
|
|
|
|
|
|
# VI: s_cmpk_eq_u32 s2, 0x6 ; encoding: [0x06,0x00,0x02,0xb4]
|
|
|
|
0x06 0x00 0x02 0xb4
|
|
|
|
|
|
|
|
# VI: s_cmpk_lg_u32 s2, 0x6 ; encoding: [0x06,0x00,0x82,0xb4]
|
|
|
|
0x06 0x00 0x82 0xb4
|
|
|
|
|
|
|
|
# VI: s_cmpk_gt_u32 s2, 0x6 ; encoding: [0x06,0x00,0x02,0xb5]
|
|
|
|
0x06 0x00 0x02 0xb5
|
|
|
|
|
|
|
|
# VI: s_cmpk_ge_u32 s2, 0x6 ; encoding: [0x06,0x00,0x82,0xb5]
|
|
|
|
0x06 0x00 0x82 0xb5
|
|
|
|
|
|
|
|
# VI: s_cmpk_lt_u32 s2, 0x6 ; encoding: [0x06,0x00,0x02,0xb6]
|
|
|
|
0x06 0x00 0x02 0xb6
|
|
|
|
|
|
|
|
# VI: s_cmpk_le_u32 s2, 0x6 ; encoding: [0x06,0x00,0x82,0xb6]
|
|
|
|
0x06 0x00 0x82 0xb6
|
|
|
|
|
|
|
|
# VI: s_addk_i32 s2, 0x6 ; encoding: [0x06,0x00,0x02,0xb7]
|
|
|
|
0x06 0x00 0x02 0xb7
|
|
|
|
|
|
|
|
# VI: s_mulk_i32 s2, 0x6 ; encoding: [0x06,0x00,0x82,0xb7]
|
|
|
|
0x06 0x00 0x82 0xb7
|
|
|
|
|
|
|
|
# VI: s_cbranch_i_fork s[2:3], 0x6 ; encoding: [0x06,0x00,0x02,0xb8]
|
|
|
|
0x06 0x00 0x02 0xb8
|
|
|
|
|
|
|
|
# VI: s_getreg_b32 s2, 0x6 ; encoding: [0x06,0x00,0x82,0xb8]
|
|
|
|
0x06 0x00 0x82 0xb8
|
|
|
|
|
2016-04-18 16:54:26 +02:00
|
|
|
# VI: s_setreg_b32 0x6, s2 ; encoding: [0x06,0x00,0x02,0xb9]
|
2016-03-17 18:56:33 +01:00
|
|
|
0x06 0x00 0x02 0xb9
|
|
|
|
|
2016-04-18 16:54:26 +02:00
|
|
|
# VI: s_setreg_imm32_b32 0x6, 0xff ; encoding: [0x06,0x00,0x00,0xba,0xff,0x00,0x00,0x00]
|
2016-03-17 18:56:33 +01:00
|
|
|
0x06 0x00 0x00 0xba 0xff 0x00 0x00 0x00
|