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

--- Comment #5 from GCC 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:62a6cafd7f55c6e88a9780b91039257572038535

commit r15-8461-g62a6cafd7f55c6e88a9780b91039257572038535
Author: liuhongt <hongtao....@intel.com>
Date:   Mon Mar 17 22:47:11 2025 -0700

    Use ix86_fp_comparison_operator in cbranchbf4 to avoid ICE.

    *jcc only supports ix86_fp_comparison_operator for CCFP, when
    comparison code is LT, there's an ICE. W/o AVX10.2, it's ok since
    do_compare_rtx_and_jump will transform LT to GT, but w/ AVX10.2 it
    goes directly into ix86_expand_branch which doesn't handle it.

    Use ix86_fp_comparison_operator in cbranchbf4.

    gcc/ChangeLog:

            PR target/117452
            * config/i386/i386.md (cbranchbf4): Use
            ix86_fp_comparison_operator instead of comparison_operator.

    gcc/testsuite/ChangeLog:

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

Reply via email to