1
0

300-mips_Os_cpu_rtx_cost_model.patch 461 B

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