1 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx908
%s
2>&1 | FileCheck
-check-prefix
=GFX908
%s
2 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx900
%s
2>&1 | FileCheck
-check-prefix
=GFX900
%s
4 v_accvgpr_read_b32 v0
, v0
5 // GFX908
: error
: invalid operand for instruction
7 v_accvgpr_read_b32 a0
, a0
8 // GFX908
: error
: invalid operand for instruction
10 v_accvgpr_read_b32 v0
, 1
11 // GFX908
: error
: invalid operand for instruction
13 v_accvgpr_read_b32 v0
, s0
14 // GFX908
: error
: invalid operand for instruction
16 v_accvgpr_read_b32 v0
, a0
17 // GFX900
: error
: instruction
not supported on this GPU
19 v_accvgpr_write_b32 v0
, v0
20 // GFX908
: error
: invalid operand for instruction
22 v_accvgpr_write_b32 a0
, a0
23 // GFX908
: error
: invalid operand for instruction
25 v_accvgpr_write_b32 a0
, s0
26 // GFX908
: error
: invalid operand for instruction
28 v_accvgpr_write_b32 a0
, 65
29 // GFX908
: error
: invalid operand for instruction
31 v_accvgpr_write_b32 a0
, v0
32 // GFX900
: error
: instruction
not supported on this GPU
34 v_mfma_f32_32x32x1f32 v
[0:31], v0
, v1
, a[1:32]
35 // GFX908
: error
: invalid operand for instruction
37 v_mfma_f32_32x32x1f32
a[0:31], v0
, v1
, v
[1:32]
38 // GFX908
: error
: invalid operand for instruction
40 v_mfma_f32_32x32x1f32
a[0:31], s0
, v1
, a[1:32]
41 // GFX908
: error
: invalid operand for instruction
43 v_mfma_f32_32x32x1f32
a[0:31], 1, v1
, a[1:32]
44 // GFX908
: error
: invalid operand for instruction
46 v_mfma_f32_32x32x1f32
a[0:31], v0
, v1
, 65
47 // GFX908
: error
: invalid operand for instruction
49 v_mfma_f32_32x32x1f32
a[0:31], v0
, v1
, 0
50 // GFX900
: error
: instruction
not supported on this GPU