On 11/18/23 22:42, Maciej W. Rozycki wrote:
In `riscv_expand_conditional_move' we only let integer conditions
through at the moment, even though code has already been prepared to
handle floating-point conditions as well.

Lift this restriction and only bail out if a non-word-mode integer
condition has been requested, as we cannot handle this specific case
owing to machine instruction set restriction.  We already take care of
the non-integer, non-floating-point case later on.

        gcc/
        * config/riscv/riscv.cc (riscv_expand_conditional_move): Don't
        bail out in floating-point conditions.
I probably goof'd something when merging up the eswin, vrull and ventana changes in this space. I recall fixing multiple bugs in handling FP conditional moves when building/testing spec2017 internally -- so this was supposed to be working.


OK for the trunk.

Jeff

Reply via email to