[PATCH] Implement fma correctly
Richard Henderson
rth@twiddle.net
Wed Oct 13 03:46:00 GMT 2010
On 10/12/2010 12:16 PM, Jakub Jelinek wrote:
> Tested on x86_64-linux, it is very well possible it won't work correctly
> on i686 due to excess precision.
Given that you're already manipulating the status word, you
could go ahead and force 53-bit rounding at the same time
with minimal extra overhead. Of course, feupdateenv does
not reset the rounding size to match. You'd have to either
open-code that function in order avoid doing extra work,
or add new helper functions.
r~
More information about the Libc-alpha
mailing list