rs6000.c (struct processor_costs): Change semantics of fields to include the COST_N_I...
authorRoger Sayle <roger@eyesopen.com>
Sun, 11 Jul 2004 14:32:49 +0000 (14:32 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sun, 11 Jul 2004 14:32:49 +0000 (14:32 +0000)
commit06a67bdd66ac806bea322b14f4e94fd03ad444f2
treed42a31e10870dfca2e30938ea3e93da70534df8d
parente08b5a758a9dec2bf31df677b2da9345ca791044
rs6000.c (struct processor_costs): Change semantics of fields to include the COST_N_INSNS scaling...

* rs6000.c (struct processor_costs): Change semantics of fields to
include the COST_N_INSNS scaling, and update all initializers.
(rs6000_rtx_costs): Don't use COSTS_N_INSNS on rs6000_cost fields.
Use COSTS_N_INSNS(1) for NOT, SIGN_EXTEND, ZERO_EXTEND and COMPARE.
Use rs6000_cost->fp for both FLOAT_TRUNCATE and UNSPEC_FRSP.  When
optimizing for size, use COSTS_N_INSNS(1) for CALL and IF_THEN_ELSE.

From-SVN: r84512
gcc/ChangeLog
gcc/config/rs6000/rs6000.c