[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCInstrInfo.td

Chris Lattner lattner at cs.uiuc.edu
Tue Nov 23 14:06:40 PST 2004



Changes in directory llvm/lib/Target/PowerPC:

PowerPCInstrInfo.td updated: 1.45 -> 1.46
---
Log message:

Fix encoding of blr and bctr


---
Diffs of the changes:  (+2 -2)

Index: llvm/lib/Target/PowerPC/PowerPCInstrInfo.td
diff -u llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.45 llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.46
--- llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.45	Tue Nov 23 13:23:18 2004
+++ llvm/lib/Target/PowerPC/PowerPCInstrInfo.td	Tue Nov 23 16:06:24 2004
@@ -16,8 +16,8 @@
 
 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> {






More information about the llvm-commits mailing list