OSDN Git Service

* config/rs6000/rs6000.c (struct processor_costs): Add new fields
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jul 2004 20:19:43 +0000 (20:19 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jul 2004 20:19:43 +0000 (20:19 +0000)
commitafeee12248ce5140c94b318cf4638a3dca7026b1
tree695c690ccd4077b3e039f00d90c5f77e390acb45
parent4f7f73c8d326fe567a23b0d73b92629b2c6b0190
* config/rs6000/rs6000.c (struct processor_costs): Add new fields
for simple floating point operations "fp", double precision
multiplication "dmul", and single and double precision division
"sdiv" and "ddiv".  Update all CPU variant tables as appropriate.
(ppc630_cost): New table split from ppc620_cost, to distinguish
differences in floating point latencies.
(rs6000_override_options): Use ppc630_cost for PROCESSOR_PPC630.
(rs6000_rtx_costs): Add support for single and double precision
floating point addition, subtraction, multiplication, division,
fused-multiply-add, fused-multiply-sub, negation, absolute value
and negative absolute value.  Tweak MEM case to use prefered idiom.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84226 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.c