Changes in directory llvm/lib/Target/PowerPC:

README_ALTIVEC.txt updated: 1.11 -> 1.12
---
Log message:

add a note


---
Diffs of the changes:  (+13 -2)

 README_ALTIVEC.txt |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/PowerPC/README_ALTIVEC.txt
diff -u llvm/lib/Target/PowerPC/README_ALTIVEC.txt:1.11 
llvm/lib/Target/PowerPC/README_ALTIVEC.txt:1.12
--- llvm/lib/Target/PowerPC/README_ALTIVEC.txt:1.11     Sat Apr  1 23:28:54 2006
+++ llvm/lib/Target/PowerPC/README_ALTIVEC.txt  Tue Apr  4 17:43:55 2006
@@ -52,8 +52,6 @@
 ds*
 mf*
 vavg*
-vmax*
-vmin*
 vmladduhm
 vmr*
 vsel (some aliases only accessible using builtins)
@@ -64,6 +62,19 @@
 
 
//===----------------------------------------------------------------------===//
 
+Codegen the constant here with something better than a constant pool load.
+
+void %test_f(<4 x float>* %P, <4 x float>* %Q, float %X) {
+        %tmp = load <4 x float>* %Q
+        %tmp = cast <4 x float> %tmp to <4 x int>
+        %tmp1 = and <4 x int> %tmp, < int 2147483647, int 2147483647, int 
2147483647, int 2147483647 > 
+        %tmp2 = cast <4 x int> %tmp1 to <4 x float>
+        store <4 x float> %tmp2, <4 x float>* %P
+        ret void
+}
+
+//===----------------------------------------------------------------------===//
+
 For functions that use altivec AND have calls, we are VRSAVE'ing all call
 clobbered regs.
 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to