1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 %s 2>&1 | FileCheck -check-prefix=GFX9ERR --implicit-check-not=error: %s 2 3v_cvt_f16_u16_e64 v5, 0.6 4// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported 5 6v_cvt_f16_u16_e64 v5, -4.1 7// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported 8 9v_add_u16_e64 v5, v1, 0.4 10// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported 11 12v_add_u16_e64 v5, v1, -4.2 13// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported 14 15v_cvt_f16_i16_e64 v5, 0.3 16// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported 17 18v_cvt_f16_i16_e64 v5, -4.5 19// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported 20 21v_add_u16_e64 v5, 0.1, v2 22// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported 23 24v_add_u16_e64 v5, -3.8, v2 25// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported 26 27v_subrev_u16_e64 v5, v1, 0.4 28// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported 29 30v_subrev_u16_e64 v5, v1, -4.2 31// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: literal operands are not supported 32 33v_cvt_u32_f64 v5, v[0:1] quad_perm:[0,2,1,1] row_mask:0xf bank_mask:0xf 34// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand. 35 36global_load_lds_dword v[2:3], off 37// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 38 39global_load_dword v[2:3], off 40// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: too few operands for instruction 41 42scratch_load_dword v2, off, offset:256 43// GFX9ERR: :[[@LINE-1]]:{{[0-9]+}}: error: too few operands for instruction 44 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 GPU 47