This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: i386 RTX_COST tweeks take 2
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: i386 RTX_COST tweeks take 2
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 6 Nov 2001 23:52:44 -0800
- Cc: Andi Kleen <ak at suse dot de>, gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- References: <20011103174136.A23260@atrey.karlin.mff.cuni.cz.suse.lists.egcs> <Pine.LNX.4.33L2.0111050649160.30025-100000@kevin.inet.suse.lists.egcs> <20011105154541.A9715@atrey.karlin.mff.cuni.cz.suse.lists.egcs> <p73pu6wyb1w.fsf@amdsim2.suse.de> <20011106175612.B8917@atrey.karlin.mff.cuni.cz>
On Tue, Nov 06, 2001 at 05:56:12PM +0100, Jan Hubicka wrote:
> * expmed.c (expand_mult): Force operand to register before computing
> cost.
> * i386.c (x86_decompose_lea): New global vairable.
> * i386.h (x86_decompose_lea): Declare.
> (TARGET_DECOMPOSE_LEA): New macro.
> (RTX_COST): Handle leas properly.
Ok but,
> + /* op0 must be register to make mult_cost match the precomputed shiftadd_cost
> + array. */
Wrap this properly.
r~