[Bug rtl-optimization/118067] [15 Regression] ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1860 (unable to find a register to spill) {*lshrhi3_1} with -O -fno-split-wide-types -mavx512f

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 20 20:06:05 GMT 2025


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

--- Comment #17 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Uros Bizjak <uros@gcc.gnu.org>:

https://gcc.gnu.org/g:9a1efd1ee2509abb93878bd911d8c07143b10e33

commit r12-10920-g9a1efd1ee2509abb93878bd911d8c07143b10e33
Author: Uros Bizjak <ubizjak@gmail.com>
Date:   Mon Jan 20 16:19:43 2025 +0100

    i386: Disable SImode/DImode moves from/to mask regs without avx512bw
[PR118067]

    SImode and DImode moves from/to mask registers are valid only with
AVX512BW,
    so mark relevant alternatives in *movsi_internal and *movdi_internal as
such.

            PR target/118067

    gcc/ChangeLog:

            * config/i386/i386.md (*movdi_internal):
            Disable alternatives from/to mask registers without AVX512BW.
            (*movsi_internal): Ditto.


More information about the Gcc-bugs mailing list