summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/ldrd-strd-gnu-arm-bad-imm.s
blob: 0475a361a9ae3723f9a41cdf81b5284645a8284e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@ RUN: not llvm-mc -triple=armv7-linux-gnueabi %s 2>&1 | FileCheck %s
.text
@ CHECK: error: invalid instruction, any one of the following would fix this:
@ CHECK:         ldrd    r0, [r0, #512]
@ CHECK: note: invalid operand for instruction
@ CHECK: note: instruction requires: thumb2
        ldrd    r0, [r0, #512]

@ CHECK: error: invalid instruction, any one of the following would fix this:
@ CHECK:         strd    r0, [r0, #512]
@ CHECK: note: invalid operand for instruction
@ CHECK: note: instruction requires: thumb2
        strd    r0, [r0, #512]
OpenPOWER on IntegriCloud