]> granicus.if.org Git - clang/commit
Add vec_insert4b and vec_extract4b functions to altivec.h
authorSean Fertile <sfertile@ca.ibm.com>
Thu, 5 Jan 2017 21:43:30 +0000 (21:43 +0000)
committerSean Fertile <sfertile@ca.ibm.com>
Thu, 5 Jan 2017 21:43:30 +0000 (21:43 +0000)
commitd65cd1f9424369c4ae7f945fac7fd9e4357451b2
tree4e4b6ef1b603faaf773088eaf43f65e732f4a8f2
parent1c9f404a2528fa5953a556c5adfe1219f94653a9
Add vec_insert4b and vec_extract4b functions to altivec.h

Add builtins for the functions and custom codegen mapping the builtins to their
corresponding intrinsics and handling the endian related swapping.

https://reviews.llvm.org/D26546

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291179 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsPPC.def
lib/CodeGen/CGBuiltin.cpp
lib/Headers/altivec.h
test/CodeGen/builtins-ppc-error.c [new file with mode: 0644]
test/CodeGen/builtins-ppc-extractword-error.c [new file with mode: 0644]
test/CodeGen/builtins-ppc-insertword-error.c [new file with mode: 0644]
test/CodeGen/builtins-ppc-p9vector.c