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: Mode switching for i386 (Was: Re: [patches] Re: better fp truncation sequence on i386)


> 
> 
> -----Original Message-----
> From: Jan Hubicka [mailto:jh@suse.cz]
> Sent: Tuesday, June 26, 2001 1:06 AM
> To: Richard Henderson; Jan Hubicka; gcc-patches@gcc.gnu.org;
> patches@x86-64.org; timothy.c.prince@intel.com; gcc@gcc.gnu.org
> Subject: Re: [patches] Re: Mode switching for i386 (Was: Re: [patches]
> Re: better fp truncation sequence on i386)
> 
> 
>  
> > Two solutions.  One, spill in XFmode, which some people have
> > wanted for various purposes anyway.  Two, recognize that such
> >Spilling in the XFmode is about 5 times more expensive, so we shouldnot go
> for it by >>default.
> XFmode spills will be expensive if they produce cache line splits (i.e.
> 16-byte alignments must be maintained, thus eating more cache).  My last
> copy of the Lahey/Fujitsu compiler had problems with this.  
I do have plans on getting dynamic stack alignment working. Last time
it got suck on multiple entry prologues and dwarf2 output.
We've chatted about it with Jiri here today and so I hope to have
patch for this problem soonish.

Still I would love to see XFmode spills just as an option.
Think would get more tricky if we decide to mix i387 and SSE code.
Tnhen SSE code is not able to do XFmode spills.

Honza


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