]> gcc.gnu.org Git - gcc.git/commit
rs6000.c (struct processor_costs): New structure used to hold instruction latencies...
authorRoger Sayle <roger@eyesopen.com>
Fri, 2 Jul 2004 18:00:46 +0000 (18:00 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Fri, 2 Jul 2004 18:00:46 +0000 (18:00 +0000)
commit8b897cfa9cb21e1576cfb46d2b18a6139a312cb0
tree99c34429892c8fa9d4c24bd74d246105980786a9
parent8a0aa06e00c3f8ecbabf27a810951b9a07e2a495
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
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
This page took 0.05322 seconds and 5 git commands to generate.