764 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 -show-encoding %s | FileCheck --check-prefix=GFX11 %s2// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 -show-encoding %s 2>&1 | FileCheck --check-prefixes=GFX11-ERR --implicit-check-not=error: %s3 4tbuffer_load_d16_format_x v4, off, s[8:11], s3, format:[BUF_FMT_8_UNORM] offset:40955// GFX11: encoding: [0xff,0x0f,0x0c,0xe8,0x00,0x04,0x02,0x03]6 7tbuffer_load_d16_format_x v255, off, s[8:11], s3, format:1 offset:40958// GFX11: encoding: [0xff,0x0f,0x0c,0xe8,0x00,0xff,0x02,0x03]9 10tbuffer_load_d16_format_x v4, off, s[12:15], s3, format:[BUF_DATA_FORMAT_8, BUF_NUM_FORMAT_UNORM] offset:409511// GFX11: encoding: [0xff,0x0f,0x0c,0xe8,0x00,0x04,0x03,0x03]12 13tbuffer_load_d16_format_x v4, off, s[12:15], s101, format:[BUF_FMT_8_SNORM] offset:409514// GFX11: encoding: [0xff,0x0f,0x14,0xe8,0x00,0x04,0x03,0x65]15 16tbuffer_load_d16_format_x v4, off, s[12:15], m0, format:2 offset:409517// GFX11: encoding: [0xff,0x0f,0x14,0xe8,0x00,0x04,0x03,0x7d]18 19tbuffer_load_d16_format_x v4, off, s[8:11], 0, format:[BUF_DATA_FORMAT_8, BUF_NUM_FORMAT_SNORM] offset:409520// GFX11: encoding: [0xff,0x0f,0x14,0xe8,0x00,0x04,0x02,0x80]21 22tbuffer_load_d16_format_x v4, off, s[8:11], 61, format:[BUF_FMT_8_USCALED] offset:409523// GFX11: encoding: [0xff,0x0f,0x1c,0xe8,0x00,0x04,0x02,0xbd]24 25tbuffer_load_d16_format_x v4, off, ttmp[4:7], 61, format:3 offset:409526// GFX11: encoding: [0xff,0x0f,0x1c,0xe8,0x00,0x04,0x1c,0xbd]27 28tbuffer_load_d16_format_x v4, v1, s[8:11], s3, format:[BUF_DATA_FORMAT_8, BUF_NUM_FORMAT_USCALED] offen offset:5229// GFX11: encoding: [0x34,0x00,0x1c,0xe8,0x01,0x04,0x42,0x03]30 31tbuffer_load_d16_format_x v4, v1, s[8:11], s3, format:[BUF_FMT_8_SSCALED] idxen offset:5232// GFX11: encoding: [0x34,0x00,0x24,0xe8,0x01,0x04,0x82,0x03]33 34tbuffer_load_d16_format_x v4, v[1:2], s[8:11], s0, format:4 idxen offen offset:5235// GFX11: encoding: [0x34,0x00,0x24,0xe8,0x01,0x04,0xc2,0x00]36 37tbuffer_load_d16_format_x v4, off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_8, BUF_NUM_FORMAT_SSCALED] offset:4095 glc38// GFX11: encoding: [0xff,0x4f,0x24,0xe8,0x00,0x04,0x1c,0x03]39 40tbuffer_load_d16_format_x v4, off, ttmp[4:7], s3, format:[BUF_FMT_8_UINT] offset:4095 slc41// GFX11: encoding: [0xff,0x1f,0x2c,0xe8,0x00,0x04,0x1c,0x03]42 43tbuffer_load_d16_format_x v4, off, ttmp[4:7], s3, format:5 offset:4095 dlc44// GFX11: encoding: [0xff,0x2f,0x2c,0xe8,0x00,0x04,0x1c,0x03]45 46tbuffer_load_d16_format_x v4, off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_8, BUF_NUM_FORMAT_UINT] offset:4095 glc slc dlc47// GFX11: encoding: [0xff,0x7f,0x2c,0xe8,0x00,0x04,0x1c,0x03]48 49tbuffer_load_d16_format_xy v4, off, s[8:11], s3, format:[BUF_FMT_8_SINT] offset:409550// GFX11: encoding: [0xff,0x8f,0x34,0xe8,0x00,0x04,0x02,0x03]51 52tbuffer_load_d16_format_xy v255, off, s[8:11], s3, format:6 offset:409553// GFX11: encoding: [0xff,0x8f,0x34,0xe8,0x00,0xff,0x02,0x03]54 55tbuffer_load_d16_format_xy v4, off, s[12:15], s3, format:[BUF_DATA_FORMAT_8, BUF_NUM_FORMAT_SINT] offset:409556// GFX11: encoding: [0xff,0x8f,0x34,0xe8,0x00,0x04,0x03,0x03]57 58tbuffer_load_d16_format_xy v4, off, s[12:15], s101, format:[BUF_FMT_16_UNORM] offset:409559// GFX11: encoding: [0xff,0x8f,0x3c,0xe8,0x00,0x04,0x03,0x65]60 61tbuffer_load_d16_format_xy v4, off, s[12:15], m0, format:7 offset:409562// GFX11: encoding: [0xff,0x8f,0x3c,0xe8,0x00,0x04,0x03,0x7d]63 64tbuffer_load_d16_format_xy v4, off, s[8:11], 0, format:[BUF_DATA_FORMAT_16, BUF_NUM_FORMAT_UNORM] offset:409565// GFX11: encoding: [0xff,0x8f,0x3c,0xe8,0x00,0x04,0x02,0x80]66 67tbuffer_load_d16_format_xy v4, off, s[8:11], 61, format:[BUF_FMT_16_SNORM] offset:409568// GFX11: encoding: [0xff,0x8f,0x44,0xe8,0x00,0x04,0x02,0xbd]69 70tbuffer_load_d16_format_xy v4, off, ttmp[4:7], 61, format:8 offset:409571// GFX11: encoding: [0xff,0x8f,0x44,0xe8,0x00,0x04,0x1c,0xbd]72 73tbuffer_load_d16_format_xy v4, v1, s[8:11], s3, format:[BUF_DATA_FORMAT_16, BUF_NUM_FORMAT_SNORM] offen offset:5274// GFX11: encoding: [0x34,0x80,0x44,0xe8,0x01,0x04,0x42,0x03]75 76tbuffer_load_d16_format_xy v4, v1, s[8:11], s3, format:[BUF_FMT_16_USCALED] idxen offset:5277// GFX11: encoding: [0x34,0x80,0x4c,0xe8,0x01,0x04,0x82,0x03]78 79tbuffer_load_d16_format_xy v4, v[1:2], s[8:11], s0, format:9 idxen offen offset:5280// GFX11: encoding: [0x34,0x80,0x4c,0xe8,0x01,0x04,0xc2,0x00]81 82tbuffer_load_d16_format_xy v4, off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_16, BUF_NUM_FORMAT_USCALED] offset:4095 glc83// GFX11: encoding: [0xff,0xcf,0x4c,0xe8,0x00,0x04,0x1c,0x03]84 85tbuffer_load_d16_format_xy v4, off, ttmp[4:7], s3, format:[BUF_FMT_16_SSCALED] offset:4095 slc86// GFX11: encoding: [0xff,0x9f,0x54,0xe8,0x00,0x04,0x1c,0x03]87 88tbuffer_load_d16_format_xy v4, off, ttmp[4:7], s3, format:10 offset:4095 dlc89// GFX11: encoding: [0xff,0xaf,0x54,0xe8,0x00,0x04,0x1c,0x03]90 91tbuffer_load_d16_format_xy v4, off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_16, BUF_NUM_FORMAT_SSCALED] offset:4095 glc slc dlc92// GFX11: encoding: [0xff,0xff,0x54,0xe8,0x00,0x04,0x1c,0x03]93 94tbuffer_load_d16_format_xyz v[4:5], off, s[8:11], s3, format:[BUF_FMT_16_UINT] offset:409595// GFX11: encoding: [0xff,0x0f,0x5d,0xe8,0x00,0x04,0x02,0x03]96 97tbuffer_load_d16_format_xyz v[254:255], off, s[8:11], s3, format:11 offset:409598// GFX11: encoding: [0xff,0x0f,0x5d,0xe8,0x00,0xfe,0x02,0x03]99 100tbuffer_load_d16_format_xyz v[4:5], off, s[12:15], s3, format:[BUF_DATA_FORMAT_16, BUF_NUM_FORMAT_UINT] offset:4095101// GFX11: encoding: [0xff,0x0f,0x5d,0xe8,0x00,0x04,0x03,0x03]102 103tbuffer_load_d16_format_xyz v[4:5], off, s[12:15], s101, format:[BUF_FMT_16_SINT] offset:4095104// GFX11: encoding: [0xff,0x0f,0x65,0xe8,0x00,0x04,0x03,0x65]105 106tbuffer_load_d16_format_xyz v[4:5], off, s[12:15], m0, format:12 offset:4095107// GFX11: encoding: [0xff,0x0f,0x65,0xe8,0x00,0x04,0x03,0x7d]108 109tbuffer_load_d16_format_xyz v[4:5], off, s[8:11], 0, format:[BUF_DATA_FORMAT_16, BUF_NUM_FORMAT_SINT] offset:4095110// GFX11: encoding: [0xff,0x0f,0x65,0xe8,0x00,0x04,0x02,0x80]111 112tbuffer_load_d16_format_xyz v[4:5], off, s[8:11], 61, format:[BUF_FMT_16_FLOAT] offset:4095113// GFX11: encoding: [0xff,0x0f,0x6d,0xe8,0x00,0x04,0x02,0xbd]114 115tbuffer_load_d16_format_xyz v[4:5], off, ttmp[4:7], 61, format:13 offset:4095116// GFX11: encoding: [0xff,0x0f,0x6d,0xe8,0x00,0x04,0x1c,0xbd]117 118tbuffer_load_d16_format_xyz v[4:5], v1, s[8:11], s3, format:[BUF_DATA_FORMAT_16, BUF_NUM_FORMAT_FLOAT] offen offset:52119// GFX11: encoding: [0x34,0x00,0x6d,0xe8,0x01,0x04,0x42,0x03]120 121tbuffer_load_d16_format_xyz v[4:5], v1, s[8:11], s3, format:[BUF_FMT_8_8_UNORM] idxen offset:52122// GFX11: encoding: [0x34,0x00,0x75,0xe8,0x01,0x04,0x82,0x03]123 124tbuffer_load_d16_format_xyz v[4:5], v[1:2], s[8:11], s0, format:14 idxen offen offset:52125// GFX11: encoding: [0x34,0x00,0x75,0xe8,0x01,0x04,0xc2,0x00]126 127tbuffer_load_d16_format_xyz v[4:5], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_8_8, BUF_NUM_FORMAT_UNORM] offset:4095 glc128// GFX11: encoding: [0xff,0x4f,0x75,0xe8,0x00,0x04,0x1c,0x03]129 130tbuffer_load_d16_format_xyz v[4:5], off, ttmp[4:7], s3, format:[BUF_FMT_8_8_SNORM] offset:4095 slc131// GFX11: encoding: [0xff,0x1f,0x7d,0xe8,0x00,0x04,0x1c,0x03]132 133tbuffer_load_d16_format_xyz v[4:5], off, ttmp[4:7], s3, format:15 offset:4095 dlc134// GFX11: encoding: [0xff,0x2f,0x7d,0xe8,0x00,0x04,0x1c,0x03]135 136tbuffer_load_d16_format_xyz v[4:5], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_8_8, BUF_NUM_FORMAT_SNORM] offset:4095 glc slc dlc137// GFX11: encoding: [0xff,0x7f,0x7d,0xe8,0x00,0x04,0x1c,0x03]138 139tbuffer_load_d16_format_xyzw v[4:5], off, s[8:11], s3, format:[BUF_FMT_8_8_USCALED] offset:4095140// GFX11: encoding: [0xff,0x8f,0x85,0xe8,0x00,0x04,0x02,0x03]141 142tbuffer_load_d16_format_xyzw v[254:255], off, s[8:11], s3, format:16 offset:4095143// GFX11: encoding: [0xff,0x8f,0x85,0xe8,0x00,0xfe,0x02,0x03]144 145tbuffer_load_d16_format_xyzw v[4:5], off, s[12:15], s3, format:[BUF_DATA_FORMAT_8_8, BUF_NUM_FORMAT_USCALED] offset:4095146// GFX11: encoding: [0xff,0x8f,0x85,0xe8,0x00,0x04,0x03,0x03]147 148tbuffer_load_d16_format_xyzw v[4:5], off, s[12:15], s101, format:[BUF_FMT_8_8_SSCALED] offset:4095149// GFX11: encoding: [0xff,0x8f,0x8d,0xe8,0x00,0x04,0x03,0x65]150 151tbuffer_load_d16_format_xyzw v[4:5], off, s[12:15], m0, format:17 offset:4095152// GFX11: encoding: [0xff,0x8f,0x8d,0xe8,0x00,0x04,0x03,0x7d]153 154tbuffer_load_d16_format_xyzw v[4:5], off, s[8:11], 0, format:[BUF_DATA_FORMAT_8_8, BUF_NUM_FORMAT_SSCALED] offset:4095155// GFX11: encoding: [0xff,0x8f,0x8d,0xe8,0x00,0x04,0x02,0x80]156 157tbuffer_load_d16_format_xyzw v[4:5], off, s[8:11], 61, format:[BUF_FMT_8_8_UINT] offset:4095158// GFX11: encoding: [0xff,0x8f,0x95,0xe8,0x00,0x04,0x02,0xbd]159 160tbuffer_load_d16_format_xyzw v[4:5], off, ttmp[4:7], 61, format:18 offset:4095161// GFX11: encoding: [0xff,0x8f,0x95,0xe8,0x00,0x04,0x1c,0xbd]162 163tbuffer_load_d16_format_xyzw v[4:5], v1, s[8:11], s3, format:[BUF_DATA_FORMAT_8_8, BUF_NUM_FORMAT_UINT] offen offset:52164// GFX11: encoding: [0x34,0x80,0x95,0xe8,0x01,0x04,0x42,0x03]165 166tbuffer_load_d16_format_xyzw v[4:5], v1, s[8:11], s3, format:[BUF_FMT_8_8_SINT] idxen offset:52167// GFX11: encoding: [0x34,0x80,0x9d,0xe8,0x01,0x04,0x82,0x03]168 169tbuffer_load_d16_format_xyzw v[4:5], v[1:2], s[8:11], s0, format:19 idxen offen offset:52170// GFX11: encoding: [0x34,0x80,0x9d,0xe8,0x01,0x04,0xc2,0x00]171 172tbuffer_load_d16_format_xyzw v[4:5], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_8_8, BUF_NUM_FORMAT_SINT] offset:4095 glc173// GFX11: encoding: [0xff,0xcf,0x9d,0xe8,0x00,0x04,0x1c,0x03]174 175tbuffer_load_d16_format_xyzw v[4:5], off, ttmp[4:7], s3, format:[BUF_FMT_32_UINT] offset:4095 slc176// GFX11: encoding: [0xff,0x9f,0xa5,0xe8,0x00,0x04,0x1c,0x03]177 178tbuffer_load_d16_format_xyzw v[4:5], off, ttmp[4:7], s3, format:20 offset:4095 dlc179// GFX11: encoding: [0xff,0xaf,0xa5,0xe8,0x00,0x04,0x1c,0x03]180 181tbuffer_load_d16_format_xyzw v[4:5], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_32, BUF_NUM_FORMAT_UINT] offset:4095 glc slc dlc182// GFX11: encoding: [0xff,0xff,0xa5,0xe8,0x00,0x04,0x1c,0x03]183 184tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_32_SINT] offset:4095185// GFX11: encoding: [0xff,0x0f,0xa8,0xe8,0x00,0x04,0x02,0x03]186 187tbuffer_load_format_x v255, off, s[8:11], s3, format:21 offset:4095188// GFX11: encoding: [0xff,0x0f,0xa8,0xe8,0x00,0xff,0x02,0x03]189 190tbuffer_load_format_x v4, off, s[12:15], s3, format:[BUF_DATA_FORMAT_32, BUF_NUM_FORMAT_SINT] offset:4095191// GFX11: encoding: [0xff,0x0f,0xa8,0xe8,0x00,0x04,0x03,0x03]192 193tbuffer_load_format_x v4, off, s[12:15], s101, format:[BUF_FMT_32_FLOAT] offset:4095194// GFX11: encoding: [0xff,0x0f,0xb0,0xe8,0x00,0x04,0x03,0x65]195 196tbuffer_load_format_x v4, off, s[12:15], m0, format:22 offset:4095197// GFX11: encoding: [0xff,0x0f,0xb0,0xe8,0x00,0x04,0x03,0x7d]198 199tbuffer_load_format_x v4, off, s[8:11], 0, format:[BUF_DATA_FORMAT_32, BUF_NUM_FORMAT_FLOAT] offset:4095200// GFX11: encoding: [0xff,0x0f,0xb0,0xe8,0x00,0x04,0x02,0x80]201 202tbuffer_load_format_x v4, off, s[8:11], 61, format:[BUF_FMT_16_16_UNORM] offset:4095203// GFX11: encoding: [0xff,0x0f,0xb8,0xe8,0x00,0x04,0x02,0xbd]204 205tbuffer_load_format_x v4, off, ttmp[4:7], 61, format:23 offset:4095206// GFX11: encoding: [0xff,0x0f,0xb8,0xe8,0x00,0x04,0x1c,0xbd]207 208tbuffer_load_format_x v4, v1, s[8:11], s3, format:[BUF_DATA_FORMAT_16_16, BUF_NUM_FORMAT_UNORM] offen offset:52209// GFX11: encoding: [0x34,0x00,0xb8,0xe8,0x01,0x04,0x42,0x03]210 211tbuffer_load_format_x v4, v1, s[8:11], s3, format:[BUF_FMT_16_16_SNORM] idxen offset:52212// GFX11: encoding: [0x34,0x00,0xc0,0xe8,0x01,0x04,0x82,0x03]213 214tbuffer_load_format_x v4, v[1:2], s[8:11], s0, format:24 idxen offen offset:52215// GFX11: encoding: [0x34,0x00,0xc0,0xe8,0x01,0x04,0xc2,0x00]216 217tbuffer_load_format_x v4, off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_16_16, BUF_NUM_FORMAT_SNORM] offset:4095 glc218// GFX11: encoding: [0xff,0x4f,0xc0,0xe8,0x00,0x04,0x1c,0x03]219 220tbuffer_load_format_x v4, off, ttmp[4:7], s3, format:[BUF_FMT_16_16_USCALED] offset:4095 slc221// GFX11: encoding: [0xff,0x1f,0xc8,0xe8,0x00,0x04,0x1c,0x03]222 223tbuffer_load_format_x v4, off, ttmp[4:7], s3, format:25 offset:4095 dlc224// GFX11: encoding: [0xff,0x2f,0xc8,0xe8,0x00,0x04,0x1c,0x03]225 226tbuffer_load_format_x v4, off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_16_16, BUF_NUM_FORMAT_USCALED] offset:4095 glc slc dlc227// GFX11: encoding: [0xff,0x7f,0xc8,0xe8,0x00,0x04,0x1c,0x03]228 229tbuffer_load_format_xy v[4:5], off, s[8:11], s3, format:[BUF_FMT_16_16_SSCALED] offset:4095230// GFX11: encoding: [0xff,0x8f,0xd0,0xe8,0x00,0x04,0x02,0x03]231 232tbuffer_load_format_xy v[254:255], off, s[8:11], s3, format:26 offset:4095233// GFX11: encoding: [0xff,0x8f,0xd0,0xe8,0x00,0xfe,0x02,0x03]234 235tbuffer_load_format_xy v[4:5], off, s[12:15], s3, format:[BUF_DATA_FORMAT_16_16, BUF_NUM_FORMAT_SSCALED] offset:4095236// GFX11: encoding: [0xff,0x8f,0xd0,0xe8,0x00,0x04,0x03,0x03]237 238tbuffer_load_format_xy v[4:5], off, s[12:15], s101, format:[BUF_FMT_16_16_UINT] offset:4095239// GFX11: encoding: [0xff,0x8f,0xd8,0xe8,0x00,0x04,0x03,0x65]240 241tbuffer_load_format_xy v[4:5], off, s[12:15], m0, format:27 offset:4095242// GFX11: encoding: [0xff,0x8f,0xd8,0xe8,0x00,0x04,0x03,0x7d]243 244tbuffer_load_format_xy v[4:5], off, s[8:11], 0, format:[BUF_DATA_FORMAT_16_16, BUF_NUM_FORMAT_UINT] offset:4095245// GFX11: encoding: [0xff,0x8f,0xd8,0xe8,0x00,0x04,0x02,0x80]246 247tbuffer_load_format_xy v[4:5], off, s[8:11], 61, format:[BUF_FMT_16_16_SINT] offset:4095248// GFX11: encoding: [0xff,0x8f,0xe0,0xe8,0x00,0x04,0x02,0xbd]249 250tbuffer_load_format_xy v[4:5], off, ttmp[4:7], 61, format:28 offset:4095251// GFX11: encoding: [0xff,0x8f,0xe0,0xe8,0x00,0x04,0x1c,0xbd]252 253tbuffer_load_format_xy v[4:5], v1, s[8:11], s3, format:[BUF_DATA_FORMAT_16_16, BUF_NUM_FORMAT_SINT] offen offset:52254// GFX11: encoding: [0x34,0x80,0xe0,0xe8,0x01,0x04,0x42,0x03]255 256tbuffer_load_format_xy v[4:5], v1, s[8:11], s3, format:[BUF_FMT_16_16_FLOAT] idxen offset:52257// GFX11: encoding: [0x34,0x80,0xe8,0xe8,0x01,0x04,0x82,0x03]258 259tbuffer_load_format_xy v[4:5], v[1:2], s[8:11], s0, format:29 idxen offen offset:52260// GFX11: encoding: [0x34,0x80,0xe8,0xe8,0x01,0x04,0xc2,0x00]261 262tbuffer_load_format_xy v[4:5], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_16_16, BUF_NUM_FORMAT_FLOAT] offset:4095 glc263// GFX11: encoding: [0xff,0xcf,0xe8,0xe8,0x00,0x04,0x1c,0x03]264 265tbuffer_load_format_xy v[4:5], off, ttmp[4:7], s3, format:[BUF_FMT_10_11_11_FLOAT] offset:4095 slc266// GFX11: encoding: [0xff,0x9f,0xf0,0xe8,0x00,0x04,0x1c,0x03]267 268tbuffer_load_format_xy v[4:5], off, ttmp[4:7], s3, format:30 offset:4095 dlc269// GFX11: encoding: [0xff,0xaf,0xf0,0xe8,0x00,0x04,0x1c,0x03]270 271tbuffer_load_format_xy v[4:5], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_10_11_11, BUF_NUM_FORMAT_FLOAT] offset:4095 glc slc dlc272// GFX11: encoding: [0xff,0xff,0xf0,0xe8,0x00,0x04,0x1c,0x03]273 274tbuffer_load_format_xyz v[4:6], off, s[8:11], s3, format:[BUF_FMT_11_11_10_FLOAT] offset:4095275// GFX11: encoding: [0xff,0x0f,0xf9,0xe8,0x00,0x04,0x02,0x03]276 277tbuffer_load_format_xyz v[253:255], off, s[8:11], s3, format:31 offset:4095278// GFX11: encoding: [0xff,0x0f,0xf9,0xe8,0x00,0xfd,0x02,0x03]279 280tbuffer_load_format_xyz v[4:6], off, s[12:15], s3, format:[BUF_DATA_FORMAT_11_11_10, BUF_NUM_FORMAT_FLOAT] offset:4095281// GFX11: encoding: [0xff,0x0f,0xf9,0xe8,0x00,0x04,0x03,0x03]282 283tbuffer_load_format_xyz v[4:6], off, s[12:15], s101, format:[BUF_FMT_10_10_10_2_UNORM] offset:4095284// GFX11: encoding: [0xff,0x0f,0x01,0xe9,0x00,0x04,0x03,0x65]285 286tbuffer_load_format_xyz v[4:6], off, s[12:15], m0, format:32 offset:4095287// GFX11: encoding: [0xff,0x0f,0x01,0xe9,0x00,0x04,0x03,0x7d]288 289tbuffer_load_format_xyz v[4:6], off, s[8:11], 0, format:[BUF_DATA_FORMAT_10_10_10_2, BUF_NUM_FORMAT_UNORM] offset:4095290// GFX11: encoding: [0xff,0x0f,0x01,0xe9,0x00,0x04,0x02,0x80]291 292tbuffer_load_format_xyz v[4:6], off, s[8:11], 61, format:[BUF_FMT_10_10_10_2_SNORM] offset:4095293// GFX11: encoding: [0xff,0x0f,0x09,0xe9,0x00,0x04,0x02,0xbd]294 295tbuffer_load_format_xyz v[4:6], off, ttmp[4:7], 61, format:33 offset:4095296// GFX11: encoding: [0xff,0x0f,0x09,0xe9,0x00,0x04,0x1c,0xbd]297 298tbuffer_load_format_xyz v[4:6], v1, s[8:11], s3, format:[BUF_DATA_FORMAT_10_10_10_2, BUF_NUM_FORMAT_SNORM] offen offset:52299// GFX11: encoding: [0x34,0x00,0x09,0xe9,0x01,0x04,0x42,0x03]300 301tbuffer_load_format_xyz v[4:6], v1, s[8:11], s3, format:[BUF_FMT_10_10_10_2_UINT] idxen offset:52302// GFX11: encoding: [0x34,0x00,0x11,0xe9,0x01,0x04,0x82,0x03]303 304tbuffer_load_format_xyz v[4:6], v[1:2], s[8:11], s0, format:34 idxen offen offset:52305// GFX11: encoding: [0x34,0x00,0x11,0xe9,0x01,0x04,0xc2,0x00]306 307tbuffer_load_format_xyz v[4:6], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_10_10_10_2, BUF_NUM_FORMAT_UINT] offset:4095 glc308// GFX11: encoding: [0xff,0x4f,0x11,0xe9,0x00,0x04,0x1c,0x03]309 310tbuffer_load_format_xyz v[4:6], off, ttmp[4:7], s3, format:[BUF_FMT_10_10_10_2_SINT] offset:4095 slc311// GFX11: encoding: [0xff,0x1f,0x19,0xe9,0x00,0x04,0x1c,0x03]312 313tbuffer_load_format_xyz v[4:6], off, ttmp[4:7], s3, format:35 offset:4095 dlc314// GFX11: encoding: [0xff,0x2f,0x19,0xe9,0x00,0x04,0x1c,0x03]315 316tbuffer_load_format_xyz v[4:6], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_10_10_10_2, BUF_NUM_FORMAT_SINT] offset:4095 glc slc dlc317// GFX11: encoding: [0xff,0x7f,0x19,0xe9,0x00,0x04,0x1c,0x03]318 319tbuffer_load_format_xyzw v[4:7], off, s[8:11], s3, format:[BUF_FMT_2_10_10_10_UNORM] offset:4095320// GFX11: encoding: [0xff,0x8f,0x21,0xe9,0x00,0x04,0x02,0x03]321 322tbuffer_load_format_xyzw v[252:255], off, s[8:11], s3, format:36 offset:4095323// GFX11: encoding: [0xff,0x8f,0x21,0xe9,0x00,0xfc,0x02,0x03]324 325tbuffer_load_format_xyzw v[4:7], off, s[12:15], s3, format:[BUF_DATA_FORMAT_2_10_10_10, BUF_NUM_FORMAT_UNORM] offset:4095326// GFX11: encoding: [0xff,0x8f,0x21,0xe9,0x00,0x04,0x03,0x03]327 328tbuffer_load_format_xyzw v[4:7], off, s[12:15], s101, format:[BUF_FMT_2_10_10_10_SNORM] offset:4095329// GFX11: encoding: [0xff,0x8f,0x29,0xe9,0x00,0x04,0x03,0x65]330 331tbuffer_load_format_xyzw v[4:7], off, s[12:15], m0, format:37 offset:4095332// GFX11: encoding: [0xff,0x8f,0x29,0xe9,0x00,0x04,0x03,0x7d]333 334tbuffer_load_format_xyzw v[4:7], off, s[8:11], 0, format:[BUF_DATA_FORMAT_2_10_10_10, BUF_NUM_FORMAT_SNORM] offset:4095335// GFX11: encoding: [0xff,0x8f,0x29,0xe9,0x00,0x04,0x02,0x80]336 337tbuffer_load_format_xyzw v[4:7], off, s[8:11], 61, format:[BUF_FMT_2_10_10_10_USCALED] offset:4095338// GFX11: encoding: [0xff,0x8f,0x31,0xe9,0x00,0x04,0x02,0xbd]339 340tbuffer_load_format_xyzw v[4:7], off, ttmp[4:7], 61, format:38 offset:4095341// GFX11: encoding: [0xff,0x8f,0x31,0xe9,0x00,0x04,0x1c,0xbd]342 343tbuffer_load_format_xyzw v[4:7], v1, s[8:11], s3, format:[BUF_DATA_FORMAT_2_10_10_10, BUF_NUM_FORMAT_USCALED] offen offset:52344// GFX11: encoding: [0x34,0x80,0x31,0xe9,0x01,0x04,0x42,0x03]345 346tbuffer_load_format_xyzw v[4:7], v1, s[8:11], s3, format:[BUF_FMT_2_10_10_10_SSCALED] idxen offset:52347// GFX11: encoding: [0x34,0x80,0x39,0xe9,0x01,0x04,0x82,0x03]348 349tbuffer_load_format_xyzw v[4:7], v[1:2], s[8:11], s0, format:39 idxen offen offset:52350// GFX11: encoding: [0x34,0x80,0x39,0xe9,0x01,0x04,0xc2,0x00]351 352tbuffer_load_format_xyzw v[4:7], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_2_10_10_10, BUF_NUM_FORMAT_SSCALED] offset:4095 glc353// GFX11: encoding: [0xff,0xcf,0x39,0xe9,0x00,0x04,0x1c,0x03]354 355tbuffer_load_format_xyzw v[4:7], off, ttmp[4:7], s3, format:[BUF_FMT_2_10_10_10_UINT] offset:4095 slc356// GFX11: encoding: [0xff,0x9f,0x41,0xe9,0x00,0x04,0x1c,0x03]357 358tbuffer_load_format_xyzw v[4:7], off, ttmp[4:7], s3, format:40 offset:4095 dlc359// GFX11: encoding: [0xff,0xaf,0x41,0xe9,0x00,0x04,0x1c,0x03]360 361tbuffer_load_format_xyzw v[4:7], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_2_10_10_10, BUF_NUM_FORMAT_UINT] offset:4095 glc slc dlc362// GFX11: encoding: [0xff,0xff,0x41,0xe9,0x00,0x04,0x1c,0x03]363 364tbuffer_store_d16_format_x v4, off, s[8:11], s3, format:[BUF_FMT_2_10_10_10_SINT] offset:4095365// GFX11: encoding: [0xff,0x0f,0x4e,0xe9,0x00,0x04,0x02,0x03]366 367tbuffer_store_d16_format_x v255, off, s[8:11], s3, format:41 offset:4095368// GFX11: encoding: [0xff,0x0f,0x4e,0xe9,0x00,0xff,0x02,0x03]369 370tbuffer_store_d16_format_x v4, off, s[12:15], s3, format:[BUF_DATA_FORMAT_2_10_10_10, BUF_NUM_FORMAT_SINT] offset:4095371// GFX11: encoding: [0xff,0x0f,0x4e,0xe9,0x00,0x04,0x03,0x03]372 373tbuffer_store_d16_format_x v4, off, s[12:15], s101, format:[BUF_FMT_8_8_8_8_UNORM] offset:4095374// GFX11: encoding: [0xff,0x0f,0x56,0xe9,0x00,0x04,0x03,0x65]375 376tbuffer_store_d16_format_x v4, off, s[12:15], m0, format:42 offset:4095377// GFX11: encoding: [0xff,0x0f,0x56,0xe9,0x00,0x04,0x03,0x7d]378 379tbuffer_store_d16_format_x v4, off, s[8:11], 0, format:[BUF_DATA_FORMAT_8_8_8_8, BUF_NUM_FORMAT_UNORM] offset:4095380// GFX11: encoding: [0xff,0x0f,0x56,0xe9,0x00,0x04,0x02,0x80]381 382tbuffer_store_d16_format_x v4, off, s[8:11], 61, format:[BUF_FMT_8_8_8_8_SNORM] offset:4095383// GFX11: encoding: [0xff,0x0f,0x5e,0xe9,0x00,0x04,0x02,0xbd]384 385tbuffer_store_d16_format_x v4, off, ttmp[4:7], 61, format:43 offset:4095386// GFX11: encoding: [0xff,0x0f,0x5e,0xe9,0x00,0x04,0x1c,0xbd]387 388tbuffer_store_d16_format_x v4, v1, s[8:11], s3, format:[BUF_DATA_FORMAT_8_8_8_8, BUF_NUM_FORMAT_SNORM] offen offset:52389// GFX11: encoding: [0x34,0x00,0x5e,0xe9,0x01,0x04,0x42,0x03]390 391tbuffer_store_d16_format_x v4, v1, s[8:11], s3, format:[BUF_FMT_8_8_8_8_USCALED] idxen offset:52392// GFX11: encoding: [0x34,0x00,0x66,0xe9,0x01,0x04,0x82,0x03]393 394tbuffer_store_d16_format_x v4, v[1:2], s[8:11], s0, format:44 idxen offen offset:52395// GFX11: encoding: [0x34,0x00,0x66,0xe9,0x01,0x04,0xc2,0x00]396 397tbuffer_store_d16_format_x v4, off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_8_8_8_8, BUF_NUM_FORMAT_USCALED] offset:4095 glc398// GFX11: encoding: [0xff,0x4f,0x66,0xe9,0x00,0x04,0x1c,0x03]399 400tbuffer_store_d16_format_x v4, off, ttmp[4:7], s3, format:[BUF_FMT_8_8_8_8_SSCALED] offset:4095 slc401// GFX11: encoding: [0xff,0x1f,0x6e,0xe9,0x00,0x04,0x1c,0x03]402 403tbuffer_store_d16_format_x v4, off, ttmp[4:7], s3, format:45 offset:4095 dlc404// GFX11: encoding: [0xff,0x2f,0x6e,0xe9,0x00,0x04,0x1c,0x03]405 406tbuffer_store_d16_format_x v4, off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_8_8_8_8, BUF_NUM_FORMAT_SSCALED] offset:4095 glc slc dlc407// GFX11: encoding: [0xff,0x7f,0x6e,0xe9,0x00,0x04,0x1c,0x03]408 409tbuffer_store_d16_format_xy v4, off, s[8:11], s3, format:[BUF_FMT_8_8_8_8_UINT] offset:4095410// GFX11: encoding: [0xff,0x8f,0x76,0xe9,0x00,0x04,0x02,0x03]411 412tbuffer_store_d16_format_xy v255, off, s[8:11], s3, format:46 offset:4095413// GFX11: encoding: [0xff,0x8f,0x76,0xe9,0x00,0xff,0x02,0x03]414 415tbuffer_store_d16_format_xy v4, off, s[12:15], s3, format:[BUF_DATA_FORMAT_8_8_8_8, BUF_NUM_FORMAT_UINT] offset:4095416// GFX11: encoding: [0xff,0x8f,0x76,0xe9,0x00,0x04,0x03,0x03]417 418tbuffer_store_d16_format_xy v4, off, s[12:15], s101, format:[BUF_FMT_8_8_8_8_SINT] offset:4095419// GFX11: encoding: [0xff,0x8f,0x7e,0xe9,0x00,0x04,0x03,0x65]420 421tbuffer_store_d16_format_xy v4, off, s[12:15], m0, format:47 offset:4095422// GFX11: encoding: [0xff,0x8f,0x7e,0xe9,0x00,0x04,0x03,0x7d]423 424tbuffer_store_d16_format_xy v4, off, s[8:11], 0, format:[BUF_DATA_FORMAT_8_8_8_8, BUF_NUM_FORMAT_SINT] offset:4095425// GFX11: encoding: [0xff,0x8f,0x7e,0xe9,0x00,0x04,0x02,0x80]426 427tbuffer_store_d16_format_xy v4, off, s[8:11], 61, format:[BUF_FMT_32_32_UINT] offset:4095428// GFX11: encoding: [0xff,0x8f,0x86,0xe9,0x00,0x04,0x02,0xbd]429 430tbuffer_store_d16_format_xy v4, off, ttmp[4:7], 61, format:48 offset:4095431// GFX11: encoding: [0xff,0x8f,0x86,0xe9,0x00,0x04,0x1c,0xbd]432 433tbuffer_store_d16_format_xy v4, v1, s[8:11], s3, format:[BUF_DATA_FORMAT_32_32, BUF_NUM_FORMAT_UINT] offen offset:52434// GFX11: encoding: [0x34,0x80,0x86,0xe9,0x01,0x04,0x42,0x03]435 436tbuffer_store_d16_format_xy v4, v1, s[8:11], s3, format:[BUF_FMT_32_32_SINT] idxen offset:52437// GFX11: encoding: [0x34,0x80,0x8e,0xe9,0x01,0x04,0x82,0x03]438 439tbuffer_store_d16_format_xy v4, v[1:2], s[8:11], s0, format:49 idxen offen offset:52440// GFX11: encoding: [0x34,0x80,0x8e,0xe9,0x01,0x04,0xc2,0x00]441 442tbuffer_store_d16_format_xy v4, off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_32_32, BUF_NUM_FORMAT_SINT] offset:4095 glc443// GFX11: encoding: [0xff,0xcf,0x8e,0xe9,0x00,0x04,0x1c,0x03]444 445tbuffer_store_d16_format_xy v4, off, ttmp[4:7], s3, format:[BUF_FMT_32_32_FLOAT] offset:4095 slc446// GFX11: encoding: [0xff,0x9f,0x96,0xe9,0x00,0x04,0x1c,0x03]447 448tbuffer_store_d16_format_xy v4, off, ttmp[4:7], s3, format:50 offset:4095 dlc449// GFX11: encoding: [0xff,0xaf,0x96,0xe9,0x00,0x04,0x1c,0x03]450 451tbuffer_store_d16_format_xy v4, off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_32_32, BUF_NUM_FORMAT_FLOAT] offset:4095 glc slc dlc452// GFX11: encoding: [0xff,0xff,0x96,0xe9,0x00,0x04,0x1c,0x03]453 454tbuffer_store_d16_format_xyz v[4:5], off, s[8:11], s3, format:[BUF_FMT_16_16_16_16_UNORM] offset:4095455// GFX11: encoding: [0xff,0x0f,0x9f,0xe9,0x00,0x04,0x02,0x03]456 457tbuffer_store_d16_format_xyz v[254:255], off, s[8:11], s3, format:51 offset:4095458// GFX11: encoding: [0xff,0x0f,0x9f,0xe9,0x00,0xfe,0x02,0x03]459 460tbuffer_store_d16_format_xyz v[4:5], off, s[12:15], s3, format:[BUF_DATA_FORMAT_16_16_16_16, BUF_NUM_FORMAT_UNORM] offset:4095461// GFX11: encoding: [0xff,0x0f,0x9f,0xe9,0x00,0x04,0x03,0x03]462 463tbuffer_store_d16_format_xyz v[4:5], off, s[12:15], s101, format:[BUF_FMT_16_16_16_16_SNORM] offset:4095464// GFX11: encoding: [0xff,0x0f,0xa7,0xe9,0x00,0x04,0x03,0x65]465 466tbuffer_store_d16_format_xyz v[4:5], off, s[12:15], m0, format:52 offset:4095467// GFX11: encoding: [0xff,0x0f,0xa7,0xe9,0x00,0x04,0x03,0x7d]468 469tbuffer_store_d16_format_xyz v[4:5], off, s[8:11], 0, format:[BUF_DATA_FORMAT_16_16_16_16, BUF_NUM_FORMAT_SNORM] offset:4095470// GFX11: encoding: [0xff,0x0f,0xa7,0xe9,0x00,0x04,0x02,0x80]471 472tbuffer_store_d16_format_xyz v[4:5], off, s[8:11], 61, format:[BUF_FMT_16_16_16_16_USCALED] offset:4095473// GFX11: encoding: [0xff,0x0f,0xaf,0xe9,0x00,0x04,0x02,0xbd]474 475tbuffer_store_d16_format_xyz v[4:5], off, ttmp[4:7], 61, format:53 offset:4095476// GFX11: encoding: [0xff,0x0f,0xaf,0xe9,0x00,0x04,0x1c,0xbd]477 478tbuffer_store_d16_format_xyz v[4:5], v1, s[8:11], s3, format:[BUF_DATA_FORMAT_16_16_16_16, BUF_NUM_FORMAT_USCALED] offen offset:52479// GFX11: encoding: [0x34,0x00,0xaf,0xe9,0x01,0x04,0x42,0x03]480 481tbuffer_store_d16_format_xyz v[4:5], v1, s[8:11], s3, format:[BUF_FMT_16_16_16_16_SSCALED] idxen offset:52482// GFX11: encoding: [0x34,0x00,0xb7,0xe9,0x01,0x04,0x82,0x03]483 484tbuffer_store_d16_format_xyz v[4:5], v[1:2], s[8:11], s0, format:54 idxen offen offset:52485// GFX11: encoding: [0x34,0x00,0xb7,0xe9,0x01,0x04,0xc2,0x00]486 487tbuffer_store_d16_format_xyz v[4:5], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_16_16_16_16, BUF_NUM_FORMAT_SSCALED] offset:4095 glc488// GFX11: encoding: [0xff,0x4f,0xb7,0xe9,0x00,0x04,0x1c,0x03]489 490tbuffer_store_d16_format_xyz v[4:5], off, ttmp[4:7], s3, format:[BUF_FMT_16_16_16_16_UINT] offset:4095 slc491// GFX11: encoding: [0xff,0x1f,0xbf,0xe9,0x00,0x04,0x1c,0x03]492 493tbuffer_store_d16_format_xyz v[4:5], off, ttmp[4:7], s3, format:55 offset:4095 dlc494// GFX11: encoding: [0xff,0x2f,0xbf,0xe9,0x00,0x04,0x1c,0x03]495 496tbuffer_store_d16_format_xyz v[4:5], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_16_16_16_16, BUF_NUM_FORMAT_UINT] offset:4095 glc slc dlc497// GFX11: encoding: [0xff,0x7f,0xbf,0xe9,0x00,0x04,0x1c,0x03]498 499tbuffer_store_d16_format_xyzw v[4:5], off, s[8:11], s3, format:[BUF_FMT_16_16_16_16_SINT] offset:4095500// GFX11: encoding: [0xff,0x8f,0xc7,0xe9,0x00,0x04,0x02,0x03]501 502tbuffer_store_d16_format_xyzw v[254:255], off, s[8:11], s3, format:56 offset:4095503// GFX11: encoding: [0xff,0x8f,0xc7,0xe9,0x00,0xfe,0x02,0x03]504 505tbuffer_store_d16_format_xyzw v[4:5], off, s[12:15], s3, format:[BUF_DATA_FORMAT_16_16_16_16, BUF_NUM_FORMAT_SINT] offset:4095506// GFX11: encoding: [0xff,0x8f,0xc7,0xe9,0x00,0x04,0x03,0x03]507 508tbuffer_store_d16_format_xyzw v[4:5], off, s[12:15], s101, format:[BUF_FMT_16_16_16_16_FLOAT] offset:4095509// GFX11: encoding: [0xff,0x8f,0xcf,0xe9,0x00,0x04,0x03,0x65]510 511tbuffer_store_d16_format_xyzw v[4:5], off, s[12:15], m0, format:57 offset:4095512// GFX11: encoding: [0xff,0x8f,0xcf,0xe9,0x00,0x04,0x03,0x7d]513 514tbuffer_store_d16_format_xyzw v[4:5], off, s[8:11], 0, format:[BUF_DATA_FORMAT_16_16_16_16, BUF_NUM_FORMAT_FLOAT] offset:4095515// GFX11: encoding: [0xff,0x8f,0xcf,0xe9,0x00,0x04,0x02,0x80]516 517tbuffer_store_d16_format_xyzw v[4:5], off, s[8:11], 61, format:[BUF_FMT_32_32_32_UINT] offset:4095518// GFX11: encoding: [0xff,0x8f,0xd7,0xe9,0x00,0x04,0x02,0xbd]519 520tbuffer_store_d16_format_xyzw v[4:5], off, ttmp[4:7], 61, format:58 offset:4095521// GFX11: encoding: [0xff,0x8f,0xd7,0xe9,0x00,0x04,0x1c,0xbd]522 523tbuffer_store_d16_format_xyzw v[4:5], v1, s[8:11], s3, format:[BUF_DATA_FORMAT_32_32_32, BUF_NUM_FORMAT_UINT] offen offset:52524// GFX11: encoding: [0x34,0x80,0xd7,0xe9,0x01,0x04,0x42,0x03]525 526tbuffer_store_d16_format_xyzw v[4:5], v1, s[8:11], s3, format:[BUF_FMT_32_32_32_SINT] idxen offset:52527// GFX11: encoding: [0x34,0x80,0xdf,0xe9,0x01,0x04,0x82,0x03]528 529tbuffer_store_d16_format_xyzw v[4:5], v[1:2], s[8:11], s0, format:59 idxen offen offset:52530// GFX11: encoding: [0x34,0x80,0xdf,0xe9,0x01,0x04,0xc2,0x00]531 532tbuffer_store_d16_format_xyzw v[4:5], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_32_32_32, BUF_NUM_FORMAT_SINT] offset:4095 glc533// GFX11: encoding: [0xff,0xcf,0xdf,0xe9,0x00,0x04,0x1c,0x03]534 535tbuffer_store_d16_format_xyzw v[4:5], off, ttmp[4:7], s3, format:[BUF_FMT_32_32_32_FLOAT] offset:4095 slc536// GFX11: encoding: [0xff,0x9f,0xe7,0xe9,0x00,0x04,0x1c,0x03]537 538tbuffer_store_d16_format_xyzw v[4:5], off, ttmp[4:7], s3, format:60 offset:4095 dlc539// GFX11: encoding: [0xff,0xaf,0xe7,0xe9,0x00,0x04,0x1c,0x03]540 541tbuffer_store_d16_format_xyzw v[4:5], off, ttmp[4:7], s3, format:[BUF_DATA_FORMAT_32_32_32, BUF_NUM_FORMAT_FLOAT] offset:4095 glc slc dlc542// GFX11: encoding: [0xff,0xff,0xe7,0xe9,0x00,0x04,0x1c,0x03]543 544tbuffer_store_format_x v4, off, s[8:11], s3, format:[BUF_FMT_32_32_32_32_UINT] offset:4095545// GFX11: encoding: [0xff,0x0f,0xea,0xe9,0x00,0x04,0x02,0x03]546 547tbuffer_store_format_x v255, off, s[8:11], s3, format:61 offset:4095548// GFX11: encoding: [0xff,0x0f,0xea,0xe9,0x00,0xff,0x02,0x03]549 550tbuffer_store_format_x v4, off, s[12:15], s3, format:[BUF_DATA_FORMAT_32_32_32_32, BUF_NUM_FORMAT_UINT] offset:4095551// GFX11: encoding: [0xff,0x0f,0xea,0xe9,0x00,0x04,0x03,0x03]552 553tbuffer_store_format_x v4, off, s[12:15], s101, format:[BUF_FMT_32_32_32_32_SINT] offset:4095554// GFX11: encoding: [0xff,0x0f,0xf2,0xe9,0x00,0x04,0x03,0x65]555 556tbuffer_store_format_x v4, off, s[12:15], m0, format:62 offset:4095557// GFX11: encoding: [0xff,0x0f,0xf2,0xe9,0x00,0x04,0x03,0x7d]558 559tbuffer_store_format_x v4, off, s[8:11], 0, format:[BUF_DATA_FORMAT_32_32_32_32, BUF_NUM_FORMAT_SINT] offset:4095560// GFX11: encoding: [0xff,0x0f,0xf2,0xe9,0x00,0x04,0x02,0x80]561 562tbuffer_store_format_x v4, off, s[8:11], 61, format:[BUF_FMT_32_32_32_32_FLOAT] offset:4095563// GFX11: encoding: [0xff,0x0f,0xfa,0xe9,0x00,0x04,0x02,0xbd]564 565tbuffer_store_format_x v4, off, ttmp[4:7], 61, format:63 offset:4095566// GFX11: encoding: [0xff,0x0f,0xfa,0xe9,0x00,0x04,0x1c,0xbd]567 568tbuffer_store_format_x v4, v1, s[8:11], s3, format:[BUF_DATA_FORMAT_32_32_32_32, BUF_NUM_FORMAT_FLOAT] offen offset:52569// GFX11: encoding: [0x34,0x00,0xfa,0xe9,0x01,0x04,0x42,0x03]570 571tbuffer_store_format_x v4, v1, s[8:11], s3, format:[BUF_FMT_8_UNORM] idxen offset:52572// GFX11: encoding: [0x34,0x00,0x0a,0xe8,0x01,0x04,0x82,0x03]573 574tbuffer_store_format_x v4, v[1:2], s[8:11], s0, format:[BUF_FMT_8_SNORM] idxen offen offset:52575// GFX11: encoding: [0x34,0x00,0x12,0xe8,0x01,0x04,0xc2,0x00]576 577tbuffer_store_format_x v4, off, ttmp[4:7], s3, format:[BUF_FMT_8_USCALED] offset:4095 glc578// GFX11: encoding: [0xff,0x4f,0x1a,0xe8,0x00,0x04,0x1c,0x03]579 580tbuffer_store_format_x v4, off, ttmp[4:7], s3, format:[BUF_FMT_8_SSCALED] offset:4095 slc581// GFX11: encoding: [0xff,0x1f,0x22,0xe8,0x00,0x04,0x1c,0x03]582 583tbuffer_store_format_x v4, off, ttmp[4:7], s3, format:[BUF_FMT_8_UINT] offset:4095 dlc584// GFX11: encoding: [0xff,0x2f,0x2a,0xe8,0x00,0x04,0x1c,0x03]585 586tbuffer_store_format_x v4, off, ttmp[4:7], s3, format:[BUF_FMT_8_SINT] offset:4095 glc slc dlc587// GFX11: encoding: [0xff,0x7f,0x32,0xe8,0x00,0x04,0x1c,0x03]588 589tbuffer_store_format_xy v[4:5], off, s[8:11], s3, format:[BUF_FMT_16_UNORM] offset:4095590// GFX11: encoding: [0xff,0x8f,0x3a,0xe8,0x00,0x04,0x02,0x03]591 592tbuffer_store_format_xy v[254:255], off, s[8:11], s3, format:[BUF_FMT_16_SNORM] offset:4095593// GFX11: encoding: [0xff,0x8f,0x42,0xe8,0x00,0xfe,0x02,0x03]594 595tbuffer_store_format_xy v[4:5], off, s[12:15], s3, format:[BUF_FMT_16_USCALED] offset:4095596// GFX11: encoding: [0xff,0x8f,0x4a,0xe8,0x00,0x04,0x03,0x03]597 598tbuffer_store_format_xy v[4:5], off, s[12:15], s101, format:[BUF_FMT_16_SSCALED] offset:4095599// GFX11: encoding: [0xff,0x8f,0x52,0xe8,0x00,0x04,0x03,0x65]600 601tbuffer_store_format_xy v[4:5], off, s[12:15], m0, format:[BUF_FMT_16_UINT] offset:4095602// GFX11: encoding: [0xff,0x8f,0x5a,0xe8,0x00,0x04,0x03,0x7d]603 604tbuffer_store_format_xy v[4:5], off, s[8:11], 0, format:[BUF_FMT_16_SINT] offset:4095605// GFX11: encoding: [0xff,0x8f,0x62,0xe8,0x00,0x04,0x02,0x80]606 607tbuffer_store_format_xy v[4:5], off, s[8:11], 61, format:[BUF_FMT_16_FLOAT] offset:4095608// GFX11: encoding: [0xff,0x8f,0x6a,0xe8,0x00,0x04,0x02,0xbd]609 610tbuffer_store_format_xy v[4:5], off, ttmp[4:7], 61, format:[BUF_FMT_8_8_UNORM] offset:4095611// GFX11: encoding: [0xff,0x8f,0x72,0xe8,0x00,0x04,0x1c,0xbd]612 613tbuffer_store_format_xy v[4:5], v1, s[8:11], s3, format:[BUF_FMT_8_8_SNORM] offen offset:52614// GFX11: encoding: [0x34,0x80,0x7a,0xe8,0x01,0x04,0x42,0x03]615 616tbuffer_store_format_xy v[4:5], v1, s[8:11], s3, format:[BUF_FMT_8_8_USCALED] idxen offset:52617// GFX11: encoding: [0x34,0x80,0x82,0xe8,0x01,0x04,0x82,0x03]618 619tbuffer_store_format_xy v[4:5], v[1:2], s[8:11], s0, format:[BUF_FMT_8_8_SSCALED] idxen offen offset:52620// GFX11: encoding: [0x34,0x80,0x8a,0xe8,0x01,0x04,0xc2,0x00]621 622tbuffer_store_format_xy v[4:5], off, ttmp[4:7], s3, format:[BUF_FMT_8_8_UINT] offset:4095 glc623// GFX11: encoding: [0xff,0xcf,0x92,0xe8,0x00,0x04,0x1c,0x03]624 625tbuffer_store_format_xy v[4:5], off, ttmp[4:7], s3, format:[BUF_FMT_8_8_SINT] offset:4095 slc626// GFX11: encoding: [0xff,0x9f,0x9a,0xe8,0x00,0x04,0x1c,0x03]627 628tbuffer_store_format_xy v[4:5], off, ttmp[4:7], s3, format:[BUF_FMT_32_UINT] offset:4095 dlc629// GFX11: encoding: [0xff,0xaf,0xa2,0xe8,0x00,0x04,0x1c,0x03]630 631tbuffer_store_format_xy v[4:5], off, ttmp[4:7], s3, format:[BUF_FMT_32_SINT] offset:4095 glc slc dlc632// GFX11: encoding: [0xff,0xff,0xaa,0xe8,0x00,0x04,0x1c,0x03]633 634tbuffer_store_format_xyz v[4:6], off, s[8:11], s3, format:[BUF_FMT_32_FLOAT] offset:4095635// GFX11: encoding: [0xff,0x0f,0xb3,0xe8,0x00,0x04,0x02,0x03]636 637tbuffer_store_format_xyz v[253:255], off, s[8:11], s3, format:[BUF_FMT_16_16_UNORM] offset:4095638// GFX11: encoding: [0xff,0x0f,0xbb,0xe8,0x00,0xfd,0x02,0x03]639 640tbuffer_store_format_xyz v[4:6], off, s[12:15], s3, format:[BUF_FMT_16_16_SNORM] offset:4095641// GFX11: encoding: [0xff,0x0f,0xc3,0xe8,0x00,0x04,0x03,0x03]642 643tbuffer_store_format_xyz v[4:6], off, s[12:15], s101, format:[BUF_FMT_16_16_USCALED] offset:4095644// GFX11: encoding: [0xff,0x0f,0xcb,0xe8,0x00,0x04,0x03,0x65]645 646tbuffer_store_format_xyz v[4:6], off, s[12:15], m0, format:[BUF_FMT_16_16_SSCALED] offset:4095647// GFX11: encoding: [0xff,0x0f,0xd3,0xe8,0x00,0x04,0x03,0x7d]648 649tbuffer_store_format_xyz v[4:6], off, s[8:11], 0, format:[BUF_FMT_16_16_UINT] offset:4095650// GFX11: encoding: [0xff,0x0f,0xdb,0xe8,0x00,0x04,0x02,0x80]651 652tbuffer_store_format_xyz v[4:6], off, s[8:11], 61, format:[BUF_FMT_16_16_SINT] offset:4095653// GFX11: encoding: [0xff,0x0f,0xe3,0xe8,0x00,0x04,0x02,0xbd]654 655tbuffer_store_format_xyz v[4:6], off, ttmp[4:7], 61, format:[BUF_FMT_16_16_FLOAT] offset:4095656// GFX11: encoding: [0xff,0x0f,0xeb,0xe8,0x00,0x04,0x1c,0xbd]657 658tbuffer_store_format_xyz v[4:6], v1, s[8:11], s3, format:[BUF_FMT_10_11_11_FLOAT] offen offset:52659// GFX11: encoding: [0x34,0x00,0xf3,0xe8,0x01,0x04,0x42,0x03]660 661tbuffer_store_format_xyz v[4:6], v1, s[8:11], s3, format:[BUF_FMT_11_11_10_FLOAT] idxen offset:52662// GFX11: encoding: [0x34,0x00,0xfb,0xe8,0x01,0x04,0x82,0x03]663 664tbuffer_store_format_xyz v[4:6], v[1:2], s[8:11], s0, format:[BUF_FMT_10_10_10_2_UNORM] idxen offen offset:52665// GFX11: encoding: [0x34,0x00,0x03,0xe9,0x01,0x04,0xc2,0x00]666 667tbuffer_store_format_xyz v[4:6], off, ttmp[4:7], s3, format:[BUF_FMT_10_10_10_2_SNORM] offset:4095 glc668// GFX11: encoding: [0xff,0x4f,0x0b,0xe9,0x00,0x04,0x1c,0x03]669 670tbuffer_store_format_xyz v[4:6], off, ttmp[4:7], s3, format:[BUF_FMT_10_10_10_2_UINT] offset:4095 slc671// GFX11: encoding: [0xff,0x1f,0x13,0xe9,0x00,0x04,0x1c,0x03]672 673tbuffer_store_format_xyz v[4:6], off, ttmp[4:7], s3, format:[BUF_FMT_10_10_10_2_SINT] offset:4095 dlc674// GFX11: encoding: [0xff,0x2f,0x1b,0xe9,0x00,0x04,0x1c,0x03]675 676tbuffer_store_format_xyz v[4:6], off, ttmp[4:7], s3, format:[BUF_FMT_2_10_10_10_UNORM] offset:4095 glc slc dlc677// GFX11: encoding: [0xff,0x7f,0x23,0xe9,0x00,0x04,0x1c,0x03]678 679tbuffer_store_format_xyzw v[4:7], off, s[8:11], s3, format:[BUF_FMT_2_10_10_10_SNORM] offset:4095680// GFX11: encoding: [0xff,0x8f,0x2b,0xe9,0x00,0x04,0x02,0x03]681 682tbuffer_store_format_xyzw v[252:255], off, s[8:11], s3, format:[BUF_FMT_2_10_10_10_USCALED] offset:4095683// GFX11: encoding: [0xff,0x8f,0x33,0xe9,0x00,0xfc,0x02,0x03]684 685tbuffer_store_format_xyzw v[4:7], off, s[12:15], s3, format:[BUF_FMT_2_10_10_10_SSCALED] offset:4095686// GFX11: encoding: [0xff,0x8f,0x3b,0xe9,0x00,0x04,0x03,0x03]687 688tbuffer_store_format_xyzw v[4:7], off, s[12:15], s101, format:[BUF_FMT_2_10_10_10_UINT] offset:4095689// GFX11: encoding: [0xff,0x8f,0x43,0xe9,0x00,0x04,0x03,0x65]690 691tbuffer_store_format_xyzw v[4:7], off, s[12:15], m0, format:[BUF_FMT_2_10_10_10_SINT] offset:4095692// GFX11: encoding: [0xff,0x8f,0x4b,0xe9,0x00,0x04,0x03,0x7d]693 694tbuffer_store_format_xyzw v[4:7], off, s[8:11], 0, format:[BUF_FMT_8_8_8_8_UNORM] offset:4095695// GFX11: encoding: [0xff,0x8f,0x53,0xe9,0x00,0x04,0x02,0x80]696 697tbuffer_store_format_xyzw v[4:7], off, s[8:11], 61, format:[BUF_FMT_8_8_8_8_SNORM] offset:4095698// GFX11: encoding: [0xff,0x8f,0x5b,0xe9,0x00,0x04,0x02,0xbd]699 700tbuffer_store_format_xyzw v[4:7], off, ttmp[4:7], 61, format:[BUF_FMT_8_8_8_8_USCALED] offset:4095701// GFX11: encoding: [0xff,0x8f,0x63,0xe9,0x00,0x04,0x1c,0xbd]702 703tbuffer_store_format_xyzw v[4:7], v1, s[8:11], s3, format:[BUF_FMT_8_8_8_8_SSCALED] offen offset:52704// GFX11: encoding: [0x34,0x80,0x6b,0xe9,0x01,0x04,0x42,0x03]705 706tbuffer_store_format_xyzw v[4:7], v1, s[8:11], s3, format:[BUF_FMT_8_8_8_8_UINT] idxen offset:52707// GFX11: encoding: [0x34,0x80,0x73,0xe9,0x01,0x04,0x82,0x03]708 709tbuffer_store_format_xyzw v[4:7], v[1:2], s[8:11], s0, format:[BUF_FMT_8_8_8_8_SINT] idxen offen offset:52710// GFX11: encoding: [0x34,0x80,0x7b,0xe9,0x01,0x04,0xc2,0x00]711 712tbuffer_store_format_xyzw v[4:7], off, ttmp[4:7], s3, format:[BUF_FMT_32_32_UINT] offset:4095 glc713// GFX11: encoding: [0xff,0xcf,0x83,0xe9,0x00,0x04,0x1c,0x03]714 715tbuffer_store_format_xyzw v[4:7], off, ttmp[4:7], s3, format:[BUF_FMT_32_32_SINT] offset:4095 slc716// GFX11: encoding: [0xff,0x9f,0x8b,0xe9,0x00,0x04,0x1c,0x03]717 718tbuffer_store_format_xyzw v[4:7], off, ttmp[4:7], s3, format:[BUF_FMT_32_32_FLOAT] offset:4095 dlc719// GFX11: encoding: [0xff,0xaf,0x93,0xe9,0x00,0x04,0x1c,0x03]720 721tbuffer_store_format_xyzw v[4:7], off, ttmp[4:7], s3, format:[BUF_FMT_16_16_16_16_UNORM] offset:4095 glc slc dlc722// GFX11: encoding: [0xff,0xff,0x9b,0xe9,0x00,0x04,0x1c,0x03]723 724//Removed formats (compared to gfx10)725 726tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_10_11_11_UNORM] offset:4095727// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format728 729tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_10_11_11_SNORM] offset:4095730// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format731 732tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_10_11_11_USCALED] offset:4095733// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format734 735tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_10_11_11_SSCALED] offset:4095736// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format737 738tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_10_11_11_UINT] offset:4095739// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format740 741tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_10_11_11_SINT] offset:4095742// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format743 744tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_11_11_10_UNORM] offset:4095745// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format746 747tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_11_11_10_SNORM] offset:4095748// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format749 750tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_11_11_10_USCALED] offset:4095751// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format752 753tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_11_11_10_SSCALED] offset:4095754// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format755 756tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_11_11_10_UINT] offset:4095757// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format758 759tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_10_10_10_2_USCALED] offset:4095760// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format761 762tbuffer_load_format_x v4, off, s[8:11], s3, format:[BUF_FMT_10_10_10_2_SSCALED] offset:4095763// GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: unsupported format764