diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-17 05:28:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-17 05:28:54 +0000 |
commit | 5913810b8286191053853b7495f324e091ab208f (patch) | |
tree | c26dcd001d770af9aeb19082bf6a03d6f27a1387 /lib/Target/PowerPC/README_ALTIVEC.txt | |
parent | c3b5ad944cf208d122c0de90c106691adb4710a9 (diff) | |
download | external_llvm-5913810b8286191053853b7495f324e091ab208f.zip external_llvm-5913810b8286191053853b7495f324e091ab208f.tar.gz external_llvm-5913810b8286191053853b7495f324e091ab208f.tar.bz2 |
Implement a TODO: for any shuffle that can be viewed as a v4[if]32 shuffle,
if it can be implemented in 3 or fewer discrete altivec instructions, codegen
it as such. This implements Regression/CodeGen/PowerPC/vec_perf_shuffle.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/README_ALTIVEC.txt')
-rw-r--r-- | lib/Target/PowerPC/README_ALTIVEC.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/PowerPC/README_ALTIVEC.txt b/lib/Target/PowerPC/README_ALTIVEC.txt index f5a7c17..5d7ecd5 100644 --- a/lib/Target/PowerPC/README_ALTIVEC.txt +++ b/lib/Target/PowerPC/README_ALTIVEC.txt @@ -101,18 +101,6 @@ void test(vector int *X, vector int *Y) { //===----------------------------------------------------------------------===// -There are a wide variety of vector_shuffle operations that we can do with a pair -of instructions (e.g. a vsldoi + vpkuhum). We should pattern match these, but -there are a huge number of these. - -Specific examples: - -C = vector_shuffle A, B, <0, 1, 2, 4> --> t = vsldoi A, A, 12 --> C = vsldoi A, B, 4 - -//===----------------------------------------------------------------------===// - extract_vector_elt of an arbitrary constant vector can be done with the following instructions: |