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


Going back to this:

On Tue, Oct 12, 2010 at 18:02, Richard Henderson <rth@twiddle.net> wrote:
> You'd have to either
> open-code that function in order avoid doing extra work,
> or add new helper functions.

Add #ifdef code in the generic implementation, depending on some new
macro which does the switching of the round mode and the precision.
arch-specific wrappers of the file can define those symbols before
including the generic implementation.  In case there is no such macro
use the current generic code.


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