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: libmvec, non-finites and fast-math


On 02.08.2016 17:52, Joseph Myers wrote:
> On Tue, 2 Aug 2016, Julian Taylor wrote:
> 
>> So now how to solve this problem. My suggestion would be to relax the
>> requirements for vectorizing the math functions to -funsafe-math-optimizations
>> instead of -ffast-math, at least when glibc or svml are the backends.
> 
> There is currently no GCC predefined macro for 
> -funsafe-math-optimizations, so such a condition is not possible with 
> current GCC.
> 

It is GCC that decides to use the vectorized function in the first place
so that should not be a problem. Or am I misunderstanding how these
functions get called?


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