Generate PPC early conditional returns
[oota-llvm.git] / lib / Target / PowerPC / PPCInstrFormats.td
index 400b7e367bfe9e5437a0c4190256df108526045d..c647857362016509277bde6a608ded944ec68199 100644 (file)
@@ -565,9 +565,9 @@ class XLForm_2_br<bits<6> opcode, bits<10> xo, bit lk,
   bits<7> BIBO;  // 2 bits of BI and 5 bits of BO.
   bits<3>  CR;
   
-  let BO = BIBO{2-6};
-  let BI{0-1} = BIBO{0-1};
-  let BI{2-4} = CR;
+  let BO = BIBO{4-0};
+  let BI{0-1} = BIBO{5-6};
+  let BI{2-4} = CR{0-2};
   let BH = 0;
 }