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: Add a MIPS -mbranch-cost option


Thiemo Seufer <ths@networkno.de> writes:
> Richard Sandiford wrote:
>> This patch adds a -mbranch-cost option, as explained in the documentation.
>> It's probably only going to be of interest to developers and dyed-in-the-wool
>> code tweakers, but it's easy enough to support.
>> 
>> Tested on mipsisa32r2-elfoabi and mipsisa64-elfoabi.  Applied to trunk.
>> 
>> Thanks to Nigel Stephens for the suggestion.
>> 
>> Richard
>> 
>> 
>> gcc/
>> 	* config/mips/mips.c (override_options): Use mips_costs to derive
>> 	the default branch cost.
>> 	* config/mips/mips.h (BRANCH_COST): Use mips_branch_cost rather
>> 	than mips_costs.
>> 	* config/mips/mips.opt (mbranch-cost=): New option.
>> 	* doc/invoke.texi (-mbrach-cost): Document new MIPS option.
>                                ^
> Typo in ChangeLog. :-)

Fixed, thanks.

Richard


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