54 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1011 %s 2>&1 | FileCheck --check-prefix=GFX10 --implicit-check-not=error: %s2// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1012 %s 2>&1 | FileCheck --check-prefix=GFX10 --implicit-check-not=error: %s3 4v_dot8c_i32_i4 v5, v1, v25// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU6 7v_dot8c_i32_i4 v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x08// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU9 10v_dot8c_i32_i4 v5, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 fi:111// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU12 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 GPU15 16v_dot8c_i32_i4 v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:117// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU18 19s_getreg_b32 s2, hwreg(HW_REG_SHADER_CYCLES)20// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: invalid hardware register: not supported on this GPU21 22v_fma_legacy_f32 v0, v1, v2, v323// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU24 25v_fmac_legacy_f32 v0, v1, v226// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU27 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 GPU30 31image_bvh_intersect_ray v[4:7], v[9:16], s[4:7] a1632// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU33 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 GPU36 37image_bvh64_intersect_ray v[4:7], v[9:24], s[4:7] a1638// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU39 40image_msaa_load v[1:4], v5, s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D41// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU42 43image_msaa_load v[1:4], v5, s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D glc44// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU45 46image_msaa_load v5, v[1:2], s[8:15] dmask:0x1 dim:SQ_RSRC_IMG_2D d1647// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU48 49image_msaa_load v[1:4], v5, s[8:15] dmask:0xf dim:SQ_RSRC_IMG_1D50// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU51 52image_msaa_load v14, [v204,v11,v14,v19], s[40:47] dmask:0x1 dim:SQ_RSRC_IMG_2D_MSAA_ARRAY53// GFX10: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU54