OSDN Git Service

* config/i386/i386.c (COSTS_N_BYTES): New macro.
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jan 2006 02:48:17 +0000 (02:48 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jan 2006 02:48:17 +0000 (02:48 +0000)
commit3b7a406d5a79af66f479099d8e61e98b0507def4
tree1c0dbff3441372f8842a70d08c047e023d3cd63b
parenta33e06b7945e7ec884457aa23d3e4d0f059678e3
* config/i386/i386.c (COSTS_N_BYTES): New macro.
(size_cost): Encode costs in bytes so that a reg-reg addition is
equivalent to COSTS_N_INSNS(1).
(override_options): Use the size_cost.branch_cost as the default
ix86_branch_cost when optimizing for size.

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