summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/README.txt
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-13 16:48:00 +0000
committerChris Lattner <sabre@nondot.org>2006-04-13 16:48:00 +0000
commited9379051708a6ef858bcfa4e300f126eb69c178 (patch)
tree8f9bc3845fa83304c05b9ea3b4fba2bf2ecde820 /lib/Target/PowerPC/README.txt
parent61e99c9db845f4824cac9c78c2245cceeb542213 (diff)
downloadllvm-ed9379051708a6ef858bcfa4e300f126eb69c178.tar.gz
llvm-ed9379051708a6ef858bcfa4e300f126eb69c178.tar.bz2
llvm-ed9379051708a6ef858bcfa4e300f126eb69c178.tar.xz
add a note, move an altivec todo to the altivec list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27654 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/README.txt')
-rw-r--r--lib/Target/PowerPC/README.txt13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt
index e29dd52e28..6b3988dfb9 100644
--- a/lib/Target/PowerPC/README.txt
+++ b/lib/Target/PowerPC/README.txt
@@ -551,12 +551,11 @@ void func(unsigned int *ret, float dx, float dy, float dz, float dw) {
===-------------------------------------------------------------------------===
-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.
-
-===-------------------------------------------------------------------------===