This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #2 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Author: wschmidt
Date: Tue Apr 11 21:37:16 2017
New Revision: 246859

URL: https://gcc.gnu.org/viewcvs?rev=246859&root=gcc&view=rev
Log:
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:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/doc/extend.texi

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]