]> granicus.if.org Git - clang/commit
[PPC] altivec.h functions for converting half precision to single precision.
authorSean Fertile <sfertile@ca.ibm.com>
Mon, 14 Nov 2016 18:47:15 +0000 (18:47 +0000)
committerSean Fertile <sfertile@ca.ibm.com>
Mon, 14 Nov 2016 18:47:15 +0000 (18:47 +0000)
commitcb2e39047d0d60947d30ac8fc39b5c758d175522
tree324c4918d1d139232843a6922574ab92abdd3393
parent4fe4b24b2afb9e57f6c112cc327f36400ca097a7
[PPC] altivec.h functions for converting half precision to single precision.

Adds 2 vector functions for converting from a vector of unsigned short to a
vector of float. One converts the low 4 halfwords and one converts the high
4 halfwords.

Differential Revision: https://reviews.llvm.org/D26534

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286863 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsPPC.def
lib/Headers/altivec.h
test/CodeGen/builtins-ppc-p9vector.c