summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-01-23 23:20:46 +0000
committerJim Grosbach <grosbach@apple.com>2012-01-23 23:20:46 +0000
commitac2af3ffab0baae5717195c96256c840a238b402 (patch)
tree02783015bb147b616fc7417fd3bd63eb30f9325f /llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
parent60f5fe685709776763d8e78be7ece99ef03bd3ad (diff)
downloadbcm5719-llvm-ac2af3ffab0baae5717195c96256c840a238b402.tar.gz
bcm5719-llvm-ac2af3ffab0baae5717195c96256c840a238b402.zip
NEON VLD3(multiple 3-element structures) assembly parsing.
llvm-svn: 148745
Diffstat (limited to 'llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp')
-rw-r--r--llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp b/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
index 42ed9dcc4a4..734654e3449 100644
--- a/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
+++ b/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
@@ -1086,3 +1086,13 @@ void ARMInstPrinter::printVectorListTwoSpacedAllLanes(const MCInst *MI,
<< getRegisterName(MI->getOperand(OpNum).getReg() + 2) << "[]}";
}
+void ARMInstPrinter::printVectorListThreeSpaced(const MCInst *MI,
+ unsigned OpNum,
+ raw_ostream &O) {
+ // Normally, it's not safe to use register enum values directly with
+ // addition to get the next register, but for VFP registers, the
+ // sort order is guaranteed because they're all of the form D<n>.
+ O << "{" << getRegisterName(MI->getOperand(OpNum).getReg()) << ", "
+ << getRegisterName(MI->getOperand(OpNum).getReg() + 2) << ", "
+ << getRegisterName(MI->getOperand(OpNum).getReg() + 4) << "}";
+}
OpenPOWER on IntegriCloud