This patch adds support for the vector quadword add/sub instructions introduced
authorKit Barton <kbarton@ca.ibm.com>
Mon, 25 May 2015 15:52:45 +0000 (15:52 +0000)
committerKit Barton <kbarton@ca.ibm.com>
Mon, 25 May 2015 15:52:45 +0000 (15:52 +0000)
commit5944ee2179c862a0793ceeeab68e1361f77f6f80
treee8f0af7858bd1ec69342663f21c8ececa5b6772d
parent6646033e6e759657b6122fde64844fd28a2c9635
This patch adds support for the vector quadword add/sub instructions introduced
in POWER8.

These are the Clang-related changes for http://reviews.llvm.org/D9081

vadduqm
vaddeuqm
vaddcuq
vaddecuq
vsubuqm
vsubeuqm
vsubcuq
vsubecuq
All builtins are added in altivec.h, and guarded with the POWER8_VECTOR and
powerpc64 macros.

http://reviews.llvm.org/D9903

llvm-svn: 238145
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/Headers/altivec.h
clang/test/CodeGen/builtins-ppc-quadword.c [new file with mode: 0644]
clang/test/Headers/altivec-intrin.c