2014-04-04 18:17:56 +08:00
|
|
|
@ RUN: not llvm-mc -triple=armv7-linux-gnueabi %s 2>&1 | FileCheck %s
|
|
|
|
.text
|
2017-10-03 18:26:11 +08:00
|
|
|
@ CHECK: error: invalid instruction, any one of the following would fix this:
|
2014-04-04 18:17:56 +08:00
|
|
|
@ CHECK: ldrd r0, [r0, #512]
|
2017-10-03 18:26:11 +08:00
|
|
|
@ CHECK: note: invalid operand for instruction
|
|
|
|
@ CHECK: note: instruction requires: thumb2
|
2014-04-04 18:17:56 +08:00
|
|
|
ldrd r0, [r0, #512]
|
|
|
|
|
2017-10-03 18:26:11 +08:00
|
|
|
@ CHECK: error: invalid instruction, any one of the following would fix this:
|
2014-04-04 18:17:56 +08:00
|
|
|
@ CHECK: strd r0, [r0, #512]
|
2017-10-03 18:26:11 +08:00
|
|
|
@ CHECK: note: invalid operand for instruction
|
|
|
|
@ CHECK: note: instruction requires: thumb2
|
2014-04-04 18:17:56 +08:00
|
|
|
strd r0, [r0, #512]
|