On Tue, Feb 18, 2020 at 9:29 PM Kito Cheng <kito.ch...@sifive.com> wrote: > * config/riscv/riscv.c (riscv_emit_float_compare): Change the code gen > for LTGT.
I think you should update riscv_rtx_costs also. The comment is now wrong for LTGT, and the cost calculation is wrong too. Looks like it should be fp_add + COSTS_N_INSNS (2) now. Otherwise this patch looks right to me. Jim