xref: /llvm-project/llvm/test/MC/AMDGPU/gfx1011_err.s (revision 680c780a367bfe1c0cdf786250fd7f565ef6d23d)
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1011 %s 2>&1 | FileCheck --check-prefix=GFX10 --implicit-check-not=error: %s
2// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1012 %s 2>&1 | FileCheck --check-prefix=GFX10 --implicit-check-not=error: %s
3
4v_dot8c_i32_i4 v5, v1, v2
5// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
6
7v_dot8c_i32_i4 v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
8// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
9
10v_dot8c_i32_i4 v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 fi:1
11// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
12
13v_dot8c_i32_i4 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
14// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
15
16v_dot8c_i32_i4 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
17// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
18
19s_getreg_b32 s2, hwreg(HW_REG_SHADER_CYCLES)
20// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid hardware register: not supported on this GPU
21
22v_fma_legacy_f32 v0, v1, v2, v3
23// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
24
25v_fmac_legacy_f32 v0, v1, v2
26// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
27
28image_bvh_intersect_ray v[4:7], v[9:24], s[4:7]
29// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
30
31image_bvh_intersect_ray v[4:7], v[9:16], s[4:7] a16
32// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
33
34image_bvh64_intersect_ray v[4:7], v[9:24], s[4:7]
35// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
36
37image_bvh64_intersect_ray v[4:7], v[9:24], s[4:7] a16
38// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
39
40image_msaa_load v[1:4], v5, s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D
41// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
42
43image_msaa_load v[1:4], v5, s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D glc
44// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
45
46image_msaa_load v5, v[1:2], s[8:15] dmask:0x1 dim:SQ_RSRC_IMG_2D d16
47// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
48
49image_msaa_load v[1:4], v5, s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D
50// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
51
52image_msaa_load v14, [v204,v11,v14,v19], s[40:47] dmask:0x1 dim:SQ_RSRC_IMG_2D_MSAA_ARRAY
53// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
54