[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)
commita9548937d621d992235dc0a103e06746e7feaccd
tree57bec43fff1813720325e17e44da7fd0c5d239b1
parenta435e07de85dfe6ef675aa584c6b074ea6cd98d7
[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

llvm-svn: 286863
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Headers/altivec.h
clang/test/CodeGen/builtins-ppc-p9vector.c