summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-09-23 21:26:40 +0000
committerOwen Anderson <resistor@mac.com>2011-09-23 21:26:40 +0000
commit0781c1f700886f94f5430380a5e82d7ccf6bbdc0 (patch)
tree1b046d40fba9d3c594db48901322c86b0680c755 /test
parent31d485ec9a2afcf83c5354061568b4280d61b574 (diff)
downloadllvm-0781c1f700886f94f5430380a5e82d7ccf6bbdc0.tar.gz
llvm-0781c1f700886f94f5430380a5e82d7ccf6bbdc0.tar.bz2
llvm-0781c1f700886f94f5430380a5e82d7ccf6bbdc0.tar.xz
Post-index loads/stores in still need to print the post-indexed immediate, even if it's zero, to distinguish them from non-post-indexed instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/Disassembler/ARM/thumb2.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/Disassembler/ARM/thumb2.txt b/test/MC/Disassembler/ARM/thumb2.txt
index 2af27b4f34..f1bf88b579 100644
--- a/test/MC/Disassembler/ARM/thumb2.txt
+++ b/test/MC/Disassembler/ARM/thumb2.txt
@@ -1780,6 +1780,13 @@
0x20 0xf3 0x1d 0x09
#------------------------------------------------------------------------------
+# STR (immediate)
+#------------------------------------------------------------------------------
+# CHECK: str r10, [r11], #0
+
+0x4b 0xf8 0x00 0xab
+
+#------------------------------------------------------------------------------
# STRD (immediate)
#------------------------------------------------------------------------------
# CHECK: strd r6, r3, [r5], #-8