summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-14 23:54:06 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-14 23:54:06 +0000
commit05ae0c6026c15cc934ef2117a7a75ae57c55067d (patch)
tree11316a778d297f2a31eff479eed921642b82e5d6 /test
parentef63c9a9b6f79fef91dc144db9d5f217d2b83a95 (diff)
downloadllvm-05ae0c6026c15cc934ef2117a7a75ae57c55067d.tar.gz
llvm-05ae0c6026c15cc934ef2117a7a75ae57c55067d.tar.bz2
llvm-05ae0c6026c15cc934ef2117a7a75ae57c55067d.tar.xz
Reapply r113875 with additional cleanups.
"The register specified for a dregpair is the corresponding Q register, so to get the pair, we need to look up the sub-regs based on the qreg. Create a lookup function since we don't have access to TargetRegisterInfo here to be able to use getSubReg(ARM::dsub_[01])." Additionaly, fix the NEON VLD1* and VST1* instruction patterns not to use the dregpair modifier for the 2xdreg versions. Explicitly specifying the two registers as operands is more correct and more consistent with the other instruction patterns. This enables further cleanup of special case code in the disassembler as a nice side-effect. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/Disassembler/neon-tests.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/MC/Disassembler/neon-tests.txt b/test/MC/Disassembler/neon-tests.txt
index 826ff2272e..35d4bd4da9 100644
--- a/test/MC/Disassembler/neon-tests.txt
+++ b/test/MC/Disassembler/neon-tests.txt
@@ -9,10 +9,12 @@
# CHECK: vdup.32 q3, d1[0]
0x41 0x6c 0xb4 0xf3
-# VLD1q8_UPD (with ${dst:dregpair} operand)
# CHECK: vld1.8 {d17, d18}, [r6], r5
0x05 0x1a 0x66 0xf4
+# CHECK: vld1.8 {d17, d18, d19}, [r6], r5
+0x05 0x16 0x66 0xf4
+
# CHECK: vld4.8 {d0, d1, d2, d3}, [r2], r7
0x07 0x00 0x22 0xf4