1// RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti -show-encoding %s 2>&1 | FileCheck -check-prefix=NOSICIVI10 %s
2// RUN: not llvm-mc -arch=amdgcn -mcpu=hawaii -show-encoding %s 2>&1 | FileCheck -check-prefix=NOSICIVI10 %s
3// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck -check-prefix=NOSICIVI10 %s
4// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx1001 -show-encoding %s 2>&1 | FileCheck -check-prefix=NOSICIVI10 %s
5
6// RUN: not llvm-mc -arch=amdgcn -mcpu=stoney -show-encoding %s 2>&1 | FileCheck -check-prefix=XNACKERR %s
7// RUN: not llvm-mc -arch=amdgcn -mcpu=stoney -show-encoding %s | FileCheck -check-prefix=XNACK %s
8
9s_mov_b64 xnack_mask, -1
10// NOSICIVI10: error: not a valid operand.
11// XNACK:    s_mov_b64 xnack_mask, -1 ; encoding: [0xc1,0x01,0xe8,0xbe]
12
13s_mov_b32 xnack_mask_lo, -1
14// NOSICIVI10: error: not a valid operand.
15// XNACK:    s_mov_b32 xnack_mask_lo, -1 ; encoding: [0xc1,0x00,0xe8,0xbe]
16
17s_mov_b32 xnack_mask_hi, -1
18// NOSICIVI10: error: not a valid operand.
19// XNACK:    s_mov_b32 xnack_mask_hi, -1 ; encoding: [0xc1,0x00,0xe9,0xbe]
20
21s_mov_b32 xnack_mask, -1
22// NOSICIVI10: error: not a valid operand.
23// XNACKERR: error: invalid operand for instruction
24
25s_mov_b64 xnack_mask_lo, -1
26// NOSICIVI10: error: not a valid operand.
27// XNACKERR: error: invalid operand for instruction
28
29s_mov_b64 xnack_mask_hi, -1
30// NOSICIVI10: error: not a valid operand.
31// XNACKERR: error: invalid operand for instruction
32