aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/ldrd-strd-gnu-sp.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/ldrd-strd-gnu-sp.s')
-rw-r--r--test/MC/ARM/ldrd-strd-gnu-sp.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/ARM/ldrd-strd-gnu-sp.s b/test/MC/ARM/ldrd-strd-gnu-sp.s
new file mode 100644
index 0000000..21efae9
--- /dev/null
+++ b/test/MC/ARM/ldrd-strd-gnu-sp.s
@@ -0,0 +1,9 @@
+// PR19320
+// RUN: llvm-mc -triple=armv7-linux-gnueabi -show-encoding < %s | FileCheck %s
+.text
+
+// CHECK: ldrd r12, sp, [r0, #32] @ encoding: [0xd0,0xc2,0xc0,0xe1]
+ ldrd r12, [r0, #32]
+
+// CHECK: strd r12, sp, [r0, #32] @ encoding: [0xf0,0xc2,0xc0,0xe1]
+ strd r12, [r0, #32]