xref: /llvm-project/llvm/test/MC/AMDGPU/mai-err-gfx940.s (revision 252c42354eca54274ed7b10c32c73c6937478e8b)
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx940 %s 2>&1 | FileCheck -check-prefix=GFX940 %s
2
3v_mfma_f32_32x32x2bf16 a[0:31], v0, v1, 0
4// GFX940: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
5
6v_mfma_f32_16x16x2bf16 a[0:15], v0, v1, 0
7// GFX940: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
8
9v_mfma_f32_4x4x2bf16 a[0:3], v0, v1, 0
10// GFX940: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
11
12v_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
14
15v_mfma_f32_16x16x8bf16 a[0:3], v0, v1, 0
16// GFX940: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
17
18v_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
20
21v_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
23
24v_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
26
27v_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
29
30v_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
32
33v_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
35
36v_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
38
39v_mfma_i32_32x32x8i8 a[0:15], v0, v1, a[0:15]
40// GFX940: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
41
42v_mfma_i32_16x16x16i8 a[0:3], v0, v1, a[0:3]
43// GFX940: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
44
45v_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
47