aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-28 03:52:36 +0000
committerChris Lattner <sabre@nondot.org>2006-03-28 03:52:36 +0000
commit9bade4de9d05358164e23f06b5c9896f78300005 (patch)
tree416bfb4c4907490ae4888c5c9a8979474557acd3
parent4c4a2e2a0debd0cf32146e441f95c3d7eae879d7 (diff)
downloadexternal_llvm-9bade4de9d05358164e23f06b5c9896f78300005.zip
external_llvm-9bade4de9d05358164e23f06b5c9896f78300005.tar.gz
external_llvm-9bade4de9d05358164e23f06b5c9896f78300005.tar.bz2
These don't directly map to gcc intrinsics any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27213 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/IntrinsicsPowerPC.td26
1 files changed, 14 insertions, 12 deletions
diff --git a/include/llvm/IntrinsicsPowerPC.td b/include/llvm/IntrinsicsPowerPC.td
index 2338f83..fd8003e 100644
--- a/include/llvm/IntrinsicsPowerPC.td
+++ b/include/llvm/IntrinsicsPowerPC.td
@@ -12,32 +12,34 @@
//===----------------------------------------------------------------------===//
let TargetPrefix = "ppc" in { // All intrinsics start with "llvm.ppc.".
- // Loads.
- def int_ppc_altivec_lvx : GCCBuiltin<"__builtin_altivec_lvx">,
+ // Loads. These don't map directly to GCC builtins because they represent the
+ // source address with a single pointer.
+ def int_ppc_altivec_lvx :
Intrinsic<[llvm_v4i32_ty, llvm_ptr_ty], [IntrReadMem]>;
- def int_ppc_altivec_lvxl : GCCBuiltin<"__builtin_altivec_lvxl">,
+ def int_ppc_altivec_lvxl :
Intrinsic<[llvm_v4i32_ty, llvm_ptr_ty], [IntrReadMem]>;
- def int_ppc_altivec_lvebx : GCCBuiltin<"__builtin_altivec_lvebx">,
+ def int_ppc_altivec_lvebx :
Intrinsic<[llvm_v16i8_ty, llvm_ptr_ty], [IntrReadMem]>;
- def int_ppc_altivec_lvehx : GCCBuiltin<"__builtin_altivec_lvehx">,
+ def int_ppc_altivec_lvehx :
Intrinsic<[llvm_v8i16_ty, llvm_ptr_ty], [IntrReadMem]>;
- def int_ppc_altivec_lvewx : GCCBuiltin<"__builtin_altivec_lvewx">,
+ def int_ppc_altivec_lvewx :
Intrinsic<[llvm_v4i32_ty, llvm_ptr_ty], [IntrReadMem]>;
- // Stores.
- def int_ppc_altivec_stvx : GCCBuiltin<"__builtin_altivec_stvx">,
+ // Stores. These don't map directly to GCC builtins because they represent the
+ // source address with a single pointer.
+ def int_ppc_altivec_stvx :
Intrinsic<[llvm_void_ty, llvm_v4i32_ty, llvm_ptr_ty],
[IntrWriteMem]>;
- def int_ppc_altivec_stvxl : GCCBuiltin<"__builtin_altivec_stvxl">,
+ def int_ppc_altivec_stvxl :
Intrinsic<[llvm_void_ty, llvm_v4i32_ty, llvm_ptr_ty],
[IntrWriteMem]>;
- def int_ppc_altivec_stvebx : GCCBuiltin<"__builtin_altivec_stvebx">,
+ def int_ppc_altivec_stvebx :
Intrinsic<[llvm_void_ty, llvm_v16i8_ty, llvm_ptr_ty],
[IntrWriteMem]>;
- def int_ppc_altivec_stvehx : GCCBuiltin<"__builtin_altivec_stvehx">,
+ def int_ppc_altivec_stvehx :
Intrinsic<[llvm_void_ty, llvm_v8i16_ty, llvm_ptr_ty],
[IntrWriteMem]>;
- def int_ppc_altivec_stvewx : GCCBuiltin<"__builtin_altivec_stvewx">,
+ def int_ppc_altivec_stvewx :
Intrinsic<[llvm_void_ty, llvm_v4i32_ty, llvm_ptr_ty],
[IntrWriteMem]>;