arm.c (struct processors): Pass for speed down into cost helper functions.
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 13 Jan 2009 14:09:50 +0000 (14:09 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Tue, 13 Jan 2009 14:09:50 +0000 (14:09 +0000)
commitd5a0a47beef90da73f9f105c30ed380dce36e26b
tree95111fe3ea26972923704f6d3ad34e50c60cfce5
parent43b2b720fa4d064ff21d24cc4f0f04ab4231dd96
arm.c (struct processors): Pass for speed down into cost helper functions.

* arm.c (struct processors): Pass for speed down into cost helper
functions.
(const_ok_for_op): Handle COMPARE and inequality nodes.
(arm_rtx_costs_1): Rewrite.
(arm_size_rtx_costs): Update prototype.
(arm_rtx_costs): Pass speed down to helper functions.
(arm_slowmul_rtx_costs): Rework cost calculations.
(arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
(arm_9e_rtx_costs): Likewise.

From-SVN: r143338
gcc/ChangeLog
gcc/config/arm/arm.c