1 // RUN
: not llvm-mc
-triple
=amdgcn
%s
2>&1 | FileCheck
%s
--check-prefix
=GFX67
--check-prefix
=GCN
--implicit-check-
not=error
:
2 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=tahiti
%s
2>&1 | FileCheck
%s
--check-prefix
=GFX67
--check-prefix
=GCN
--implicit-check-
not=error
:
3 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=fiji
%s
2>&1 | FileCheck
%s
--check-prefix
=GFX89
--check-prefix
=GCN
--implicit-check-
not=error
:
4 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=gfx900
%s
2>&1 | FileCheck
%s
--check-prefix
=GFX89
--check-prefix
=GCN
--implicit-check-
not=error
:
7 // GCN
: :[[@LINE-
1]]:{{[0-9]+}}: error
: too few operands for instruction
9 v_div_scale_f32 v24
, vcc
, v22
, 1.1, v22
10 // GCN
: :[[@LINE-
1]]:{{[0-9]+}}: error
: literal operands are
not supported
12 v_mqsad_u32_u8 v
[0:3], s
[2:3], v4
, v
[0:3]
13 // GFX67
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
15 v_cmp_eq_f32_e64 vcc
, v0
, v1
mul:2
16 // GFX67
: :[[@LINE-
1]]:{{[0-9]+}}: error
: not a valid operand.
17 // GFX89
: :[[@LINE-
2]]:{{[0-9]+}}: error
: not a valid operand.
19 v_cmp_le_f64_e64 vcc
, v0
, v1
mul:4
20 // GCN
: :[[@LINE-
1]]:{{[0-9]+}}: error
: not a valid operand.
26 v_cvt_f64_i32 v
[5:6], s1
mul:3
27 // GCN
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid
mul value.
33 v_interp_mov_f32_e64 v5
, p10
, attr0.x high
34 // GFX67
: :[[@LINE-
1]]:{{[0-9]+}}: error
: e64 variant of this instruction is
not supported
35 // GFX89
: :[[@LINE-
2]]:{{[0-9]+}}: error
: invalid operand for instruction
37 v_interp_mov_f32_e64 v5
, p10
, attr0.x v0
38 // GFX67
: :[[@LINE-
1]]:{{[0-9]+}}: error
: e64 variant of this instruction is
not supported
39 // GFX89
: :[[@LINE-
2]]:{{[0-9]+}}: error
: invalid operand for instruction
41 v_interp_p1_f32_e64 v5
, v2
, attr0.x high
42 // GFX67
: :[[@LINE-
1]]:{{[0-9]+}}: error
: e64 variant of this instruction is
not supported
43 // GFX89
: :[[@LINE-
2]]:{{[0-9]+}}: error
: invalid operand for instruction
45 v_interp_p1_f32_e64 v5
, v2
, attr0.x v0
46 // GFX67
: :[[@LINE-
1]]:{{[0-9]+}}: error
: e64 variant of this instruction is
not supported
47 // GFX89
: :[[@LINE-
2]]:{{[0-9]+}}: error
: invalid operand for instruction
49 v_interp_p2_f32_e64 v255
, v2
, attr0.x high
50 // GFX67
: :[[@LINE-
1]]:{{[0-9]+}}: error
: e64 variant of this instruction is
not supported
51 // GFX89
: :[[@LINE-
2]]:{{[0-9]+}}: error
: invalid operand for instruction
53 v_interp_p2_f32_e64 v255
, v2
, attr0.x v0
54 // GFX67
: :[[@LINE-
1]]:{{[0-9]+}}: error
: e64 variant of this instruction is
not supported
55 // GFX89
: :[[@LINE-
2]]:{{[0-9]+}}: error
: invalid operand for instruction
57 v_interp_p1ll_f16 v5
, p0
, attr31.x
58 // GFX67
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
59 // GFX89
: :[[@LINE-
2]]:{{[0-9]+}}: error
: invalid operand for instruction
61 v_interp_p1ll_f16 v5
, v2
, attr31.x v0
62 // GFX67
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
63 // GFX89
: :[[@LINE-
2]]:{{[0-9]+}}: error
: invalid operand for instruction
65 v_interp_p2_f16 v5
, v2
, attr1.x
, v3
mul:2
66 // GFX67
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
67 // GFX89
: :[[@LINE-
2]]:{{[0-9]+}}: error
: not a valid operand.
73 v_div_scale_f32 v24
, vcc
, v22
, v22
, |v20|
74 // GCN
: :[[@LINE-
1]]:{{[0-9]+}}: error
: ABS not allowed in VOP3B instructions
76 v_div_scale_f64 v
[24:25], vcc
, -|v
[22:23]|
, v
[22:23], v
[20:21]
77 // GCN
: :[[@LINE-
1]]:{{[0-9]+}}: error
: ABS not allowed in VOP3B instructions