rs6000.c (struct processor_costs): New structure used to hold instruction…
rs6000.c (struct processor_costs): New structure used to hold instruction latencies/sizes for processor types. * config/rs6000/rs6000.c (struct processor_costs): New structure used to hold instruction latencies/sizes for processor types. (rs6000_cost): New global variable pointing to current CPU's costs. (rs6000_override_options): Initialize rs6000_cost to point to the appropriate cost table based upon rs6000_cpu and optimize_size. (rs6000_rtx_costs): Use rs6000_cost to avoid hardcoding processor timings inline. From-SVN: r84024
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment