[PowerPC] Add more missing overloads to altivec.h
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 23 Mar 2021 10:51:19 +0000 (05:51 -0500)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 23 Mar 2021 10:52:36 +0000 (05:52 -0500)
commit2f782a796a2b0a4bb5ff772577f96eacdb9254c1
tree9cad5abdcd8cb5a13f92d4f6c14b2a8bfe97afb5
parentd78374b2d364e6124c82eefdae8175db11580c43
[PowerPC] Add more missing overloads to altivec.h

Add overloads that perform subtraction on v1i128 that take and
produce vector unsigned char to avoid needing to use __int128.
The overloads are suffixed with _u128 and are needed for targets
where __int128 isn't supported (AIX).
clang/lib/Headers/altivec.h
clang/test/CodeGen/builtins-ppc-quadword.c