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