Changes in directory llvm/lib/Target/PowerPC:
README.txt updated: 1.83 -> 1.84 --- Log message: add a note --- Diffs of the changes: (+9 -0) README.txt | 9 +++++++++ 1 files changed, 9 insertions(+) Index: llvm/lib/Target/PowerPC/README.txt diff -u llvm/lib/Target/PowerPC/README.txt:1.83 llvm/lib/Target/PowerPC/README.txt:1.84 --- llvm/lib/Target/PowerPC/README.txt:1.83 Mon Mar 27 01:04:16 2006 +++ llvm/lib/Target/PowerPC/README.txt Sun Apr 2 01:20:00 2006 @@ -551,3 +551,12 @@ ===-------------------------------------------------------------------------=== +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. + +===-------------------------------------------------------------------------=== _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits