This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Improve x86 size costs


On Tue, Jan 17, 2006 at 12:37:13PM -0700, Roger Sayle wrote:
> 	* 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.

Ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]