1// RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti %s 2>&1 | FileCheck -check-prefix=NOSICIVI10 --implicit-check-not=error: %s 2// RUN: not llvm-mc -arch=amdgcn -mcpu=hawaii %s 2>&1 | FileCheck -check-prefix=NOSICIVI10 --implicit-check-not=error: %s 3// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=NOSICIVI10 --implicit-check-not=error: %s 4// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx1001 %s 2>&1 | FileCheck -check-prefix=NOSICIVI10 --implicit-check-not=error: %s 5 6// RUN: not llvm-mc -arch=amdgcn -mcpu=stoney %s 2>&1 | FileCheck -check-prefix=XNACKERR --implicit-check-not=error: %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: register not available on this GPU 11// XNACK: s_mov_b64 xnack_mask, -1 ; encoding: [0xc1,0x01,0xe8,0xbe] 12 13s_mov_b32 xnack_mask_lo, -1 14// NOSICIVI10: error: register not available on this GPU 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: register not available on this GPU 19// XNACK: s_mov_b32 xnack_mask_hi, -1 ; encoding: [0xc1,0x00,0xe9,0xbe] 20 21s_mov_b32 xnack_mask, -1 22// NOSICIVI10: error: register not available on this GPU 23// XNACKERR: error: invalid operand for instruction 24 25s_mov_b64 xnack_mask_lo, -1 26// NOSICIVI10: error: register not available on this GPU 27// XNACKERR: error: invalid operand for instruction 28 29s_mov_b64 xnack_mask_hi, -1 30// NOSICIVI10: error: register not available on this GPU 31// XNACKERR: error: invalid operand for instruction 32