1 // RUN: not llvm-mc -arch=amdgcn %s 2>&1 | FileCheck %s
2 // RUN: not llvm-mc -arch=amdgcn -mcpu=SI %s 2>&1 | FileCheck %s
5 // CHECK: error: invalid operand for instruction
8 // CHECK: error: invalid operand for instruction
11 // CHECK: error: invalid operand for instruction
14 // CHECK: error: invalid operand for instruction
17 // CHECK: error: invalid operand for instruction
20 // CHECK: error: invalid operand for instruction
23 // CHECK: error: invalid operand for instruction
26 // CHECK: error: invalid operand for instruction
28 // Immediate greater than 32-bits
29 s_mov_b32 s1, 0xfffffffff
30 // CHECK: error: invalid immediate: only 32-bit values are legal
32 // Immediate greater than 32-bits
33 s_mov_b64 s[0:1], 0xfffffffff
34 // CHECK: error: invalid immediate: only 32-bit values are legal
36 // Out of range register