This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i386 REGISTER_MOVE_COST fix, SECONDARY_MEMORY_NEEDED/PREFERRED_RELOAD_CLASS cleanup
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: i386 REGISTER_MOVE_COST fix, SECONDARY_MEMORY_NEEDED/PREFERRED_RELOAD_CLASS cleanup
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 12 Feb 2001 11:13:19 -0800
- Cc: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- References: <20010212195832.N18914@atrey.karlin.mff.cuni.cz>
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.
r~