libmvec, non-finites and fast-math

Julian Taylor jtaylor.debian@googlemail.com
Tue Aug 2 16:59:00 GMT 2016


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?



More information about the Libc-alpha mailing list