This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Cleanup FAST_MATH misc functions from sysdeps/x86/fpu/bits/mathinline.h
On Thu, 26 Apr 2018, Uros Bizjak wrote:
> Maybe we can protect these functions with __GNUC_PREREQ (4, 4) in the
> mean time? gcc-4.4 that introduced __builtin_copysign is now 10 years
> old, so perhaps we can declare it "too old" for these fast-math
> optimizations.
In my view, simply having a GCC bug filed requesting the optimization in
question should be sufficient to remove an inline from the header (even
without an actual GCC implementation of the corresponding built-in
function optimization).
--
Joseph S. Myers
joseph@codesourcery.com