1 // RUN
: llvm-mc
-triple
=amdgcn
-mcpu
=tahiti
%s | FileCheck
-check-prefix
=SI
%s
2 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=tonga
%s
2>&1 | FileCheck
-check-prefix
=NOVI
--implicit-check-
not=error
: %s
4 s_load_dwordx4 s
[100:103], s
[2:3], s4
5 // NOVI
: :[[@LINE-
1]]:{{[0-9]+}}: error
: s
[100:103] register
not available on this GPU
6 // SI
: s_load_dwordx4 s
[100:103], s
[2:3], s4
8 s_load_dwordx8 s
[96:103], s
[2:3], s4
9 // NOVI
: :[[@LINE-
1]]:{{[0-9]+}}: error
: s
[96:103] register
not available on this GPU
10 // SI
: s_load_dwordx8 s
[96:103], s
[2:3], s4
12 s_load_dwordx16 s
[88:103], s
[2:3], s4
13 // NOVI
: :[[@LINE-
1]]:{{[0-9]+}}: error
: s
[88:103] register
not available on this GPU
14 // SI
: s_load_dwordx16 s
[88:103], s
[2:3], s4