This is the mail archive of the gcc@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: dangerous cleverness? ppc int<->float conversions, subreg


> Zack Weinberg wrote:
> > On Thu, Oct 25, 2001 at 04:29:45PM +0100, Joern Rennecke wrote:
> > > in elf flags or similar?  FWIW the SH gas alrweady has to do this, to keep
> > 
> > ... keep what?
> 
> keep sh3e and sh-dsp opcodes apart.
> 
> > In addition to the block move issue, I need to figure out how to fix
> > the old varargs implementation and sjlj eh so they don't touch
> > floating point registers unless absolutely necessary.  Clues in that
> > direction would be appreciated too.
> 
> For the old varargs implementation, you could always use statement
> expressions in the macor definitions, and call magic builtin functions
> when a floating point argument is used; you can then have the compiler
> set a flag when the magic builtin is seen.  And then you'd still have to
> track when an entire va_list is passed.
What I am doing on x86_64 is to save SSA (floating point) registers to special
alias set.  Then when there are no references to that set, the compiler
manages to remove the stores as dead itself.

Honza


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