[llvm-commits] CVS: llvm/include/llvm/IntrinsicsPowerPC.td

Chris Lattner lattner at cs.uiuc.edu
Tue Apr 4 16:13:36 PDT 2006



Changes in directory llvm/include/llvm:

IntrinsicsPowerPC.td updated: 1.14 -> 1.15
---
Log message:

add average intrinsics.


---
Diffs of the changes:  (+8 -0)

 IntrinsicsPowerPC.td |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/include/llvm/IntrinsicsPowerPC.td
diff -u llvm/include/llvm/IntrinsicsPowerPC.td:1.14 llvm/include/llvm/IntrinsicsPowerPC.td:1.15
--- llvm/include/llvm/IntrinsicsPowerPC.td:1.14	Mon Apr  3 20:40:06 2006
+++ llvm/include/llvm/IntrinsicsPowerPC.td	Tue Apr  4 18:13:21 2006
@@ -186,6 +186,14 @@
                         [InstrNoMem]>;
 }
 
+// Vector average.
+def int_ppc_altivec_vavgsb : PowerPC_Vec_BBB_Intrinsic<"vavgsb">;
+def int_ppc_altivec_vavgsh : PowerPC_Vec_HHH_Intrinsic<"vavgsh">;
+def int_ppc_altivec_vavgsw : PowerPC_Vec_WWW_Intrinsic<"vavgsw">;
+def int_ppc_altivec_vavgub : PowerPC_Vec_BBB_Intrinsic<"vavgub">;
+def int_ppc_altivec_vavguh : PowerPC_Vec_HHH_Intrinsic<"vavguh">;
+def int_ppc_altivec_vavguw : PowerPC_Vec_WWW_Intrinsic<"vavguw">;
+
 // Vector maximum.
 def int_ppc_altivec_vmaxfp : PowerPC_Vec_FFF_Intrinsic<"vmaxfp">;
 def int_ppc_altivec_vmaxsb : PowerPC_Vec_BBB_Intrinsic<"vmaxsb">;






More information about the llvm-commits mailing list