[llvm-commits] CVS: llvm/lib/Target/PowerPC/README_ALTIVEC.txt
Chris Lattner
lattner at cs.uiuc.edu
Mon Apr 17 14:52:15 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
README_ALTIVEC.txt updated: 1.26 -> 1.27
---
Log message:
remove done item
---
Diffs of the changes: (+2 -19)
README_ALTIVEC.txt | 21 ++-------------------
1 files changed, 2 insertions(+), 19 deletions(-)
Index: llvm/lib/Target/PowerPC/README_ALTIVEC.txt
diff -u llvm/lib/Target/PowerPC/README_ALTIVEC.txt:1.26 llvm/lib/Target/PowerPC/README_ALTIVEC.txt:1.27
--- llvm/lib/Target/PowerPC/README_ALTIVEC.txt:1.26 Mon Apr 17 12:29:41 2006
+++ llvm/lib/Target/PowerPC/README_ALTIVEC.txt Mon Apr 17 16:52:03 2006
@@ -5,8 +5,8 @@
//===----------------------------------------------------------------------===//
-Altivec support. The first should be a single lvx from the constant pool, the
-second should be a xor/stvx:
+The first should be a single lvx from the constant pool, the second should be
+a xor/stvx:
void foo(void) {
int x[8] __attribute__((aligned(128))) = { 1, 1, 1, 17, 1, 1, 1, 1 };
@@ -39,23 +39,6 @@
//===----------------------------------------------------------------------===//
-There are a wide range of vector constants we can generate with combinations of
-altivec instructions.
-
-Examples, these work with all widths:
- Splat(+/- 16,18,20,22,24,28,30): t = vspliti I/2, r = t+t
- Splat(+/- 17,19,21,23,25,29): t = vsplti +/-15, t2 = vsplti I-15, r=t + t2
- Splat(31): t = vsplti FB, r = srl t,t
- Splat(256): t = vsplti 1, r = vsldoi t, t, 1
-
-Lots more are listed here:
-http://www.informatik.uni-bremen.de/~hobold/AltiVec.html
-
-This should be added to the ISD::BUILD_VECTOR case in
-PPCTargetLowering::LowerOperation.
-
-//===----------------------------------------------------------------------===//
-
FABS/FNEG can be codegen'd with the appropriate and/xor of -0.0.
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list