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

Jeffrey A. Law <law at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Di fixed this a while back.  Bisection points to this:

commit 55914b016de8c8514c58eb59822677a69e44135c
Author: Die Li <[email protected]>
Date:   Fri May 19 23:00:13 2023 -0600

    Fix riscv_expand_conditional_move.

    Two issues have been observed in current riscv_expand_conditional_move
    implementation.
    1. Before introduction of TARGET_XTHEADCONDMOV, op0 of comparision
expression
    is used for mode comparision with word_mode, but after TARGET_XTHEADCONDMOV
    megered with TARGET_SFB_ALU, dest of if-then-else is used for mode
comparision with
    word_mode, and from md file mode of dest is DI or SI which can be different
with
    word_mode in RV64.

    2. TARGET_XTHEADCONDMOV cannot be generated when the mode of the comparison
is E_VOID.

Reply via email to