summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsInstrFormats.td
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2014-06-24 13:00:32 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2014-06-24 13:00:32 +0000
commite6198bf886cf02bb377528e3aab5fac7e6f41f4a (patch)
treedc463712608662aea85250496633f3191d54dd29 /llvm/lib/Target/Mips/MipsInstrFormats.td
parente2f07d47feb0a34c75a87777fe6f81343b908829 (diff)
downloadbcm5719-llvm-e6198bf886cf02bb377528e3aab5fac7e6f41f4a.tar.gz
bcm5719-llvm-e6198bf886cf02bb377528e3aab5fac7e6f41f4a.zip
[mips] Added support for assembling sdbbp.
Summary: This instruction is re-encoded in MIPS32r6/MIPS64r6 without changing the restrictions. We hadn't implemented it for earlier ISA's so it has been added to those too. Differential Revision: http://reviews.llvm.org/D4265 llvm-svn: 211590
Diffstat (limited to 'llvm/lib/Target/Mips/MipsInstrFormats.td')
-rw-r--r--llvm/lib/Target/Mips/MipsInstrFormats.td10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrFormats.td b/llvm/lib/Target/Mips/MipsInstrFormats.td
index a708e307f3f..6a01ae560f3 100644
--- a/llvm/lib/Target/Mips/MipsInstrFormats.td
+++ b/llvm/lib/Target/Mips/MipsInstrFormats.td
@@ -844,6 +844,16 @@ class BARRIER_FM<bits<5> op> : StdArch {
let Inst{5-0} = 0; // SLL
}
+class SDBBP_FM : StdArch {
+ bits<20> code_;
+
+ bits<32> Inst;
+
+ let Inst{31-26} = 0b011100; // SPECIAL2
+ let Inst{25-6} = code_;
+ let Inst{5-0} = 0b111111; // SDBBP
+}
+
class JR_HB_FM<bits<6> op> : StdArch{
bits<5> rs;
OpenPOWER on IntegriCloud