1 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=gfx940
%s
2>&1 | FileCheck
-check-prefix
=GFX940
%s
3 v_mfma_f32_32x32x2bf16
a[0:31], v0
, v1
, 0
4 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
6 v_mfma_f32_16x16x2bf16
a[0:15], v0
, v1
, 0
7 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
9 v_mfma_f32_4x4x2bf16
a[0:3], v0
, v1
, 0
10 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
12 v_mfma_f32_32x32x4bf16
a[0:15], v0
, v1
, 0
13 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: operands are
not valid for this GPU
or mode
15 v_mfma_f32_16x16x8bf16
a[0:3], v0
, v1
, 0
16 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
18 v_mfma_f32_32x32x1f32
a[0:31], v0
, v1
, a[0:31] neg:[1,0,0]
19 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid modifier
: neg is
not supported
21 v_mfma_f32_32x32x1_2b_f32
a[0:31], v0
, v1
, a[0:31] neg:[1,0,0]
22 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid modifier
: neg is
not supported
24 v_mfma_f64_16x16x4_f64 v
[0:7], v
[0:1], v
[2:3], v
[0:7] blgp
:7
25 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid modifier
: blgp is
not supported
27 v_mfma_f64_16x16x4f64 v
[0:7], v
[0:1], v
[2:3], v
[0:7] blgp
:7
28 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid modifier
: blgp is
not supported
30 v_mfma_f64_16x16x4_f64
a[0:7], v
[0:1], v
[2:3], a[0:7] blgp
:7
31 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid modifier
: blgp is
not supported
33 v_mfma_f64_4x4x4_4b_f64 v
[0:1], v
[0:1], a[2:3], v
[2:3] blgp
:7
34 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid modifier
: blgp is
not supported
36 v_mfma_f64_4x4x4_4b_f64
a[0:1], v
[0:1], a[2:3], a[2:3] blgp
:7
37 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid modifier
: blgp is
not supported
39 v_mfma_i32_32x32x8i8
a[0:15], v0
, v1
, a[0:15]
40 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
42 v_mfma_i32_16x16x16i8
a[0:3], v0
, v1
, a[0:3]
43 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
45 v_mfma_f64_16x16x4_f64
a[0:7], v
[0:1], v
[2:3], a[2:9]
46 // GFX940
: :[[@LINE-
1]]:{{[0-9]+}}: error
: source
2 operand must
not partially overlap with
dst