This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: libmvec, non-finites and fast-math
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Julian Taylor <jtaylor dot debian at googlemail dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 2 Aug 2016 15:52:57 +0000
- Subject: Re: libmvec, non-finites and fast-math
- Authentication-results: sourceware.org; auth=none
- References: <cdfd2569-91ac-d214-b13f-5aa86caf2c55@googlemail.com>
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.
--
Joseph S. Myers
joseph@codesourcery.com