From: Chris Lattner Date: Tue, 23 Nov 2004 22:06:24 +0000 (+0000) Subject: Fix encoding of blr and bctr X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6f407893e2df521aef5240b1731afa95fdb4634c;p=oota-llvm.git Fix encoding of blr and bctr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18178 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index b550edf3f9e..00e742d38a5 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -16,8 +16,8 @@ include "PowerPCInstrFormats.td" let isTerminator = 1 in { let isReturn = 1 in - def BLR : XLForm_2_ext<19, 16, 20, 31, 1, 0, 0, (ops), "blr">; - def BCTR : XLForm_2_ext<19, 528, 20, 31, 1, 0, 0, (ops), "bctr">; + def BLR : XLForm_2_ext<19, 16, 20, 0, 0, 0, 0, (ops), "blr">; + def BCTR : XLForm_2_ext<19, 528, 20, 0, 0, 0, 0, (ops), "bctr">; } def u5imm : Operand {