• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=NOVI --implicit-check-not=error: %s
2
3v_add_f16 v1, 0xfffff, v2
4// NOVI: error: invalid operand for instruction
5
6v_add_f16 v1, 0x10000, v2
7// NOVI: error: invalid operand for instruction
8
9v_add_f16 v1, 0xffffffffffff000f, v2
10// NOVI: error: invalid operand for instruction
11
12v_add_f16 v1, 0x1000ffff, v2
13// NOVI: error: invalid operand for instruction
14
15v_add_f16 v1, -32769, v2
16// NOVI: error: invalid operand for instruction
17
18v_add_f16 v1, 65536, v2
19// NOVI: error: invalid operand for instruction
20
21v_add_f32 v1, 4294967296, v2
22// NOVI: error: invalid operand for instruction
23
24v_add_f32 v1, 0x0000000100000000, v2
25// NOVI: error: invalid operand for instruction
26
27v_and_b32 v1, 0x0000000100000000, v2
28// NOVI: error: invalid operand for instruction
29