[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp
Chris Lattner
sabre at nondot.org
Mon Nov 13 12:11:20 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCHazardRecognizers.cpp updated: 1.14 -> 1.15
---
Log message:
teach the g5 hazard recognizer about update loads. This fixes
Ptrdist/anagram among others.
---
Diffs of the changes: (+10 -11)
PPCHazardRecognizers.cpp | 21 ++++++++++-----------
1 files changed, 10 insertions(+), 11 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp
diff -u llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp:1.14 llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp:1.15
--- llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp:1.14 Thu Jul 13 23:42:02 2006
+++ llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp Mon Nov 13 14:11:06 2006
@@ -168,30 +168,29 @@
unsigned LoadSize;
switch (Opcode) {
default: assert(0 && "Unknown load!");
- case PPC::LBZ:
+ case PPC::LBZ: case PPC::LBZU:
case PPC::LBZX:
- case PPC::LBZ8:
+ case PPC::LBZ8: case PPC::LBZU8:
case PPC::LBZX8:
case PPC::LVEBX:
LoadSize = 1;
break;
- case PPC::LHA:
+ case PPC::LHA: case PPC::LHAU:
case PPC::LHAX:
- case PPC::LHZ:
+ case PPC::LHZ: case PPC::LHZU:
case PPC::LHZX:
case PPC::LVEHX:
case PPC::LHBRX:
- case PPC::LHA8:
+ case PPC::LHA8: case PPC::LHAU8:
case PPC::LHAX8:
- case PPC::LHZ8:
+ case PPC::LHZ8: case PPC::LHZU8:
case PPC::LHZX8:
LoadSize = 2;
break;
- case PPC::LFS:
+ case PPC::LFS: case PPC::LFSU:
case PPC::LFSX:
- case PPC::LWZ:
+ case PPC::LWZ: case PPC::LWZU:
case PPC::LWZX:
- case PPC::LWZU:
case PPC::LWA:
case PPC::LWAX:
case PPC::LVEWX:
@@ -200,9 +199,9 @@
case PPC::LWZX8:
LoadSize = 4;
break;
- case PPC::LFD:
+ case PPC::LFD: case PPC::LFDU:
case PPC::LFDX:
- case PPC::LD:
+ case PPC::LD: case PPC::LDU:
case PPC::LDX:
LoadSize = 8;
break;
More information about the llvm-commits
mailing list