[llvm-commits] CVS: llvm/lib/Target/PowerPC/README.txt README_ALTIVEC.txt

Chris Lattner lattner at cs.uiuc.edu
Thu Apr 13 09:48:11 PDT 2006



Changes in directory llvm/lib/Target/PowerPC:

README.txt updated: 1.84 -> 1.85
README_ALTIVEC.txt updated: 1.21 -> 1.22
---
Log message:

add a note, move an altivec todo to the altivec list.


---
Diffs of the changes:  (+16 -7)

 README.txt         |   13 ++++++-------
 README_ALTIVEC.txt |   10 ++++++++++
 2 files changed, 16 insertions(+), 7 deletions(-)


Index: llvm/lib/Target/PowerPC/README.txt
diff -u llvm/lib/Target/PowerPC/README.txt:1.84 llvm/lib/Target/PowerPC/README.txt:1.85
--- llvm/lib/Target/PowerPC/README.txt:1.84	Sun Apr  2 01:20:00 2006
+++ llvm/lib/Target/PowerPC/README.txt	Thu Apr 13 11:48:00 2006
@@ -551,12 +551,11 @@
 
 ===-------------------------------------------------------------------------===
 
-extract_vector_elt of an arbitrary constant vector can be done with the 
-following instructions:
+Complete the signed i32 to FP conversion code using 64-bit registers
+transformation, good for PI.  See PPCISelLowering.cpp, this comment:
 
-vTemp = vec_splat(v0,2);    // 2 is the element the src is in.
-vec_ste(&destloc,0,vTemp);
+     // FIXME: disable this lowered code.  This generates 64-bit register values,
+     // and we don't model the fact that the top part is clobbered by calls.  We
+     // need to flag these together so that the value isn't live across a call.
+     //setOperationAction(ISD::SINT_TO_FP, MVT::i32, Custom);
 
-We can do an arbitrary non-constant value by using lvsr/perm/ste.
-
-===-------------------------------------------------------------------------===


Index: llvm/lib/Target/PowerPC/README_ALTIVEC.txt
diff -u llvm/lib/Target/PowerPC/README_ALTIVEC.txt:1.21 llvm/lib/Target/PowerPC/README_ALTIVEC.txt:1.22
--- llvm/lib/Target/PowerPC/README_ALTIVEC.txt:1.21	Wed Apr 12 14:07:14 2006
+++ llvm/lib/Target/PowerPC/README_ALTIVEC.txt	Thu Apr 13 11:48:00 2006
@@ -138,3 +138,13 @@
 ->  C = vsldoi A, B, 4
 
 //===----------------------------------------------------------------------===//
+
+extract_vector_elt of an arbitrary constant vector can be done with the 
+following instructions:
+
+vTemp = vec_splat(v0,2);    // 2 is the element the src is in.
+vec_ste(&destloc,0,vTemp);
+
+We can do an arbitrary non-constant value by using lvsr/perm/ste.
+
+//===----------------------------------------------------------------------===//






More information about the llvm-commits mailing list