https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80376
--- Comment #7 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Author: wschmidt Date: Wed Apr 12 13:37:30 2017 New Revision: 246873 URL: https://gcc.gnu.org/viewcvs?rev=246873&root=gcc&view=rev Log: 2017-04-12 Bill Schmidt <wschm...@linux.vnet.ibm.com> Backport from mainline 2017-04-11 Bill Schmidt <wschm...@linux.vnet.ibm.com> PR target/80376 PR target/80315 * config/rs6000/rs6000.c (rs6000_expand_unop_builtin): Return CONST0_RTX (mode) rather than const0_rtx where appropriate. (rs6000_expand_binop_builtin): Likewise. (rs6000_expand_ternop_builtin): Likewise; also add missing vsx_xxpermdi_* variants; also fix typo (arg1 => arg2) for vshasigma built-ins. * doc/extend.texi: Document that vec_xxpermdi's third argument must be a constant. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/rs6000/rs6000.c branches/gcc-6-branch/gcc/doc/extend.texi