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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuho...@gcc.gnu.org>:

https://gcc.gnu.org/g:59b31f0e2d187ebdb3d399661e22b28e4ebd8099

commit r12-7124-g59b31f0e2d187ebdb3d399661e22b28e4ebd8099
Author: liuhongt <hongtao....@intel.com>
Date:   Wed Feb 9 13:14:43 2022 +0800

    ICE: QImode(not SImode) operand should be passed to gen_vec_initv16qiqi in
ashlv16qi3.

    ix86_expand_vector_init expects vals to be a parallel containing
    values of individual fields which should be either element mode of the
    vector mode, or a vector mode with the same element mode and smaller
    number of elements.

    But in the expander ashlv16qi3, the second operand is SImode which
    can't be directly passed to gen_vec_initv16qiqi.

    gcc/ChangeLog:

            PR target/104451
            * config/i386/sse.md (<insn><mode>3): lowpart_subreg
            operands[2] from SImode to QImode.

    gcc/testsuite/ChangeLog:

            PR target/104451
            * gcc.target/i386/pr104451.c: New test.

Reply via email to