1 Oct 2002 07:01
Re: Re: [Maxima] Re: m68k gcl/maxima: Minor Floating point errors
Camm Maguire <camm <at> enhanced.com>
2002-10-01 05:01:09 GMT
2002-10-01 05:01:09 GMT
Greetings! I think its a matter of when the registers are written to memory. Apparently the m68k can optimize in such a way that many intermediate results are held in registers before having to be written out. There is no -ffloat-store on x86. The difference is perhaps related to the paucity of registers on x86, and the fact that m68k registers are *96* bits wide, AFAICR, instead of 80. But in general, one does get more precision on x86 FPU calculations than the strictly 64bit SSE2, for example. Take care, Raymond Toy <toy <at> rtp.ericsson.se> writes: > >>>>> "Camm" == Camm Maguire <camm <at> enhanced.com> writes: > > Camm> Greetings! > Camm> Rick Younie <rick <at> def.debian.net> writes: > > >> Camm Maguire wrote: > >> > Greetings! I have one Debian machine (m68k) which is producing very > >> > small numerical discrepancies on the results of the two floating point > >> > intensive tests in rtest8.mac: > >> > >> Hi, > >> > >> That rang a bell. There's this in the gcc man page: > >> > >> -ffloat-store > >> Do not store floating point variables in registers. This pre- > >> vents undesirable excess precision on machines such as the 68000(Continue reading)
RSS Feed