aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Target/PowerPC/README_ALTIVEC.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/README_ALTIVEC.txt b/lib/Target/PowerPC/README_ALTIVEC.txt
index b945608..0cf7a19 100644
--- a/lib/Target/PowerPC/README_ALTIVEC.txt
+++ b/lib/Target/PowerPC/README_ALTIVEC.txt
@@ -9,7 +9,7 @@ Altivec support. The first should be a single lvx from the constant pool, the
second should be a xor/stvx:
void foo(void) {
- int x[8] __attribute__((aligned(128))) = { 1, 1, 1, 1, 1, 1, 1, 1 };
+ int x[8] __attribute__((aligned(128))) = { 1, 1, 1, 17, 1, 1, 1, 1 };
bar (x);
}
@@ -129,3 +129,8 @@ 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.
+
+//===----------------------------------------------------------------------===//