aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/IntrinsicsPowerPC.td
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-06 21:29:23 +0000
committerChris Lattner <sabre@nondot.org>2006-06-06 21:29:23 +0000
commit001db453f5df586af9625d68e715950106e4f961 (patch)
treef1e04ee48e474229acd7ba7835418478e30b48a6 /include/llvm/IntrinsicsPowerPC.td
parent73ebd0974c80d2c0ab79587bb11f948e962df704 (diff)
downloadexternal_llvm-001db453f5df586af9625d68e715950106e4f961.zip
external_llvm-001db453f5df586af9625d68e715950106e4f961.tar.gz
external_llvm-001db453f5df586af9625d68e715950106e4f961.tar.bz2
Add PowerPC intrinsics to support dcbz[l]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IntrinsicsPowerPC.td')
-rw-r--r--include/llvm/IntrinsicsPowerPC.td9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/llvm/IntrinsicsPowerPC.td b/include/llvm/IntrinsicsPowerPC.td
index f344f3e..2d128aa 100644
--- a/include/llvm/IntrinsicsPowerPC.td
+++ b/include/llvm/IntrinsicsPowerPC.td
@@ -15,6 +15,15 @@
// Definitions for all PowerPC intrinsics.
//
+// Non-altivec intrinsics.
+let TargetPrefix = "ppc" in { // All intrinsics start with "llvm.ppc.".
+ // dcbz instruction.
+ def int_ppc_dcbz : Intrinsic<[llvm_void_ty, llvm_ptr_ty], [IntrWriteMem]>;
+ // dcbzl (PPC970) instruction.
+ def int_ppc_dcbzl : Intrinsic<[llvm_void_ty, llvm_ptr_ty], [IntrWriteMem]>;
+}
+
+
let TargetPrefix = "ppc" in { // All PPC intrinsics start with "llvm.ppc.".
/// PowerPC_Vec_Intrinsic - Base class for all altivec intrinsics.
class PowerPC_Vec_Intrinsic<string GCCIntSuffix, list<LLVMType> types,