fix encoding of BLR
authorChris Lattner <sabre@nondot.org>
Tue, 7 Nov 2006 01:51:50 +0000 (01:51 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 7 Nov 2006 01:51:50 +0000 (01:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31485 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCInstrFormats.td

index 2ab9eedc85718bdb42b0b99b9e7d7b00d06187c4..f297f10c185da1c6cf08ea5e9b395a3fe95994a3 100644 (file)
@@ -405,8 +405,8 @@ 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{0-4};
-  let BI{0-1} = BIBO{5-6};
+  let BO = BIBO{2-6};
+  let BI{0-1} = BIBO{0-1};
   let BI{2-4} = CR;
   let BH = 0;
 }