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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Hongyu Wang <hong...@gcc.gnu.org>:

https://gcc.gnu.org/g:e2385690a3ead66744e51115966f25f9c05bb3e2

commit r12-7419-ge2385690a3ead66744e51115966f25f9c05bb3e2
Author: Hongyu Wang <hongyu.w...@intel.com>
Date:   Mon Feb 28 15:09:59 2022 +0800

    i386: Fix V8HF vector init under -mno-avx [PR 104664]

    For V8HFmode vector init with HFmode, do not directly emits V8HF move
    with subreg, which may cause reload to assign general register to move
    src.

    gcc/ChangeLog:

            PR target/104664
            * config/i386/i386-expand.cc (ix86_expand_vector_init_duplicate):
              Use vec_setv8hf_0 for HF to V8HFmode move instead of subreg.

    gcc/testsuite/ChangeLog:

            PR target/104664
            * gcc.target/i386/pr104664.c: New test.

Reply via email to