This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/6] Add new log implementation
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, <nd at arm dot com>
- Date: Wed, 27 Jun 2018 15:34:29 +0000
- Subject: Re: [PATCH 3/6] Add new log implementation
- References: <82a46d8f-9565-777c-c8c6-1a984df5e662@arm.com>
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