This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: weird optimization in sin+cos, x86 backend


On Tue, 14 Feb 2012, Geert Bosch wrote:

> However, the glibc math library comes very close, and we can
> surely fix any remaining issues there may be. So, if we can
> use that as base, or as "fallback" library, we suddenly
> achieve some minimal accuracy guarantees across a wide
> range of platforms. If we can get this library with
> GPL+exception, we can even generate optimized variants
> and use a static library with LTO byte code allowing for
> inlining etc.

LGPL+exception - the soft-fp license - is what I've suggested before as 
what would definitely be safe for any LGPL glibc code moving to be more 
permissively licensed for use as a library distributed with GCC.  (I think 
the GPL+exception used for libgcc etc. would also be safe - but it's more 
obviously safe for all uses to add an exception to the license currently 
in use.)

-- 
Joseph S. Myers
joseph@codesourcery.com


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