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: [patches] Re: i386 REGISTER_MOVE_COST fix, SECONDARY_MEMORY_NEEDED/PREFERRED_RELOAD_CLASS cleanup


> 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.

Honza
> 
> 
> r~


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