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]

Re: Multiplication


On Fri, Sep 07, 2001 at 12:08:36PM +0200, Jan Hubicka wrote:
> 	* i386.md (muldi3, muldi3_1_rex64, mulsi3, mulsi3_1, mulhi3, mulhi3_1): 
> 	use x86_mul_operand.
> 	* i386.h (x86_immediate_mul_operand, TARGET_IMMEDIATE_MUL_OPERAND): New.
> 	(PREDICATE_CODES): Add x86_mul_operand.
> 	* i386.c (athlon_cost): reduce cost of the imul instruction.
> 	(x86_immediate_mul_operand): New global variable.
> 	(x86_mul_operand): New.

Seems ok.


r~


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