300-mips_Os_cpu_rtx_cost_model.patch (461B)
1 Use the proper rtx cost model for the selected CPU, even when optimizing 2 for size. This generates better code. 3 4 --- a/gcc/config/mips/mips.c 5 +++ b/gcc/config/mips/mips.c 6 @@ -17483,7 +17483,7 @@ mips_option_override (void) 7 flag_pcc_struct_return = 0; 8 9 /* Decide which rtx_costs structure to use. */ 10 - if (optimize_size) 11 + if (0 && optimize_size) 12 mips_cost = &mips_rtx_cost_optimize_size; 13 else 14 mips_cost = &mips_rtx_cost_data[mips_tune];