re PR target/80376 (Some vec_xxpermdi usage lead to ICE)
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Tue, 11 Apr 2017 21:37:16 +0000 (21:37 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Tue, 11 Apr 2017 21:37:16 +0000 (21:37 +0000)
commit6f78039049da44f05d46417acd6f23486a705d6f
tree27402358ff1ec4f5608fb30536f252fb0e712e52
parent125db6a1c6aca542c14b326facdcaf9a1fca8b52
re PR target/80376 (Some vec_xxpermdi usage lead to ICE)

2017-04-11  Bill Schmidt  <wschmidt@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.

From-SVN: r246859
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/doc/extend.texi