[Bug target/107969] ICE in extract_insn, at recog.cc:2791 since r13-3292-gc2565a31c1622ab0

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 6 11:17:12 GMT 2022


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

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

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

commit r13-4505-gbcf89f05f7b0b1732553e224548f1de55321e437
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Dec 6 12:16:37 2022 +0100

    i386: Fix up expander conditions on cbranchbf4 and cstorebf4 [PR107969]

    With -msoft-float we ICE on __bf16 comparisons, because the
    insns we want to use under the hood (cbranchsf4 and cstoresf4)
    after performing the fast extensions aren't available.

    The following patch copies the conditions from the c*sf4 expanders
    to the corresponding c*bf4 expanders.

    2022-12-06  Jakub Jelinek  <jakub@redhat.com>

            PR target/107969
            * config/i386/i386.md (cbranchbf4, cstorebf4): Guard expanders
            with the same condition as cbranchsf4 or cstoresf4 expanders.

            * gcc.target/i386/pr107969.c: New test.


More information about the Gcc-bugs mailing list