This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Implement fma correctly


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


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