1 // RUN
: llvm-mc
-triple
=amdgcn
-mcpu
=gfx1100
-show-encoding
%s | FileCheck
--check-prefixes
=GFX11
%s
3 s_load_dword s5
, s
[2:3], s0
4 // GFX11
: s_load_b32 s5
, s
[2:3], s0 ; encoding
: [0x41,0x01,0x00,0xf4,0x00,0x00,0x00,0x00]
6 s_load_dwordx2 s
[10:11], s
[2:3], s0
7 // GFX11
: s_load_b64 s
[10:11], s
[2:3], s0 ; encoding
: [0x81,0x02,0x04,0xf4,0x00,0x00,0x00,0x00]
9 s_load_dwordx4 s
[20:23], s
[2:3], s0
10 // GFX11
: s_load_b128 s
[20:23], s
[2:3], s0 ; encoding
: [0x01,0x05,0x08,0xf4,0x00,0x00,0x00,0x00]
12 s_load_dwordx8 s
[20:27], s
[2:3], s0
13 // GFX11
: s_load_b256 s
[20:27], s
[2:3], s0 ; encoding
: [0x01,0x05,0x0c,0xf4,0x00,0x00,0x00,0x00]
15 s_load_dwordx16 s
[20:35], s
[2:3], s0
16 // GFX11
: s_load_b512 s
[20:35], s
[2:3], s0 ; encoding
: [0x01,0x05,0x10,0xf4,0x00,0x00,0x00,0x00]
18 s_buffer_load_dword s5
, s
[4:7], s0
19 // GFX11
: s_buffer_load_b32 s5
, s
[4:7], s0 ; encoding
: [0x42,0x01,0x20,0xf4,0x00,0x00,0x00,0x00]
21 s_buffer_load_dwordx2 s
[10:11], s
[4:7], s0
22 // GFX11
: s_buffer_load_b64 s
[10:11], s
[4:7], s0 ; encoding
: [0x82,0x02,0x24,0xf4,0x00,0x00,0x00,0x00]
24 s_buffer_load_dwordx4 s
[20:23], s
[4:7], s0
25 // GFX11
: s_buffer_load_b128 s
[20:23], s
[4:7], s0 ; encoding
: [0x02,0x05,0x28,0xf4,0x00,0x00,0x00,0x00]
27 s_buffer_load_dwordx8 s
[20:27], s
[4:7], s0
28 // GFX11
: s_buffer_load_b256 s
[20:27], s
[4:7], s0 ; encoding
: [0x02,0x05,0x2c,0xf4,0x00,0x00,0x00,0x00]
30 s_buffer_load_dwordx16 s
[20:35], s
[4:7], s0
31 // GFX11
: s_buffer_load_b512 s
[20:35], s
[4:7], s0 ; encoding
: [0x02,0x05,0x30,0xf4,0x00,0x00,0x00,0x00]