aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-12-01 19:18:46 +0000
committerOwen Anderson <resistor@mac.com>2010-12-01 19:18:46 +0000
commit9d63d90de5e57ad96f467b270544443a9284eb2b (patch)
tree8c1141f8091ee5185329088de393ad12ba33698a /test
parent1920d82f75c365a72e0925fb6d4e6977ffb888c9 (diff)
downloadexternal_llvm-9d63d90de5e57ad96f467b270544443a9284eb2b.zip
external_llvm-9d63d90de5e57ad96f467b270544443a9284eb2b.tar.gz
external_llvm-9d63d90de5e57ad96f467b270544443a9284eb2b.tar.bz2
Add correct encodings for STRD and LDRD, including fixup support. Additionally, update these to unified syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/Thumb2/thumb2-ldrd.ll2
-rw-r--r--test/MC/Disassembler/ARM/thumb-tests.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-ldrd.ll b/test/CodeGen/Thumb2/thumb2-ldrd.ll
index 22d4e88..a747d5f 100644
--- a/test/CodeGen/Thumb2/thumb2-ldrd.ll
+++ b/test/CodeGen/Thumb2/thumb2-ldrd.ll
@@ -4,7 +4,7 @@
define i64 @t(i64 %a) nounwind readonly {
entry:
-;CHECK: ldrd r2, [r2]
+;CHECK: ldrd r2, r3, [r2]
%0 = load i64** @b, align 4
%1 = load i64* %0, align 4
%2 = mul i64 %1, %a
diff --git a/test/MC/Disassembler/ARM/thumb-tests.txt b/test/MC/Disassembler/ARM/thumb-tests.txt
index 06d12fe..dfd80b3 100644
--- a/test/MC/Disassembler/ARM/thumb-tests.txt
+++ b/test/MC/Disassembler/ARM/thumb-tests.txt
@@ -63,7 +63,7 @@
# CHECK: ssat r0, #17, r12
0x0c 0xf3 0x10 0x00
-# CHECK: strd r0, [r7, #64]
+# CHECK: strd r0, r1, [r7, #64]
0xc7 0xe9 0x10 0x01
# CHECK: sub sp, #60