[mips][microMIPS] Implement BEQZ16 and BNEZ16 instructions
[oota-llvm.git] / lib / Target / Mips / MicroMipsInstrFormats.td
index 978e39abf1463cb4482b5f24409cbf864c5ce902..51b5c0cd612bf3b34070b59d65db8e03f4a8547b 100644 (file)
@@ -227,6 +227,17 @@ class BRKSDBBP16_FM_MM<bits<6> op> {
   let Inst{3-0}   = code_;
 }
 
+class BEQNEZ_FM_MM16<bits<6> op> {
+  bits<3> rs;
+  bits<7> offset;
+
+  bits<16> Inst;
+
+  let Inst{15-10} = op;
+  let Inst{9-7}   = rs;
+  let Inst{6-0}   = offset;
+}
+
 //===----------------------------------------------------------------------===//
 // MicroMIPS 32-bit Instruction Formats
 //===----------------------------------------------------------------------===//