> > The rtx_cost may consider the compare operation in `seq` as quite expensive. > Overall it sounds like a target issue to me -- ie, now that we're > testing for profitability instead of just assuming it's profitable some > targets need adjustment. Either in their costing model or in the > testsuite expectations. >
Yes. You are right, I find the real problem. In mips-cpus.def MIPS_CPU ("mips32", PROCESSOR_4KC, MIPS_ISA_MIPS32, PTF_AVOID_BRANCHLIKELY_ALWAYS) MIPS_CPU ("mips64", PROCESSOR_5KC, MIPS_ISA_MIPS64, PTF_AVOID_BRANCHLIKELY_ALWAYS) MIPS_CPU ("mips64r2", PROCESSOR_5KC, MIPS_ISA_MIPS64R2, PTF_AVOID_BRANCHLIKELY_ALWAYS) MIPS_CPU ("mips64r3", PROCESSOR_5KC, MIPS_ISA_MIPS64R3, PTF_AVOID_BRANCHLIKELY_ALWAYS) MIPS_CPU ("mips64r5", PROCESSOR_5KC, MIPS_ISA_MIPS64R5, PTF_AVOID_BRANCHLIKELY_ALWAYS) Here PROCESSOR_4KC and PROCESSOR_5KC are both FPU-less. > Jeff > -- YunQiang Su