30 lines · plain
1# RUN: not llvm-mc -triple armv7 %s 2>&1| FileCheck %s2 3.arm4 5ADC r0, r1, #0xFFFFFEEE6# CHECK: error: invalid instruction, any one of the following would fix this:7# CHECK: note: invalid operand for instruction8# CHECK: note: operand must be a register in range [r0, r15]9ADC r0, r1, #0xABFEABFF10# CHECK: error: invalid instruction, any one of the following would fix this:11# CHECK: note: invalid operand for instruction12# CHECK: note: operand must be a register in range [r0, r15]13ADC r0, r1, #0xFFFFFE0214# CHECK: error: invalid instruction, any one of the following would fix this:15# CHECK: note: invalid operand for instruction16# CHECK: note: operand must be a register in range [r0, r15]17 18ADD.W r0, r0, #0xFF01FF0119# CHECK: error: invalid instruction, any one of the following would fix this:20# CHECK: note: invalid operand for instruction21# CHECK: note: operand must be a register in range [r0, r15]22 23ORR r0, r1, #0xFFFFFF0024# CHECK: error: invalid instruction, any one of the following would fix this:25# CHECK: note: invalid operand for instruction26# CHECK: note: operand must be a register in range [r0, r15]27# CHECK: note: instruction requires: thumb228ORN r0, r1, #0xFFFFFF0029# CHECK: error: instruction requires: thumb230