Fix encoding of blr and bctr
authorChris Lattner <sabre@nondot.org>
Tue, 23 Nov 2004 22:06:24 +0000 (22:06 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 23 Nov 2004 22:06:24 +0000 (22:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18178 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCInstrInfo.td

index b550edf3f9e097d112f1ee7581a64876a3f74e1e..00e742d38a57a8f2763a4d121697d5fe3a283ac8 100644 (file)
@@ -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<i8> {