[mips][microMIPS] Implement CACHEE, WRPGPR and WSBH instructions
[oota-llvm.git] / lib / Target / Mips / MicroMips32r6InstrFormats.td
index 19f5bda0918bc18a1cc8b7f3dfbc12071bfd8f0c..0d7b3e01fc3bd6470ac9826304d5ac0773f95a9d 100644 (file)
@@ -623,3 +623,16 @@ class POOL16C_OR16_FM_MMR6 : MicroMipsR6Inst16 {
   let Inst{6-4}   = rs;
   let Inst{3-0}   = 0b1001;
 }
+
+class POOL32A_WRPGPR_WSBH_FM_MMR6<bits<10> funct> : MipsR6Inst {
+  bits<5> rt;
+  bits<5> rs;
+
+  bits<32> Inst;
+
+  let Inst{31-26} = 0x00;
+  let Inst{25-21} = rt;
+  let Inst{20-16} = rs;
+  let Inst{15-6}  = funct;
+  let Inst{5-0}   = 0x3c;
+}