[PowerPC] Add VSX builtins for vec_div
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 14 Nov 2014 12:10:51 +0000 (12:10 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 14 Nov 2014 12:10:51 +0000 (12:10 +0000)
commitcee13a2712c3ac3134791f951157011411e798d8
treebfdad785097e6db87808784241cb55c1a2a85e2d
parent76746929611423cc2788b6c4e8251a4e94063c08
[PowerPC] Add VSX builtins for vec_div

This patch adds builtin support for xvdivdp and xvdivsp, along with a
new test case.  The builtins are accessed using vec_div in altivec.h.
Builtins are listed (mostly) alphabetically there, so inserting these
changed the line numbers for deprecation warnings tested in
test/Headers/altivec-intrin.c.

There is a companion patch for LLVM.

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