brintos

brintos / llvm-project-archived public Read only

0
0
Text · 17.3 KiB · 607d0d1 Raw
313 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 -show-encoding %s | FileCheck -check-prefix=GFX9 %s2// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 2>&1 %s | FileCheck -check-prefix=GFX9-ERR --implicit-check-not=error: %s3// RUN: not llvm-mc -triple=amdgcn -mcpu=tonga 2>&1 %s | FileCheck -check-prefix=VI-ERR --implicit-check-not=error: %s4 5// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1010 -show-encoding %s | FileCheck --check-prefix=GFX10 %s6// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1010 %s 2>&1 | FileCheck --check-prefix=GFX10-ERR --implicit-check-not=error: %s7 8scratch_load_ubyte v1, v2, off9// GFX10: encoding: [0x00,0x40,0x20,0xdc,0x02,0x00,0x7d,0x01]10// GFX9: scratch_load_ubyte v1, v2, off      ; encoding: [0x00,0x40,0x40,0xdc,0x02,0x00,0x7f,0x01]11// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU12 13scratch_load_ubyte v1, v2, off dlc14// GFX10: encoding: [0x00,0x50,0x20,0xdc,0x02,0x00,0x7d,0x01]15// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU16// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU17 18scratch_load_sbyte v1, v2, off19// GFX10: encoding: [0x00,0x40,0x24,0xdc,0x02,0x00,0x7d,0x01]20// GFX9: scratch_load_sbyte v1, v2, off      ; encoding: [0x00,0x40,0x44,0xdc,0x02,0x00,0x7f,0x01]21// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU22 23scratch_load_sbyte v1, v2, off dlc24// GFX10: encoding: [0x00,0x50,0x24,0xdc,0x02,0x00,0x7d,0x01]25// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU26// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU27 28scratch_load_ushort v1, v2, off29// GFX10: encoding: [0x00,0x40,0x28,0xdc,0x02,0x00,0x7d,0x01]30// GFX9: scratch_load_ushort v1, v2, off      ; encoding: [0x00,0x40,0x48,0xdc,0x02,0x00,0x7f,0x01]31// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU32 33scratch_load_ushort v1, v2, off dlc34// GFX10: encoding: [0x00,0x50,0x28,0xdc,0x02,0x00,0x7d,0x01]35// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU36// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU37 38scratch_load_sshort v1, v2, off39// GFX10: encoding: [0x00,0x40,0x2c,0xdc,0x02,0x00,0x7d,0x01]40// GFX9: scratch_load_sshort v1, v2, off      ; encoding: [0x00,0x40,0x4c,0xdc,0x02,0x00,0x7f,0x01]41// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU42 43scratch_load_sshort v1, v2, off dlc44// GFX10: encoding: [0x00,0x50,0x2c,0xdc,0x02,0x00,0x7d,0x01]45// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU46// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU47 48scratch_load_dword v1, v2, off49// GFX10: encoding: [0x00,0x40,0x30,0xdc,0x02,0x00,0x7d,0x01]50// GFX9: scratch_load_dword v1, v2, off ; encoding: [0x00,0x40,0x50,0xdc,0x02,0x00,0x7f,0x01]51// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU52 53scratch_load_dword v1, v2, off dlc54// GFX10: encoding: [0x00,0x50,0x30,0xdc,0x02,0x00,0x7d,0x01]55// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU56// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU57 58scratch_load_dwordx2 v[1:2], v3, off59// GFX10: encoding: [0x00,0x40,0x34,0xdc,0x03,0x00,0x7d,0x01]60// GFX9: scratch_load_dwordx2 v[1:2], v3, off      ; encoding: [0x00,0x40,0x54,0xdc,0x03,0x00,0x7f,0x01]61// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU62 63scratch_load_dwordx2 v[1:2], v3, off dlc64// GFX10: encoding: [0x00,0x50,0x34,0xdc,0x03,0x00,0x7d,0x01]65// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU66// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU67 68scratch_load_dwordx3 v[1:3], v4, off69// GFX10: encoding: [0x00,0x40,0x3c,0xdc,0x04,0x00,0x7d,0x01]70// GFX9: scratch_load_dwordx3 v[1:3], v4, off      ; encoding: [0x00,0x40,0x58,0xdc,0x04,0x00,0x7f,0x01]71// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU72 73scratch_load_dwordx3 v[1:3], v4, off dlc74// GFX10: encoding: [0x00,0x50,0x3c,0xdc,0x04,0x00,0x7d,0x01]75// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU76// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU77 78scratch_load_dwordx4 v[1:4], v5, off79// GFX10: encoding: [0x00,0x40,0x38,0xdc,0x05,0x00,0x7d,0x01]80// GFX9: scratch_load_dwordx4 v[1:4], v5, off      ; encoding: [0x00,0x40,0x5c,0xdc,0x05,0x00,0x7f,0x01]81// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU82 83scratch_load_dwordx4 v[1:4], v5, off dlc84// GFX10: encoding: [0x00,0x50,0x38,0xdc,0x05,0x00,0x7d,0x01]85// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU86// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU87 88scratch_load_dword v1, v2, off offset:089// GFX10: encoding: [0x00,0x40,0x30,0xdc,0x02,0x00,0x7d,0x01]90// GFX9: scratch_load_dword v1, v2, off      ; encoding: [0x00,0x40,0x50,0xdc,0x02,0x00,0x7f,0x01]91// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU92 93scratch_load_dword v1, v2, off offset:409594// GFX10-ERR: :[[@LINE-1]]:32: error: expected a 12-bit signed offset95// GFX9: scratch_load_dword v1, v2, off offset:4095 ; encoding: [0xff,0x4f,0x50,0xdc,0x02,0x00,0x7f,0x01]96// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU97 98scratch_load_dword v1, v2, off offset:-199// GFX10: encoding: [0xff,0x4f,0x30,0xdc,0x02,0x00,0x7d,0x01]100// GFX9: scratch_load_dword v1, v2, off offset:-1 ; encoding: [0xff,0x5f,0x50,0xdc,0x02,0x00,0x7f,0x01]101// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU102 103scratch_load_dword v1, v2, off offset:-4096104// GFX10-ERR: :[[@LINE-1]]:32: error: expected a 12-bit signed offset105// GFX9: scratch_load_dword v1, v2, off offset:-4096 ; encoding: [0x00,0x50,0x50,0xdc,0x02,0x00,0x7f,0x01]106// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU107 108scratch_load_dword v1, v2, off offset:4096109// GFX10-ERR: :[[@LINE-1]]:32: error: expected a 12-bit signed offset110// GFX9-ERR: :[[@LINE-2]]:32: error: expected a 13-bit signed offset111// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU112 113scratch_load_dword v1, v2, off offset:-4097114// GFX10-ERR: :[[@LINE-1]]:32: error: expected a 12-bit signed offset115// GFX9-ERR: :[[@LINE-2]]:32: error: expected a 13-bit signed offset116// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU117 118scratch_load_dword v0, v1, off offset:-2049 glc slc119// GFX10-ERR: :[[@LINE-1]]:32: error: expected a 12-bit signed offset120// GFX9: scratch_load_dword v0, v1, off offset:-2049 glc slc ; encoding: [0xff,0x57,0x53,0xdc,0x01,0x00,0x7f,0x00]121// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU122 123scratch_load_dword v0, v1, off offset:-2048 glc slc124// GFX10: scratch_load_dword v0, v1, off offset:-2048 glc slc ; encoding: [0x00,0x48,0x33,0xdc,0x01,0x00,0x7d,0x00]125// GFX9: scratch_load_dword v0, v1, off offset:-2048 glc slc ; encoding: [0x00,0x58,0x53,0xdc,0x01,0x00,0x7f,0x00]126// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU127 128scratch_load_dword v255, off, s1 offset:2047129// GFX10: scratch_load_dword v255, off, s1 offset:2047 ; encoding: [0xff,0x47,0x30,0xdc,0x00,0x00,0x01,0xff]130// GFX9: scratch_load_dword v255, off, s1 offset:2047 ; encoding: [0xff,0x47,0x50,0xdc,0x00,0x00,0x01,0xff]131// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU132 133scratch_load_dword v255, off, s0 offset:2048134// GFX10-ERR: :[[@LINE-1]]:34: error: expected a 12-bit signed offset135// GFX9: scratch_load_dword v255, off, s0 offset:2048 ; encoding: [0x00,0x48,0x50,0xdc,0x00,0x00,0x00,0xff]136// VI-ERR: :[[@LINE-3]]:1: error: instruction not supported on this GPU137 138scratch_store_byte v1, v2, off139// GFX10: encoding: [0x00,0x40,0x60,0xdc,0x01,0x02,0x7d,0x00]140// GFX9: scratch_store_byte v1, v2, off ; encoding: [0x00,0x40,0x60,0xdc,0x01,0x02,0x7f,0x00]141// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU142 143scratch_store_byte v1, v2, off dlc144// GFX10: encoding: [0x00,0x50,0x60,0xdc,0x01,0x02,0x7d,0x00]145// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU146// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU147 148scratch_store_short v1, v2, off149// GFX10: encoding: [0x00,0x40,0x68,0xdc,0x01,0x02,0x7d,0x00]150// GFX9: scratch_store_short v1, v2, off ; encoding: [0x00,0x40,0x68,0xdc,0x01,0x02,0x7f,0x00]151// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU152 153scratch_store_short v1, v2, off dlc154// GFX10: encoding: [0x00,0x50,0x68,0xdc,0x01,0x02,0x7d,0x00]155// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU156// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU157 158scratch_store_dword v1, v2, off159// GFX10: encoding: [0x00,0x40,0x70,0xdc,0x01,0x02,0x7d,0x00]160// GFX9: scratch_store_dword v1, v2, off ; encoding: [0x00,0x40,0x70,0xdc,0x01,0x02,0x7f,0x00]161// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU162 163scratch_store_dword v1, v2, off dlc164// GFX10: encoding: [0x00,0x50,0x70,0xdc,0x01,0x02,0x7d,0x00]165// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU166// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU167 168scratch_store_dwordx2 v1, v[2:3], off169// GFX10: encoding: [0x00,0x40,0x74,0xdc,0x01,0x02,0x7d,0x00]170// GFX9: scratch_store_dwordx2 v1, v[2:3], off ; encoding: [0x00,0x40,0x74,0xdc,0x01,0x02,0x7f,0x00]171// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU172 173scratch_store_dwordx2 v1, v[2:3], off dlc174// GFX10: encoding: [0x00,0x50,0x74,0xdc,0x01,0x02,0x7d,0x00]175// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU176// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU177 178scratch_store_dwordx3 v1, v[2:4], off179// GFX10: encoding: [0x00,0x40,0x7c,0xdc,0x01,0x02,0x7d,0x00]180// GFX9: scratch_store_dwordx3 v1, v[2:4], off ; encoding: [0x00,0x40,0x78,0xdc,0x01,0x02,0x7f,0x00]181// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU182 183scratch_store_dwordx3 v1, v[2:4], off dlc184// GFX10: encoding: [0x00,0x50,0x7c,0xdc,0x01,0x02,0x7d,0x00]185// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU186// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU187 188scratch_store_dwordx4 v1, v[2:5], off189// GFX10: encoding: [0x00,0x40,0x78,0xdc,0x01,0x02,0x7d,0x00]190// GFX9: scratch_store_dwordx4 v1, v[2:5], off ; encoding: [0x00,0x40,0x7c,0xdc,0x01,0x02,0x7f,0x00]191// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU192 193scratch_store_dwordx4 v1, v[2:5], off dlc194// GFX10: encoding: [0x00,0x50,0x78,0xdc,0x01,0x02,0x7d,0x00]195// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: dlc modifier is not supported on this GPU196// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU197 198scratch_store_dword v1, v2, off offset:12199// GFX10: encoding: [0x0c,0x40,0x70,0xdc,0x01,0x02,0x7d,0x00]200// GFX9: scratch_store_dword v1, v2, off offset:12 ; encoding: [0x0c,0x40,0x70,0xdc,0x01,0x02,0x7f,0x00]201// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU202 203scratch_load_dword v1, off, s1204// GFX10: encoding: [0x00,0x40,0x30,0xdc,0x00,0x00,0x01,0x01]205// GFX9: scratch_load_dword v1, off, s1 ; encoding: [0x00,0x40,0x50,0xdc,0x00,0x00,0x01,0x01]206// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU207 208scratch_load_dword v1, off, s1 offset:32209// GFX10: encoding: [0x20,0x40,0x30,0xdc,0x00,0x00,0x01,0x01]210// GFX9: scratch_load_dword v1, off, s1 offset:32 ; encoding: [0x20,0x40,0x50,0xdc,0x00,0x00,0x01,0x01]211// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU212 213scratch_store_dword off, v2, s1214// GFX10: encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x01,0x00]215// GFX9: scratch_store_dword off, v2, s1 ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x01,0x00]216// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU217 218scratch_store_dword off, v2, s1 offset:12219// GFX10: encoding: [0x0c,0x40,0x70,0xdc,0x00,0x02,0x01,0x00]220// GFX9: scratch_store_dword off, v2, s1 offset:12 ; encoding: [0x0c,0x40,0x70,0xdc,0x00,0x02,0x01,0x00]221// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU222 223// FIXME: Should error about multiple offsets224scratch_load_dword v1, v2, s1225// GFX10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode226// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode227// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU228 229scratch_load_dword v1, v2, s1 offset:32230// GFX10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode231// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode232// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU233 234scratch_store_dword v1, v2, s1235// GFX10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode236// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode237// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU238 239scratch_store_dword v1, v2, s1 offset:32240// GFX10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode241// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode242// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU243 244scratch_load_dword v1, off, exec_hi245// GFX10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction246// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction247// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU248 249scratch_store_dword off, v2, exec_hi250// GFX10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction251// GFX9-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction252// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU253 254scratch_load_dword v1, off, exec_lo255// GFX10: encoding: [0x00,0x40,0x30,0xdc,0x00,0x00,0x7e,0x01]256// GFX9: scratch_load_dword v1, off, exec_lo ; encoding: [0x00,0x40,0x50,0xdc,0x00,0x00,0x7e,0x01]257// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU258 259scratch_store_dword off, v2, exec_lo260// GFX10: encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x7e,0x00]261// GFX9: scratch_store_dword off, v2, exec_lo ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x7e,0x00]262// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU263 264scratch_load_dword v1, off, m0265// GFX10: encoding: [0x00,0x40,0x30,0xdc,0x00,0x00,0x7c,0x01]266// GFX9: scratch_load_dword v1, off, m0  ; encoding: [0x00,0x40,0x50,0xdc,0x00,0x00,0x7c,0x01]267// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU268 269scratch_store_dword off, v2, m0270// GFX10: encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x7c,0x00]271// GFX9: scratch_store_dword off, v2, m0 ; encoding: [0x00,0x40,0x70,0xdc,0x00,0x02,0x7c,0x00]272// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU273 274scratch_load_ubyte_d16 v1, v2, off275// GFX10: encoding: [0x00,0x40,0x80,0xdc,0x02,0x00,0x7d,0x01]276// GFX9: scratch_load_ubyte_d16 v1, v2, off ; encoding: [0x00,0x40,0x80,0xdc,0x02,0x00,0x7f,0x01]277// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU278 279scratch_load_ubyte_d16_hi v1, v2, off280// GFX10: encoding: [0x00,0x40,0x84,0xdc,0x02,0x00,0x7d,0x01]281// GFX9: scratch_load_ubyte_d16_hi v1, v2, off ; encoding: [0x00,0x40,0x84,0xdc,0x02,0x00,0x7f,0x01]282// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU283 284scratch_load_sbyte_d16 v1, v2, off285// GFX10: encoding: [0x00,0x40,0x88,0xdc,0x02,0x00,0x7d,0x01]286// GFX9: scratch_load_sbyte_d16 v1, v2, off ; encoding: [0x00,0x40,0x88,0xdc,0x02,0x00,0x7f,0x01]287// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU288 289scratch_load_sbyte_d16_hi v1, v2, off290// GFX10: encoding: [0x00,0x40,0x8c,0xdc,0x02,0x00,0x7d,0x01]291// GFX9: scratch_load_sbyte_d16_hi v1, v2, off ; encoding: [0x00,0x40,0x8c,0xdc,0x02,0x00,0x7f,0x01]292// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU293 294scratch_load_short_d16 v1, v2, off295// GFX10: encoding: [0x00,0x40,0x90,0xdc,0x02,0x00,0x7d,0x01]296// GFX9: scratch_load_short_d16 v1, v2, off ; encoding: [0x00,0x40,0x90,0xdc,0x02,0x00,0x7f,0x01]297// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU298 299scratch_load_short_d16_hi v1, v2, off300// GFX10: encoding: [0x00,0x40,0x94,0xdc,0x02,0x00,0x7d,0x01]301// GFX9: scratch_load_short_d16_hi v1, v2, off ; encoding: [0x00,0x40,0x94,0xdc,0x02,0x00,0x7f,0x01]302// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU303 304scratch_store_byte_d16_hi off, v2, s1305// GFX10: encoding: [0x00,0x40,0x64,0xdc,0x00,0x02,0x01,0x00]306// GFX9: scratch_store_byte_d16_hi off, v2, s1 ; encoding: [0x00,0x40,0x64,0xdc,0x00,0x02,0x01,0x00]307// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU308 309scratch_store_short_d16_hi off, v2, s1310// GFX10: encoding: [0x00,0x40,0x6c,0xdc,0x00,0x02,0x01,0x00]311// GFX9: scratch_store_short_d16_hi off, v2, s1 ; encoding: [0x00,0x40,0x6c,0xdc,0x00,0x02,0x01,0x00]312// VI-ERR: :[[@LINE-3]]:{{[0-9]+}}: error: instruction not supported on this GPU313