[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / negative-immediates-fail.s
blob9bc4c92b5ee6655859e6e816ab74b09cc6707585
1 # RUN: not llvm-mc -triple armv7 %s 2>&1| FileCheck %s
3 .arm
5 ADC r0, r1, #0xFFFFFEEE
6 # CHECK: error: invalid instruction, any one of the following would fix this:
7 # CHECK: note: invalid operand for instruction
8 # CHECK: note: operand must be a register in range [r0, r15]
9 ADC r0, r1, #0xABFEABFF
10 # CHECK: error: invalid instruction, any one of the following would fix this:
11 # CHECK: note: invalid operand for instruction
12 # CHECK: note: operand must be a register in range [r0, r15]
13 ADC r0, r1, #0xFFFFFE02
14 # CHECK: error: invalid instruction, any one of the following would fix this:
15 # CHECK: note: invalid operand for instruction
16 # CHECK: note: operand must be a register in range [r0, r15]
18 ADD.W r0, r0, #0xFF01FF01
19 # CHECK: error: invalid instruction, any one of the following would fix this:
20 # CHECK: note: invalid operand for instruction
21 # CHECK: note: operand must be a register in range [r0, r15]
23 ORR r0, r1, #0xFFFFFF00
24 # CHECK: error: invalid instruction, any one of the following would fix this:
25 # CHECK: note: invalid operand for instruction
26 # CHECK: note: operand must be a register in range [r0, r15]
27 # CHECK: note: instruction requires: thumb2
28 ORN r0, r1, #0xFFFFFF00
29 # CHECK: error: instruction requires: thumb2