From owner-freebsd-hackers@freebsd.org Mon May 28 19:35:14 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B89A4F79C6F for ; Mon, 28 May 2018 19:35:14 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4910D7D4C5; Mon, 28 May 2018 19:35:14 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id w4SJZ6IB076995 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 28 May 2018 12:35:06 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id w4SJZ651076994; Mon, 28 May 2018 12:35:06 -0700 (PDT) (envelope-from sgk) Date: Mon, 28 May 2018 12:35:06 -0700 From: Steve Kargl To: Adhemerval Zanella Cc: Konstantin Belousov , freebsd-hackers@freebsd.org, emaste@freebsd.org Subject: Re: Code with apache-2 on /usr/src Message-ID: <20180528193506.GA76705@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20180528190444.GE3789@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2018 19:35:14 -0000 On Mon, May 28, 2018 at 04:08:49PM -0300, Adhemerval Zanella wrote: > > On 28/05/2018 16:04, Konstantin Belousov wrote: > > On Mon, May 28, 2018 at 03:33:47PM -0300, Adhemerval Zanella wrote: > >> Hi all, > >> > >> I am evaluating adding the ARM optimized math routines [1] on FreeBSD msum > >> library and I would like to check which the policy regarding licensing on > >> /usr/src code. The optimized math code is licensed on Apache-2 and afaik > >> it should be compatible with FreeBSD BDS license, is there anything > >> impending to use the code as-is on msum? Or do I need to adjust and check > >> with author if the idea is re-license? > >> > >> [1] https://github.com/ARM-software/optimized-routines > > > > Are you asking only about the license's compatibility, or is you intent > > to contribute the ARM libm code to the FreeBSD project ? > > > > My intention is to contribute the ARM libm code to the FreeBSD msum library. The above URL seems to contain only single precision code, e.g., sinf(x). What benefit does this code have over the current implementations of these functions? Doesn't ARM support at least a double precision type? Why have an algorithms for single precision that differ from the algorithms at higher precision? -- Steve