Add support for the PPC isel instruction.
[oota-llvm.git] / lib / Target / PowerPC / PPCInstrInfo.td
index 29f7875a7927f73dbcad8e142fde43435ca808fe..9b390461d8d75495977fa383c1b984463632e4b7 100644 (file)
@@ -1397,6 +1397,13 @@ let Uses = [RM] in {
   }
 }
 
+let PPC970_Unit = 1 in {  // FXU Operations.
+  def ISEL  : AForm_1<31, 15,
+                     (outs GPRC:$rT), (ins GPRC:$rA, GPRC:$rB, pred:$cond),
+                     "isel $rT, $rA, $rB, $cond", IntGeneral,
+                     []>;
+}
+
 let PPC970_Unit = 1 in {  // FXU Operations.
 // M-Form instructions.  rotate and mask instructions.
 //