Describe more Sparc RTX costs
Jan Hubicka
jh@suse.cz
Sun May 5 02:25:00 GMT 2002
> From: Jan Hubicka <jh@suse.cz>
> Date: Sun, 5 May 2002 11:19:47 +0200
>
> > + case MEM:
> > + /* If outer-code is SIGN/ZERO extension we have to subtract
> > + out COSTS_N_INSNS (1) from whatever we return in determining
> > + the cost. */
> > + switch (sparc_cpu)
>
> Should not we just default to address cost here?
>
> When ADDRESS_COST is constant (as it is on Alpha, Sparc, etc.)
> CSE runs rtx_cost on the two memory expressions to break the
> tie.
Whats the purpose for doing this? Can't we just use address_cost to describe
the difference?
Honza
>
>
More information about the Gcc-patches
mailing list