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 3/6] Add new log implementation


On Wed, 27 Jun 2018, Szabolcs Nagy wrote:

> The code assumes FP_FAST_FMA implies that an fma call is inlined as an
> instruction.

The general practice in glibc is to use __FP_FAST_FMA (which describes 
directly what the compiler will inline) and __builtin_fma.  Using 
__builtin_fma instead of plain fma would at least avoid namespace issues 
for -O0 builds (of C90 functions) if we support those for most of glibc in 
future.

-- 
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]