This is the mail archive of the
mailing list for the GCC project.
Re: [patches] Re: i386 REGISTER_MOVE_COST fix, SECONDARY_MEMORY_NEEDED/PREFERRED_RELOAD_CLASS cleanup
- To: Richard Henderson <rth at redhat dot com>, Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- Subject: Re: [patches] Re: i386 REGISTER_MOVE_COST fix, SECONDARY_MEMORY_NEEDED/PREFERRED_RELOAD_CLASS cleanup
- From: Jan Hubicka <jh at suse dot cz>
- Date: Mon, 12 Feb 2001 22:57:46 +0100
- References: <20010212195832.N18914@atrey.karlin.mff.cuni.cz> <20010212111319.A15239@redhat.com>
> On Mon, Feb 12, 2001 at 07:58:32PM +0100, Jan Hubicka wrote:
> > * i386.h (SSE_CLASS_P, MMX_CLASS_P, MAYBE_FLOAT_CLASS_P,
> > MAYBE_SSE_CLASS_P, MAYBE_MMX_CLASS_P): New macros.
> > (PREFERRED_RELOAD_CLASS, SECONDARY_MEMORY_NEEDED): Move offline.
> > (REGISTER_MOVE_COST): Rewrite using SECONDARY_MEMORY_NEEDED.
> > * i386-protos.h (ix86_secondary_memory_needed,
> > ix86_preferred_reload_class): Declare.
> > * i386.c (ix86_secondary_memory_needed,
> > ix86_preferred_reload_class): New function.
> Ok, though I wouldn't mind having REGISTER_MOVE_COST out
> of line at the same time.
OK, this means that I can do that while applying to mainline too?
SSE and sledgehammer are going to even more complicate these beasts so
I agree it is good idea.