Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2019 10:19:27 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        sgk@troutmask.apl.washington.edu
Cc:        freebsd-numerics@freebsd.org
Subject:   Re: New math library from ARM
Message-ID:  <d5b42616-1027-ab82-598b-829f161989c3@FreeBSD.org>
In-Reply-To: <20181231152230.GC823@troutmask.apl.washington.edu>
References:  <797a7755-db93-1b9c-f3b9-8850d948e098@FreeBSD.org> <20181231151904.GB823@troutmask.apl.washington.edu> <20181231152230.GC823@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12/31/18 10:22 AM, Steve Kargl wrote:
> On Mon, Dec 31, 2018 at 07:19:04AM -0800, Steve Kargl wrote:
>> On Mon, Dec 31, 2018 at 10:06:57AM -0500, Pedro Giffuni wrote:
>>> Hi;
>>>
>>> Just noted a recent initiative from musl-libc:
>>>
>>> https://www.openwall.com/lists/musl/2018/12/08/1
>>>
>>> It appears they plan to replace their (FreeBSD) math code with a new ARM
>>> implementation:
>>>
>>> https://github.com/ARM-software/optimized-routines
>>>
>> The Copyright on this code is unclear.  For example, in
>> single/e_rem_pio2.c  lines 1-6:
>>
>> /*
>>   * e_rem_pio2.c
>>   *
>>   * Copyright (c) 1999-2018, Arm Limited.
>>   * SPDX-License-Identifier: MIT
>>   */
>>
>> Then lines 16-18:
>>
>>      /*
>>       * Simple cases: all nicked from the fdlibm version for speed.
>>       */
>>
>> The original fdlibm licenses applies ot the nicked lines.
>>
FWIW, I opened a ticket about the license issue.


> There is also some interesting uses of float literal constants
> with 80 digits when at most 9 are relevant.
>
I noticed, and really like, that they have a testsuite that Android's 
bionic just merged:

https://android.googlesource.com/platform/external/arm-optimized-routines/+/4ced35fcfcda5baddd092390103b7370827b9429

Pedro.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d5b42616-1027-ab82-598b-829f161989c3>