47 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 %s 2>&1 | FileCheck -check-prefix=GFX9ERR --implicit-check-not=error: %s2 3v_cvt_f16_u16_e64 v5, 0.64// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported5 6v_cvt_f16_u16_e64 v5, -4.17// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported8 9v_add_u16_e64 v5, v1, 0.410// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported11 12v_add_u16_e64 v5, v1, -4.213// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported14 15v_cvt_f16_i16_e64 v5, 0.316// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported17 18v_cvt_f16_i16_e64 v5, -4.519// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported20 21v_add_u16_e64 v5, 0.1, v222// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported23 24v_add_u16_e64 v5, -3.8, v225// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported26 27v_subrev_u16_e64 v5, v1, 0.428// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported29 30v_subrev_u16_e64 v5, v1, -4.231// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported32 33v_cvt_u32_f64 v5, v[0:1] quad_perm:[0,2,1,1] row_mask:0xf bank_mask:0xf34// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction35 36global_load_lds_dword v[2:3], off37// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU38 39global_load_dword v[2:3], off40// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: too few operands for instruction41 42scratch_load_dword v2, off, offset:25643// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: too few operands for instruction44 45s_sendmsg sendmsg(MSG_SYSMSG, SYSMSG_OP_HOST_TRAP_ACK)46// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: specified operation id is not supported on this GPU47