From owner-freebsd-numerics@freebsd.org Sun Feb 3 17:43:03 2019 Return-Path: Delivered-To: freebsd-numerics@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 BAD3014ACC63 for ; Sun, 3 Feb 2019 17:43:03 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 81B2877DAC for ; Sun, 3 Feb 2019 17:43:01 +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 x13Hgxb9042575 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sun, 3 Feb 2019 09:42:59 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x13Hgxtw042574 for freebsd-numerics@freebsd.org; Sun, 3 Feb 2019 09:42:59 -0800 (PST) (envelope-from sgk) Date: Sun, 3 Feb 2019 09:42:59 -0800 From: Steve Kargl To: freebsd-numerics@freebsd.org Subject: Re: Implement cexpl Message-ID: <20190203174259.GA42562@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20190203173056.GA42499@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190203173056.GA42499@troutmask.apl.washington.edu> User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: 81B2877DAC X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.59 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_MEDIUM(0.90)[0.900,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-numerics@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.95)[0.953,0]; RCVD_IN_DNSWL_MED(-0.20)[21.76.95.128.list.dnswl.org : 127.0.11.2]; MX_GOOD(-0.01)[cached: troutmask.apl.washington.edu]; DMARC_NA(0.00)[washington.edu]; NEURAL_SPAM_LONG(0.90)[0.905,0]; R_SPF_NA(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.15)[ip: (0.34), ipnet: 128.95.0.0/16(0.37), asn: 73(0.09), country: US(-0.07)] X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2019 17:43:03 -0000 On Sun, Feb 03, 2019 at 09:30:56AM -0800, Steve Kargl wrote: > The following patch implements cexpl() for ld80 and ld128 architectures. > > The kernel files for large x are named ld{80,128}/k_cexpl.c to avoid > confusion with the ld{80,128}/k_expl.h files. > > I do not have access to ld128, so the ld128 does not use bit twiddling. > I cannot test the ld128 implementation, but I believe that it works > (for some definition of work). > I forgot to mention that the initial files under ld{80,128} where created via svn cp src/k_exp.c ld80/k_cexpl.c svn cp src/s_cexp.c ld80/s_cexpl.c svn cp src/k_exp.c ld128/k_cexpl.c svn cp src/s_cexp.c ld128/s_cexpl.c so the diff is not against an empty file; but against the copied files. -- Steve