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: Omitted conversion float -> double in x86 back-end


Hi,

On Tue, 21 Nov 2006, Geert Bosch wrote:

> 
> On Nov 21, 2006, at 12:50, Michael Matz wrote:
> >Pure luck.  Try with -O2 or another compiler version and it will stop
> >working again.  IOW: it's no workaround for the x87 problem.  The only one
> >there is is -ffloat-store, and that is a performance sink.  Rule of thumb:
> >don't use x87 math.
> 
> There's no problem with x87 math as long as you're using long double.

That's why I called it "rule of thumb".  Perhaps I should have 
qualified it even more with "Matz's rule of thumb" :)


Ciao,
Michael.


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