rs6000-c.c: Add support for built-in functions vector signed int vec_subc (vector signed int...
gcc/ChangeLog: 2017-07-06 Carl Love <cel@us.ibm.com> * config/rs6000/rs6000-c.c: Add support for built-in functions vector signed int vec_subc (vector signed int, vector signed int); vector signed __int128 vec_subc (vector signed __int128, vector signed __int128); vector unsigned __int128 vec_subc (vector unsigned __int128, vector unsigned __int128); vector signed int vec_sube (vector signed int, vector signed int, vector signed int); vector unsigned int vec_sube (vector unsigned int, vector unsigned int, vector unsigned int); vector signed __int128 vec_sube (vector signed __int128, vector signed __int128, vector signed__int128); vector unsigned __int128 vec_sube (vector unsigned __int128, vector unsigned __int128, vector unsigned __int128); vector signed int vec_subec (vector signed int, vector signed int, vector signed int); vector unsigned int vec_subec (vector unsigned int, vector unsigned int, vector unsigned int); vector signed __int128 vec_subec (vector signed __int128, vector signed __int128, vector signed__int128); vector unsigned __int128 vec_subec (vector unsigned __int128, vector unsigned __int128, vector unsigned __int128); * config/rs6000/rs6000.c (ALTIVEC_BUILTIN_VEC_SUBE, ALTIVEC_BUILTIN_VEC_SUBEC): Add ef_builtins. * config/rs6000/rs6000-builtin.def (SUBE, SUBEC): Add BU_ALTIVEC_OVERLOAD_X definitions. * config/rs6000/altivec.h (vec_sube, vec_subec): Add builtin defines. * doc/extend.texi: Update the built-in documentation file for the new built-in functions. gcc/testsuite/ChangeLog: 2017-07-06 Carl Love <cel@us.ibm.com> * gcc.target/powerpc/p8vector-builtin-8.c (foo): Add test cases for the new vec_subc, vec_sube, vec_subec built-ins. Add the missing test cases for vec_addc, adde and addec builtins. From-SVN: r250023
Showing
Please
register
or
sign in
to comment