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]
Other format: [Raw text]

Re: GCC floating point usage


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.


r~


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