[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / test / MC / Disassembler / AMDGPU / gfx1011_dasm_dlops.txt
bloba9addc045085df251c7f6cedfa22ebb6f6b6df50
1 # RUN: llvm-mc -arch=amdgcn -mcpu=gfx1011 -disassemble -show-encoding < %s | FileCheck -check-prefix=GFX10 %s
2 # RUN: llvm-mc -arch=amdgcn -mcpu=gfx1012 -disassemble -show-encoding < %s | FileCheck -check-prefix=GFX10 %s
4 # GFX10: v_dot2_f32_f16 v0, v1, v2, v3   ; encoding: [0x00,0x40,0x13,0xcc,0x01,0x05,0x0e,0x1c]
5 0x00,0x40,0x13,0xcc,0x01,0x05,0x0e,0x1c
7 # GFX10: v_dot2_i32_i16 v0, v1, v2, v3   ; encoding: [0x00,0x40,0x14,0xcc,0x01,0x05,0x0e,0x1c]
8 0x00,0x40,0x14,0xcc,0x01,0x05,0x0e,0x1c
10 # GFX10: v_dot2_u32_u16 v0, v1, v2, v3   ; encoding: [0x00,0x40,0x15,0xcc,0x01,0x05,0x0e,0x1c]
11 0x00,0x40,0x15,0xcc,0x01,0x05,0x0e,0x1c
13 # GFX10: v_dot4_i32_i8 v0, v1, v2, v3    ; encoding: [0x00,0x40,0x16,0xcc,0x01,0x05,0x0e,0x1c]
14 0x00,0x40,0x16,0xcc,0x01,0x05,0x0e,0x1c
16 # GFX10: v_dot4_u32_u8 v0, v1, v2, v3    ; encoding: [0x00,0x40,0x17,0xcc,0x01,0x05,0x0e,0x1c]
17 0x00,0x40,0x17,0xcc,0x01,0x05,0x0e,0x1c
19 # GFX10: v_dot8_i32_i4 v0, v1, v2, v3    ; encoding: [0x00,0x40,0x18,0xcc,0x01,0x05,0x0e,0x1c]
20 0x00,0x40,0x18,0xcc,0x01,0x05,0x0e,0x1c
22 # GFX10: v_dot8_u32_u4 v0, v1, v2, v3    ; encoding: [0x00,0x40,0x19,0xcc,0x01,0x05,0x0e,0x1c]
23 0x00,0x40,0x19,0xcc,0x01,0x05,0x0e,0x1c
25 # GFX10: v_dot2c_f32_f16_e32 v5, v1, v2
26 0x01,0x05,0x0a,0x04
28 # GFX10: v_dot2c_f32_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
29 0xfa,0x04,0x0a,0x04,0x01,0xe4,0x00,0x00
31 # GFX10: v_dot2c_f32_f16_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 fi:1
32 0xfa,0x04,0x0a,0x04,0x01,0xe4,0x04,0x00
34 # GFX10: v_dot2c_f32_f16_dpp v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
35 0xe9,0x04,0x0a,0x04,0x01,0x77,0x39,0x05
37 # GFX10: v_dot2c_f32_f16_dpp v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
38 0xea,0x04,0x0a,0x04,0x01,0x77,0x39,0x05
40 # GFX10: v_dot4c_i32_i8_e32 v5, v1, v2
41 0x01,0x05,0x0a,0x1a
43 # GFX10: v_dot4c_i32_i8_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
44 0xfa,0x04,0x0a,0x1a,0x01,0xe4,0x00,0x00
46 # GFX10: v_dot4c_i32_i8_dpp v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 fi:1
47 0xfa,0x04,0x0a,0x1a,0x01,0xe4,0x04,0x00
49 # GFX10: v_dot4c_i32_i8_dpp v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
50 0xe9,0x04,0x0a,0x1a,0x01,0x77,0x39,0x05
52 # GFX10: v_dot4c_i32_i8_dpp v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
53 0xea,0x04,0x0a,0x1a,0x01,0x77,0x39,0x05