This is the mail archive of the gcc-patches@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: [PATCH, i386]: Rewrite x87 sqrt patterns


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.


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