aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM
diff options
context:
space:
mode:
authorTilmann Scheller <tilmann.scheller@googlemail.com>2013-09-30 13:04:22 +0000
committerTilmann Scheller <tilmann.scheller@googlemail.com>2013-09-30 13:04:22 +0000
commit6206a132a76d407fd276de17147d8c9c2c9e9e9d (patch)
tree871c6c0c1906303c4fa2cb6ae43d8600140aa722 /test/MC/ARM
parent16658af535ed09169cb1079a474334dbf1cb8dc7 (diff)
downloadexternal_llvm-6206a132a76d407fd276de17147d8c9c2c9e9e9d.zip
external_llvm-6206a132a76d407fd276de17147d8c9c2c9e9e9d.tar.gz
external_llvm-6206a132a76d407fd276de17147d8c9c2c9e9e9d.tar.bz2
[ARM] Assembler: Add more negative tests for ARM LDRD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM')
-rw-r--r--test/MC/ARM/arm-ldrd.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/ARM/arm-ldrd.s b/test/MC/ARM/arm-ldrd.s
index 8522d26..d62193a 100644
--- a/test/MC/ARM/arm-ldrd.s
+++ b/test/MC/ARM/arm-ldrd.s
@@ -2,19 +2,27 @@
// RUN: < %s >/dev/null 2> %t
// RUN: grep "error: Rt must be even-numbered" %t | count 7
// RUN: grep "error: Rt can't be R14" %t | count 7
+// RUN: grep "error: destination operands must be sequential" %t | count 7
// rdar://14479793
ldrd r1, r2, [pc, #0]
ldrd lr, pc, [pc, #0]
+ldrd r0, r3, [pc, #0]
ldrd r1, r2, [r3, #4]
ldrd lr, pc, [r3, #4]
+ldrd r0, r3, [r4, #4]
ldrd r1, r2, [r3], #4
ldrd lr, pc, [r3], #4
+ldrd r0, r3, [r4], #4
ldrd r1, r2, [r3, #4]!
ldrd lr, pc, [r3, #4]!
+ldrd r0, r3, [r4, #4]!
ldrd r1, r2, [r3, -r4]!
ldrd lr, pc, [r3, -r4]!
+ldrd r0, r3, [r4, -r5]!
ldrd r1, r2, [r3, r4]
ldrd lr, pc, [r3, r4]
+ldrd r0, r3, [r4, r5]
ldrd r1, r2, [r3], r4
ldrd lr, pc, [r3], r4
+ldrd r0, r3, [r4], r5