aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/README_ALTIVEC.txt
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-11 18:47:03 +0000
committerChris Lattner <sabre@nondot.org>2006-04-11 18:47:03 +0000
commit95c7570f3231660071be9becb185678df268c936 (patch)
tree7262b77acb8d19d078e0801f5f99a7c62516ddf8 /lib/Target/PowerPC/README_ALTIVEC.txt
parentdf3c33c57e16eb32c88bd1160fd9b6369ab23832 (diff)
downloadexternal_llvm-95c7570f3231660071be9becb185678df268c936.zip
external_llvm-95c7570f3231660071be9becb185678df268c936.tar.gz
external_llvm-95c7570f3231660071be9becb185678df268c936.tar.bz2
we have a shuffle instr, add an example.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27592 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/README_ALTIVEC.txt')
-rw-r--r--lib/Target/PowerPC/README_ALTIVEC.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/Target/PowerPC/README_ALTIVEC.txt b/lib/Target/PowerPC/README_ALTIVEC.txt
index 0cf7a19..7e92f0b 100644
--- a/lib/Target/PowerPC/README_ALTIVEC.txt
+++ b/lib/Target/PowerPC/README_ALTIVEC.txt
@@ -96,11 +96,6 @@ instructions.
//===----------------------------------------------------------------------===//
-We need an LLVM 'shuffle' instruction, that corresponds to the VECTOR_SHUFFLE
-node.
-
-//===----------------------------------------------------------------------===//
-
We need a way to teach tblgen that some operands of an intrinsic are required to
be constants. The verifier should enforce this constraint.
@@ -133,4 +128,10 @@ 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
+
//===----------------------------------------------------------------------===//