diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-04-13 16:48:00 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-04-13 16:48:00 +0000 |
| commit | 5879efe0c86932e98d55f27d0df721eac14d20e8 (patch) | |
| tree | 90f05d77d31a570492e895ab028eb406d61ee750 /llvm/lib | |
| parent | 92cf71f6d799faf27ac7c3847bd0ef64dd02070f (diff) | |
| download | bcm5719-llvm-5879efe0c86932e98d55f27d0df721eac14d20e8.tar.gz bcm5719-llvm-5879efe0c86932e98d55f27d0df721eac14d20e8.zip | |
add a note, move an altivec todo to the altivec list.
llvm-svn: 27654
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/PowerPC/README.txt | 13 | ||||
| -rw-r--r-- | llvm/lib/Target/PowerPC/README_ALTIVEC.txt | 10 |
2 files changed, 16 insertions, 7 deletions
diff --git a/llvm/lib/Target/PowerPC/README.txt b/llvm/lib/Target/PowerPC/README.txt index e29dd52e282..6b3988dfb9a 100644 --- a/llvm/lib/Target/PowerPC/README.txt +++ b/llvm/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. - -===-------------------------------------------------------------------------=== diff --git a/llvm/lib/Target/PowerPC/README_ALTIVEC.txt b/llvm/lib/Target/PowerPC/README_ALTIVEC.txt index 78ea2cd879e..33e3e2a2b04 100644 --- a/llvm/lib/Target/PowerPC/README_ALTIVEC.txt +++ b/llvm/lib/Target/PowerPC/README_ALTIVEC.txt @@ -138,3 +138,13 @@ C = vector_shuffle A, B, <0, 1, 2, 4> -> 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. + +//===----------------------------------------------------------------------===// |

