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

Chris Lattner lattner at cs.uiuc.edu
Tue Jun 27 10:30:20 PDT 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCInstr64Bit.td updated: 1.11 -> 1.12
---
Log message:

Add zextload from i32 -> i64, with this, perimeter works.



---
Diffs of the changes:  (+3 -0)

 PPCInstr64Bit.td |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/lib/Target/PowerPC/PPCInstr64Bit.td
diff -u llvm/lib/Target/PowerPC/PPCInstr64Bit.td:1.11 llvm/lib/Target/PowerPC/PPCInstr64Bit.td:1.12
--- llvm/lib/Target/PowerPC/PPCInstr64Bit.td:1.11	Mon Jun 26 18:53:10 2006
+++ llvm/lib/Target/PowerPC/PPCInstr64Bit.td	Tue Jun 27 12:30:08 2006
@@ -228,6 +228,9 @@
 def LDX  : XForm_1<31,  21, (ops G8RC:$rD, memrr:$src),
                    "ldx $rD, $src", LdStLD,
                    [(set G8RC:$rD, (load xaddr:$src))]>, isPPC64;
+def LWZ8 : DForm_1<32, (ops G8RC:$rD, memri:$src),
+                  "lwz $rD, $src", LdStGeneral,
+                  [(set G8RC:$rD, (zextload iaddr:$src, i32))]>, isPPC64;
 }
 let isStore = 1, noResults = 1, PPC970_Unit = 2 in {
 def STD  : DSForm_2<62, 0, (ops G8RC:$rS, memrix:$dst),






More information about the llvm-commits mailing list