[PATCH] Cleanup FAST_MATH misc functions from sysdeps/x86/fpu/bits/mathinline.h

Joseph Myers joseph@codesourcery.com
Thu Apr 26 16:04:00 GMT 2018


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



More information about the Libc-alpha mailing list