98 lines
6.1 KiB
Plaintext
98 lines
6.1 KiB
Plaintext
# RUN: llvm-mc -arch=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck %s -check-prefix=VI
|
|
|
|
# VI: tbuffer_load_format_x v1, off, s[4:7], s1 format:[BUF_DATA_FORMAT_RESERVED_15,BUF_NUM_FORMAT_USCALED] ; encoding: [0x00,0x00,0x78,0xe9,0x00,0x01,0x01,0x01]
|
|
0x00 0x00 0x78 0xe9 0x00 0x01 0x01 0x01
|
|
|
|
# VI: tbuffer_load_format_xy v[1:2], off, s[4:7], s1 format:[BUF_DATA_FORMAT_RESERVED_15,BUF_NUM_FORMAT_USCALED] ; encoding: [0x00,0x80,0x78,0xe9,0x00,0x01,0x01,0x01]
|
|
0x00 0x80 0x78 0xe9 0x00 0x01 0x01 0x01
|
|
|
|
# VI: tbuffer_load_format_xyzw v[1:4], off, s[4:7], s1 format:[BUF_DATA_FORMAT_RESERVED_15,BUF_NUM_FORMAT_USCALED] ; encoding: [0x00,0x80,0x79,0xe9,0x00,0x01,0x01,0x01]
|
|
0x00 0x80 0x79 0xe9 0x00 0x01 0x01 0x01
|
|
|
|
# VI: tbuffer_store_format_x v1, off, s[4:7], s1 format:[BUF_DATA_FORMAT_RESERVED_15,BUF_NUM_FORMAT_USCALED] ; encoding: [0x00,0x00,0x7a,0xe9,0x00,0x01,0x01,0x01]
|
|
0x00 0x00 0x7a 0xe9 0x00 0x01 0x01 0x01
|
|
|
|
# VI: tbuffer_store_format_xy v[1:2], off, s[4:7], s1 format:[BUF_DATA_FORMAT_RESERVED_15,BUF_NUM_FORMAT_USCALED] ; encoding: [0x00,0x80,0x7a,0xe9,0x00,0x01,0x01,0x01]
|
|
0x00 0x80 0x7a 0xe9 0x00 0x01 0x01 0x01
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, s[4:7], s1 format:[BUF_DATA_FORMAT_RESERVED_15,BUF_NUM_FORMAT_USCALED] ; encoding: [0x00,0x80,0x7b,0xe9,0x00,0x01,0x01,0x01]
|
|
0x00 0x80 0x7b 0xe9 0x00 0x01 0x01 0x01
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 format:[BUF_DATA_FORMAT_RESERVED_15,BUF_NUM_FORMAT_USCALED] ; encoding: [0x00,0x80,0x7b,0xe9,0x00,0x01,0x1d,0x71]
|
|
0x00 0x80 0x7b 0xe9 0x00 0x01 0x1d 0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 format:[BUF_DATA_FORMAT_INVALID,BUF_NUM_FORMAT_USCALED] ; encoding: [0x00,0x80,0x03,0xe9,0x00,0x01,0x1d,0x71]
|
|
0x00,0x80,0x03,0xe9,0x00,0x01,0x1d,0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 format:[BUF_DATA_FORMAT_RESERVED_15] ; encoding: [0x00,0x80,0x7b,0xe8,0x00,0x01,0x1d,0x71]
|
|
0x00,0x80,0x7b,0xe8,0x00,0x01,0x1d,0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 ; encoding: [0x00,0x80,0x0b,0xe8,0x00,0x01,0x1d,0x71]
|
|
0x00,0x80,0x0b,0xe8,0x00,0x01,0x1d,0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 format:[BUF_DATA_FORMAT_INVALID] ; encoding: [0x00,0x80,0x03,0xe8,0x00,0x01,0x1d,0x71]
|
|
0x00,0x80,0x03,0xe8,0x00,0x01,0x1d,0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 format:[BUF_NUM_FORMAT_SNORM] ; encoding: [0x00,0x80,0x8b,0xe8,0x00,0x01,0x1d,0x71]
|
|
0x00,0x80,0x8b,0xe8,0x00,0x01,0x1d,0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 format:[BUF_DATA_FORMAT_RESERVED_15,BUF_NUM_FORMAT_FLOAT] ; encoding: [0x00,0x80,0xfb,0xeb,0x00,0x01,0x1d,0x71]
|
|
0x00,0x80,0xfb,0xeb,0x00,0x01,0x1d,0x71
|
|
|
|
# VI: tbuffer_load_format_xy v[1:2], off, s[4:7], s1 format:[BUF_DATA_FORMAT_INVALID] ; encoding: [0x00,0x80,0x00,0xe8,0x00,0x01,0x01,0x01]
|
|
0x00 0x80 0x00 0xe8 0x00 0x01 0x01 0x01
|
|
|
|
# VI: tbuffer_load_format_xyzw v[1:4], off, s[4:7], s1 format:[BUF_NUM_FORMAT_SNORM] ; encoding: [0x00,0x80,0x89,0xe8,0x00,0x01,0x01,0x01]
|
|
0x00 0x80 0x89 0xe8 0x00 0x01 0x01 0x01
|
|
|
|
# VI: tbuffer_store_format_x v1, off, s[4:7], s1 format:[BUF_DATA_FORMAT_16,BUF_NUM_FORMAT_FLOAT] ; encoding: [0x00,0x00,0x92,0xeb,0x00,0x01,0x01,0x01]
|
|
0x00 0x00 0x92 0xeb 0x00 0x01 0x01 0x01
|
|
|
|
# VI: tbuffer_store_format_xy v[1:2], off, s[4:7], s1 format:[BUF_DATA_FORMAT_32,BUF_NUM_FORMAT_RESERVED_6] ; encoding: [0x00,0x80,0x22,0xeb,0x00,0x01,0x01,0x01]
|
|
0x00 0x80 0x22 0xeb 0x00 0x01 0x01 0x01
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, s[4:7], s1 format:[BUF_DATA_FORMAT_8_8,BUF_NUM_FORMAT_SSCALED] ; encoding: [0x00,0x80,0x9b,0xe9,0x00,0x01,0x01,0x01]
|
|
0x00 0x80 0x9b 0xe9 0x00 0x01 0x01 0x01
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 format:[BUF_DATA_FORMAT_16_16,BUF_NUM_FORMAT_UINT] ; encoding: [0x00,0x80,0x2b,0xea,0x00,0x01,0x1d,0x71]
|
|
0x00 0x80 0x2b 0xea 0x00 0x01 0x1d 0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 format:[BUF_DATA_FORMAT_32_32,BUF_NUM_FORMAT_SINT] ; encoding: [0x00,0x80,0xdb,0xea,0x00,0x01,0x1d,0x71]
|
|
0x00,0x80,0xdb,0xea,0x00,0x01,0x1d,0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 format:[BUF_DATA_FORMAT_10_11_11] ; encoding: [0x00,0x80,0x33,0xe8,0x00,0x01,0x1d,0x71]
|
|
0x00,0x80,0x33,0xe8,0x00,0x01,0x1d,0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 ; encoding: [0x00,0x80,0x0b,0xe8,0x00,0x01,0x1d,0x71]
|
|
0x00,0x80,0x0b,0xe8,0x00,0x01,0x1d,0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 format:[BUF_DATA_FORMAT_16_16_16_16] ; encoding: [0x00,0x80,0x63,0xe8,0x00,0x01,0x1d,0x71]
|
|
0x00,0x80,0x63,0xe8,0x00,0x01,0x1d,0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 format:[BUF_NUM_FORMAT_SNORM] ; encoding: [0x00,0x80,0x8b,0xe8,0x00,0x01,0x1d,0x71]
|
|
0x00,0x80,0x8b,0xe8,0x00,0x01,0x1d,0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], ttmp1 format:[BUF_DATA_FORMAT_11_11_10,BUF_NUM_FORMAT_FLOAT] ; encoding: [0x00,0x80,0xbb,0xeb,0x00,0x01,0x1d,0x71]
|
|
0x00,0x80,0xbb,0xeb,0x00,0x01,0x1d,0x71
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], v1, ttmp[4:7], s0 format:[BUF_DATA_FORMAT_10_10_10_2,BUF_NUM_FORMAT_FLOAT] idxen
|
|
0x00,0xa0,0xc3,0xeb,0x01,0x01,0x1d,0x00
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], v1, ttmp[4:7], s0 format:[BUF_DATA_FORMAT_2_10_10_10,BUF_NUM_FORMAT_FLOAT] offen offset:52
|
|
0x34,0x90,0xcb,0xeb,0x01,0x01,0x1d,0x00
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], v[1:2], ttmp[4:7], s0 format:[BUF_DATA_FORMAT_8_8_8_8,BUF_NUM_FORMAT_FLOAT] idxen offen offset:52
|
|
0x34,0xb0,0xd3,0xeb,0x01,0x01,0x1d,0x00
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], v[1:2], ttmp[4:7], s0 format:[BUF_DATA_FORMAT_32_32_32,BUF_NUM_FORMAT_FLOAT] idxen offen offset:52
|
|
0x34,0xb0,0xeb,0xeb,0x01,0x01,0x1d,0x00
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], v[1:2], ttmp[4:7], s0 format:[BUF_DATA_FORMAT_32_32_32_32,BUF_NUM_FORMAT_FLOAT] idxen offen offset:52
|
|
0x34,0xb0,0xf3,0xeb,0x01,0x01,0x1d,0x00
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], s0 format:[BUF_NUM_FORMAT_RESERVED_6]
|
|
0x00,0x80,0x0b,0xeb,0x00,0x01,0x1d,0x00
|
|
|
|
# VI: tbuffer_store_format_xyzw v[1:4], off, ttmp[4:7], s0 format:[BUF_NUM_FORMAT_FLOAT]
|
|
0x00,0x80,0x8b,0xeb,0x00,0x01,0x1d,0x00
|