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: Bad choices by expand_mult_highpart


On Thu, 18 Mar 2004, Richard Sandiford wrote:
>
> 	* expmed.c (choose_mult_variant, expand_mult_const): New, split from...
> 	(expand_mult): ...here.
> 	(extract_high_half): New, split out from expand_mult_highpart.
> 	(expand_highpart_optab): Likewise.  Don't clobber target prematurely.
> 	(expand_highpart): Evaluate the cost of a shift/add sequence,
> 	then see if any of the specialized optabs are cheaper.
>

Ok for mainline.

Thanks,

Roger
--


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