1 // RUN
: llvm-mc
-arch
=amdgcn
-mcpu
=tahiti
%s
2>&1 | FileCheck
-check-prefix
=GCN
-check-prefix
=SI
%s
2 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=tonga
%s
2>&1 | FileCheck
-check-prefix
=GCN
-check-prefix
=VI
%s
4 s_load_dwordx4 s
[100:103], s
[2:3], s4
5 // VI
: error
: not a valid operand
6 // SI
: s_load_dwordx4 s
[100:103], s
[2:3], s4
9 s_load_dwordx8 s
[96:103], s
[2:3], s4
10 // VI
: error
: not a valid operand
11 // SI
: s_load_dwordx8 s
[96:103], s
[2:3], s4
13 s_load_dwordx16 s
[88:103], s
[2:3], s4
14 // VI
: error
: not a valid operand
15 // SI
: s_load_dwordx16 s
[88:103], s
[2:3], s4