summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorSean Fertile <sfertile@ca.ibm.com>2016-11-14 18:43:59 +0000
committerSean Fertile <sfertile@ca.ibm.com>2016-11-14 18:43:59 +0000
commita435e07de85dfe6ef675aa584c6b074ea6cd98d7 (patch)
tree76c9384c235fb8371ce38badc2ff5e72a1dbd95c /llvm/include
parent544220fc0b31b4cc95aa183a20ef91922aeab7b7 (diff)
downloadbcm5719-llvm-a435e07de85dfe6ef675aa584c6b074ea6cd98d7.tar.gz
bcm5719-llvm-a435e07de85dfe6ef675aa584c6b074ea6cd98d7.zip
[PPC] Add intrinsic mapping to the xscvhpsp instruction
add an intrinsic to expose the 'VSX Scalar Convert Half-Precision to Single-Precision' instruction. Differential review: https://reviews.llvm.org/D26536 llvm-svn: 286862
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/IR/IntrinsicsPowerPC.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/IR/IntrinsicsPowerPC.td b/llvm/include/llvm/IR/IntrinsicsPowerPC.td
index dc8a5f6b8ba..ae4d9b4840d 100644
--- a/llvm/include/llvm/IR/IntrinsicsPowerPC.td
+++ b/llvm/include/llvm/IR/IntrinsicsPowerPC.td
@@ -867,6 +867,9 @@ def int_ppc_vsx_xvtstdcdp :
def int_ppc_vsx_xvtstdcsp :
PowerPC_VSX_Intrinsic<"xvtstdcsp", [llvm_v4i32_ty],
[llvm_v4f32_ty,llvm_i32_ty], [IntrNoMem]>;
+def int_ppc_vsx_xvcvhpsp :
+ PowerPC_VSX_Intrinsic<"xvcvhpsp", [llvm_v4f32_ty],
+ [llvm_v8i16_ty],[IntrNoMem]>;
}
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud