From owner-freebsd-bugs@freebsd.org Sat Oct 26 16:33:09 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 65551178E0A for ; Sat, 26 Oct 2019 16:33:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 470mkF25Ryz4MfF for ; Sat, 26 Oct 2019 16:33:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 47D79178E08; Sat, 26 Oct 2019 16:33:09 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 479A5178E07 for ; Sat, 26 Oct 2019 16:33:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 470mkF1FVJz4MfC for ; Sat, 26 Oct 2019 16:33:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0FBDEAAB6 for ; Sat, 26 Oct 2019 16:33:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x9QGX8B5014460 for ; Sat, 26 Oct 2019 16:33:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x9QGX869014459 for bugs@FreeBSD.org; Sat, 26 Oct 2019 16:33:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 235413] [LIBM] optizimation for cexp and cexpf Date: Sat, 26 Oct 2019 16:33:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kargl@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2019 16:33:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235413 --- Comment #4 from Steve Kargl --- New commit log for cexpl_new.diff. * include/complex.h: . Prototype for cexpl(). * lib/msun/Makefile: . Add s_cexpl.c to the build. . Add MLINK for cexpl.3 to cexp.3 * lib/msun/Symbol.map: . Add a new section for FreeBSD 13 symbols. . Add cexpl to the symbol table. * lib/msun/src/math_private.h: . Change ENTERI() to toggle FPU precision for ld80 long double. . Introduce LEAVEI() to toggles FPU precision back to double. . Update RETURNI(x) to use __typeof(x) to set return type, use LEAVEI(), and use RETURNF(x) for the actual return. . Add prototype for __ldexp_expl(); * lib/msun/man/cexp.3: . Document cexpl(). * lib/msun/src/k_exp.c: * lib/msun/src/k_expf.c: . Add declarations for c and s, and sort. . Use sincos[f]() instead of a call to sin[f]() and a call cos[f](). * lib/msun/src/s_cexp.c: . Include float.h to get access to LDBL_MANT_DIG. . Add declarations for c and s, and sort. . Use sincos() instead of a call to sin() and a call cos(). . Use __weak_reference(cexp, cexpl) on LDBL_MANT_DIG =3D=3D 53. * lib/msun/src/s_cexpf.c: . Add declarations for c and s, and sort. . Use sincosf() instead of a call to sinf() and a call cosf(). * lib/msun/ld80/k_cexpl.c: . Implementations of __frexp_expl(), __ldexp_expl(), and __ldexp_cexpl(), which are computation kernels used by cexpl(). * lib/msun/ld80/k_expl.h: . Add 'L' suffix to a long double literal constant. . Fix typo in computation of scale2. . Use sincosl() instead of a call to sinl() and a call cosl(). * lib/msun/ld80/s_cexpl.c: . Implementation of cexpl() for ld80 hardware. * lib/msun/ld128/k_cexpl.c: . Stub for __frexp_expl(), __ldexp_expl(), and __ldexp_cexpl(). * lib/msun/ld128/k_expl.h: . Add 'L' suffix to a long double literal constant. . Fix typo in computation of scale2. . Use sincosl() instead of a call to sinl() and a call cosl(). * lib/msun/ld128/s_cexpl.c: . Naive, but better than some might know, implementation of cexpl() for 113-bit long double hardware. --=20 You are receiving this mail because: You are the assignee for the bug.=