1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/MC/AMDGPU/sopc-err.s
Matt Arsenault cb0c02c980 AMDGPU: Add instruction definitions for VGPR indexing
VI added a second method of indexing into VGPRs
besides using v_movrel*

llvm-svn: 284027
2016-10-12 18:00:51 +00:00

11 lines
319 B
ArmAsm

// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=VI %s
s_set_gpr_idx_on s0, s1
// GCN: error: invalid operand for instruction
s_set_gpr_idx_on s0, 16
// GCN: error: invalid operand for instruction
s_set_gpr_idx_on s0, -1
// GCN: error: invalid operand for instruction