Changes in directory llvm/lib/Target/PowerPC:
README.txt updated: 1.79 -> 1.80 --- Log message: add a note --- Diffs of the changes: (+10 -0) README.txt | 10 ++++++++++ 1 files changed, 10 insertions(+) Index: llvm/lib/Target/PowerPC/README.txt diff -u llvm/lib/Target/PowerPC/README.txt:1.79 llvm/lib/Target/PowerPC/README.txt:1.80 --- llvm/lib/Target/PowerPC/README.txt:1.79 Tue Mar 21 23:33:23 2006 +++ llvm/lib/Target/PowerPC/README.txt Thu Mar 23 15:28:44 2006 @@ -569,3 +569,13 @@ lwz has a single use. Since LWA is cracked anyway, this would be a codesize win only. +===-------------------------------------------------------------------------=== + + Consider this: + v4f32 Vector; + v4f32 Vector2 = { Vector.X, Vector.X, Vector.X, Vector.X }; + +Since we know that "Vector" is 16-byte aligned and we know the element offset +of ".X", we should change the load into a lve*x instruction, instead of doing +a load/store/lve*x sequence. + _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits