1 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=VI %s 2 3 s_set_gpr_idx_on s0, s1 4 // GCN: error: invalid operand for instruction 5 6 s_set_gpr_idx_on s0, 16 7 // GCN: error: invalid operand for instruction 8 9 s_set_gpr_idx_on s0, -1 10 // GCN: error: invalid operand for instruction 11