summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2013-10-01 12:39:11 +0000
committerJoey Gouly <joey.gouly@arm.com>2013-10-01 12:39:11 +0000
commitad98f1671dfd75bf08453ba4f9e42ff2cb476583 (patch)
tree6d2fe63474d42b095ce1cc5ee192882ba4c988c9 /llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
parent5469c39a2643af0abdb80726411b04ce57d99493 (diff)
downloadbcm5719-llvm-ad98f1671dfd75bf08453ba4f9e42ff2cb476583.tar.gz
bcm5719-llvm-ad98f1671dfd75bf08453ba4f9e42ff2cb476583.zip
[ARM] Introduce the 'sevl' instruction in ARMv8.
This also removes the restriction on the immediate field of the 'hint' instruction. llvm-svn: 191744
Diffstat (limited to 'llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp')
-rw-r--r--llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp b/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
index 82c12944f3c..efa8306b8b4 100644
--- a/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
+++ b/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
@@ -84,6 +84,11 @@ void ARMInstPrinter::printInst(const MCInst *MI, raw_ostream &O,
case 2: O << "\twfe"; break;
case 3: O << "\twfi"; break;
case 4: O << "\tsev"; break;
+ case 5:
+ if ((getAvailableFeatures() & ARM::HasV8Ops)) {
+ O << "\tsevl";
+ break;
+ } // Fallthrough for non-v8
default:
// Anything else should just print normally.
printInstruction(MI, O);
OpenPOWER on IntegriCloud