1 // XFAIL: * 2 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck -check-prefix=NOVI %s 3 4 v_add_f16 v1, 0xfffff, v2 5 // NOVI: 19: error: invalid operand for instruction 6 7 v_add_f16 v1, 0x10000, v2 8 // NOVI: 19: error: invalid operand for instruction 9 10 v_add_f16 v1, v2, -0.0 11 v_add_f16 v1, v2, 1 12 13 14 15 // FIXME: Should give truncate error 16 v_add_f16 v1, -32769, v2 17 v_add_f16 v1, 65536, v2 18 19 v_add_f32 v1, 4294967296, v2 20 v_add_f32 v1, 0x0000000100000000, v2 21 v_and_b32 v1, 0x0000000100000000, v2 22