This is the mail archive of the
mailing list for the GCC project.
Re: GCC floating point usage
On Wed, Oct 16, 2002 at 03:27:24PM -0700, Richard Henderson wrote:
> On Wed, Oct 16, 2002 at 01:33:36PM -0700, Mark Mitchell wrote:
> > >Anything less is asking for trouble.
> > Yes, programmers have to be very careful not to accidentally let FP
> > slip into no-FP tasks.
> No, what I mean is that I'm with Geoff: you won't be able to
> guarantee that the compiler does the right thing without a
> completely different approach.
> You're going to need the front/middle-end to indicate whether
> "floating point has been used", and if not, hide *all* existance
> of the fp registers from the register allocators. Nothing less
> gives you assurance they won't be used.
Okay. Care to suggest how this should be accomplished?