aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-11-07 01:51:50 +0000
committerChris Lattner <sabre@nondot.org>2006-11-07 01:51:50 +0000
commit0921365b886186be7636b55c357ee82f9064b89d (patch)
treec59d5e6b9d90b2752616a5fc1b2dbf9adcd97ef8
parent29434364dd7d66f335d868b7daadc1b5dcf290fb (diff)
fix encoding of BLR
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31485 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/PPCInstrFormats.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCInstrFormats.td b/lib/Target/PowerPC/PPCInstrFormats.td
index 2ab9eedc85..f297f10c18 100644
--- a/lib/Target/PowerPC/PPCInstrFormats.td
+++ b/lib/Target/PowerPC/PPCInstrFormats.td
@@ -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;
}