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