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] PR middle-end/18293: Fast-path expand_mult for 2^N


On Tue, Dec 07, 2004 at 05:22:15PM -0700, Roger Sayle wrote:
> 	PR middle-end/18293
> 	* expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Move definition earlier.
> 	(expand_mult): Special case powers of two to avoid synth_mult.
> 	* loop.c (product_cheap_p): Handle case where expand_mult does
> 	require/generate any instructions (i.e. multiplication by zero).

Ok.


r~


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