Re: floating point inconsistency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Haley <aph@xxxxxxxxxx> writes:

> I've just checked, and the 64-bit glibc version of sincos does indeed
> do
>
> ENTRY (BP_SYM (__sincos))
> 	ENTER
>
> 	movsd	%xmm0, -8(%rsp)
> 	fldl	-8(%rsp)
> 	fsincos
>         ...

Thank you all very much for clarifying this issue.  I am very much
surprised that x87 instructions behave differently on AMD and Intel
processors but this seems indeed to be the case.

I found the following article (especially section 4.1) helpful:

D. Monniaux, "The Pitfalls of Verifying Floating-Point Computations",
http://dx.doi.org/10.1145/1353445%2E1353446


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux