AMDGPU: Define correct number of SGPRs
[oota-llvm.git] / test / MC / AMDGPU / vopc-errs.s
1 // RUN: not llvm-mc -arch=amdgcn -show-encoding %s 2>&1 | FileCheck %s
2 // RUN: not llvm-mc -arch=amdgcn -mcpu=SI -show-encoding %s 2>&1 | FileCheck %s
3 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck %s
4
5 // Force 32-bit encoding with non-vcc result
6
7 v_cmp_lt_f32_e32 s[0:1], v2, v4
8 // CHECK: 18: error: invalid operand for instruction