[Bug target/80315] Calling __builtin_crypto_vshasigmaw with argument 3 out of range creates an unrecognizable insn

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 12 13:46:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80315

--- Comment #5 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Wed Apr 12 13:45:27 2017
New Revision: 246874

URL: https://gcc.gnu.org/viewcvs?rev=246874&root=gcc&view=rev
Log:
2017-04-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

        Backport from mainline
        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.


Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-5-branch/gcc/doc/extend.texi


More information about the Gcc-bugs mailing list