[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / test / MC / Disassembler / AMDGPU / buf_fmt_packed_d16.txt
blob495e78f691e835fc2bf73864c48bcdfe8146a774
1 # RUN: llvm-mc -arch=amdgcn -mcpu=gfx810 -disassemble -show-encoding < %s | FileCheck %s -check-prefix=PACKED
2 # RUN: llvm-mc -arch=amdgcn -mcpu=gfx900 -disassemble -show-encoding < %s | FileCheck %s -check-prefix=PACKED
4 # PACKED: buffer_load_format_d16_x v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x20,0xe0,0x00,0x01,0x01,0x01]
5 0x00,0x00,0x20,0xe0,0x00,0x01,0x01,0x01
7 # PACKED: buffer_load_format_d16_xy v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x24,0xe0,0x00,0x01,0x01,0x01]
8 0x00,0x00,0x24,0xe0,0x00,0x01,0x01,0x01
10 # PACKED: buffer_load_format_d16_xyz v[1:2], off, s[4:7], s1 ; encoding: [0x00,0x00,0x28,0xe0,0x00,0x01,0x01,0x01]
11 0x00,0x00,0x28,0xe0,0x00,0x01,0x01,0x01
13 # PACKED: buffer_load_format_d16_xyzw v[1:2], off, s[4:7], s1 ; encoding: [0x00,0x00,0x2c,0xe0,0x00,0x01,0x01,0x01]
14 0x00,0x00,0x2c,0xe0,0x00,0x01,0x01,0x01
16 # PACKED: buffer_store_format_d16_x v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x30,0xe0,0x00,0x01,0x01,0x01]
17 0x00,0x00,0x30,0xe0,0x00,0x01,0x01,0x01
19 # PACKED: buffer_store_format_d16_xy v1, off, s[4:7], s1 ; encoding: [0x00,0x00,0x34,0xe0,0x00,0x01,0x01,0x01]
20 0x00,0x00,0x34,0xe0,0x00,0x01,0x01,0x01
22 # PACKED: buffer_store_format_d16_xyz v[1:2], off, s[4:7], s1 ; encoding: [0x00,0x00,0x38,0xe0,0x00,0x01,0x01,0x01]
23 0x00,0x00,0x38,0xe0,0x00,0x01,0x01,0x01
25 # PACKED: buffer_store_format_d16_xyzw v[1:2], off, s[4:7], s1 ; encoding: [0x00,0x00,0x3c,0xe0,0x00,0x01,0x01,0x01]
26 0x00,0x00,0x3c,0xe0,0x00,0x01,0x01,0x01
28 # PACKED: tbuffer_load_format_d16_x v1, off, s[4:7],  dfmt:15,  nfmt:2, s1 ; encoding: [0x00,0x00,0x7c,0xe9,0x00,0x01,0x01,0x01]
29 0x00,0x00,0x7c,0xe9,0x00,0x01,0x01,0x01
31 # PACKED: tbuffer_load_format_d16_xy v1, off, s[4:7],  dfmt:15,  nfmt:2, s1 ; encoding: [0x00,0x80,0x7c,0xe9,0x00,0x01,0x01,0x01]
32 0x00,0x80,0x7c,0xe9,0x00,0x01,0x01,0x01
34 # PACKED: tbuffer_load_format_d16_xyz v[1:2], off, s[4:7],  dfmt:15,  nfmt:2, s1 ; encoding: [0x00,0x00,0x7d,0xe9,0x00,0x01,0x01,0x01]
35 0x00,0x00,0x7d,0xe9,0x00,0x01,0x01,0x01
37 # PACKED: tbuffer_load_format_d16_xyzw v[1:2], off, s[4:7],  dfmt:15,  nfmt:2, s1 ; encoding: [0x00,0x80,0x7d,0xe9,0x00,0x01,0x01,0x01]
38 0x00,0x80,0x7d,0xe9,0x00,0x01,0x01,0x01
40 # PACKED: tbuffer_store_format_d16_x v1, off, s[4:7],  dfmt:15,  nfmt:2, s1 ; encoding: [0x00,0x00,0x7e,0xe9,0x00,0x01,0x01,0x01]
41 0x00,0x00,0x7e,0xe9,0x00,0x01,0x01,0x01
43 # PACKED: tbuffer_store_format_d16_xy v1, off, s[4:7],  dfmt:15,  nfmt:2, s1 ; encoding: [0x00,0x80,0x7e,0xe9,0x00,0x01,0x01,0x01]
44 0x00,0x80,0x7e,0xe9,0x00,0x01,0x01,0x01
46 # PACKED: tbuffer_store_format_d16_xyz v[1:2], off, s[4:7],  dfmt:15,  nfmt:2, s1 ; encoding: [0x00,0x00,0x7f,0xe9,0x00,0x01,0x01,0x01]
47 0x00,0x00,0x7f,0xe9,0x00,0x01,0x01,0x01
49 # PACKED: tbuffer_store_format_d16_xyzw v[1:2], off, s[4:7],  dfmt:15,  nfmt:2, s1 ; encoding: [0x00,0x80,0x7f,0xe9,0x00,0x01,0x01,0x01]
50 0x00,0x80,0x7f,0xe9,0x00,0x01,0x01,0x01