[PATCH] Implement fma correctly

Joseph S. Myers joseph@codesourcery.com
Wed Oct 13 16:12:00 GMT 2010


On Wed, 13 Oct 2010, Jakub Jelinek wrote:

> Well, it is not just fma that changes the fp control word, e.g. exp*,
> nearbyint*, and rintl also change it temporarily.  And if we ever care

Not just those functions.  On PowerPC, GCC will generate inline code that 
modifies it temporarily for converting long double to int.  It might well 
do it on other architectures as well; I haven't checked.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list