brintos

brintos / llvm-project-archived public Read only

0
0
Text · 52.7 KiB · f141a5a Raw
1107 lines · plain
1# RUN: llvm-mc -triple=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck -strict-whitespace %s2 3# CHECK: s_load_dword s5, s[2:3], s2             ; encoding: [0x41,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]40x41,0x01,0x00,0xc0,0x02,0x00,0x00,0x005 6# CHECK: s_load_dword s101, s[2:3], s2           ; encoding: [0x41,0x19,0x00,0xc0,0x02,0x00,0x00,0x00]70x41,0x19,0x00,0xc0,0x02,0x00,0x00,0x008 9# CHECK: s_load_dword flat_scratch_lo, s[2:3], s2 ; encoding: [0x81,0x19,0x00,0xc0,0x02,0x00,0x00,0x00]100x81,0x19,0x00,0xc0,0x02,0x00,0x00,0x0011 12# CHECK: s_load_dword flat_scratch_hi, s[2:3], s2 ; encoding: [0xc1,0x19,0x00,0xc0,0x02,0x00,0x00,0x00]130xc1,0x19,0x00,0xc0,0x02,0x00,0x00,0x0014 15# CHECK: s_load_dword vcc_lo, s[2:3], s2         ; encoding: [0x81,0x1a,0x00,0xc0,0x02,0x00,0x00,0x00]160x81,0x1a,0x00,0xc0,0x02,0x00,0x00,0x0017 18# CHECK: s_load_dword vcc_hi, s[2:3], s2         ; encoding: [0xc1,0x1a,0x00,0xc0,0x02,0x00,0x00,0x00]190xc1,0x1a,0x00,0xc0,0x02,0x00,0x00,0x0020 21# CHECK: s_load_dword tba_lo, s[2:3], s2         ; encoding: [0x01,0x1b,0x00,0xc0,0x02,0x00,0x00,0x00]220x01,0x1b,0x00,0xc0,0x02,0x00,0x00,0x0023 24# CHECK: s_load_dword tba_hi, s[2:3], s2         ; encoding: [0x41,0x1b,0x00,0xc0,0x02,0x00,0x00,0x00]250x41,0x1b,0x00,0xc0,0x02,0x00,0x00,0x0026 27# CHECK: s_load_dword tma_lo, s[2:3], s2         ; encoding: [0x81,0x1b,0x00,0xc0,0x02,0x00,0x00,0x00]280x81,0x1b,0x00,0xc0,0x02,0x00,0x00,0x0029 30# CHECK: s_load_dword tma_hi, s[2:3], s2         ; encoding: [0xc1,0x1b,0x00,0xc0,0x02,0x00,0x00,0x00]310xc1,0x1b,0x00,0xc0,0x02,0x00,0x00,0x0032 33# CHECK: s_load_dword ttmp11, s[2:3], s2         ; encoding: [0xc1,0x1e,0x00,0xc0,0x02,0x00,0x00,0x00]340xc1,0x1e,0x00,0xc0,0x02,0x00,0x00,0x0035 36# CHECK: s_load_dword s5, s[4:5], s2             ; encoding: [0x42,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]370x42,0x01,0x00,0xc0,0x02,0x00,0x00,0x0038 39# CHECK: s_load_dword s5, s[100:101], s2         ; encoding: [0x72,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]400x72,0x01,0x00,0xc0,0x02,0x00,0x00,0x0041 42# CHECK: s_load_dword s5, flat_scratch, s2       ; encoding: [0x73,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]430x73,0x01,0x00,0xc0,0x02,0x00,0x00,0x0044 45# CHECK: s_load_dword s5, vcc, s2                ; encoding: [0x75,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]460x75,0x01,0x00,0xc0,0x02,0x00,0x00,0x0047 48# CHECK: s_load_dword s5, tba, s2                ; encoding: [0x76,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]490x76,0x01,0x00,0xc0,0x02,0x00,0x00,0x0050 51# CHECK: s_load_dword s5, tma, s2                ; encoding: [0x77,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]520x77,0x01,0x00,0xc0,0x02,0x00,0x00,0x0053 54# CHECK: s_load_dword s5, ttmp[10:11], s2        ; encoding: [0x7d,0x01,0x00,0xc0,0x02,0x00,0x00,0x00]550x7d,0x01,0x00,0xc0,0x02,0x00,0x00,0x0056 57# CHECK: s_load_dword s5, s[2:3], s101           ; encoding: [0x41,0x01,0x00,0xc0,0x65,0x00,0x00,0x00]580x41,0x01,0x00,0xc0,0x65,0x00,0x00,0x0059 60# Make sure that raising the GFX9 soffset_en bit doesn't affect GFX861# decoding.62# CHECK: s_load_dword s5, s[2:3], s101           ; encoding: [0x41,0x01,0x00,0xc0,0x65,0x00,0x00,0x00]630x41,0x41,0x00,0xc0,0x65,0x00,0x00,0x0064 65# CHECK: s_load_dword s5, s[2:3], flat_scratch_lo ; encoding: [0x41,0x01,0x00,0xc0,0x66,0x00,0x00,0x00]660x41,0x01,0x00,0xc0,0x66,0x00,0x00,0x0067 68# CHECK: s_load_dword s5, s[2:3], flat_scratch_hi ; encoding: [0x41,0x01,0x00,0xc0,0x67,0x00,0x00,0x00]690x41,0x01,0x00,0xc0,0x67,0x00,0x00,0x0070 71# CHECK: s_load_dword s5, s[2:3], vcc_lo         ; encoding: [0x41,0x01,0x00,0xc0,0x6a,0x00,0x00,0x00]720x41,0x01,0x00,0xc0,0x6a,0x00,0x00,0x0073 74# CHECK: s_load_dword s5, s[2:3], vcc_hi         ; encoding: [0x41,0x01,0x00,0xc0,0x6b,0x00,0x00,0x00]750x41,0x01,0x00,0xc0,0x6b,0x00,0x00,0x0076 77# CHECK: s_load_dword s5, s[2:3], tba_lo         ; encoding: [0x41,0x01,0x00,0xc0,0x6c,0x00,0x00,0x00]780x41,0x01,0x00,0xc0,0x6c,0x00,0x00,0x0079 80# CHECK: s_load_dword s5, s[2:3], tba_hi         ; encoding: [0x41,0x01,0x00,0xc0,0x6d,0x00,0x00,0x00]810x41,0x01,0x00,0xc0,0x6d,0x00,0x00,0x0082 83# CHECK: s_load_dword s5, s[2:3], tma_lo         ; encoding: [0x41,0x01,0x00,0xc0,0x6e,0x00,0x00,0x00]840x41,0x01,0x00,0xc0,0x6e,0x00,0x00,0x0085 86# CHECK: s_load_dword s5, s[2:3], tma_hi         ; encoding: [0x41,0x01,0x00,0xc0,0x6f,0x00,0x00,0x00]870x41,0x01,0x00,0xc0,0x6f,0x00,0x00,0x0088 89# CHECK: s_load_dword s5, s[2:3], ttmp11         ; encoding: [0x41,0x01,0x00,0xc0,0x7b,0x00,0x00,0x00]900x41,0x01,0x00,0xc0,0x7b,0x00,0x00,0x0091 92# CHECK: s_load_dword s5, s[2:3], m0             ; encoding: [0x41,0x01,0x00,0xc0,0x7c,0x00,0x00,0x00]930x41,0x01,0x00,0xc0,0x7c,0x00,0x00,0x0094 95# CHECK: s_load_dword s5, s[2:3], 0x7ffff        ; encoding: [0x41,0x01,0x02,0xc0,0xff,0xff,0x07,0x00]960x41,0x01,0x02,0xc0,0xff,0xff,0x07,0x0097 98# Make sure that raising the GFX9 soffset_en bit doesn't affect GFX899# decoding.100# CHECK: s_load_dword s5, s[2:3], 0x7ffff        ; encoding: [0x41,0x01,0x02,0xc0,0xff,0xff,0x07,0x00]1010x41,0x41,0x02,0xc0,0xff,0xff,0x07,0x00102 103# CHECK: s_load_dword s5, s[2:3], s2 glc         ; encoding: [0x41,0x01,0x01,0xc0,0x02,0x00,0x00,0x00]1040x41,0x01,0x01,0xc0,0x02,0x00,0x00,0x00105 106# CHECK: s_load_dwordx2 s[10:11], s[2:3], s2     ; encoding: [0x81,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]1070x81,0x02,0x04,0xc0,0x02,0x00,0x00,0x00108 109# CHECK: s_load_dwordx2 s[12:13], s[2:3], s2     ; encoding: [0x01,0x03,0x04,0xc0,0x02,0x00,0x00,0x00]1100x01,0x03,0x04,0xc0,0x02,0x00,0x00,0x00111 112# CHECK: s_load_dwordx2 s[100:101], s[2:3], s2   ; encoding: [0x01,0x19,0x04,0xc0,0x02,0x00,0x00,0x00]1130x01,0x19,0x04,0xc0,0x02,0x00,0x00,0x00114 115# CHECK: s_load_dwordx2 flat_scratch, s[2:3], s2 ; encoding: [0x81,0x19,0x04,0xc0,0x02,0x00,0x00,0x00]1160x81,0x19,0x04,0xc0,0x02,0x00,0x00,0x00117 118# CHECK: s_load_dwordx2 vcc, s[2:3], s2          ; encoding: [0x81,0x1a,0x04,0xc0,0x02,0x00,0x00,0x00]1190x81,0x1a,0x04,0xc0,0x02,0x00,0x00,0x00120 121# CHECK: s_load_dwordx2 tba, s[2:3], s2          ; encoding: [0x01,0x1b,0x04,0xc0,0x02,0x00,0x00,0x00]1220x01,0x1b,0x04,0xc0,0x02,0x00,0x00,0x00123 124# CHECK: s_load_dwordx2 tma, s[2:3], s2          ; encoding: [0x81,0x1b,0x04,0xc0,0x02,0x00,0x00,0x00]1250x81,0x1b,0x04,0xc0,0x02,0x00,0x00,0x00126 127# CHECK: s_load_dwordx2 ttmp[10:11], s[2:3], s2  ; encoding: [0x81,0x1e,0x04,0xc0,0x02,0x00,0x00,0x00]1280x81,0x1e,0x04,0xc0,0x02,0x00,0x00,0x00129 130# CHECK: s_load_dwordx2 s[10:11], s[4:5], s2     ; encoding: [0x82,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]1310x82,0x02,0x04,0xc0,0x02,0x00,0x00,0x00132 133# CHECK: s_load_dwordx2 s[10:11], s[100:101], s2 ; encoding: [0xb2,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]1340xb2,0x02,0x04,0xc0,0x02,0x00,0x00,0x00135 136# CHECK: s_load_dwordx2 s[10:11], flat_scratch, s2 ; encoding: [0xb3,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]1370xb3,0x02,0x04,0xc0,0x02,0x00,0x00,0x00138 139# CHECK: s_load_dwordx2 s[10:11], vcc, s2        ; encoding: [0xb5,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]1400xb5,0x02,0x04,0xc0,0x02,0x00,0x00,0x00141 142# CHECK: s_load_dwordx2 s[10:11], tba, s2        ; encoding: [0xb6,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]1430xb6,0x02,0x04,0xc0,0x02,0x00,0x00,0x00144 145# CHECK: s_load_dwordx2 s[10:11], tma, s2        ; encoding: [0xb7,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]1460xb7,0x02,0x04,0xc0,0x02,0x00,0x00,0x00147 148# CHECK: s_load_dwordx2 s[10:11], ttmp[10:11], s2 ; encoding: [0xbd,0x02,0x04,0xc0,0x02,0x00,0x00,0x00]1490xbd,0x02,0x04,0xc0,0x02,0x00,0x00,0x00150 151# CHECK: s_load_dwordx2 s[10:11], s[2:3], s101   ; encoding: [0x81,0x02,0x04,0xc0,0x65,0x00,0x00,0x00]1520x81,0x02,0x04,0xc0,0x65,0x00,0x00,0x00153 154# CHECK: s_load_dwordx2 s[10:11], s[2:3], flat_scratch_lo ; encoding: [0x81,0x02,0x04,0xc0,0x66,0x00,0x00,0x00]1550x81,0x02,0x04,0xc0,0x66,0x00,0x00,0x00156 157# CHECK: s_load_dwordx2 s[10:11], s[2:3], flat_scratch_hi ; encoding: [0x81,0x02,0x04,0xc0,0x67,0x00,0x00,0x00]1580x81,0x02,0x04,0xc0,0x67,0x00,0x00,0x00159 160# CHECK: s_load_dwordx2 s[10:11], s[2:3], vcc_lo ; encoding: [0x81,0x02,0x04,0xc0,0x6a,0x00,0x00,0x00]1610x81,0x02,0x04,0xc0,0x6a,0x00,0x00,0x00162 163# CHECK: s_load_dwordx2 s[10:11], s[2:3], vcc_hi ; encoding: [0x81,0x02,0x04,0xc0,0x6b,0x00,0x00,0x00]1640x81,0x02,0x04,0xc0,0x6b,0x00,0x00,0x00165 166# CHECK: s_load_dwordx2 s[10:11], s[2:3], tba_lo ; encoding: [0x81,0x02,0x04,0xc0,0x6c,0x00,0x00,0x00]1670x81,0x02,0x04,0xc0,0x6c,0x00,0x00,0x00168 169# CHECK: s_load_dwordx2 s[10:11], s[2:3], tba_hi ; encoding: [0x81,0x02,0x04,0xc0,0x6d,0x00,0x00,0x00]1700x81,0x02,0x04,0xc0,0x6d,0x00,0x00,0x00171 172# CHECK: s_load_dwordx2 s[10:11], s[2:3], tma_lo ; encoding: [0x81,0x02,0x04,0xc0,0x6e,0x00,0x00,0x00]1730x81,0x02,0x04,0xc0,0x6e,0x00,0x00,0x00174 175# CHECK: s_load_dwordx2 s[10:11], s[2:3], tma_hi ; encoding: [0x81,0x02,0x04,0xc0,0x6f,0x00,0x00,0x00]1760x81,0x02,0x04,0xc0,0x6f,0x00,0x00,0x00177 178# CHECK: s_load_dwordx2 s[10:11], s[2:3], ttmp11 ; encoding: [0x81,0x02,0x04,0xc0,0x7b,0x00,0x00,0x00]1790x81,0x02,0x04,0xc0,0x7b,0x00,0x00,0x00180 181# CHECK: s_load_dwordx2 s[10:11], s[2:3], m0     ; encoding: [0x81,0x02,0x04,0xc0,0x7c,0x00,0x00,0x00]1820x81,0x02,0x04,0xc0,0x7c,0x00,0x00,0x00183 184# CHECK: s_load_dwordx2 s[10:11], s[2:3], 0x7ffff ; encoding: [0x81,0x02,0x06,0xc0,0xff,0xff,0x07,0x00]1850x81,0x02,0x06,0xc0,0xff,0xff,0x07,0x00186 187# CHECK: s_load_dwordx2 s[10:11], s[2:3], s2 glc ; encoding: [0x81,0x02,0x05,0xc0,0x02,0x00,0x00,0x00]1880x81,0x02,0x05,0xc0,0x02,0x00,0x00,0x00189 190# CHECK: s_load_dwordx4 s[20:23], s[2:3], s2     ; encoding: [0x01,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]1910x01,0x05,0x08,0xc0,0x02,0x00,0x00,0x00192 193# CHECK: s_load_dwordx4 s[24:27], s[2:3], s2     ; encoding: [0x01,0x06,0x08,0xc0,0x02,0x00,0x00,0x00]1940x01,0x06,0x08,0xc0,0x02,0x00,0x00,0x00195 196# CHECK: s_load_dwordx4 s[96:99], s[2:3], s2     ; encoding: [0x01,0x18,0x08,0xc0,0x02,0x00,0x00,0x00]1970x01,0x18,0x08,0xc0,0x02,0x00,0x00,0x00198 199# CHECK: s_load_dwordx4 ttmp[8:11], s[2:3], s2   ; encoding: [0x01,0x1e,0x08,0xc0,0x02,0x00,0x00,0x00]2000x01,0x1e,0x08,0xc0,0x02,0x00,0x00,0x00201 202# CHECK: s_load_dwordx4 s[20:23], s[4:5], s2     ; encoding: [0x02,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]2030x02,0x05,0x08,0xc0,0x02,0x00,0x00,0x00204 205# CHECK: s_load_dwordx4 s[20:23], s[100:101], s2 ; encoding: [0x32,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]2060x32,0x05,0x08,0xc0,0x02,0x00,0x00,0x00207 208# CHECK: s_load_dwordx4 s[20:23], flat_scratch, s2 ; encoding: [0x33,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]2090x33,0x05,0x08,0xc0,0x02,0x00,0x00,0x00210 211# CHECK: s_load_dwordx4 s[20:23], vcc, s2        ; encoding: [0x35,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]2120x35,0x05,0x08,0xc0,0x02,0x00,0x00,0x00213 214# CHECK: s_load_dwordx4 s[20:23], tba, s2        ; encoding: [0x36,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]2150x36,0x05,0x08,0xc0,0x02,0x00,0x00,0x00216 217# CHECK: s_load_dwordx4 s[20:23], tma, s2        ; encoding: [0x37,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]2180x37,0x05,0x08,0xc0,0x02,0x00,0x00,0x00219 220# CHECK: s_load_dwordx4 s[20:23], ttmp[10:11], s2 ; encoding: [0x3d,0x05,0x08,0xc0,0x02,0x00,0x00,0x00]2210x3d,0x05,0x08,0xc0,0x02,0x00,0x00,0x00222 223# CHECK: s_load_dwordx4 s[20:23], s[2:3], s101   ; encoding: [0x01,0x05,0x08,0xc0,0x65,0x00,0x00,0x00]2240x01,0x05,0x08,0xc0,0x65,0x00,0x00,0x00225 226# CHECK: s_load_dwordx4 s[20:23], s[2:3], flat_scratch_lo ; encoding: [0x01,0x05,0x08,0xc0,0x66,0x00,0x00,0x00]2270x01,0x05,0x08,0xc0,0x66,0x00,0x00,0x00228 229# CHECK: s_load_dwordx4 s[20:23], s[2:3], flat_scratch_hi ; encoding: [0x01,0x05,0x08,0xc0,0x67,0x00,0x00,0x00]2300x01,0x05,0x08,0xc0,0x67,0x00,0x00,0x00231 232# CHECK: s_load_dwordx4 s[20:23], s[2:3], vcc_lo ; encoding: [0x01,0x05,0x08,0xc0,0x6a,0x00,0x00,0x00]2330x01,0x05,0x08,0xc0,0x6a,0x00,0x00,0x00234 235# CHECK: s_load_dwordx4 s[20:23], s[2:3], vcc_hi ; encoding: [0x01,0x05,0x08,0xc0,0x6b,0x00,0x00,0x00]2360x01,0x05,0x08,0xc0,0x6b,0x00,0x00,0x00237 238# CHECK: s_load_dwordx4 s[20:23], s[2:3], tba_lo ; encoding: [0x01,0x05,0x08,0xc0,0x6c,0x00,0x00,0x00]2390x01,0x05,0x08,0xc0,0x6c,0x00,0x00,0x00240 241# CHECK: s_load_dwordx4 s[20:23], s[2:3], tba_hi ; encoding: [0x01,0x05,0x08,0xc0,0x6d,0x00,0x00,0x00]2420x01,0x05,0x08,0xc0,0x6d,0x00,0x00,0x00243 244# CHECK: s_load_dwordx4 s[20:23], s[2:3], tma_lo ; encoding: [0x01,0x05,0x08,0xc0,0x6e,0x00,0x00,0x00]2450x01,0x05,0x08,0xc0,0x6e,0x00,0x00,0x00246 247# CHECK: s_load_dwordx4 s[20:23], s[2:3], tma_hi ; encoding: [0x01,0x05,0x08,0xc0,0x6f,0x00,0x00,0x00]2480x01,0x05,0x08,0xc0,0x6f,0x00,0x00,0x00249 250# CHECK: s_load_dwordx4 s[20:23], s[2:3], ttmp11 ; encoding: [0x01,0x05,0x08,0xc0,0x7b,0x00,0x00,0x00]2510x01,0x05,0x08,0xc0,0x7b,0x00,0x00,0x00252 253# CHECK: s_load_dwordx4 s[20:23], s[2:3], m0     ; encoding: [0x01,0x05,0x08,0xc0,0x7c,0x00,0x00,0x00]2540x01,0x05,0x08,0xc0,0x7c,0x00,0x00,0x00255 256# CHECK: s_load_dwordx4 s[20:23], s[2:3], 0x7ffff ; encoding: [0x01,0x05,0x0a,0xc0,0xff,0xff,0x07,0x00]2570x01,0x05,0x0a,0xc0,0xff,0xff,0x07,0x00258 259# CHECK: s_load_dwordx4 s[20:23], s[2:3], s2 glc ; encoding: [0x01,0x05,0x09,0xc0,0x02,0x00,0x00,0x00]2600x01,0x05,0x09,0xc0,0x02,0x00,0x00,0x00261 262# CHECK: s_load_dwordx8 s[20:27], s[2:3], s2     ; encoding: [0x01,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]2630x01,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00264 265# CHECK: s_load_dwordx8 s[24:31], s[2:3], s2     ; encoding: [0x01,0x06,0x0c,0xc0,0x02,0x00,0x00,0x00]2660x01,0x06,0x0c,0xc0,0x02,0x00,0x00,0x00267 268# CHECK: s_load_dwordx8 s[92:99], s[2:3], s2     ; encoding: [0x01,0x17,0x0c,0xc0,0x02,0x00,0x00,0x00]2690x01,0x17,0x0c,0xc0,0x02,0x00,0x00,0x00270 271# CHECK: s_load_dwordx8 ttmp[4:11], s[2:3], s2   ; encoding: [0x01,0x1d,0x0c,0xc0,0x02,0x00,0x00,0x00]2720x01,0x1d,0x0c,0xc0,0x02,0x00,0x00,0x00273 274# CHECK: s_load_dwordx8 s[20:27], s[4:5], s2     ; encoding: [0x02,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]2750x02,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00276 277# CHECK: s_load_dwordx8 s[20:27], s[100:101], s2 ; encoding: [0x32,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]2780x32,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00279 280# CHECK: s_load_dwordx8 s[20:27], flat_scratch, s2 ; encoding: [0x33,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]2810x33,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00282 283# CHECK: s_load_dwordx8 s[20:27], vcc, s2        ; encoding: [0x35,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]2840x35,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00285 286# CHECK: s_load_dwordx8 s[20:27], tba, s2        ; encoding: [0x36,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]2870x36,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00288 289# CHECK: s_load_dwordx8 s[20:27], tma, s2        ; encoding: [0x37,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]2900x37,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00291 292# CHECK: s_load_dwordx8 s[20:27], ttmp[10:11], s2 ; encoding: [0x3d,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00]2930x3d,0x05,0x0c,0xc0,0x02,0x00,0x00,0x00294 295# CHECK: s_load_dwordx8 s[20:27], s[2:3], s101   ; encoding: [0x01,0x05,0x0c,0xc0,0x65,0x00,0x00,0x00]2960x01,0x05,0x0c,0xc0,0x65,0x00,0x00,0x00297 298# CHECK: s_load_dwordx8 s[20:27], s[2:3], flat_scratch_lo ; encoding: [0x01,0x05,0x0c,0xc0,0x66,0x00,0x00,0x00]2990x01,0x05,0x0c,0xc0,0x66,0x00,0x00,0x00300 301# CHECK: s_load_dwordx8 s[20:27], s[2:3], flat_scratch_hi ; encoding: [0x01,0x05,0x0c,0xc0,0x67,0x00,0x00,0x00]3020x01,0x05,0x0c,0xc0,0x67,0x00,0x00,0x00303 304# CHECK: s_load_dwordx8 s[20:27], s[2:3], vcc_lo ; encoding: [0x01,0x05,0x0c,0xc0,0x6a,0x00,0x00,0x00]3050x01,0x05,0x0c,0xc0,0x6a,0x00,0x00,0x00306 307# CHECK: s_load_dwordx8 s[20:27], s[2:3], vcc_hi ; encoding: [0x01,0x05,0x0c,0xc0,0x6b,0x00,0x00,0x00]3080x01,0x05,0x0c,0xc0,0x6b,0x00,0x00,0x00309 310# CHECK: s_load_dwordx8 s[20:27], s[2:3], tba_lo ; encoding: [0x01,0x05,0x0c,0xc0,0x6c,0x00,0x00,0x00]3110x01,0x05,0x0c,0xc0,0x6c,0x00,0x00,0x00312 313# CHECK: s_load_dwordx8 s[20:27], s[2:3], tba_hi ; encoding: [0x01,0x05,0x0c,0xc0,0x6d,0x00,0x00,0x00]3140x01,0x05,0x0c,0xc0,0x6d,0x00,0x00,0x00315 316# CHECK: s_load_dwordx8 s[20:27], s[2:3], tma_lo ; encoding: [0x01,0x05,0x0c,0xc0,0x6e,0x00,0x00,0x00]3170x01,0x05,0x0c,0xc0,0x6e,0x00,0x00,0x00318 319# CHECK: s_load_dwordx8 s[20:27], s[2:3], tma_hi ; encoding: [0x01,0x05,0x0c,0xc0,0x6f,0x00,0x00,0x00]3200x01,0x05,0x0c,0xc0,0x6f,0x00,0x00,0x00321 322# CHECK: s_load_dwordx8 s[20:27], s[2:3], ttmp11 ; encoding: [0x01,0x05,0x0c,0xc0,0x7b,0x00,0x00,0x00]3230x01,0x05,0x0c,0xc0,0x7b,0x00,0x00,0x00324 325# CHECK: s_load_dwordx8 s[20:27], s[2:3], m0     ; encoding: [0x01,0x05,0x0c,0xc0,0x7c,0x00,0x00,0x00]3260x01,0x05,0x0c,0xc0,0x7c,0x00,0x00,0x00327 328# CHECK: s_load_dwordx8 s[20:27], s[2:3], 0x7ffff ; encoding: [0x01,0x05,0x0e,0xc0,0xff,0xff,0x07,0x00]3290x01,0x05,0x0e,0xc0,0xff,0xff,0x07,0x00330 331# CHECK: s_load_dwordx8 s[20:27], s[2:3], s2 glc ; encoding: [0x01,0x05,0x0d,0xc0,0x02,0x00,0x00,0x00]3320x01,0x05,0x0d,0xc0,0x02,0x00,0x00,0x00333 334# CHECK: s_load_dwordx16 s[20:35], s[2:3], s2    ; encoding: [0x01,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]3350x01,0x05,0x10,0xc0,0x02,0x00,0x00,0x00336 337# CHECK: s_load_dwordx16 s[24:39], s[2:3], s2    ; encoding: [0x01,0x06,0x10,0xc0,0x02,0x00,0x00,0x00]3380x01,0x06,0x10,0xc0,0x02,0x00,0x00,0x00339 340# CHECK: s_load_dwordx16 s[84:99], s[2:3], s2    ; encoding: [0x01,0x15,0x10,0xc0,0x02,0x00,0x00,0x00]3410x01,0x15,0x10,0xc0,0x02,0x00,0x00,0x00342 343# CHECK: s_load_dwordx16 s[20:35], s[4:5], s2    ; encoding: [0x02,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]3440x02,0x05,0x10,0xc0,0x02,0x00,0x00,0x00345 346# CHECK: s_load_dwordx16 s[20:35], s[100:101], s2 ; encoding: [0x32,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]3470x32,0x05,0x10,0xc0,0x02,0x00,0x00,0x00348 349# CHECK: s_load_dwordx16 s[20:35], flat_scratch, s2 ; encoding: [0x33,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]3500x33,0x05,0x10,0xc0,0x02,0x00,0x00,0x00351 352# CHECK: s_load_dwordx16 s[20:35], vcc, s2       ; encoding: [0x35,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]3530x35,0x05,0x10,0xc0,0x02,0x00,0x00,0x00354 355# CHECK: s_load_dwordx16 s[20:35], tba, s2       ; encoding: [0x36,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]3560x36,0x05,0x10,0xc0,0x02,0x00,0x00,0x00357 358# CHECK: s_load_dwordx16 s[20:35], tma, s2       ; encoding: [0x37,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]3590x37,0x05,0x10,0xc0,0x02,0x00,0x00,0x00360 361# CHECK: s_load_dwordx16 s[20:35], ttmp[10:11], s2 ; encoding: [0x3d,0x05,0x10,0xc0,0x02,0x00,0x00,0x00]3620x3d,0x05,0x10,0xc0,0x02,0x00,0x00,0x00363 364# CHECK: s_load_dwordx16 s[20:35], s[2:3], s101  ; encoding: [0x01,0x05,0x10,0xc0,0x65,0x00,0x00,0x00]3650x01,0x05,0x10,0xc0,0x65,0x00,0x00,0x00366 367# CHECK: s_load_dwordx16 s[20:35], s[2:3], flat_scratch_lo ; encoding: [0x01,0x05,0x10,0xc0,0x66,0x00,0x00,0x00]3680x01,0x05,0x10,0xc0,0x66,0x00,0x00,0x00369 370# CHECK: s_load_dwordx16 s[20:35], s[2:3], flat_scratch_hi ; encoding: [0x01,0x05,0x10,0xc0,0x67,0x00,0x00,0x00]3710x01,0x05,0x10,0xc0,0x67,0x00,0x00,0x00372 373# CHECK: s_load_dwordx16 s[20:35], s[2:3], vcc_lo ; encoding: [0x01,0x05,0x10,0xc0,0x6a,0x00,0x00,0x00]3740x01,0x05,0x10,0xc0,0x6a,0x00,0x00,0x00375 376# CHECK: s_load_dwordx16 s[20:35], s[2:3], vcc_hi ; encoding: [0x01,0x05,0x10,0xc0,0x6b,0x00,0x00,0x00]3770x01,0x05,0x10,0xc0,0x6b,0x00,0x00,0x00378 379# CHECK: s_load_dwordx16 s[20:35], s[2:3], tba_lo ; encoding: [0x01,0x05,0x10,0xc0,0x6c,0x00,0x00,0x00]3800x01,0x05,0x10,0xc0,0x6c,0x00,0x00,0x00381 382# CHECK: s_load_dwordx16 s[20:35], s[2:3], tba_hi ; encoding: [0x01,0x05,0x10,0xc0,0x6d,0x00,0x00,0x00]3830x01,0x05,0x10,0xc0,0x6d,0x00,0x00,0x00384 385# CHECK: s_load_dwordx16 s[20:35], s[2:3], tma_lo ; encoding: [0x01,0x05,0x10,0xc0,0x6e,0x00,0x00,0x00]3860x01,0x05,0x10,0xc0,0x6e,0x00,0x00,0x00387 388# CHECK: s_load_dwordx16 s[20:35], s[2:3], tma_hi ; encoding: [0x01,0x05,0x10,0xc0,0x6f,0x00,0x00,0x00]3890x01,0x05,0x10,0xc0,0x6f,0x00,0x00,0x00390 391# CHECK: s_load_dwordx16 s[20:35], s[2:3], ttmp11 ; encoding: [0x01,0x05,0x10,0xc0,0x7b,0x00,0x00,0x00]3920x01,0x05,0x10,0xc0,0x7b,0x00,0x00,0x00393 394# CHECK: s_load_dwordx16 s[20:35], s[2:3], m0    ; encoding: [0x01,0x05,0x10,0xc0,0x7c,0x00,0x00,0x00]3950x01,0x05,0x10,0xc0,0x7c,0x00,0x00,0x00396 397# CHECK: s_load_dwordx16 s[20:35], s[2:3], 0x7ffff ; encoding: [0x01,0x05,0x12,0xc0,0xff,0xff,0x07,0x00]3980x01,0x05,0x12,0xc0,0xff,0xff,0x07,0x00399 400# CHECK: s_load_dwordx16 s[20:35], s[2:3], s2 glc ; encoding: [0x01,0x05,0x11,0xc0,0x02,0x00,0x00,0x00]4010x01,0x05,0x11,0xc0,0x02,0x00,0x00,0x00402 403# CHECK: s_buffer_load_dword s5, s[4:7], s2      ; encoding: [0x42,0x01,0x20,0xc0,0x02,0x00,0x00,0x00]4040x42,0x01,0x20,0xc0,0x02,0x00,0x00,0x00405 406# CHECK: s_buffer_load_dword s101, s[4:7], s2    ; encoding: [0x42,0x19,0x20,0xc0,0x02,0x00,0x00,0x00]4070x42,0x19,0x20,0xc0,0x02,0x00,0x00,0x00408 409# CHECK: s_buffer_load_dword flat_scratch_lo, s[4:7], s2 ; encoding: [0x82,0x19,0x20,0xc0,0x02,0x00,0x00,0x00]4100x82,0x19,0x20,0xc0,0x02,0x00,0x00,0x00411 412# CHECK: s_buffer_load_dword flat_scratch_hi, s[4:7], s2 ; encoding: [0xc2,0x19,0x20,0xc0,0x02,0x00,0x00,0x00]4130xc2,0x19,0x20,0xc0,0x02,0x00,0x00,0x00414 415# CHECK: s_buffer_load_dword vcc_lo, s[4:7], s2  ; encoding: [0x82,0x1a,0x20,0xc0,0x02,0x00,0x00,0x00]4160x82,0x1a,0x20,0xc0,0x02,0x00,0x00,0x00417 418# CHECK: s_buffer_load_dword vcc_hi, s[4:7], s2  ; encoding: [0xc2,0x1a,0x20,0xc0,0x02,0x00,0x00,0x00]4190xc2,0x1a,0x20,0xc0,0x02,0x00,0x00,0x00420 421# CHECK: s_buffer_load_dword tba_lo, s[4:7], s2  ; encoding: [0x02,0x1b,0x20,0xc0,0x02,0x00,0x00,0x00]4220x02,0x1b,0x20,0xc0,0x02,0x00,0x00,0x00423 424# CHECK: s_buffer_load_dword tba_hi, s[4:7], s2  ; encoding: [0x42,0x1b,0x20,0xc0,0x02,0x00,0x00,0x00]4250x42,0x1b,0x20,0xc0,0x02,0x00,0x00,0x00426 427# CHECK: s_buffer_load_dword tma_lo, s[4:7], s2  ; encoding: [0x82,0x1b,0x20,0xc0,0x02,0x00,0x00,0x00]4280x82,0x1b,0x20,0xc0,0x02,0x00,0x00,0x00429 430# CHECK: s_buffer_load_dword tma_hi, s[4:7], s2  ; encoding: [0xc2,0x1b,0x20,0xc0,0x02,0x00,0x00,0x00]4310xc2,0x1b,0x20,0xc0,0x02,0x00,0x00,0x00432 433# CHECK: s_buffer_load_dword ttmp11, s[4:7], s2  ; encoding: [0xc2,0x1e,0x20,0xc0,0x02,0x00,0x00,0x00]4340xc2,0x1e,0x20,0xc0,0x02,0x00,0x00,0x00435 436# CHECK: s_buffer_load_dword s5, s[8:11], s2     ; encoding: [0x44,0x01,0x20,0xc0,0x02,0x00,0x00,0x00]4370x44,0x01,0x20,0xc0,0x02,0x00,0x00,0x00438 439# CHECK: s_buffer_load_dword s5, s[96:99], s2    ; encoding: [0x70,0x01,0x20,0xc0,0x02,0x00,0x00,0x00]4400x70,0x01,0x20,0xc0,0x02,0x00,0x00,0x00441 442# CHECK: s_buffer_load_dword s5, ttmp[8:11], s2  ; encoding: [0x7c,0x01,0x20,0xc0,0x02,0x00,0x00,0x00]4430x7c,0x01,0x20,0xc0,0x02,0x00,0x00,0x00444 445# CHECK: s_buffer_load_dword s5, s[4:7], s101    ; encoding: [0x42,0x01,0x20,0xc0,0x65,0x00,0x00,0x00]4460x42,0x01,0x20,0xc0,0x65,0x00,0x00,0x00447 448# CHECK: s_buffer_load_dword s5, s[4:7], flat_scratch_lo ; encoding: [0x42,0x01,0x20,0xc0,0x66,0x00,0x00,0x00]4490x42,0x01,0x20,0xc0,0x66,0x00,0x00,0x00450 451# CHECK: s_buffer_load_dword s5, s[4:7], flat_scratch_hi ; encoding: [0x42,0x01,0x20,0xc0,0x67,0x00,0x00,0x00]4520x42,0x01,0x20,0xc0,0x67,0x00,0x00,0x00453 454# CHECK: s_buffer_load_dword s5, s[4:7], vcc_lo  ; encoding: [0x42,0x01,0x20,0xc0,0x6a,0x00,0x00,0x00]4550x42,0x01,0x20,0xc0,0x6a,0x00,0x00,0x00456 457# CHECK: s_buffer_load_dword s5, s[4:7], vcc_hi  ; encoding: [0x42,0x01,0x20,0xc0,0x6b,0x00,0x00,0x00]4580x42,0x01,0x20,0xc0,0x6b,0x00,0x00,0x00459 460# CHECK: s_buffer_load_dword s5, s[4:7], tba_lo  ; encoding: [0x42,0x01,0x20,0xc0,0x6c,0x00,0x00,0x00]4610x42,0x01,0x20,0xc0,0x6c,0x00,0x00,0x00462 463# CHECK: s_buffer_load_dword s5, s[4:7], tba_hi  ; encoding: [0x42,0x01,0x20,0xc0,0x6d,0x00,0x00,0x00]4640x42,0x01,0x20,0xc0,0x6d,0x00,0x00,0x00465 466# CHECK: s_buffer_load_dword s5, s[4:7], tma_lo  ; encoding: [0x42,0x01,0x20,0xc0,0x6e,0x00,0x00,0x00]4670x42,0x01,0x20,0xc0,0x6e,0x00,0x00,0x00468 469# CHECK: s_buffer_load_dword s5, s[4:7], tma_hi  ; encoding: [0x42,0x01,0x20,0xc0,0x6f,0x00,0x00,0x00]4700x42,0x01,0x20,0xc0,0x6f,0x00,0x00,0x00471 472# CHECK: s_buffer_load_dword s5, s[4:7], ttmp11  ; encoding: [0x42,0x01,0x20,0xc0,0x7b,0x00,0x00,0x00]4730x42,0x01,0x20,0xc0,0x7b,0x00,0x00,0x00474 475# CHECK: s_buffer_load_dword s5, s[4:7], m0      ; encoding: [0x42,0x01,0x20,0xc0,0x7c,0x00,0x00,0x00]4760x42,0x01,0x20,0xc0,0x7c,0x00,0x00,0x00477 478# CHECK: s_buffer_load_dword s5, s[4:7], 0x7ffff ; encoding: [0x42,0x01,0x22,0xc0,0xff,0xff,0x07,0x00]4790x42,0x01,0x22,0xc0,0xff,0xff,0x07,0x00480 481# CHECK: s_buffer_load_dword s5, s[4:7], s2 glc  ; encoding: [0x42,0x01,0x21,0xc0,0x02,0x00,0x00,0x00]4820x42,0x01,0x21,0xc0,0x02,0x00,0x00,0x00483 484# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], s2 ; encoding: [0x82,0x02,0x24,0xc0,0x02,0x00,0x00,0x00]4850x82,0x02,0x24,0xc0,0x02,0x00,0x00,0x00486 487# CHECK: s_buffer_load_dwordx2 s[12:13], s[4:7], s2 ; encoding: [0x02,0x03,0x24,0xc0,0x02,0x00,0x00,0x00]4880x02,0x03,0x24,0xc0,0x02,0x00,0x00,0x00489 490# CHECK: s_buffer_load_dwordx2 s[100:101], s[4:7], s2 ; encoding: [0x02,0x19,0x24,0xc0,0x02,0x00,0x00,0x00]4910x02,0x19,0x24,0xc0,0x02,0x00,0x00,0x00492 493# CHECK: s_buffer_load_dwordx2 flat_scratch, s[4:7], s2 ; encoding: [0x82,0x19,0x24,0xc0,0x02,0x00,0x00,0x00]4940x82,0x19,0x24,0xc0,0x02,0x00,0x00,0x00495 496# CHECK: s_buffer_load_dwordx2 vcc, s[4:7], s2   ; encoding: [0x82,0x1a,0x24,0xc0,0x02,0x00,0x00,0x00]4970x82,0x1a,0x24,0xc0,0x02,0x00,0x00,0x00498 499# CHECK: s_buffer_load_dwordx2 tba, s[4:7], s2   ; encoding: [0x02,0x1b,0x24,0xc0,0x02,0x00,0x00,0x00]5000x02,0x1b,0x24,0xc0,0x02,0x00,0x00,0x00501 502# CHECK: s_buffer_load_dwordx2 tma, s[4:7], s2   ; encoding: [0x82,0x1b,0x24,0xc0,0x02,0x00,0x00,0x00]5030x82,0x1b,0x24,0xc0,0x02,0x00,0x00,0x00504 505# CHECK: s_buffer_load_dwordx2 ttmp[10:11], s[4:7], s2 ; encoding: [0x82,0x1e,0x24,0xc0,0x02,0x00,0x00,0x00]5060x82,0x1e,0x24,0xc0,0x02,0x00,0x00,0x00507 508# CHECK: s_buffer_load_dwordx2 s[10:11], s[8:11], s2 ; encoding: [0x84,0x02,0x24,0xc0,0x02,0x00,0x00,0x00]5090x84,0x02,0x24,0xc0,0x02,0x00,0x00,0x00510 511# CHECK: s_buffer_load_dwordx2 s[10:11], s[96:99], s2 ; encoding: [0xb0,0x02,0x24,0xc0,0x02,0x00,0x00,0x00]5120xb0,0x02,0x24,0xc0,0x02,0x00,0x00,0x00513 514# CHECK: s_buffer_load_dwordx2 s[10:11], ttmp[8:11], s2 ; encoding: [0xbc,0x02,0x24,0xc0,0x02,0x00,0x00,0x00]5150xbc,0x02,0x24,0xc0,0x02,0x00,0x00,0x00516 517# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], s101 ; encoding: [0x82,0x02,0x24,0xc0,0x65,0x00,0x00,0x00]5180x82,0x02,0x24,0xc0,0x65,0x00,0x00,0x00519 520# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], flat_scratch_lo ; encoding: [0x82,0x02,0x24,0xc0,0x66,0x00,0x00,0x00]5210x82,0x02,0x24,0xc0,0x66,0x00,0x00,0x00522 523# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], flat_scratch_hi ; encoding: [0x82,0x02,0x24,0xc0,0x67,0x00,0x00,0x00]5240x82,0x02,0x24,0xc0,0x67,0x00,0x00,0x00525 526# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], vcc_lo ; encoding: [0x82,0x02,0x24,0xc0,0x6a,0x00,0x00,0x00]5270x82,0x02,0x24,0xc0,0x6a,0x00,0x00,0x00528 529# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], vcc_hi ; encoding: [0x82,0x02,0x24,0xc0,0x6b,0x00,0x00,0x00]5300x82,0x02,0x24,0xc0,0x6b,0x00,0x00,0x00531 532# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], tba_lo ; encoding: [0x82,0x02,0x24,0xc0,0x6c,0x00,0x00,0x00]5330x82,0x02,0x24,0xc0,0x6c,0x00,0x00,0x00534 535# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], tba_hi ; encoding: [0x82,0x02,0x24,0xc0,0x6d,0x00,0x00,0x00]5360x82,0x02,0x24,0xc0,0x6d,0x00,0x00,0x00537 538# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], tma_lo ; encoding: [0x82,0x02,0x24,0xc0,0x6e,0x00,0x00,0x00]5390x82,0x02,0x24,0xc0,0x6e,0x00,0x00,0x00540 541# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], tma_hi ; encoding: [0x82,0x02,0x24,0xc0,0x6f,0x00,0x00,0x00]5420x82,0x02,0x24,0xc0,0x6f,0x00,0x00,0x00543 544# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], ttmp11 ; encoding: [0x82,0x02,0x24,0xc0,0x7b,0x00,0x00,0x00]5450x82,0x02,0x24,0xc0,0x7b,0x00,0x00,0x00546 547# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], m0 ; encoding: [0x82,0x02,0x24,0xc0,0x7c,0x00,0x00,0x00]5480x82,0x02,0x24,0xc0,0x7c,0x00,0x00,0x00549 550# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], 0x7ffff ; encoding: [0x82,0x02,0x26,0xc0,0xff,0xff,0x07,0x00]5510x82,0x02,0x26,0xc0,0xff,0xff,0x07,0x00552 553# CHECK: s_buffer_load_dwordx2 s[10:11], s[4:7], s2 glc ; encoding: [0x82,0x02,0x25,0xc0,0x02,0x00,0x00,0x00]5540x82,0x02,0x25,0xc0,0x02,0x00,0x00,0x00555 556# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], s2 ; encoding: [0x02,0x05,0x28,0xc0,0x02,0x00,0x00,0x00]5570x02,0x05,0x28,0xc0,0x02,0x00,0x00,0x00558 559# CHECK: s_buffer_load_dwordx4 s[24:27], s[4:7], s2 ; encoding: [0x02,0x06,0x28,0xc0,0x02,0x00,0x00,0x00]5600x02,0x06,0x28,0xc0,0x02,0x00,0x00,0x00561 562# CHECK: s_buffer_load_dwordx4 s[96:99], s[4:7], s2 ; encoding: [0x02,0x18,0x28,0xc0,0x02,0x00,0x00,0x00]5630x02,0x18,0x28,0xc0,0x02,0x00,0x00,0x00564 565# CHECK: s_buffer_load_dwordx4 ttmp[8:11], s[4:7], s2 ; encoding: [0x02,0x1e,0x28,0xc0,0x02,0x00,0x00,0x00]5660x02,0x1e,0x28,0xc0,0x02,0x00,0x00,0x00567 568# CHECK: s_buffer_load_dwordx4 s[20:23], s[8:11], s2 ; encoding: [0x04,0x05,0x28,0xc0,0x02,0x00,0x00,0x00]5690x04,0x05,0x28,0xc0,0x02,0x00,0x00,0x00570 571# CHECK: s_buffer_load_dwordx4 s[20:23], s[96:99], s2 ; encoding: [0x30,0x05,0x28,0xc0,0x02,0x00,0x00,0x00]5720x30,0x05,0x28,0xc0,0x02,0x00,0x00,0x00573 574# CHECK: s_buffer_load_dwordx4 s[20:23], ttmp[8:11], s2 ; encoding: [0x3c,0x05,0x28,0xc0,0x02,0x00,0x00,0x00]5750x3c,0x05,0x28,0xc0,0x02,0x00,0x00,0x00576 577# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], s101 ; encoding: [0x02,0x05,0x28,0xc0,0x65,0x00,0x00,0x00]5780x02,0x05,0x28,0xc0,0x65,0x00,0x00,0x00579 580# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], flat_scratch_lo ; encoding: [0x02,0x05,0x28,0xc0,0x66,0x00,0x00,0x00]5810x02,0x05,0x28,0xc0,0x66,0x00,0x00,0x00582 583# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], flat_scratch_hi ; encoding: [0x02,0x05,0x28,0xc0,0x67,0x00,0x00,0x00]5840x02,0x05,0x28,0xc0,0x67,0x00,0x00,0x00585 586# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], vcc_lo ; encoding: [0x02,0x05,0x28,0xc0,0x6a,0x00,0x00,0x00]5870x02,0x05,0x28,0xc0,0x6a,0x00,0x00,0x00588 589# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], vcc_hi ; encoding: [0x02,0x05,0x28,0xc0,0x6b,0x00,0x00,0x00]5900x02,0x05,0x28,0xc0,0x6b,0x00,0x00,0x00591 592# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], tba_lo ; encoding: [0x02,0x05,0x28,0xc0,0x6c,0x00,0x00,0x00]5930x02,0x05,0x28,0xc0,0x6c,0x00,0x00,0x00594 595# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], tba_hi ; encoding: [0x02,0x05,0x28,0xc0,0x6d,0x00,0x00,0x00]5960x02,0x05,0x28,0xc0,0x6d,0x00,0x00,0x00597 598# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], tma_lo ; encoding: [0x02,0x05,0x28,0xc0,0x6e,0x00,0x00,0x00]5990x02,0x05,0x28,0xc0,0x6e,0x00,0x00,0x00600 601# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], tma_hi ; encoding: [0x02,0x05,0x28,0xc0,0x6f,0x00,0x00,0x00]6020x02,0x05,0x28,0xc0,0x6f,0x00,0x00,0x00603 604# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], ttmp11 ; encoding: [0x02,0x05,0x28,0xc0,0x7b,0x00,0x00,0x00]6050x02,0x05,0x28,0xc0,0x7b,0x00,0x00,0x00606 607# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], m0 ; encoding: [0x02,0x05,0x28,0xc0,0x7c,0x00,0x00,0x00]6080x02,0x05,0x28,0xc0,0x7c,0x00,0x00,0x00609 610# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], 0x7ffff ; encoding: [0x02,0x05,0x2a,0xc0,0xff,0xff,0x07,0x00]6110x02,0x05,0x2a,0xc0,0xff,0xff,0x07,0x00612 613# CHECK: s_buffer_load_dwordx4 s[20:23], s[4:7], s2 glc ; encoding: [0x02,0x05,0x29,0xc0,0x02,0x00,0x00,0x00]6140x02,0x05,0x29,0xc0,0x02,0x00,0x00,0x00615 616# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], s2 ; encoding: [0x02,0x05,0x2c,0xc0,0x02,0x00,0x00,0x00]6170x02,0x05,0x2c,0xc0,0x02,0x00,0x00,0x00618 619# CHECK: s_buffer_load_dwordx8 s[24:31], s[4:7], s2 ; encoding: [0x02,0x06,0x2c,0xc0,0x02,0x00,0x00,0x00]6200x02,0x06,0x2c,0xc0,0x02,0x00,0x00,0x00621 622# CHECK: s_buffer_load_dwordx8 s[92:99], s[4:7], s2 ; encoding: [0x02,0x17,0x2c,0xc0,0x02,0x00,0x00,0x00]6230x02,0x17,0x2c,0xc0,0x02,0x00,0x00,0x00624 625# CHECK: s_buffer_load_dwordx8 ttmp[4:11], s[4:7], s2 ; encoding: [0x02,0x1d,0x2c,0xc0,0x02,0x00,0x00,0x00]6260x02,0x1d,0x2c,0xc0,0x02,0x00,0x00,0x00627 628# CHECK: s_buffer_load_dwordx8 s[20:27], s[8:11], s2 ; encoding: [0x04,0x05,0x2c,0xc0,0x02,0x00,0x00,0x00]6290x04,0x05,0x2c,0xc0,0x02,0x00,0x00,0x00630 631# CHECK: s_buffer_load_dwordx8 s[20:27], s[96:99], s2 ; encoding: [0x30,0x05,0x2c,0xc0,0x02,0x00,0x00,0x00]6320x30,0x05,0x2c,0xc0,0x02,0x00,0x00,0x00633 634# CHECK: s_buffer_load_dwordx8 s[20:27], ttmp[8:11], s2 ; encoding: [0x3c,0x05,0x2c,0xc0,0x02,0x00,0x00,0x00]6350x3c,0x05,0x2c,0xc0,0x02,0x00,0x00,0x00636 637# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], s101 ; encoding: [0x02,0x05,0x2c,0xc0,0x65,0x00,0x00,0x00]6380x02,0x05,0x2c,0xc0,0x65,0x00,0x00,0x00639 640# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], flat_scratch_lo ; encoding: [0x02,0x05,0x2c,0xc0,0x66,0x00,0x00,0x00]6410x02,0x05,0x2c,0xc0,0x66,0x00,0x00,0x00642 643# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], flat_scratch_hi ; encoding: [0x02,0x05,0x2c,0xc0,0x67,0x00,0x00,0x00]6440x02,0x05,0x2c,0xc0,0x67,0x00,0x00,0x00645 646# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], vcc_lo ; encoding: [0x02,0x05,0x2c,0xc0,0x6a,0x00,0x00,0x00]6470x02,0x05,0x2c,0xc0,0x6a,0x00,0x00,0x00648 649# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], vcc_hi ; encoding: [0x02,0x05,0x2c,0xc0,0x6b,0x00,0x00,0x00]6500x02,0x05,0x2c,0xc0,0x6b,0x00,0x00,0x00651 652# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], tba_lo ; encoding: [0x02,0x05,0x2c,0xc0,0x6c,0x00,0x00,0x00]6530x02,0x05,0x2c,0xc0,0x6c,0x00,0x00,0x00654 655# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], tba_hi ; encoding: [0x02,0x05,0x2c,0xc0,0x6d,0x00,0x00,0x00]6560x02,0x05,0x2c,0xc0,0x6d,0x00,0x00,0x00657 658# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], tma_lo ; encoding: [0x02,0x05,0x2c,0xc0,0x6e,0x00,0x00,0x00]6590x02,0x05,0x2c,0xc0,0x6e,0x00,0x00,0x00660 661# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], tma_hi ; encoding: [0x02,0x05,0x2c,0xc0,0x6f,0x00,0x00,0x00]6620x02,0x05,0x2c,0xc0,0x6f,0x00,0x00,0x00663 664# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], ttmp11 ; encoding: [0x02,0x05,0x2c,0xc0,0x7b,0x00,0x00,0x00]6650x02,0x05,0x2c,0xc0,0x7b,0x00,0x00,0x00666 667# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], m0 ; encoding: [0x02,0x05,0x2c,0xc0,0x7c,0x00,0x00,0x00]6680x02,0x05,0x2c,0xc0,0x7c,0x00,0x00,0x00669 670# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], 0x7ffff ; encoding: [0x02,0x05,0x2e,0xc0,0xff,0xff,0x07,0x00]6710x02,0x05,0x2e,0xc0,0xff,0xff,0x07,0x00672 673# CHECK: s_buffer_load_dwordx8 s[20:27], s[4:7], s2 glc ; encoding: [0x02,0x05,0x2d,0xc0,0x02,0x00,0x00,0x00]6740x02,0x05,0x2d,0xc0,0x02,0x00,0x00,0x00675 676# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], s2 ; encoding: [0x02,0x05,0x30,0xc0,0x02,0x00,0x00,0x00]6770x02,0x05,0x30,0xc0,0x02,0x00,0x00,0x00678 679# CHECK: s_buffer_load_dwordx16 s[24:39], s[4:7], s2 ; encoding: [0x02,0x06,0x30,0xc0,0x02,0x00,0x00,0x00]6800x02,0x06,0x30,0xc0,0x02,0x00,0x00,0x00681 682# CHECK: s_buffer_load_dwordx16 s[84:99], s[4:7], s2 ; encoding: [0x02,0x15,0x30,0xc0,0x02,0x00,0x00,0x00]6830x02,0x15,0x30,0xc0,0x02,0x00,0x00,0x00684 685# CHECK: s_buffer_load_dwordx16 s[20:35], s[8:11], s2 ; encoding: [0x04,0x05,0x30,0xc0,0x02,0x00,0x00,0x00]6860x04,0x05,0x30,0xc0,0x02,0x00,0x00,0x00687 688# CHECK: s_buffer_load_dwordx16 s[20:35], s[96:99], s2 ; encoding: [0x30,0x05,0x30,0xc0,0x02,0x00,0x00,0x00]6890x30,0x05,0x30,0xc0,0x02,0x00,0x00,0x00690 691# CHECK: s_buffer_load_dwordx16 s[20:35], ttmp[8:11], s2 ; encoding: [0x3c,0x05,0x30,0xc0,0x02,0x00,0x00,0x00]6920x3c,0x05,0x30,0xc0,0x02,0x00,0x00,0x00693 694# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], s101 ; encoding: [0x02,0x05,0x30,0xc0,0x65,0x00,0x00,0x00]6950x02,0x05,0x30,0xc0,0x65,0x00,0x00,0x00696 697# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], flat_scratch_lo ; encoding: [0x02,0x05,0x30,0xc0,0x66,0x00,0x00,0x00]6980x02,0x05,0x30,0xc0,0x66,0x00,0x00,0x00699 700# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], flat_scratch_hi ; encoding: [0x02,0x05,0x30,0xc0,0x67,0x00,0x00,0x00]7010x02,0x05,0x30,0xc0,0x67,0x00,0x00,0x00702 703# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], vcc_lo ; encoding: [0x02,0x05,0x30,0xc0,0x6a,0x00,0x00,0x00]7040x02,0x05,0x30,0xc0,0x6a,0x00,0x00,0x00705 706# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], vcc_hi ; encoding: [0x02,0x05,0x30,0xc0,0x6b,0x00,0x00,0x00]7070x02,0x05,0x30,0xc0,0x6b,0x00,0x00,0x00708 709# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], tba_lo ; encoding: [0x02,0x05,0x30,0xc0,0x6c,0x00,0x00,0x00]7100x02,0x05,0x30,0xc0,0x6c,0x00,0x00,0x00711 712# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], tba_hi ; encoding: [0x02,0x05,0x30,0xc0,0x6d,0x00,0x00,0x00]7130x02,0x05,0x30,0xc0,0x6d,0x00,0x00,0x00714 715# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], tma_lo ; encoding: [0x02,0x05,0x30,0xc0,0x6e,0x00,0x00,0x00]7160x02,0x05,0x30,0xc0,0x6e,0x00,0x00,0x00717 718# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], tma_hi ; encoding: [0x02,0x05,0x30,0xc0,0x6f,0x00,0x00,0x00]7190x02,0x05,0x30,0xc0,0x6f,0x00,0x00,0x00720 721# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], ttmp11 ; encoding: [0x02,0x05,0x30,0xc0,0x7b,0x00,0x00,0x00]7220x02,0x05,0x30,0xc0,0x7b,0x00,0x00,0x00723 724# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], m0 ; encoding: [0x02,0x05,0x30,0xc0,0x7c,0x00,0x00,0x00]7250x02,0x05,0x30,0xc0,0x7c,0x00,0x00,0x00726 727# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], 0x7ffff ; encoding: [0x02,0x05,0x32,0xc0,0xff,0xff,0x07,0x00]7280x02,0x05,0x32,0xc0,0xff,0xff,0x07,0x00729 730# CHECK: s_buffer_load_dwordx16 s[20:35], s[4:7], s2 glc ; encoding: [0x02,0x05,0x31,0xc0,0x02,0x00,0x00,0x00]7310x02,0x05,0x31,0xc0,0x02,0x00,0x00,0x00732 733# CHECK: s_store_dword s1, s[4:5], m0            ; encoding: [0x42,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]7340x42,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00735 736# Make sure that raising the GFX9 soffset_en bit doesn't affect GFX8737# decoding.738# CHECK: s_store_dword s1, s[4:5], m0            ; encoding: [0x42,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]7390x42,0x40,0x40,0xc0,0x7c,0x00,0x00,0x00740 741# CHECK: s_store_dword s101, s[4:5], m0          ; encoding: [0x42,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00]7420x42,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00743 744# CHECK: s_store_dword flat_scratch_lo, s[4:5], m0 ; encoding: [0x82,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00]7450x82,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00746 747# CHECK: s_store_dword flat_scratch_hi, s[4:5], m0 ; encoding: [0xc2,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00]7480xc2,0x19,0x40,0xc0,0x7c,0x00,0x00,0x00749 750# CHECK: s_store_dword vcc_lo, s[4:5], m0        ; encoding: [0x82,0x1a,0x40,0xc0,0x7c,0x00,0x00,0x00]7510x82,0x1a,0x40,0xc0,0x7c,0x00,0x00,0x00752 753# CHECK: s_store_dword vcc_hi, s[4:5], m0        ; encoding: [0xc2,0x1a,0x40,0xc0,0x7c,0x00,0x00,0x00]7540xc2,0x1a,0x40,0xc0,0x7c,0x00,0x00,0x00755 756# CHECK: s_store_dword tba_lo, s[4:5], m0        ; encoding: [0x02,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00]7570x02,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00758 759# CHECK: s_store_dword tba_hi, s[4:5], m0        ; encoding: [0x42,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00]7600x42,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00761 762# CHECK: s_store_dword tma_lo, s[4:5], m0        ; encoding: [0x82,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00]7630x82,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00764 765# CHECK: s_store_dword tma_hi, s[4:5], m0        ; encoding: [0xc2,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00]7660xc2,0x1b,0x40,0xc0,0x7c,0x00,0x00,0x00767 768# CHECK: s_store_dword ttmp11, s[4:5], m0        ; encoding: [0xc2,0x1e,0x40,0xc0,0x7c,0x00,0x00,0x00]7690xc2,0x1e,0x40,0xc0,0x7c,0x00,0x00,0x00770 771# CHECK: s_store_dword s1, s[6:7], m0            ; encoding: [0x43,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]7720x43,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00773 774# CHECK: s_store_dword s1, s[100:101], m0        ; encoding: [0x72,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]7750x72,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00776 777# CHECK: s_store_dword s1, flat_scratch, m0      ; encoding: [0x73,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]7780x73,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00779 780# CHECK: s_store_dword s1, vcc, m0               ; encoding: [0x75,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]7810x75,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00782 783# CHECK: s_store_dword s1, tba, m0               ; encoding: [0x76,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]7840x76,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00785 786# CHECK: s_store_dword s1, tma, m0               ; encoding: [0x77,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]7870x77,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00788 789# CHECK: s_store_dword s1, ttmp[10:11], m0       ; encoding: [0x7d,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00]7900x7d,0x00,0x40,0xc0,0x7c,0x00,0x00,0x00791 792# CHECK: s_store_dword s1, s[4:5], 0x7ffff       ; encoding: [0x42,0x00,0x42,0xc0,0xff,0xff,0x07,0x00]7930x42,0x00,0x42,0xc0,0xff,0xff,0x07,0x00794 795# Make sure that raising the GFX9 soffset_en bit doesn't affect GFX8796# decoding.797# CHECK: s_store_dword s1, s[4:5], 0x7ffff       ; encoding: [0x42,0x00,0x42,0xc0,0xff,0xff,0x07,0x00]7980x42,0x40,0x42,0xc0,0xff,0xff,0x07,0x00799 800# CHECK: s_store_dword s1, s[4:5], m0 glc        ; encoding: [0x42,0x00,0x41,0xc0,0x7c,0x00,0x00,0x00]8010x42,0x00,0x41,0xc0,0x7c,0x00,0x00,0x00802 803# CHECK: s_store_dwordx2 s[2:3], s[4:5], m0      ; encoding: [0x82,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]8040x82,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00805 806# CHECK: s_store_dwordx2 s[4:5], s[4:5], m0      ; encoding: [0x02,0x01,0x44,0xc0,0x7c,0x00,0x00,0x00]8070x02,0x01,0x44,0xc0,0x7c,0x00,0x00,0x00808 809# CHECK: s_store_dwordx2 s[100:101], s[4:5], m0  ; encoding: [0x02,0x19,0x44,0xc0,0x7c,0x00,0x00,0x00]8100x02,0x19,0x44,0xc0,0x7c,0x00,0x00,0x00811 812# CHECK: s_store_dwordx2 flat_scratch, s[4:5], m0 ; encoding: [0x82,0x19,0x44,0xc0,0x7c,0x00,0x00,0x00]8130x82,0x19,0x44,0xc0,0x7c,0x00,0x00,0x00814 815# CHECK: s_store_dwordx2 vcc, s[4:5], m0         ; encoding: [0x82,0x1a,0x44,0xc0,0x7c,0x00,0x00,0x00]8160x82,0x1a,0x44,0xc0,0x7c,0x00,0x00,0x00817 818# CHECK: s_store_dwordx2 tba, s[4:5], m0         ; encoding: [0x02,0x1b,0x44,0xc0,0x7c,0x00,0x00,0x00]8190x02,0x1b,0x44,0xc0,0x7c,0x00,0x00,0x00820 821# CHECK: s_store_dwordx2 tma, s[4:5], m0         ; encoding: [0x82,0x1b,0x44,0xc0,0x7c,0x00,0x00,0x00]8220x82,0x1b,0x44,0xc0,0x7c,0x00,0x00,0x00823 824# CHECK: s_store_dwordx2 ttmp[10:11], s[4:5], m0 ; encoding: [0x82,0x1e,0x44,0xc0,0x7c,0x00,0x00,0x00]8250x82,0x1e,0x44,0xc0,0x7c,0x00,0x00,0x00826 827# CHECK: s_store_dwordx2 s[2:3], s[6:7], m0      ; encoding: [0x83,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]8280x83,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00829 830# CHECK: s_store_dwordx2 s[2:3], s[100:101], m0  ; encoding: [0xb2,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]8310xb2,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00832 833# CHECK: s_store_dwordx2 s[2:3], flat_scratch, m0 ; encoding: [0xb3,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]8340xb3,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00835 836# CHECK: s_store_dwordx2 s[2:3], vcc, m0         ; encoding: [0xb5,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]8370xb5,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00838 839# CHECK: s_store_dwordx2 s[2:3], tba, m0         ; encoding: [0xb6,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]8400xb6,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00841 842# CHECK: s_store_dwordx2 s[2:3], tma, m0         ; encoding: [0xb7,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]8430xb7,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00844 845# CHECK: s_store_dwordx2 s[2:3], ttmp[10:11], m0 ; encoding: [0xbd,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00]8460xbd,0x00,0x44,0xc0,0x7c,0x00,0x00,0x00847 848# CHECK: s_store_dwordx2 s[2:3], s[4:5], 0x7ffff ; encoding: [0x82,0x00,0x46,0xc0,0xff,0xff,0x07,0x00]8490x82,0x00,0x46,0xc0,0xff,0xff,0x07,0x00850 851# CHECK: s_store_dwordx2 s[2:3], s[4:5], m0 glc  ; encoding: [0x82,0x00,0x45,0xc0,0x7c,0x00,0x00,0x00]8520x82,0x00,0x45,0xc0,0x7c,0x00,0x00,0x00853 854# CHECK: s_store_dwordx4 s[4:7], s[4:5], m0      ; encoding: [0x02,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]8550x02,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00856 857# CHECK: s_store_dwordx4 s[8:11], s[4:5], m0     ; encoding: [0x02,0x02,0x48,0xc0,0x7c,0x00,0x00,0x00]8580x02,0x02,0x48,0xc0,0x7c,0x00,0x00,0x00859 860# CHECK: s_store_dwordx4 s[96:99], s[4:5], m0    ; encoding: [0x02,0x18,0x48,0xc0,0x7c,0x00,0x00,0x00]8610x02,0x18,0x48,0xc0,0x7c,0x00,0x00,0x00862 863# CHECK: s_store_dwordx4 ttmp[8:11], s[4:5], m0  ; encoding: [0x02,0x1e,0x48,0xc0,0x7c,0x00,0x00,0x00]8640x02,0x1e,0x48,0xc0,0x7c,0x00,0x00,0x00865 866# CHECK: s_store_dwordx4 s[4:7], s[6:7], m0      ; encoding: [0x03,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]8670x03,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00868 869# CHECK: s_store_dwordx4 s[4:7], s[100:101], m0  ; encoding: [0x32,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]8700x32,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00871 872# CHECK: s_store_dwordx4 s[4:7], flat_scratch, m0 ; encoding: [0x33,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]8730x33,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00874 875# CHECK: s_store_dwordx4 s[4:7], vcc, m0         ; encoding: [0x35,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]8760x35,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00877 878# CHECK: s_store_dwordx4 s[4:7], tba, m0         ; encoding: [0x36,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]8790x36,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00880 881# CHECK: s_store_dwordx4 s[4:7], tma, m0         ; encoding: [0x37,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]8820x37,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00883 884# CHECK: s_store_dwordx4 s[4:7], ttmp[10:11], m0 ; encoding: [0x3d,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00]8850x3d,0x01,0x48,0xc0,0x7c,0x00,0x00,0x00886 887# CHECK: s_store_dwordx4 s[4:7], s[4:5], 0x7ffff ; encoding: [0x02,0x01,0x4a,0xc0,0xff,0xff,0x07,0x00]8880x02,0x01,0x4a,0xc0,0xff,0xff,0x07,0x00889 890# CHECK: s_store_dwordx4 s[4:7], s[4:5], m0 glc  ; encoding: [0x02,0x01,0x49,0xc0,0x7c,0x00,0x00,0x00]8910x02,0x01,0x49,0xc0,0x7c,0x00,0x00,0x00892 893# CHECK: s_buffer_store_dword s1, s[8:11], m0    ; encoding: [0x44,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]8940x44,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00895 896# CHECK: s_buffer_store_dword s101, s[8:11], m0  ; encoding: [0x44,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00]8970x44,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00898 899# CHECK: s_buffer_store_dword flat_scratch_lo, s[8:11], m0 ; encoding: [0x84,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00]9000x84,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00901 902# CHECK: s_buffer_store_dword flat_scratch_hi, s[8:11], m0 ; encoding: [0xc4,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00]9030xc4,0x19,0x60,0xc0,0x7c,0x00,0x00,0x00904 905# CHECK: s_buffer_store_dword vcc_lo, s[8:11], m0 ; encoding: [0x84,0x1a,0x60,0xc0,0x7c,0x00,0x00,0x00]9060x84,0x1a,0x60,0xc0,0x7c,0x00,0x00,0x00907 908# CHECK: s_buffer_store_dword vcc_hi, s[8:11], m0 ; encoding: [0xc4,0x1a,0x60,0xc0,0x7c,0x00,0x00,0x00]9090xc4,0x1a,0x60,0xc0,0x7c,0x00,0x00,0x00910 911# CHECK: s_buffer_store_dword tba_lo, s[8:11], m0 ; encoding: [0x04,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00]9120x04,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00913 914# CHECK: s_buffer_store_dword tba_hi, s[8:11], m0 ; encoding: [0x44,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00]9150x44,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00916 917# CHECK: s_buffer_store_dword tma_lo, s[8:11], m0 ; encoding: [0x84,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00]9180x84,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00919 920# CHECK: s_buffer_store_dword tma_hi, s[8:11], m0 ; encoding: [0xc4,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00]9210xc4,0x1b,0x60,0xc0,0x7c,0x00,0x00,0x00922 923# CHECK: s_buffer_store_dword ttmp11, s[8:11], m0 ; encoding: [0xc4,0x1e,0x60,0xc0,0x7c,0x00,0x00,0x00]9240xc4,0x1e,0x60,0xc0,0x7c,0x00,0x00,0x00925 926# CHECK: s_buffer_store_dword s1, s[12:15], m0   ; encoding: [0x46,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]9270x46,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00928 929# CHECK: s_buffer_store_dword s1, s[96:99], m0   ; encoding: [0x70,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]9300x70,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00931 932# CHECK: s_buffer_store_dword s1, ttmp[8:11], m0 ; encoding: [0x7c,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00]9330x7c,0x00,0x60,0xc0,0x7c,0x00,0x00,0x00934 935# CHECK: s_buffer_store_dword s1, s[8:11], 0x7ffff ; encoding: [0x44,0x00,0x62,0xc0,0xff,0xff,0x07,0x00]9360x44,0x00,0x62,0xc0,0xff,0xff,0x07,0x00937 938# CHECK: s_buffer_store_dword s1, s[8:11], m0 glc ; encoding: [0x44,0x00,0x61,0xc0,0x7c,0x00,0x00,0x00]9390x44,0x00,0x61,0xc0,0x7c,0x00,0x00,0x00940 941# CHECK: s_buffer_store_dwordx2 s[2:3], s[8:11], m0 ; encoding: [0x84,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]9420x84,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00943 944# CHECK: s_buffer_store_dwordx2 s[4:5], s[8:11], m0 ; encoding: [0x04,0x01,0x64,0xc0,0x7c,0x00,0x00,0x00]9450x04,0x01,0x64,0xc0,0x7c,0x00,0x00,0x00946 947# CHECK: s_buffer_store_dwordx2 s[100:101], s[8:11], m0 ; encoding: [0x04,0x19,0x64,0xc0,0x7c,0x00,0x00,0x00]9480x04,0x19,0x64,0xc0,0x7c,0x00,0x00,0x00949 950# CHECK: s_buffer_store_dwordx2 flat_scratch, s[8:11], m0 ; encoding: [0x84,0x19,0x64,0xc0,0x7c,0x00,0x00,0x00]9510x84,0x19,0x64,0xc0,0x7c,0x00,0x00,0x00952 953# CHECK: s_buffer_store_dwordx2 vcc, s[8:11], m0 ; encoding: [0x84,0x1a,0x64,0xc0,0x7c,0x00,0x00,0x00]9540x84,0x1a,0x64,0xc0,0x7c,0x00,0x00,0x00955 956# CHECK: s_buffer_store_dwordx2 tba, s[8:11], m0 ; encoding: [0x04,0x1b,0x64,0xc0,0x7c,0x00,0x00,0x00]9570x04,0x1b,0x64,0xc0,0x7c,0x00,0x00,0x00958 959# CHECK: s_buffer_store_dwordx2 tma, s[8:11], m0 ; encoding: [0x84,0x1b,0x64,0xc0,0x7c,0x00,0x00,0x00]9600x84,0x1b,0x64,0xc0,0x7c,0x00,0x00,0x00961 962# CHECK: s_buffer_store_dwordx2 ttmp[10:11], s[8:11], m0 ; encoding: [0x84,0x1e,0x64,0xc0,0x7c,0x00,0x00,0x00]9630x84,0x1e,0x64,0xc0,0x7c,0x00,0x00,0x00964 965# CHECK: s_buffer_store_dwordx2 s[2:3], s[12:15], m0 ; encoding: [0x86,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]9660x86,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00967 968# CHECK: s_buffer_store_dwordx2 s[2:3], s[96:99], m0 ; encoding: [0xb0,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]9690xb0,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00970 971# CHECK: s_buffer_store_dwordx2 s[2:3], ttmp[8:11], m0 ; encoding: [0xbc,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00]9720xbc,0x00,0x64,0xc0,0x7c,0x00,0x00,0x00973 974# CHECK: s_buffer_store_dwordx2 s[2:3], s[8:11], 0x7ffff ; encoding: [0x84,0x00,0x66,0xc0,0xff,0xff,0x07,0x00]9750x84,0x00,0x66,0xc0,0xff,0xff,0x07,0x00976 977# CHECK: s_buffer_store_dwordx2 s[2:3], s[8:11], m0 glc ; encoding: [0x84,0x00,0x65,0xc0,0x7c,0x00,0x00,0x00]9780x84,0x00,0x65,0xc0,0x7c,0x00,0x00,0x00979 980# CHECK: s_buffer_store_dwordx4 s[4:7], s[8:11], m0 ; encoding: [0x04,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00]9810x04,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00982 983# CHECK: s_buffer_store_dwordx4 s[8:11], s[8:11], m0 ; encoding: [0x04,0x02,0x68,0xc0,0x7c,0x00,0x00,0x00]9840x04,0x02,0x68,0xc0,0x7c,0x00,0x00,0x00985 986# CHECK: s_buffer_store_dwordx4 s[96:99], s[8:11], m0 ; encoding: [0x04,0x18,0x68,0xc0,0x7c,0x00,0x00,0x00]9870x04,0x18,0x68,0xc0,0x7c,0x00,0x00,0x00988 989# CHECK: s_buffer_store_dwordx4 ttmp[8:11], s[8:11], m0 ; encoding: [0x04,0x1e,0x68,0xc0,0x7c,0x00,0x00,0x00]9900x04,0x1e,0x68,0xc0,0x7c,0x00,0x00,0x00991 992# CHECK: s_buffer_store_dwordx4 s[4:7], s[12:15], m0 ; encoding: [0x06,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00]9930x06,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00994 995# CHECK: s_buffer_store_dwordx4 s[4:7], s[96:99], m0 ; encoding: [0x30,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00]9960x30,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00997 998# CHECK: s_buffer_store_dwordx4 s[4:7], ttmp[8:11], m0 ; encoding: [0x3c,0x01,0x68,0xc0,0x7c,0x00,0x00,0x00]9990x3c,0x01,0x68,0xc0,0x7c,0x00,0x00,0x001000 1001# CHECK: s_buffer_store_dwordx4 s[4:7], s[8:11], 0x7ffff ; encoding: [0x04,0x01,0x6a,0xc0,0xff,0xff,0x07,0x00]10020x04,0x01,0x6a,0xc0,0xff,0xff,0x07,0x001003 1004# CHECK: s_buffer_store_dwordx4 s[4:7], s[8:11], m0 glc ; encoding: [0x04,0x01,0x69,0xc0,0x7c,0x00,0x00,0x00]10050x04,0x01,0x69,0xc0,0x7c,0x00,0x00,0x001006 1007# CHECK: s_dcache_inv                            ; encoding: [0x00,0x00,0x80,0xc0,0x00,0x00,0x00,0x00]10080x00,0x00,0x80,0xc0,0x00,0x00,0x00,0x001009 1010# CHECK: s_dcache_wb                             ; encoding: [0x00,0x00,0x84,0xc0,0x00,0x00,0x00,0x00]10110x00,0x00,0x84,0xc0,0x00,0x00,0x00,0x001012 1013# CHECK: s_dcache_inv_vol                        ; encoding: [0x00,0x00,0x88,0xc0,0x00,0x00,0x00,0x00]10140x00,0x00,0x88,0xc0,0x00,0x00,0x00,0x001015 1016# CHECK: s_dcache_wb_vol                         ; encoding: [0x00,0x00,0x8c,0xc0,0x00,0x00,0x00,0x00]10170x00,0x00,0x8c,0xc0,0x00,0x00,0x00,0x001018 1019# CHECK: s_memtime s[10:11]                      ; encoding: [0x80,0x02,0x90,0xc0,0x00,0x00,0x00,0x00]10200x80,0x02,0x90,0xc0,0x00,0x00,0x00,0x001021 1022# CHECK: s_memtime s[12:13]                      ; encoding: [0x00,0x03,0x90,0xc0,0x00,0x00,0x00,0x00]10230x00,0x03,0x90,0xc0,0x00,0x00,0x00,0x001024 1025# CHECK: s_memtime s[100:101]                    ; encoding: [0x00,0x19,0x90,0xc0,0x00,0x00,0x00,0x00]10260x00,0x19,0x90,0xc0,0x00,0x00,0x00,0x001027 1028# CHECK: s_memtime flat_scratch                  ; encoding: [0x80,0x19,0x90,0xc0,0x00,0x00,0x00,0x00]10290x80,0x19,0x90,0xc0,0x00,0x00,0x00,0x001030 1031# CHECK: s_memtime vcc                           ; encoding: [0x80,0x1a,0x90,0xc0,0x00,0x00,0x00,0x00]10320x80,0x1a,0x90,0xc0,0x00,0x00,0x00,0x001033 1034# CHECK: s_memtime tba                           ; encoding: [0x00,0x1b,0x90,0xc0,0x00,0x00,0x00,0x00]10350x00,0x1b,0x90,0xc0,0x00,0x00,0x00,0x001036 1037# CHECK: s_memtime tma                           ; encoding: [0x80,0x1b,0x90,0xc0,0x00,0x00,0x00,0x00]10380x80,0x1b,0x90,0xc0,0x00,0x00,0x00,0x001039 1040# CHECK: s_memtime ttmp[10:11]                   ; encoding: [0x80,0x1e,0x90,0xc0,0x00,0x00,0x00,0x00]10410x80,0x1e,0x90,0xc0,0x00,0x00,0x00,0x001042 1043# CHECK: s_memrealtime s[10:11]                  ; encoding: [0x80,0x02,0x94,0xc0,0x00,0x00,0x00,0x00]10440x80,0x02,0x94,0xc0,0x00,0x00,0x00,0x001045 1046# CHECK: s_memrealtime s[12:13]                  ; encoding: [0x00,0x03,0x94,0xc0,0x00,0x00,0x00,0x00]10470x00,0x03,0x94,0xc0,0x00,0x00,0x00,0x001048 1049# CHECK: s_memrealtime s[100:101]                ; encoding: [0x00,0x19,0x94,0xc0,0x00,0x00,0x00,0x00]10500x00,0x19,0x94,0xc0,0x00,0x00,0x00,0x001051 1052# CHECK: s_memrealtime flat_scratch              ; encoding: [0x80,0x19,0x94,0xc0,0x00,0x00,0x00,0x00]10530x80,0x19,0x94,0xc0,0x00,0x00,0x00,0x001054 1055# CHECK: s_memrealtime vcc                       ; encoding: [0x80,0x1a,0x94,0xc0,0x00,0x00,0x00,0x00]10560x80,0x1a,0x94,0xc0,0x00,0x00,0x00,0x001057 1058# CHECK: s_memrealtime tba                       ; encoding: [0x00,0x1b,0x94,0xc0,0x00,0x00,0x00,0x00]10590x00,0x1b,0x94,0xc0,0x00,0x00,0x00,0x001060 1061# CHECK: s_memrealtime tma                       ; encoding: [0x80,0x1b,0x94,0xc0,0x00,0x00,0x00,0x00]10620x80,0x1b,0x94,0xc0,0x00,0x00,0x00,0x001063 1064# CHECK: s_memrealtime ttmp[10:11]               ; encoding: [0x80,0x1e,0x94,0xc0,0x00,0x00,0x00,0x00]10650x80,0x1e,0x94,0xc0,0x00,0x00,0x00,0x001066 1067# CHECK: s_atc_probe 7, s[4:5], s0               ; encoding: [0xc2,0x01,0x98,0xc0,0x00,0x00,0x00,0x00]10680xc2,0x01,0x98,0xc0,0x00,0x00,0x00,0x001069 1070# CHECK: s_atc_probe 0, s[4:5], 0x0              ; encoding: [0x02,0x00,0x9a,0xc0,0x00,0x00,0x00,0x00]10710x02,0x00,0x9a,0xc0,0x00,0x00,0x00,0x001072 1073# CHECK: s_atc_probe_buffer 1, s[8:11], s0       ; encoding: [0x44,0x00,0x9c,0xc0,0x00,0x00,0x00,0x00]10740x44,0x00,0x9c,0xc0,0x00,0x00,0x00,0x001075 1076# CHECK: s_atc_probe_buffer 0, s[8:11], s101     ; encoding: [0x04,0x00,0x9c,0xc0,0x65,0x00,0x00,0x00]10770x04,0x00,0x9c,0xc0,0x65,0x00,0x00,0x001078 1079#===------------------------------------------------------------------------===#1080# Unsigned 20-bit offsets1081#===------------------------------------------------------------------------===#1082 1083# CHECK: s_atc_probe 7, s[4:5], 0xfffff          ; encoding: [0xc2,0x01,0x9a,0xc0,0xff,0xff,0x0f,0x00]10840xc2,0x01,0x9a,0xc0,0xff,0xff,0x0f,0x001085 1086# CHECK: s_atc_probe_buffer 1, s[8:11], 0xfffff  ; encoding: [0x44,0x00,0x9e,0xc0,0xff,0xff,0x0f,0x00]10870x44,0x00,0x9e,0xc0,0xff,0xff,0x0f,0x001088 1089# CHECK: s_load_dword s1, s[2:3], 0xfffff        ; encoding: [0x41,0x00,0x02,0xc0,0xff,0xff,0x0f,0x00]10900x41,0x00,0x02,0xc0,0xff,0xff,0x0f,0x001091 1092# CHECK: s_store_dword s1, s[2:3], 0xfffff       ; encoding: [0x41,0x00,0x42,0xc0,0xff,0xff,0x0f,0x00]10930x41,0x00,0x42,0xc0,0xff,0xff,0x0f,0x001094 1095# CHECK: s_buffer_store_dword s10, s[92:95], 0xfffff ; encoding: [0xae,0x02,0x62,0xc0,0xff,0xff,0x0f,0x00]10960xae,0x02,0x62,0xc0,0xff,0xff,0x0f,0x001097 1098#===------------------------------------------------------------------------===#1099# Decoding of invalid (21-bit) buffer offsets1100#===------------------------------------------------------------------------===#1101 1102# CHECK: s_store_dword s1, s[2:3], 0xfffff       ; encoding: [0x41,0x00,0x42,0xc0,0xff,0xff,0x0f,0x00]11030x41,0x00,0x42,0xc0,0xff,0xff,0x1f,0x001104 1105# CHECK: s_buffer_store_dword s10, s[92:95], 0xfffff ; encoding: [0xae,0x02,0x62,0xc0,0xff,0xff,0x0f,0x00]11060xae,0x02,0x62,0xc0,0xff,0xff,0x1f,0x001107