https://gcc.gnu.org/g:c1d35de0d94d43b9976aff44001dadd4dd42b7ae
commit r15-2398-gc1d35de0d94d43b9976aff44001dadd4dd42b7ae Author: Takayuki 'January June' Suwa <jjsuwa_sys3...@yahoo.co.jp> Date: Wed Jul 24 06:07:06 2024 +0900 xtensa: Add missing speed cost for TYPE_FARITH in TARGET_INSN_COST According to the implemented pipeline model, this cost can be assumed to be 1 clock cycle. gcc/ChangeLog: * config/xtensa/xtensa.cc (xtensa_insn_cost): Add a case statement for TYPE_FARITH. Diff: --- gcc/config/xtensa/xtensa.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/config/xtensa/xtensa.cc b/gcc/config/xtensa/xtensa.cc index 1ccd42bcda89..43b1332d42b3 100644 --- a/gcc/config/xtensa/xtensa.cc +++ b/gcc/config/xtensa/xtensa.cc @@ -4723,6 +4723,7 @@ xtensa_insn_cost (rtx_insn *insn, bool speed) case TYPE_ARITH: case TYPE_MULTI: case TYPE_NOP: + case TYPE_FARITH: case TYPE_FSTORE: return COSTS_N_INSNS (n);