diff --git a/lib/Target/PowerPC/PPCInstrFormats.td b/lib/Target/PowerPC/PPCInstrFormats.td index c5ad77a958f..4053136e836 100644 --- a/lib/Target/PowerPC/PPCInstrFormats.td +++ b/lib/Target/PowerPC/PPCInstrFormats.td @@ -70,21 +70,23 @@ class IForm opcode, bit aa, bit lk, bit ppc64, bit vmx, class BForm opcode, bit aa, bit lk, bit ppc64, bit vmx, dag OL, string asmstr> : I { bits<5> BO; - bits<5> BI; + bits<3> CRNum; + bits<2> BICode; bits<14> BD; let Inst{6-10} = BO; - let Inst{11-15} = BI; + let Inst{11-13} = CRNum; + let Inst{14-15} = BICode; let Inst{16-29} = BD; let Inst{30} = aa; let Inst{31} = lk; } -class BForm_ext opcode, bit aa, bit lk, bits<5> bo, bits<5> bi, +class BForm_ext opcode, bit aa, bit lk, bits<5> bo, bits<2> bicode, bit ppc64, bit vmx, dag OL, string asmstr> : BForm { let BO = bo; - let BI = bi; + let BICode = bicode; } // 1.7.4 D-Form