aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/contracts.cc
diff options
context:
space:
mode:
authorCarl Love <cel@linux.ibm.com>2024-07-09 13:31:22 -0400
committerCarl Love <cel@linux.ibm.com>2024-07-09 13:34:49 -0400
commit807bed024d03f73bc1cf47ac8f23da9307c88464 (patch)
treec57bb83939cdddb9ae63d67765138a36189e4b87 /gcc/cp/contracts.cc
parent8d6326eeb773076643d9babf55f7cca19968313e (diff)
downloadgcc-807bed024d03f73bc1cf47ac8f23da9307c88464.zip
gcc-807bed024d03f73bc1cf47ac8f23da9307c88464.tar.gz
gcc-807bed024d03f73bc1cf47ac8f23da9307c88464.tar.bz2
rs6000, add overloaded vec_sel with int128 arguments
Extend the vec_sel built-in to take three signed/unsigned/bool int128 arguments and return a signed/unsigned/bool int128 result. Extending the vec_sel built-in makes the existing buit-ins __builtin_vsx_xxsel_1ti and __builtin_vsx_xxsel_1ti_uns obsolete. The patch removes these built-ins. The patch adds documentation and test cases for the new overloaded vec_sel built-ins. gcc/ChangeLog: * config/rs6000/rs6000-builtins.def (__builtin_vsx_xxsel_1ti, __builtin_vsx_xxsel_1ti_uns): Remove built-in definitions. * config/rs6000/rs6000-overload.def (vec_sel): Add new overloaded vector signed, unsigned and bool 128-bit definitions. * doc/extend.texi (vec_sel): Add documentation for new instances with signed, unsigned and bool 129-bit bool arguments. gcc/testsuite/ChangeLog: * gcc.target/powerpc/builtins-10-runnable.c: New runnable test file. * gcc.target/powerpc/builtins-10.c: New compile only test file.
Diffstat (limited to 'gcc/cp/contracts.cc')
0 files changed, 0 insertions, 0 deletions