[PATCH, i386]: Rewrite x87 sqrt patterns
Michael Matz
matz@suse.de
Wed Nov 22 13:13:00 GMT 2006
Hi,
On Wed, 22 Nov 2006, Andrew Haley wrote:
> Uros Bizjak writes:
>
> > The i386 sqrt patterns doesn't truncate the result of fsqrt x87
> > instruction.
>
> And neither do add, sub. mult, or div. What's special about sqrt that
> it deserves this treatement?
Right. If you _really_ want to fix x87 you'll have to explicitely
truncate every intermediate result, just like -ffloat-store. I guess
nobody wants that, so why do it for sqrt?
Ciao,
Michael.
More information about the Gcc-patches
mailing list