svn commit: r324006 - in stable/11: lib/msun lib/msun/amd64 lib/msun/i387 lib/msun/ld80 lib/msun/man lib/msun/src lib/msun/tests sys/sys

Dimitry Andric dim at FreeBSD.org
Tue Sep 26 09:01:59 UTC 2017


Author: dim
Date: Tue Sep 26 09:01:56 2017
New Revision: 324006
URL: https://svnweb.freebsd.org/changeset/base/324006

Log:
  Synchronize most of libm with head as of r323004.  This excludes a few
  arch-specific updates for powerpcspe, mips and riscv, for which support
  has not been merged yet.
  
  Bump __FreeBSD_version for the addition of cacoshl, cacosl, casinhl,
  casinl, catanl, catanhl, sincos, sincosf, and sincosl.
  
  MFC r305382 (by bde):
  
    Add asm versions of fmod(), fmodf() and fmodl() on amd64.  Add asm
    versions of fmodf() amd fmodl() on i387.
  
    fmod is similar to remainder, and the C versions are 3 to 9 times
    slower than the asm versions on x86 for both, but we had the strange
    mixture of all 6 variants of remainder in asm and only 1 of 6
    variants of fmod in asm.
  
  MFC r305384 (by bde):
  
    Disconnect the "optimized" asm variants of cos(), sin() and tan() from
    the build on i386.  Leave them in the source tree for regression tests.
  
    The asm functions were always much less accurate (by a factor of more
    than 10**18 in the worst case).  They were faster on old CPUs.  But
    with each new generation of CPUs they get relatively slower.  The
    double precision C version's average advantage is about a factor of 2
    on Haswell.
  
    The asm functions were already intentionally avoided in float and long
    double precision on i386 and in all precisions on amd64.  Float
    precision and amd64 give larger advantages to the C version.  The long
    double precision C code and compilers' understanding of long double
    precision are not so good, so the i387 is still slightly faster for
    long double precision, except for the unimportant subcase of huge args
    where the sub-optimal C code now somehow beats the i387 by about a
    factor of 2.
  
  MFC r305385 (by bde):
  
    Oops, the previous i386 version of e_fmodf.S and e_fmodl.S was
    actually the amd64 version.
  
  MFC r306409 (by emaste):
  
    libm: fix some unused variable (rcsid) and dangling else warnings
  
    s_{fabs,fmax,logb,scalb}{,f,l}.c may be built elsewhere with a higher
    WARNS setting.
  
    Reviewed by:	ed
    Sponsored by:	The FreeBSD Foundation
    Differential Revision:	https://reviews.freebsd.org/D8061
  
  MFC r306410 (by emaste):
  
    libm: simplify i387 subdir logic with make's :S substitution
  
  MFC r306527 (by emaste):
  
    libm: remove unused variables for LDBL_MANT_DIG != 113
  
    Sponsored by:	The FreeBSD Foundation
  
  MFC r306709 (by emaste):
  
    libm: remove unused variables
  
    Sponsored by:	The FreeBSD Foundation
  
  MFC r307066 (by br):
  
    Don't use fmaxl/fminl on platforms with no long double support,
    use fmax/fmin instead.
  
    This fixes fmaxmin test failure on MIPS64.
  
    Reviewed by:	emaste
    Sponsored by:	DARPA, AFRL
    Sponsored by:	HEIF5
    Differential Revision:	https://reviews.freebsd.org/D8216
  
  MFC r308172 (by emaste):
  
    libm: add braces around initialization of subobjects
  
    This cleans up a warning when building libm at higher WARNS levels and
    makes the intent more clear. By the C standard the values are assigned
    to subobject members in order so this change introduces no functional
    change. (6.7.9 20)
  
    Reviewed by:	kib
    Sponsored by:	The FreeBSD Foundation
    Differential Revision:	https://reviews.freebsd.org/D8333
  
  MFC r313761 (by mmokhi):
  
    Add casinl() cacosl() catanl() casinhl() cacoshl() catanhl() APIs to msun
    to improve C11 conformance.
  
    PR:		216850 216851 216852 216856 216857 216858
    Submitted by:	mmokhi
    Reported by:	sgk at troutmask.apl.washington.edu
    Reviewed by:	bde, mat, theraven
    Approved by:	bde (src committer), mat (mentor)
    Differential Revision:	https://reviews.freebsd.org/D9491
  
  MFC r313863 (by mmokhi):
  
    Fix building of r313761 on platforms that
    `long double` is alias of `double` (MIPS, etc)
  
    PR:		216850 216851 216852 216856 216857 216858
    Reported by:	emsate
    Reviewed by:	bde emaste hselasky
    Approved by:	bde emaste hselasky
    Differential Revision:	https://reviews.freebsd.org/D9491
  
  MFC r313864 (by mmokhi):
  
    Add documentations related to new APIs of r313761
  
    PR:		216850 216851 216852 216856 216857 216858
    Submitted by:	sgk at troutmask.apl.washington.edu
    Reported by:	sgk at troutmask.apl.washington.edu
    Reviewed by:	bde emaste hselasky
    Approved by:	bde emaste hselasky
    Differential Revision:	https://reviews.freebsd.org/D9491
  
  MFC r314950 (by ngie):
  
    Don't expect :test_large_inputs to fail with i386 anymore
  
    Recent changes (maybe a side-effect of the ATF-ification in r314649)
    invalidate the failure expectation.
  
    PR:		205446
    Sponsored by:	Dell EMC Isilon
  
  MFC r317349 (by pfg):
  
    msun: Remove trailing space in Sunsoft copyright statement.
  
    Submittedby:	kargl
  
  MFC r319047 (by mmel):
  
    Implement sincos, sincosf, and sincosl.
    The primary benefit of these functions is that argument
    reduction is done once instead of twice in independent
    calls to sin() and cos().
  
    * lib/msun/Makefile:
      . Add s_sincos[fl].c to the build.
      . Add sincos.3 documentation.
      . Add appropriate MLINKS.
  
    * lib/msun/Symbol.map:
      . Expose sincos[fl] symbols in dynamic libm.so.
  
    * lib/msun/man/sincos.3:
      . Documentation for sincos[fl].
  
    * lib/msun/src/k_sincos.h:
      . Kernel for sincos() function.  This merges the individual kernels
        for sin() and cos().  The merger offered an opportunity to re-arrange
        the individual kernels for better performance.
  
    * lib/msun/src/k_sincosf.h:
       . Kernel for sincosf() function.  This merges the individual kernels
         for sinf() and cosf(). The merger offered an opportunity to re-arrange
         the individual kernels for better performance.
  
    * lib/msun/src/k_sincosl.h:
       . Kernel for sincosl() function.  This merges the individual kernels
         for sinl() and cosl(). The merger offered an opportunity to re-arrange
         the individual kernels for better performance.
  
    * lib/msun/src/math.h:
      . Add prototytpes for sincos[fl]().
  
    * lib/msun/src/math_private.h:
      . Add RETURNV macros.  This is needed to reset fpsetprec on I386
        hardware for a function with type void.
  
    * lib/msun/src/s_sincos.c:
      . Implementation of sincos() where sin() and cos() were merged into
        one routine and possibly re-arranged for better performance.
  
    * lib/msun/src/s_sincosf.c:
      . Implementation of sincosf() where sinf() and cosf() were merged into
        one routine and possibly re-arranged for better performance.
  
    * lib/msun/src/s_sincosl.c:
      . Implementation of sincosl() where sinl() and cosl() were merged into
        one routine and possibly re-arranged for better performance.
  
    PR:		215977, 218300
    Submitted by:	Steven G. Kargl <sgk at troutmask.apl.washington.edu>
    Differential Revision:	https://reviews.freebsd.org/D10765
  
  MFC r321457 (by ngie):
  
    Mark :reduction as an expected failure
  
    It fails with clang 5.0+.
  
    PR:	220989
    Reported by:	Jenkins
  
  MFC r322418 (by rlibby):
  
    lib/msun: avoid referring to broken LDBL_MAX
  
    LDBL_MAX is broken on i386:
    https://lists.freebsd.org/pipermail/freebsd-numerics/2012-September/000288.html
  
    Gcc has produced +Infinity for LDBL_MAX on i386 and amd64 with -m32
    for some time, and newer versions of gcc are now warning that the
    "floating constant exceeds range of 'long double'".  Avoid this by
    referring to half the value of LDBL_MAX instead.
  
    Reviewed by:	bde
    Approved by:	markj (mentor)
    Sponsored by:	Dell EMC Isilon
  
  MFC r322435 (by rlibby):
  
    Revert r322418, LDBL_MAX_EXP unsuitable for macro pasting on some arches
  
    Either need a different way to spell HALF_LDBL_MAX, or a different way
    to spell LDBL_MAX_EXP, or a different approach.
  
    Reported by:	ian
  
  MFC r322921 (by ngie):
  
    Revert r321457
  
    It doesn't fail after ^/head at r322855 (the releng_50 clang merge).
  
    PR:	220989

Added:
  stable/11/lib/msun/amd64/e_fmod.S
     - copied unchanged from r305382, head/lib/msun/amd64/e_fmod.S
  stable/11/lib/msun/amd64/e_fmodf.S
     - copied unchanged from r305382, head/lib/msun/amd64/e_fmodf.S
  stable/11/lib/msun/amd64/e_fmodl.S
     - copied unchanged from r305382, head/lib/msun/amd64/e_fmodl.S
  stable/11/lib/msun/i387/e_fmodf.S
     - copied, changed from r305382, head/lib/msun/i387/e_fmodf.S
  stable/11/lib/msun/i387/e_fmodl.S
     - copied, changed from r305382, head/lib/msun/i387/e_fmodl.S
  stable/11/lib/msun/man/sincos.3
     - copied unchanged from r319047, head/lib/msun/man/sincos.3
  stable/11/lib/msun/src/catrigl.c
     - copied, changed from r313761, head/lib/msun/src/catrigl.c
  stable/11/lib/msun/src/k_sincos.h
     - copied unchanged from r319047, head/lib/msun/src/k_sincos.h
  stable/11/lib/msun/src/k_sincosf.h
     - copied unchanged from r319047, head/lib/msun/src/k_sincosf.h
  stable/11/lib/msun/src/k_sincosl.h
     - copied unchanged from r319047, head/lib/msun/src/k_sincosl.h
  stable/11/lib/msun/src/s_sincos.c
     - copied unchanged from r319047, head/lib/msun/src/s_sincos.c
  stable/11/lib/msun/src/s_sincosf.c
     - copied unchanged from r319047, head/lib/msun/src/s_sincosf.c
  stable/11/lib/msun/src/s_sincosl.c
     - copied unchanged from r319047, head/lib/msun/src/s_sincosl.c
Modified:
  stable/11/lib/msun/Makefile
  stable/11/lib/msun/Symbol.map
  stable/11/lib/msun/amd64/Makefile.inc
  stable/11/lib/msun/i387/Makefile.inc
  stable/11/lib/msun/ld80/e_lgammal_r.c
  stable/11/lib/msun/ld80/k_expl.h
  stable/11/lib/msun/ld80/s_logl.c
  stable/11/lib/msun/man/cacos.3
  stable/11/lib/msun/src/catrig.c
  stable/11/lib/msun/src/e_asin.c
  stable/11/lib/msun/src/e_coshl.c
  stable/11/lib/msun/src/e_lgammaf_r.c
  stable/11/lib/msun/src/e_sinhl.c
  stable/11/lib/msun/src/math.h
  stable/11/lib/msun/src/math_private.h
  stable/11/lib/msun/src/s_fabs.c
  stable/11/lib/msun/src/s_fmax.c
  stable/11/lib/msun/src/s_fmin.c
  stable/11/lib/msun/src/s_logbl.c
  stable/11/lib/msun/src/s_scalbn.c
  stable/11/lib/msun/src/s_scalbnf.c
  stable/11/lib/msun/src/s_scalbnl.c
  stable/11/lib/msun/src/s_tanhl.c
  stable/11/lib/msun/tests/ctrig_test.c
  stable/11/sys/sys/param.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/msun/Makefile
==============================================================================
--- stable/11/lib/msun/Makefile	Tue Sep 26 08:45:11 2017	(r324005)
+++ stable/11/lib/msun/Makefile	Tue Sep 26 09:01:56 2017	(r324006)
@@ -13,11 +13,7 @@
 #
 
 PACKAGE=	clibs
-.if ${MACHINE_CPUARCH} == "i386"
-ARCH_SUBDIR= i387
-.else
-ARCH_SUBDIR= ${MACHINE_CPUARCH}
-.endif
+ARCH_SUBDIR=	${MACHINE_CPUARCH:S/i386/i387/}
 
 .include "${ARCH_SUBDIR}/Makefile.inc"
 
@@ -67,8 +63,8 @@ COMMON_SRCS= b_exp.c b_log.c b_tgamma.c \
 	s_exp2.c s_exp2f.c s_expm1.c s_expm1f.c s_fabsf.c s_fdim.c \
 	s_finite.c s_finitef.c \
 	s_floor.c s_floorf.c s_fma.c s_fmaf.c \
-	s_fmax.c s_fmaxf.c s_fmaxl.c s_fmin.c \
-	s_fminf.c s_fminl.c s_frexp.c s_frexpf.c s_ilogb.c s_ilogbf.c \
+	s_fmax.c s_fmaxf.c s_fmin.c \
+	s_fminf.c s_frexp.c s_frexpf.c s_ilogb.c s_ilogbf.c \
 	s_ilogbl.c s_isfinite.c s_isnan.c s_isnormal.c \
 	s_llrint.c s_llrintf.c s_llround.c s_llroundf.c s_llroundl.c \
 	s_log1p.c s_log1pf.c s_logb.c s_logbf.c s_lrint.c s_lrintf.c \
@@ -77,7 +73,8 @@ COMMON_SRCS= b_exp.c b_log.c b_tgamma.c \
 	s_nexttowardf.c s_remquo.c s_remquof.c \
 	s_rint.c s_rintf.c s_round.c s_roundf.c \
 	s_scalbln.c s_scalbn.c s_scalbnf.c s_signbit.c \
-	s_signgam.c s_significand.c s_significandf.c s_sin.c s_sinf.c \
+	s_signgam.c s_significand.c s_significandf.c s_sin.c \
+	s_sincos.c s_sincosf.c s_sinf.c \
 	s_tan.c s_tanf.c s_tanh.c s_tanhf.c s_tgammaf.c s_trunc.c s_truncf.c \
 	w_cabs.c w_cabsf.c w_drem.c w_dremf.c
 
@@ -98,16 +95,18 @@ SYMBOL_MAPS=	${SYM_MAPS}
 COMMON_SRCS+=	s_copysignl.c s_fabsl.c s_llrintl.c s_lrintl.c s_modfl.c
 .if ${LDBL_PREC} != 53
 # If long double != double use these; otherwise, we alias the double versions.
-COMMON_SRCS+=	e_acoshl.c e_acosl.c e_asinl.c e_atan2l.c e_atanhl.c \
+COMMON_SRCS+=	catrigl.c \
+	e_acoshl.c e_acosl.c e_asinl.c e_atan2l.c e_atanhl.c \
 	e_coshl.c e_fmodl.c e_hypotl.c \
 	e_lgammal.c e_lgammal_r.c \
 	e_remainderl.c e_sinhl.c e_sqrtl.c \
 	invtrig.c k_cosl.c k_sinl.c k_tanl.c \
 	s_asinhl.c s_atanl.c s_cbrtl.c s_ceill.c s_cosl.c s_cprojl.c \
 	s_csqrtl.c s_erfl.c s_exp2l.c s_expl.c s_floorl.c s_fmal.c \
-	s_frexpl.c s_logbl.c s_logl.c s_nanl.c s_nextafterl.c \
-	s_nexttoward.c s_remquol.c s_rintl.c s_roundl.c s_scalbnl.c \
-	s_sinl.c s_tanhl.c s_tanl.c s_truncl.c w_cabsl.c
+	s_fmaxl.c s_fminl.c s_frexpl.c s_logbl.c s_logl.c s_nanl.c \
+	s_nextafterl.c s_nexttoward.c s_remquol.c s_rintl.c s_roundl.c \
+	s_scalbnl.c s_sinl.c s_sincosl.c \
+	s_tanhl.c s_tanl.c s_truncl.c w_cabsl.c
 .endif
 
 # C99 complex functions
@@ -140,7 +139,8 @@ MAN=	acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atan
 	fma.3 fmax.3 fmod.3 hypot.3 ieee.3 ieee_test.3 ilogb.3 j0.3 \
 	lgamma.3 log.3 lrint.3 lround.3 math.3 nan.3 \
 	nextafter.3 remainder.3 rint.3 \
-	round.3 scalbn.3 signbit.3 sin.3 sinh.3 sqrt.3 tan.3 tanh.3 trunc.3 \
+	round.3 scalbn.3 signbit.3 sin.3 sincos.3 \
+	sinh.3 sqrt.3 tan.3 tanh.3 trunc.3 \
 	complex.3
 
 MLINKS+=acos.3 acosf.3 acos.3 acosl.3
@@ -151,9 +151,12 @@ MLINKS+=atan.3 atanf.3 atan.3 atanl.3
 MLINKS+=atanh.3 atanhf.3 atanh.3 atanhl.3
 MLINKS+=atan2.3 atan2f.3 atan2.3 atan2l.3 \
 	atan2.3 carg.3 atan2.3 cargf.3 atan2.3 cargl.3
-MLINKS+=cacos.3 cacosf.3 cacos.3 cacosh.3 cacos.3 cacoshf.3 \
-	cacos.3 casin.3 cacos.3 casinf.3 cacos.3 casinh.3 cacos.3 casinhf.3 \
-	cacos.3 catan.3 cacos.3 catanf.3 cacos.3 catanh.3 cacos.3 catanhf.3
+MLINKS+=cacos.3 cacosf.3 cacos.3 cacosl.3 \
+	cacos.3 cacosh.3 cacos.3 cacoshf.3 cacos.3 cacoshl.3 \
+	cacos.3 casin.3 cacos.3 casinf.3 cacos.3 casinl.3 \
+	cacos.3 casinh.3 cacos.3 casinhf.3 cacos.3 casinhl.3 \
+	cacos.3 catan.3 cacos.3 catanf.3 cacos.3 catanl.3 \
+	cacos.3 catanh.3 cacos.3 catanhf.3 cacos.3 catanhl.3
 MLINKS+=ccos.3 ccosf.3 ccos.3 csin.3 ccos.3 csinf.3 ccos.3 ctan.3 ccos.3 ctanf.3
 MLINKS+=ccosh.3 ccoshf.3 ccosh.3 csinh.3 ccosh.3 csinhf.3 \
 	ccosh.3 ctanh.3 ccosh.3 ctanhf.3
@@ -215,6 +218,7 @@ MLINKS+=round.3 roundf.3 round.3 roundl.3
 MLINKS+=scalbn.3 scalbln.3 scalbn.3 scalblnf.3 scalbn.3 scalblnl.3
 MLINKS+=scalbn.3 scalbnf.3 scalbn.3 scalbnl.3
 MLINKS+=sin.3 sinf.3 sin.3 sinl.3
+MLINKS+=sincos.3 sincosf.3 sin.3 sincosl.3
 MLINKS+=sinh.3 sinhf.3 sinh.3 sinhl.3
 MLINKS+=sqrt.3 cbrt.3 sqrt.3 cbrtf.3 sqrt.3 cbrtl.3 sqrt.3 sqrtf.3 \
 	sqrt.3 sqrtl.3

Modified: stable/11/lib/msun/Symbol.map
==============================================================================
--- stable/11/lib/msun/Symbol.map	Tue Sep 26 08:45:11 2017	(r324005)
+++ stable/11/lib/msun/Symbol.map	Tue Sep 26 09:01:56 2017	(r324006)
@@ -285,3 +285,16 @@ FBSD_1.3 {
 FBSD_1.4 {
 	lgammal_r;
 };
+
+/* First added in 12.0-CURRENT */
+FBSD_1.5 {
+	cacoshl;
+	cacosl;
+	casinhl;
+	casinl;
+	catanl;
+	catanhl;
+	sincos;
+	sincosf;
+	sincosl;
+};

Modified: stable/11/lib/msun/amd64/Makefile.inc
==============================================================================
--- stable/11/lib/msun/amd64/Makefile.inc	Tue Sep 26 08:45:11 2017	(r324005)
+++ stable/11/lib/msun/amd64/Makefile.inc	Tue Sep 26 09:01:56 2017	(r324006)
@@ -1,6 +1,7 @@
 # $FreeBSD$
 
-ARCH_SRCS = e_remainder.S e_remainderf.S e_remainderl.S \
+ARCH_SRCS = e_fmod.S e_fmodf.S e_fmodl.S \
+	    e_remainder.S e_remainderf.S e_remainderl.S \
 	    e_sqrt.S e_sqrtf.S e_sqrtl.S \
 	    s_llrint.S s_llrintf.S s_llrintl.S \
 	    s_logbl.S s_lrint.S s_lrintf.S s_lrintl.S \

Copied: stable/11/lib/msun/amd64/e_fmod.S (from r305382, head/lib/msun/amd64/e_fmod.S)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/11/lib/msun/amd64/e_fmod.S	Tue Sep 26 09:01:56 2017	(r324006, copy of r305382, head/lib/msun/amd64/e_fmod.S)
@@ -0,0 +1,54 @@
+/*
+ * Copyright (c) 1993,94 Winning Strategies, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *      This product includes software developed by Winning Strategies, Inc.
+ * 4. The name of the author may not be used to endorse or promote products
+ *    derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Based on the i387 version written by:
+ *	J.T. Conklin (jtc at wimsey.com), Winning Strategies, Inc.
+ */
+
+#include <machine/asm.h>
+__FBSDID("$FreeBSD$")
+
+ENTRY(fmod)
+	movsd	%xmm0,-8(%rsp)
+	movsd	%xmm1,-16(%rsp)
+	fldl	-16(%rsp)
+	fldl	-8(%rsp)
+1:	fprem
+	fstsw	%ax
+	testw	$0x400,%ax
+	jne	1b
+	fstpl	-8(%rsp)
+	movsd	-8(%rsp),%xmm0
+	fstp	%st
+	ret
+END(fmod)
+
+	.section .note.GNU-stack,"",%progbits

Copied: stable/11/lib/msun/amd64/e_fmodf.S (from r305382, head/lib/msun/amd64/e_fmodf.S)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/11/lib/msun/amd64/e_fmodf.S	Tue Sep 26 09:01:56 2017	(r324006, copy of r305382, head/lib/msun/amd64/e_fmodf.S)
@@ -0,0 +1,24 @@
+/*
+ * Based on the i387 version written by J.T. Conklin <jtc at netbsd.org>.
+ * Public domain.
+ */
+
+#include <machine/asm.h>
+__FBSDID("$FreeBSD$")
+
+ENTRY(fmodf)
+	movss	%xmm0,-4(%rsp)
+	movss	%xmm1,-8(%rsp)
+	flds	-8(%rsp)
+	flds	-4(%rsp)
+1:	fprem
+	fstsw	%ax
+	testw	$0x400,%ax
+	jne	1b
+	fstps	-4(%rsp)
+	movss	-4(%rsp),%xmm0
+	fstp	%st
+	ret
+END(fmodf)
+
+	.section .note.GNU-stack,"",%progbits

Copied: stable/11/lib/msun/amd64/e_fmodl.S (from r305382, head/lib/msun/amd64/e_fmodl.S)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/11/lib/msun/amd64/e_fmodl.S	Tue Sep 26 09:01:56 2017	(r324006, copy of r305382, head/lib/msun/amd64/e_fmodl.S)
@@ -0,0 +1,50 @@
+/*
+ * Copyright (c) 1993,94 Winning Strategies, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *      This product includes software developed by Winning Strategies, Inc.
+ * 4. The name of the author may not be used to endorse or promote products
+ *    derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * Based on the i387 version written by:
+ *	J.T. Conklin (jtc at wimsey.com), Winning Strategies, Inc.
+ */
+
+#include <machine/asm.h>
+__FBSDID("$FreeBSD$")
+
+ENTRY(fmodl)
+	fldt	24(%rsp)
+	fldt	8(%rsp)
+1:	fprem
+	fstsw	%ax
+	testw	$0x400,%ax
+	jne	1b
+	fstp	%st(1)
+	ret
+END(fmodl)
+
+	.section .note.GNU-stack,"",%progbits

Modified: stable/11/lib/msun/i387/Makefile.inc
==============================================================================
--- stable/11/lib/msun/i387/Makefile.inc	Tue Sep 26 08:45:11 2017	(r324005)
+++ stable/11/lib/msun/i387/Makefile.inc	Tue Sep 26 09:01:56 2017	(r324006)
@@ -2,18 +2,19 @@
 
 ARCH_SRCS = e_exp.S e_fmod.S e_log.S e_log10.S \
 	    e_remainder.S e_sqrt.S s_ceil.S s_copysign.S \
-	    s_cos.S s_finite.S s_floor.S s_llrint.S s_logb.S s_lrint.S \
-	    s_remquo.S s_rint.S s_scalbn.S s_significand.S s_sin.S s_tan.S \
+	    s_finite.S s_floor.S s_llrint.S s_logb.S s_lrint.S \
+	    s_remquo.S s_rint.S s_scalbn.S s_significand.S \
 	    s_trunc.S
 
 # float counterparts
-ARCH_SRCS+= e_log10f.S e_logf.S e_remainderf.S \
+ARCH_SRCS+= e_fmodf.S e_log10f.S e_logf.S e_remainderf.S \
 	    e_sqrtf.S s_ceilf.S s_copysignf.S s_floorf.S \
 	    s_llrintf.S s_logbf.S s_lrintf.S \
 	    s_remquof.S s_rintf.S s_scalbnf.S s_significandf.S s_truncf.S
 
 # long double counterparts
-ARCH_SRCS+= e_remainderl.S e_sqrtl.S s_ceill.S s_copysignl.S \
+ARCH_SRCS+= e_fmodl.S \
+	    e_remainderl.S e_sqrtl.S s_ceill.S s_copysignl.S \
 	    s_floorl.S s_llrintl.S \
 	    s_logbl.S s_lrintl.S s_remquol.S s_rintl.S s_scalbnl.S s_truncl.S
 

Copied and modified: stable/11/lib/msun/i387/e_fmodf.S (from r305382, head/lib/msun/i387/e_fmodf.S)
==============================================================================
--- head/lib/msun/i387/e_fmodf.S	Sun Sep  4 12:22:14 2016	(r305382, copy source)
+++ stable/11/lib/msun/i387/e_fmodf.S	Tue Sep 26 09:01:56 2017	(r324006)
@@ -1,5 +1,5 @@
 /*
- * Based on the i387 version written by J.T. Conklin <jtc at netbsd.org>.
+ * Written by J.T. Conklin <jtc at netbsd.org>.
  * Public domain.
  */
 
@@ -7,17 +7,13 @@
 __FBSDID("$FreeBSD$")
 
 ENTRY(fmodf)
-	movss	%xmm0,-4(%rsp)
-	movss	%xmm1,-8(%rsp)
-	flds	-8(%rsp)
-	flds	-4(%rsp)
+	flds	8(%esp)
+	flds	4(%esp)
 1:	fprem
 	fstsw	%ax
-	testw	$0x400,%ax
-	jne	1b
-	fstps	-4(%rsp)
-	movss	-4(%rsp),%xmm0
-	fstp	%st
+	sahf
+	jp	1b
+	fstp	%st(1)
 	ret
 END(fmodf)
 

Copied and modified: stable/11/lib/msun/i387/e_fmodl.S (from r305382, head/lib/msun/i387/e_fmodl.S)
==============================================================================
--- head/lib/msun/i387/e_fmodl.S	Sun Sep  4 12:22:14 2016	(r305382, copy source)
+++ stable/11/lib/msun/i387/e_fmodl.S	Tue Sep 26 09:01:56 2017	(r324006)
@@ -29,7 +29,7 @@
  */
 
 /*
- * Based on the i387 version written by:
+ * Written by:
  *	J.T. Conklin (jtc at wimsey.com), Winning Strategies, Inc.
  */
 
@@ -37,12 +37,12 @@
 __FBSDID("$FreeBSD$")
 
 ENTRY(fmodl)
-	fldt	24(%rsp)
-	fldt	8(%rsp)
+	fldt	16(%esp)
+	fldt	4(%esp)
 1:	fprem
 	fstsw	%ax
-	testw	$0x400,%ax
-	jne	1b
+	sahf
+	jp	1b
 	fstp	%st(1)
 	ret
 END(fmodl)

Modified: stable/11/lib/msun/ld80/e_lgammal_r.c
==============================================================================
--- stable/11/lib/msun/ld80/e_lgammal_r.c	Tue Sep 26 08:45:11 2017	(r324005)
+++ stable/11/lib/msun/ld80/e_lgammal_r.c	Tue Sep 26 09:01:56 2017	(r324006)
@@ -249,7 +249,7 @@ sin_pil(long double x)
 long double
 lgammal_r(long double x, int *signgamp)
 {
-	long double nadj,p,p1,p2,p3,q,r,t,w,y,z;
+	long double nadj,p,p1,p2,q,r,t,w,y,z;
 	uint64_t lx;
 	int i;
 	uint16_t hx,ix;

Modified: stable/11/lib/msun/ld80/k_expl.h
==============================================================================
--- stable/11/lib/msun/ld80/k_expl.h	Tue Sep 26 08:45:11 2017	(r324005)
+++ stable/11/lib/msun/ld80/k_expl.h	Tue Sep 26 09:01:56 2017	(r324006)
@@ -75,140 +75,140 @@ static const struct {
 	double	hi;
 	double	lo;
 } tbl[INTERVALS] = {
-	0x1p+0, 0x0p+0,
+	{ 0x1p+0, 0x0p+0 },
 	/*
 	 * XXX hi is rounded down, and the formatting is not quite normal.
 	 * But I rather like both.  The 0x1.*p format is good for 4N+1
 	 * mantissa bits.  Rounding down makes the lo terms positive,
 	 * so that the columnar formatting can be simpler.
 	 */
-	0x1.0163da9fb3335p+0, 0x1.b61299ab8cdb7p-54,
-	0x1.02c9a3e778060p+0, 0x1.dcdef95949ef4p-53,
-	0x1.04315e86e7f84p+0, 0x1.7ae71f3441b49p-53,
-	0x1.059b0d3158574p+0, 0x1.d73e2a475b465p-55,
-	0x1.0706b29ddf6ddp+0, 0x1.8db880753b0f6p-53,
-	0x1.0874518759bc8p+0, 0x1.186be4bb284ffp-57,
-	0x1.09e3ecac6f383p+0, 0x1.1487818316136p-54,
-	0x1.0b5586cf9890fp+0, 0x1.8a62e4adc610bp-54,
-	0x1.0cc922b7247f7p+0, 0x1.01edc16e24f71p-54,
-	0x1.0e3ec32d3d1a2p+0, 0x1.03a1727c57b53p-59,
-	0x1.0fb66affed31ap+0, 0x1.e464123bb1428p-53,
-	0x1.11301d0125b50p+0, 0x1.49d77e35db263p-53,
-	0x1.12abdc06c31cbp+0, 0x1.f72575a649ad2p-53,
-	0x1.1429aaea92ddfp+0, 0x1.66820328764b1p-53,
-	0x1.15a98c8a58e51p+0, 0x1.2406ab9eeab0ap-55,
-	0x1.172b83c7d517ap+0, 0x1.b9bef918a1d63p-53,
-	0x1.18af9388c8de9p+0, 0x1.777ee1734784ap-53,
-	0x1.1a35beb6fcb75p+0, 0x1.e5b4c7b4968e4p-55,
-	0x1.1bbe084045cd3p+0, 0x1.3563ce56884fcp-53,
-	0x1.1d4873168b9aap+0, 0x1.e016e00a2643cp-54,
-	0x1.1ed5022fcd91cp+0, 0x1.71033fec2243ap-53,
-	0x1.2063b88628cd6p+0, 0x1.dc775814a8495p-55,
-	0x1.21f49917ddc96p+0, 0x1.2a97e9494a5eep-55,
-	0x1.2387a6e756238p+0, 0x1.9b07eb6c70573p-54,
-	0x1.251ce4fb2a63fp+0, 0x1.ac155bef4f4a4p-55,
-	0x1.26b4565e27cddp+0, 0x1.2bd339940e9d9p-55,
-	0x1.284dfe1f56380p+0, 0x1.2d9e2b9e07941p-53,
-	0x1.29e9df51fdee1p+0, 0x1.612e8afad1255p-55,
-	0x1.2b87fd0dad98fp+0, 0x1.fbbd48ca71f95p-53,
-	0x1.2d285a6e4030bp+0, 0x1.0024754db41d5p-54,
-	0x1.2ecafa93e2f56p+0, 0x1.1ca0f45d52383p-56,
-	0x1.306fe0a31b715p+0, 0x1.6f46ad23182e4p-55,
-	0x1.32170fc4cd831p+0, 0x1.a9ce78e18047cp-55,
-	0x1.33c08b26416ffp+0, 0x1.32721843659a6p-54,
-	0x1.356c55f929ff0p+0, 0x1.928c468ec6e76p-53,
-	0x1.371a7373aa9cap+0, 0x1.4e28aa05e8a8fp-53,
-	0x1.38cae6d05d865p+0, 0x1.0b53961b37da2p-53,
-	0x1.3a7db34e59ff6p+0, 0x1.d43792533c144p-53,
-	0x1.3c32dc313a8e4p+0, 0x1.08003e4516b1ep-53,
-	0x1.3dea64c123422p+0, 0x1.ada0911f09ebcp-55,
-	0x1.3fa4504ac801bp+0, 0x1.417ee03548306p-53,
-	0x1.4160a21f72e29p+0, 0x1.f0864b71e7b6cp-53,
-	0x1.431f5d950a896p+0, 0x1.b8e088728219ap-53,
-	0x1.44e086061892dp+0, 0x1.89b7a04ef80d0p-59,
-	0x1.46a41ed1d0057p+0, 0x1.c944bd1648a76p-54,
-	0x1.486a2b5c13cd0p+0, 0x1.3c1a3b69062f0p-56,
-	0x1.4a32af0d7d3dep+0, 0x1.9cb62f3d1be56p-54,
-	0x1.4bfdad5362a27p+0, 0x1.d4397afec42e2p-56,
-	0x1.4dcb299fddd0dp+0, 0x1.8ecdbbc6a7833p-54,
-	0x1.4f9b2769d2ca6p+0, 0x1.5a67b16d3540ep-53,
-	0x1.516daa2cf6641p+0, 0x1.8225ea5909b04p-53,
-	0x1.5342b569d4f81p+0, 0x1.be1507893b0d5p-53,
-	0x1.551a4ca5d920ep+0, 0x1.8a5d8c4048699p-53,
-	0x1.56f4736b527dap+0, 0x1.9bb2c011d93adp-54,
-	0x1.58d12d497c7fdp+0, 0x1.295e15b9a1de8p-55,
-	0x1.5ab07dd485429p+0, 0x1.6324c054647adp-54,
-	0x1.5c9268a5946b7p+0, 0x1.c4b1b816986a2p-60,
-	0x1.5e76f15ad2148p+0, 0x1.ba6f93080e65ep-54,
-	0x1.605e1b976dc08p+0, 0x1.60edeb25490dcp-53,
-	0x1.6247eb03a5584p+0, 0x1.63e1f40dfa5b5p-53,
-	0x1.6434634ccc31fp+0, 0x1.8edf0e2989db3p-53,
-	0x1.6623882552224p+0, 0x1.224fb3c5371e6p-53,
-	0x1.68155d44ca973p+0, 0x1.038ae44f73e65p-57,
-	0x1.6a09e667f3bccp+0, 0x1.21165f626cdd5p-53,
-	0x1.6c012750bdabep+0, 0x1.daed533001e9ep-53,
-	0x1.6dfb23c651a2ep+0, 0x1.e441c597c3775p-53,
-	0x1.6ff7df9519483p+0, 0x1.9f0fc369e7c42p-53,
-	0x1.71f75e8ec5f73p+0, 0x1.ba46e1e5de15ap-53,
-	0x1.73f9a48a58173p+0, 0x1.7ab9349cd1562p-53,
-	0x1.75feb564267c8p+0, 0x1.7edd354674916p-53,
-	0x1.780694fde5d3fp+0, 0x1.866b80a02162dp-54,
-	0x1.7a11473eb0186p+0, 0x1.afaa2047ed9b4p-53,
-	0x1.7c1ed0130c132p+0, 0x1.f124cd1164dd6p-54,
-	0x1.7e2f336cf4e62p+0, 0x1.05d02ba15797ep-56,
-	0x1.80427543e1a11p+0, 0x1.6c1bccec9346bp-53,
-	0x1.82589994cce12p+0, 0x1.159f115f56694p-53,
-	0x1.8471a4623c7acp+0, 0x1.9ca5ed72f8c81p-53,
-	0x1.868d99b4492ecp+0, 0x1.01c83b21584a3p-53,
-	0x1.88ac7d98a6699p+0, 0x1.994c2f37cb53ap-54,
-	0x1.8ace5422aa0dbp+0, 0x1.6e9f156864b27p-54,
-	0x1.8cf3216b5448bp+0, 0x1.de55439a2c38bp-53,
-	0x1.8f1ae99157736p+0, 0x1.5cc13a2e3976cp-55,
-	0x1.9145b0b91ffc5p+0, 0x1.114c368d3ed6ep-53,
-	0x1.93737b0cdc5e4p+0, 0x1.e8a0387e4a814p-53,
-	0x1.95a44cbc8520ep+0, 0x1.d36906d2b41f9p-53,
-	0x1.97d829fde4e4fp+0, 0x1.173d241f23d18p-53,
-	0x1.9a0f170ca07b9p+0, 0x1.7462137188ce7p-53,
-	0x1.9c49182a3f090p+0, 0x1.c7c46b071f2bep-56,
-	0x1.9e86319e32323p+0, 0x1.824ca78e64c6ep-56,
-	0x1.a0c667b5de564p+0, 0x1.6535b51719567p-53,
-	0x1.a309bec4a2d33p+0, 0x1.6305c7ddc36abp-54,
-	0x1.a5503b23e255cp+0, 0x1.1684892395f0fp-53,
-	0x1.a799e1330b358p+0, 0x1.bcb7ecac563c7p-54,
-	0x1.a9e6b5579fdbfp+0, 0x1.0fac90ef7fd31p-54,
-	0x1.ac36bbfd3f379p+0, 0x1.81b72cd4624ccp-53,
-	0x1.ae89f995ad3adp+0, 0x1.7a1cd345dcc81p-54,
-	0x1.b0e07298db665p+0, 0x1.2108559bf8deep-53,
-	0x1.b33a2b84f15fap+0, 0x1.ed7fa1cf7b290p-53,
-	0x1.b59728de55939p+0, 0x1.1c7102222c90ep-53,
-	0x1.b7f76f2fb5e46p+0, 0x1.d54f610356a79p-53,
-	0x1.ba5b030a10649p+0, 0x1.0819678d5eb69p-53,
-	0x1.bcc1e904bc1d2p+0, 0x1.23dd07a2d9e84p-55,
-	0x1.bf2c25bd71e08p+0, 0x1.0811ae04a31c7p-53,
-	0x1.c199bdd85529cp+0, 0x1.11065895048ddp-55,
-	0x1.c40ab5fffd07ap+0, 0x1.b4537e083c60ap-54,
-	0x1.c67f12e57d14bp+0, 0x1.2884dff483cadp-54,
-	0x1.c8f6d9406e7b5p+0, 0x1.1acbc48805c44p-56,
-	0x1.cb720dcef9069p+0, 0x1.503cbd1e949dbp-56,
-	0x1.cdf0b555dc3f9p+0, 0x1.889f12b1f58a3p-53,
-	0x1.d072d4a07897bp+0, 0x1.1a1e45e4342b2p-53,
-	0x1.d2f87080d89f1p+0, 0x1.15bc247313d44p-53,
-	0x1.d5818dcfba487p+0, 0x1.2ed02d75b3707p-55,
-	0x1.d80e316c98397p+0, 0x1.7709f3a09100cp-53,
-	0x1.da9e603db3285p+0, 0x1.c2300696db532p-54,
-	0x1.dd321f301b460p+0, 0x1.2da5778f018c3p-54,
-	0x1.dfc97337b9b5ep+0, 0x1.72d195873da52p-53,
-	0x1.e264614f5a128p+0, 0x1.424ec3f42f5b5p-53,
-	0x1.e502ee78b3ff6p+0, 0x1.39e8980a9cc8fp-55,
-	0x1.e7a51fbc74c83p+0, 0x1.2d522ca0c8de2p-54,
-	0x1.ea4afa2a490d9p+0, 0x1.0b1ee7431ebb6p-53,
-	0x1.ecf482d8e67f0p+0, 0x1.1b60625f7293ap-53,
-	0x1.efa1bee615a27p+0, 0x1.dc7f486a4b6b0p-54,
-	0x1.f252b376bba97p+0, 0x1.3a1a5bf0d8e43p-54,
-	0x1.f50765b6e4540p+0, 0x1.9d3e12dd8a18bp-54,
-	0x1.f7bfdad9cbe13p+0, 0x1.1227697fce57bp-53,
-	0x1.fa7c1819e90d8p+0, 0x1.74853f3a5931ep-55,
-	0x1.fd3c22b8f71f1p+0, 0x1.2eb74966579e7p-57
+	{ 0x1.0163da9fb3335p+0, 0x1.b61299ab8cdb7p-54 },
+	{ 0x1.02c9a3e778060p+0, 0x1.dcdef95949ef4p-53 },
+	{ 0x1.04315e86e7f84p+0, 0x1.7ae71f3441b49p-53 },
+	{ 0x1.059b0d3158574p+0, 0x1.d73e2a475b465p-55 },
+	{ 0x1.0706b29ddf6ddp+0, 0x1.8db880753b0f6p-53 },
+	{ 0x1.0874518759bc8p+0, 0x1.186be4bb284ffp-57 },
+	{ 0x1.09e3ecac6f383p+0, 0x1.1487818316136p-54 },
+	{ 0x1.0b5586cf9890fp+0, 0x1.8a62e4adc610bp-54 },
+	{ 0x1.0cc922b7247f7p+0, 0x1.01edc16e24f71p-54 },
+	{ 0x1.0e3ec32d3d1a2p+0, 0x1.03a1727c57b53p-59 },
+	{ 0x1.0fb66affed31ap+0, 0x1.e464123bb1428p-53 },
+	{ 0x1.11301d0125b50p+0, 0x1.49d77e35db263p-53 },
+	{ 0x1.12abdc06c31cbp+0, 0x1.f72575a649ad2p-53 },
+	{ 0x1.1429aaea92ddfp+0, 0x1.66820328764b1p-53 },
+	{ 0x1.15a98c8a58e51p+0, 0x1.2406ab9eeab0ap-55 },
+	{ 0x1.172b83c7d517ap+0, 0x1.b9bef918a1d63p-53 },
+	{ 0x1.18af9388c8de9p+0, 0x1.777ee1734784ap-53 },
+	{ 0x1.1a35beb6fcb75p+0, 0x1.e5b4c7b4968e4p-55 },
+	{ 0x1.1bbe084045cd3p+0, 0x1.3563ce56884fcp-53 },
+	{ 0x1.1d4873168b9aap+0, 0x1.e016e00a2643cp-54 },
+	{ 0x1.1ed5022fcd91cp+0, 0x1.71033fec2243ap-53 },
+	{ 0x1.2063b88628cd6p+0, 0x1.dc775814a8495p-55 },
+	{ 0x1.21f49917ddc96p+0, 0x1.2a97e9494a5eep-55 },
+	{ 0x1.2387a6e756238p+0, 0x1.9b07eb6c70573p-54 },
+	{ 0x1.251ce4fb2a63fp+0, 0x1.ac155bef4f4a4p-55 },
+	{ 0x1.26b4565e27cddp+0, 0x1.2bd339940e9d9p-55 },
+	{ 0x1.284dfe1f56380p+0, 0x1.2d9e2b9e07941p-53 },
+	{ 0x1.29e9df51fdee1p+0, 0x1.612e8afad1255p-55 },
+	{ 0x1.2b87fd0dad98fp+0, 0x1.fbbd48ca71f95p-53 },
+	{ 0x1.2d285a6e4030bp+0, 0x1.0024754db41d5p-54 },
+	{ 0x1.2ecafa93e2f56p+0, 0x1.1ca0f45d52383p-56 },
+	{ 0x1.306fe0a31b715p+0, 0x1.6f46ad23182e4p-55 },
+	{ 0x1.32170fc4cd831p+0, 0x1.a9ce78e18047cp-55 },
+	{ 0x1.33c08b26416ffp+0, 0x1.32721843659a6p-54 },
+	{ 0x1.356c55f929ff0p+0, 0x1.928c468ec6e76p-53 },
+	{ 0x1.371a7373aa9cap+0, 0x1.4e28aa05e8a8fp-53 },
+	{ 0x1.38cae6d05d865p+0, 0x1.0b53961b37da2p-53 },
+	{ 0x1.3a7db34e59ff6p+0, 0x1.d43792533c144p-53 },
+	{ 0x1.3c32dc313a8e4p+0, 0x1.08003e4516b1ep-53 },
+	{ 0x1.3dea64c123422p+0, 0x1.ada0911f09ebcp-55 },
+	{ 0x1.3fa4504ac801bp+0, 0x1.417ee03548306p-53 },
+	{ 0x1.4160a21f72e29p+0, 0x1.f0864b71e7b6cp-53 },
+	{ 0x1.431f5d950a896p+0, 0x1.b8e088728219ap-53 },
+	{ 0x1.44e086061892dp+0, 0x1.89b7a04ef80d0p-59 },
+	{ 0x1.46a41ed1d0057p+0, 0x1.c944bd1648a76p-54 },
+	{ 0x1.486a2b5c13cd0p+0, 0x1.3c1a3b69062f0p-56 },
+	{ 0x1.4a32af0d7d3dep+0, 0x1.9cb62f3d1be56p-54 },
+	{ 0x1.4bfdad5362a27p+0, 0x1.d4397afec42e2p-56 },
+	{ 0x1.4dcb299fddd0dp+0, 0x1.8ecdbbc6a7833p-54 },
+	{ 0x1.4f9b2769d2ca6p+0, 0x1.5a67b16d3540ep-53 },
+	{ 0x1.516daa2cf6641p+0, 0x1.8225ea5909b04p-53 },
+	{ 0x1.5342b569d4f81p+0, 0x1.be1507893b0d5p-53 },
+	{ 0x1.551a4ca5d920ep+0, 0x1.8a5d8c4048699p-53 },
+	{ 0x1.56f4736b527dap+0, 0x1.9bb2c011d93adp-54 },
+	{ 0x1.58d12d497c7fdp+0, 0x1.295e15b9a1de8p-55 },
+	{ 0x1.5ab07dd485429p+0, 0x1.6324c054647adp-54 },
+	{ 0x1.5c9268a5946b7p+0, 0x1.c4b1b816986a2p-60 },
+	{ 0x1.5e76f15ad2148p+0, 0x1.ba6f93080e65ep-54 },
+	{ 0x1.605e1b976dc08p+0, 0x1.60edeb25490dcp-53 },
+	{ 0x1.6247eb03a5584p+0, 0x1.63e1f40dfa5b5p-53 },
+	{ 0x1.6434634ccc31fp+0, 0x1.8edf0e2989db3p-53 },
+	{ 0x1.6623882552224p+0, 0x1.224fb3c5371e6p-53 },
+	{ 0x1.68155d44ca973p+0, 0x1.038ae44f73e65p-57 },
+	{ 0x1.6a09e667f3bccp+0, 0x1.21165f626cdd5p-53 },
+	{ 0x1.6c012750bdabep+0, 0x1.daed533001e9ep-53 },
+	{ 0x1.6dfb23c651a2ep+0, 0x1.e441c597c3775p-53 },
+	{ 0x1.6ff7df9519483p+0, 0x1.9f0fc369e7c42p-53 },
+	{ 0x1.71f75e8ec5f73p+0, 0x1.ba46e1e5de15ap-53 },
+	{ 0x1.73f9a48a58173p+0, 0x1.7ab9349cd1562p-53 },
+	{ 0x1.75feb564267c8p+0, 0x1.7edd354674916p-53 },
+	{ 0x1.780694fde5d3fp+0, 0x1.866b80a02162dp-54 },
+	{ 0x1.7a11473eb0186p+0, 0x1.afaa2047ed9b4p-53 },
+	{ 0x1.7c1ed0130c132p+0, 0x1.f124cd1164dd6p-54 },
+	{ 0x1.7e2f336cf4e62p+0, 0x1.05d02ba15797ep-56 },
+	{ 0x1.80427543e1a11p+0, 0x1.6c1bccec9346bp-53 },
+	{ 0x1.82589994cce12p+0, 0x1.159f115f56694p-53 },
+	{ 0x1.8471a4623c7acp+0, 0x1.9ca5ed72f8c81p-53 },
+	{ 0x1.868d99b4492ecp+0, 0x1.01c83b21584a3p-53 },
+	{ 0x1.88ac7d98a6699p+0, 0x1.994c2f37cb53ap-54 },
+	{ 0x1.8ace5422aa0dbp+0, 0x1.6e9f156864b27p-54 },
+	{ 0x1.8cf3216b5448bp+0, 0x1.de55439a2c38bp-53 },
+	{ 0x1.8f1ae99157736p+0, 0x1.5cc13a2e3976cp-55 },
+	{ 0x1.9145b0b91ffc5p+0, 0x1.114c368d3ed6ep-53 },
+	{ 0x1.93737b0cdc5e4p+0, 0x1.e8a0387e4a814p-53 },
+	{ 0x1.95a44cbc8520ep+0, 0x1.d36906d2b41f9p-53 },
+	{ 0x1.97d829fde4e4fp+0, 0x1.173d241f23d18p-53 },
+	{ 0x1.9a0f170ca07b9p+0, 0x1.7462137188ce7p-53 },
+	{ 0x1.9c49182a3f090p+0, 0x1.c7c46b071f2bep-56 },
+	{ 0x1.9e86319e32323p+0, 0x1.824ca78e64c6ep-56 },
+	{ 0x1.a0c667b5de564p+0, 0x1.6535b51719567p-53 },
+	{ 0x1.a309bec4a2d33p+0, 0x1.6305c7ddc36abp-54 },
+	{ 0x1.a5503b23e255cp+0, 0x1.1684892395f0fp-53 },
+	{ 0x1.a799e1330b358p+0, 0x1.bcb7ecac563c7p-54 },
+	{ 0x1.a9e6b5579fdbfp+0, 0x1.0fac90ef7fd31p-54 },
+	{ 0x1.ac36bbfd3f379p+0, 0x1.81b72cd4624ccp-53 },
+	{ 0x1.ae89f995ad3adp+0, 0x1.7a1cd345dcc81p-54 },
+	{ 0x1.b0e07298db665p+0, 0x1.2108559bf8deep-53 },
+	{ 0x1.b33a2b84f15fap+0, 0x1.ed7fa1cf7b290p-53 },
+	{ 0x1.b59728de55939p+0, 0x1.1c7102222c90ep-53 },
+	{ 0x1.b7f76f2fb5e46p+0, 0x1.d54f610356a79p-53 },
+	{ 0x1.ba5b030a10649p+0, 0x1.0819678d5eb69p-53 },
+	{ 0x1.bcc1e904bc1d2p+0, 0x1.23dd07a2d9e84p-55 },
+	{ 0x1.bf2c25bd71e08p+0, 0x1.0811ae04a31c7p-53 },
+	{ 0x1.c199bdd85529cp+0, 0x1.11065895048ddp-55 },
+	{ 0x1.c40ab5fffd07ap+0, 0x1.b4537e083c60ap-54 },
+	{ 0x1.c67f12e57d14bp+0, 0x1.2884dff483cadp-54 },
+	{ 0x1.c8f6d9406e7b5p+0, 0x1.1acbc48805c44p-56 },
+	{ 0x1.cb720dcef9069p+0, 0x1.503cbd1e949dbp-56 },
+	{ 0x1.cdf0b555dc3f9p+0, 0x1.889f12b1f58a3p-53 },
+	{ 0x1.d072d4a07897bp+0, 0x1.1a1e45e4342b2p-53 },
+	{ 0x1.d2f87080d89f1p+0, 0x1.15bc247313d44p-53 },
+	{ 0x1.d5818dcfba487p+0, 0x1.2ed02d75b3707p-55 },
+	{ 0x1.d80e316c98397p+0, 0x1.7709f3a09100cp-53 },
+	{ 0x1.da9e603db3285p+0, 0x1.c2300696db532p-54 },
+	{ 0x1.dd321f301b460p+0, 0x1.2da5778f018c3p-54 },
+	{ 0x1.dfc97337b9b5ep+0, 0x1.72d195873da52p-53 },
+	{ 0x1.e264614f5a128p+0, 0x1.424ec3f42f5b5p-53 },
+	{ 0x1.e502ee78b3ff6p+0, 0x1.39e8980a9cc8fp-55 },
+	{ 0x1.e7a51fbc74c83p+0, 0x1.2d522ca0c8de2p-54 },
+	{ 0x1.ea4afa2a490d9p+0, 0x1.0b1ee7431ebb6p-53 },
+	{ 0x1.ecf482d8e67f0p+0, 0x1.1b60625f7293ap-53 },
+	{ 0x1.efa1bee615a27p+0, 0x1.dc7f486a4b6b0p-54 },
+	{ 0x1.f252b376bba97p+0, 0x1.3a1a5bf0d8e43p-54 },
+	{ 0x1.f50765b6e4540p+0, 0x1.9d3e12dd8a18bp-54 },
+	{ 0x1.f7bfdad9cbe13p+0, 0x1.1227697fce57bp-53 },
+	{ 0x1.fa7c1819e90d8p+0, 0x1.74853f3a5931ep-55 },
+	{ 0x1.fd3c22b8f71f1p+0, 0x1.2eb74966579e7p-57 }
 };
 
 /*

Modified: stable/11/lib/msun/ld80/s_logl.c
==============================================================================
--- stable/11/lib/msun/ld80/s_logl.c	Tue Sep 26 08:45:11 2017	(r324005)
+++ stable/11/lib/msun/ld80/s_logl.c	Tue Sep 26 09:01:56 2017	(r324006)
@@ -152,135 +152,135 @@ static const struct {
 	 * mainly to minimize the size of the table.  Using all 24 bits
 	 * in a float for it automatically satisfies the above constraints.
 	 */
-	 0x800000.0p-23,  0,               0,
-	 0xfe0000.0p-24,  0x8080ac.0p-30, -0x14ee431dae6675.0p-84,
-	 0xfc0000.0p-24,  0x8102b3.0p-29, -0x1db29ee2d83718.0p-84,
-	 0xfa0000.0p-24,  0xc24929.0p-29,  0x1191957d173698.0p-83,
-	 0xf80000.0p-24,  0x820aec.0p-28,  0x13ce8888e02e79.0p-82,
-	 0xf60000.0p-24,  0xa33577.0p-28, -0x17a4382ce6eb7c.0p-82,
-	 0xf48000.0p-24,  0xbc42cb.0p-28, -0x172a21161a1076.0p-83,
-	 0xf30000.0p-24,  0xd57797.0p-28, -0x1e09de07cb9589.0p-82,
-	 0xf10000.0p-24,  0xf7518e.0p-28,  0x1ae1eec1b036c5.0p-91,
-	 0xef0000.0p-24,  0x8cb9df.0p-27, -0x1d7355325d560e.0p-81,
-	 0xed8000.0p-24,  0x999ec0.0p-27, -0x1f9f02d256d503.0p-82,
-	 0xec0000.0p-24,  0xa6988b.0p-27, -0x16fc0a9d12c17a.0p-83,
-	 0xea0000.0p-24,  0xb80698.0p-27,  0x15d581c1e8da9a.0p-81,
-	 0xe80000.0p-24,  0xc99af3.0p-27, -0x1535b3ba8f150b.0p-83,
-	 0xe70000.0p-24,  0xd273b2.0p-27,  0x163786f5251af0.0p-85,
-	 0xe50000.0p-24,  0xe442c0.0p-27,  0x1bc4b2368e32d5.0p-84,
-	 0xe38000.0p-24,  0xf1b83f.0p-27,  0x1c6090f684e676.0p-81,
-	 0xe20000.0p-24,  0xff448a.0p-27, -0x1890aa69ac9f42.0p-82,
-	 0xe08000.0p-24,  0x8673f6.0p-26,  0x1b9985194b6b00.0p-80,
-	 0xdf0000.0p-24,  0x8d515c.0p-26, -0x1dc08d61c6ef1e.0p-83,
-	 0xdd8000.0p-24,  0x943a9e.0p-26, -0x1f72a2dac729b4.0p-82,
-	 0xdc0000.0p-24,  0x9b2fe6.0p-26, -0x1fd4dfd3a0afb9.0p-80,
-	 0xda8000.0p-24,  0xa2315d.0p-26, -0x11b26121629c47.0p-82,
-	 0xd90000.0p-24,  0xa93f2f.0p-26,  0x1286d633e8e569.0p-81,
-	 0xd78000.0p-24,  0xb05988.0p-26,  0x16128eba936770.0p-84,
-	 0xd60000.0p-24,  0xb78094.0p-26,  0x16ead577390d32.0p-80,
-	 0xd50000.0p-24,  0xbc4c6c.0p-26,  0x151131ccf7c7b7.0p-81,
-	 0xd38000.0p-24,  0xc3890a.0p-26, -0x115e2cd714bd06.0p-80,
-	 0xd20000.0p-24,  0xcad2d7.0p-26, -0x1847f406ebd3b0.0p-82,
-	 0xd10000.0p-24,  0xcfb620.0p-26,  0x1c2259904d6866.0p-81,
-	 0xcf8000.0p-24,  0xd71653.0p-26,  0x1ece57a8d5ae55.0p-80,
-	 0xce0000.0p-24,  0xde843a.0p-26, -0x1f109d4bc45954.0p-81,
-	 0xcd0000.0p-24,  0xe37fde.0p-26,  0x1bc03dc271a74d.0p-81,
-	 0xcb8000.0p-24,  0xeb050c.0p-26, -0x1bf2badc0df842.0p-85,
-	 0xca0000.0p-24,  0xf29878.0p-26, -0x18efededd89fbe.0p-87,
-	 0xc90000.0p-24,  0xf7ad6f.0p-26,  0x1373ff977baa69.0p-81,
-	 0xc80000.0p-24,  0xfcc8e3.0p-26,  0x196766f2fb3283.0p-80,
-	 0xc68000.0p-24,  0x823f30.0p-25,  0x19bd076f7c434e.0p-79,
-	 0xc58000.0p-24,  0x84d52c.0p-25, -0x1a327257af0f46.0p-79,
-	 0xc40000.0p-24,  0x88bc74.0p-25,  0x113f23def19c5a.0p-81,
-	 0xc30000.0p-24,  0x8b5ae6.0p-25,  0x1759f6e6b37de9.0p-79,
-	 0xc20000.0p-24,  0x8dfccb.0p-25,  0x1ad35ca6ed5148.0p-81,
-	 0xc10000.0p-24,  0x90a22b.0p-25,  0x1a1d71a87deba4.0p-79,
-	 0xbf8000.0p-24,  0x94a0d8.0p-25, -0x139e5210c2b731.0p-80,
-	 0xbe8000.0p-24,  0x974f16.0p-25, -0x18f6ebcff3ed73.0p-81,
-	 0xbd8000.0p-24,  0x9a00f1.0p-25, -0x1aa268be39aab7.0p-79,
-	 0xbc8000.0p-24,  0x9cb672.0p-25, -0x14c8815839c566.0p-79,
-	 0xbb0000.0p-24,  0xa0cda1.0p-25,  0x1eaf46390dbb24.0p-81,
-	 0xba0000.0p-24,  0xa38c6e.0p-25,  0x138e20d831f698.0p-81,
-	 0xb90000.0p-24,  0xa64f05.0p-25, -0x1e8d3c41123616.0p-82,
-	 0xb80000.0p-24,  0xa91570.0p-25,  0x1ce28f5f3840b2.0p-80,
-	 0xb70000.0p-24,  0xabdfbb.0p-25, -0x186e5c0a424234.0p-79,
-	 0xb60000.0p-24,  0xaeadef.0p-25, -0x14d41a0b2a08a4.0p-83,
-	 0xb50000.0p-24,  0xb18018.0p-25,  0x16755892770634.0p-79,
-	 0xb40000.0p-24,  0xb45642.0p-25, -0x16395ebe59b152.0p-82,
-	 0xb30000.0p-24,  0xb73077.0p-25,  0x1abc65c8595f09.0p-80,
-	 0xb20000.0p-24,  0xba0ec4.0p-25, -0x1273089d3dad89.0p-79,
-	 0xb10000.0p-24,  0xbcf133.0p-25,  0x10f9f67b1f4bbf.0p-79,
-	 0xb00000.0p-24,  0xbfd7d2.0p-25, -0x109fab90486409.0p-80,
-	 0xaf0000.0p-24,  0xc2c2ac.0p-25, -0x1124680aa43333.0p-79,
-	 0xae8000.0p-24,  0xc439b3.0p-25, -0x1f360cc4710fc0.0p-80,
-	 0xad8000.0p-24,  0xc72afd.0p-25, -0x132d91f21d89c9.0p-80,
-	 0xac8000.0p-24,  0xca20a2.0p-25, -0x16bf9b4d1f8da8.0p-79,
-	 0xab8000.0p-24,  0xcd1aae.0p-25,  0x19deb5ce6a6a87.0p-81,
-	 0xaa8000.0p-24,  0xd0192f.0p-25,  0x1a29fb48f7d3cb.0p-79,
-	 0xaa0000.0p-24,  0xd19a20.0p-25,  0x1127d3c6457f9d.0p-81,
-	 0xa90000.0p-24,  0xd49f6a.0p-25, -0x1ba930e486a0ac.0p-81,
-	 0xa80000.0p-24,  0xd7a94b.0p-25, -0x1b6e645f31549e.0p-79,
-	 0xa70000.0p-24,  0xdab7d0.0p-25,  0x1118a425494b61.0p-80,
-	 0xa68000.0p-24,  0xdc40d5.0p-25,  0x1966f24d29d3a3.0p-80,
-	 0xa58000.0p-24,  0xdf566d.0p-25, -0x1d8e52eb2248f1.0p-82,
-	 0xa48000.0p-24,  0xe270ce.0p-25, -0x1ee370f96e6b68.0p-80,
-	 0xa40000.0p-24,  0xe3ffce.0p-25,  0x1d155324911f57.0p-80,
-	 0xa30000.0p-24,  0xe72179.0p-25, -0x1fe6e2f2f867d9.0p-80,
-	 0xa20000.0p-24,  0xea4812.0p-25,  0x1b7be9add7f4d4.0p-80,
-	 0xa18000.0p-24,  0xebdd3d.0p-25,  0x1b3cfb3f7511dd.0p-79,
-	 0xa08000.0p-24,  0xef0b5b.0p-25, -0x1220de1f730190.0p-79,
-	 0xa00000.0p-24,  0xf0a451.0p-25, -0x176364c9ac81cd.0p-80,
-	 0x9f0000.0p-24,  0xf3da16.0p-25,  0x1eed6b9aafac8d.0p-81,
-	 0x9e8000.0p-24,  0xf576e9.0p-25,  0x1d593218675af2.0p-79,
-	 0x9d8000.0p-24,  0xf8b47c.0p-25, -0x13e8eb7da053e0.0p-84,
-	 0x9d0000.0p-24,  0xfa553f.0p-25,  0x1c063259bcade0.0p-79,
-	 0x9c0000.0p-24,  0xfd9ac5.0p-25,  0x1ef491085fa3c1.0p-79,
-	 0x9b8000.0p-24,  0xff3f8c.0p-25,  0x1d607a7c2b8c53.0p-79,
-	 0x9a8000.0p-24,  0x814697.0p-24, -0x12ad3817004f3f.0p-78,
-	 0x9a0000.0p-24,  0x821b06.0p-24, -0x189fc53117f9e5.0p-81,
-	 0x990000.0p-24,  0x83c5f8.0p-24,  0x14cf15a048907b.0p-79,
-	 0x988000.0p-24,  0x849c7d.0p-24,  0x1cbb1d35fb8287.0p-78,
-	 0x978000.0p-24,  0x864ba6.0p-24,  0x1128639b814f9c.0p-78,
-	 0x970000.0p-24,  0x87244c.0p-24,  0x184733853300f0.0p-79,
-	 0x968000.0p-24,  0x87fdaa.0p-24,  0x109d23aef77dd6.0p-80,
-	 0x958000.0p-24,  0x89b293.0p-24, -0x1a81ef367a59de.0p-78,
-	 0x950000.0p-24,  0x8a8e20.0p-24, -0x121ad3dbb2f452.0p-78,
-	 0x948000.0p-24,  0x8b6a6a.0p-24, -0x1cfb981628af72.0p-79,
-	 0x938000.0p-24,  0x8d253a.0p-24, -0x1d21730ea76cfe.0p-79,
-	 0x930000.0p-24,  0x8e03c2.0p-24,  0x135cc00e566f77.0p-78,
-	 0x928000.0p-24,  0x8ee30d.0p-24, -0x10fcb5df257a26.0p-80,
-	 0x918000.0p-24,  0x90a3ee.0p-24, -0x16e171b15433d7.0p-79,
-	 0x910000.0p-24,  0x918587.0p-24, -0x1d050da07f3237.0p-79,
-	 0x908000.0p-24,  0x9267e7.0p-24,  0x1be03669a5268d.0p-79,
-	 0x8f8000.0p-24,  0x942f04.0p-24,  0x10b28e0e26c337.0p-79,
-	 0x8f0000.0p-24,  0x9513c3.0p-24,  0x1a1d820da57cf3.0p-78,
-	 0x8e8000.0p-24,  0x95f950.0p-24, -0x19ef8f13ae3cf1.0p-79,
-	 0x8e0000.0p-24,  0x96dfab.0p-24, -0x109e417a6e507c.0p-78,
-	 0x8d0000.0p-24,  0x98aed2.0p-24,  0x10d01a2c5b0e98.0p-79,
-	 0x8c8000.0p-24,  0x9997a2.0p-24, -0x1d6a50d4b61ea7.0p-78,
-	 0x8c0000.0p-24,  0x9a8145.0p-24,  0x1b3b190b83f952.0p-78,
-	 0x8b8000.0p-24,  0x9b6bbf.0p-24,  0x13a69fad7e7abe.0p-78,
-	 0x8b0000.0p-24,  0x9c5711.0p-24, -0x11cd12316f576b.0p-78,
-	 0x8a8000.0p-24,  0x9d433b.0p-24,  0x1c95c444b807a2.0p-79,
-	 0x898000.0p-24,  0x9f1e22.0p-24, -0x1b9c224ea698c3.0p-79,
-	 0x890000.0p-24,  0xa00ce1.0p-24,  0x125ca93186cf0f.0p-81,
-	 0x888000.0p-24,  0xa0fc80.0p-24, -0x1ee38a7bc228b3.0p-79,
-	 0x880000.0p-24,  0xa1ed00.0p-24, -0x1a0db876613d20.0p-78,
-	 0x878000.0p-24,  0xa2de62.0p-24,  0x193224e8516c01.0p-79,
-	 0x870000.0p-24,  0xa3d0a9.0p-24,  0x1fa28b4d2541ad.0p-79,
-	 0x868000.0p-24,  0xa4c3d6.0p-24,  0x1c1b5760fb4572.0p-78,
-	 0x858000.0p-24,  0xa6acea.0p-24,  0x1fed5d0f65949c.0p-80,
-	 0x850000.0p-24,  0xa7a2d4.0p-24,  0x1ad270c9d74936.0p-80,
-	 0x848000.0p-24,  0xa899ab.0p-24,  0x199ff15ce53266.0p-79,
-	 0x840000.0p-24,  0xa99171.0p-24,  0x1a19e15ccc45d2.0p-79,
-	 0x838000.0p-24,  0xaa8a28.0p-24, -0x121a14ec532b36.0p-80,
-	 0x830000.0p-24,  0xab83d1.0p-24,  0x1aee319980bff3.0p-79,
-	 0x828000.0p-24,  0xac7e6f.0p-24, -0x18ffd9e3900346.0p-80,
-	 0x820000.0p-24,  0xad7a03.0p-24, -0x1e4db102ce29f8.0p-80,
-	 0x818000.0p-24,  0xae768f.0p-24,  0x17c35c55a04a83.0p-81,
-	 0x810000.0p-24,  0xaf7415.0p-24,  0x1448324047019b.0p-78,
-	 0x808000.0p-24,  0xb07298.0p-24, -0x1750ee3915a198.0p-78,
-	 0x800000.0p-24,  0xb17218.0p-24, -0x105c610ca86c39.0p-81,
+	 { 0x800000.0p-23,  0,               0 },
+	 { 0xfe0000.0p-24,  0x8080ac.0p-30, -0x14ee431dae6675.0p-84 },
+	 { 0xfc0000.0p-24,  0x8102b3.0p-29, -0x1db29ee2d83718.0p-84 },
+	 { 0xfa0000.0p-24,  0xc24929.0p-29,  0x1191957d173698.0p-83 },
+	 { 0xf80000.0p-24,  0x820aec.0p-28,  0x13ce8888e02e79.0p-82 },
+	 { 0xf60000.0p-24,  0xa33577.0p-28, -0x17a4382ce6eb7c.0p-82 },
+	 { 0xf48000.0p-24,  0xbc42cb.0p-28, -0x172a21161a1076.0p-83 },
+	 { 0xf30000.0p-24,  0xd57797.0p-28, -0x1e09de07cb9589.0p-82 },
+	 { 0xf10000.0p-24,  0xf7518e.0p-28,  0x1ae1eec1b036c5.0p-91 },
+	 { 0xef0000.0p-24,  0x8cb9df.0p-27, -0x1d7355325d560e.0p-81 },
+	 { 0xed8000.0p-24,  0x999ec0.0p-27, -0x1f9f02d256d503.0p-82 },
+	 { 0xec0000.0p-24,  0xa6988b.0p-27, -0x16fc0a9d12c17a.0p-83 },
+	 { 0xea0000.0p-24,  0xb80698.0p-27,  0x15d581c1e8da9a.0p-81 },
+	 { 0xe80000.0p-24,  0xc99af3.0p-27, -0x1535b3ba8f150b.0p-83 },
+	 { 0xe70000.0p-24,  0xd273b2.0p-27,  0x163786f5251af0.0p-85 },
+	 { 0xe50000.0p-24,  0xe442c0.0p-27,  0x1bc4b2368e32d5.0p-84 },
+	 { 0xe38000.0p-24,  0xf1b83f.0p-27,  0x1c6090f684e676.0p-81 },
+	 { 0xe20000.0p-24,  0xff448a.0p-27, -0x1890aa69ac9f42.0p-82 },
+	 { 0xe08000.0p-24,  0x8673f6.0p-26,  0x1b9985194b6b00.0p-80 },
+	 { 0xdf0000.0p-24,  0x8d515c.0p-26, -0x1dc08d61c6ef1e.0p-83 },
+	 { 0xdd8000.0p-24,  0x943a9e.0p-26, -0x1f72a2dac729b4.0p-82 },
+	 { 0xdc0000.0p-24,  0x9b2fe6.0p-26, -0x1fd4dfd3a0afb9.0p-80 },
+	 { 0xda8000.0p-24,  0xa2315d.0p-26, -0x11b26121629c47.0p-82 },
+	 { 0xd90000.0p-24,  0xa93f2f.0p-26,  0x1286d633e8e569.0p-81 },
+	 { 0xd78000.0p-24,  0xb05988.0p-26,  0x16128eba936770.0p-84 },
+	 { 0xd60000.0p-24,  0xb78094.0p-26,  0x16ead577390d32.0p-80 },
+	 { 0xd50000.0p-24,  0xbc4c6c.0p-26,  0x151131ccf7c7b7.0p-81 },
+	 { 0xd38000.0p-24,  0xc3890a.0p-26, -0x115e2cd714bd06.0p-80 },
+	 { 0xd20000.0p-24,  0xcad2d7.0p-26, -0x1847f406ebd3b0.0p-82 },
+	 { 0xd10000.0p-24,  0xcfb620.0p-26,  0x1c2259904d6866.0p-81 },
+	 { 0xcf8000.0p-24,  0xd71653.0p-26,  0x1ece57a8d5ae55.0p-80 },
+	 { 0xce0000.0p-24,  0xde843a.0p-26, -0x1f109d4bc45954.0p-81 },
+	 { 0xcd0000.0p-24,  0xe37fde.0p-26,  0x1bc03dc271a74d.0p-81 },
+	 { 0xcb8000.0p-24,  0xeb050c.0p-26, -0x1bf2badc0df842.0p-85 },
+	 { 0xca0000.0p-24,  0xf29878.0p-26, -0x18efededd89fbe.0p-87 },
+	 { 0xc90000.0p-24,  0xf7ad6f.0p-26,  0x1373ff977baa69.0p-81 },
+	 { 0xc80000.0p-24,  0xfcc8e3.0p-26,  0x196766f2fb3283.0p-80 },
+	 { 0xc68000.0p-24,  0x823f30.0p-25,  0x19bd076f7c434e.0p-79 },
+	 { 0xc58000.0p-24,  0x84d52c.0p-25, -0x1a327257af0f46.0p-79 },
+	 { 0xc40000.0p-24,  0x88bc74.0p-25,  0x113f23def19c5a.0p-81 },
+	 { 0xc30000.0p-24,  0x8b5ae6.0p-25,  0x1759f6e6b37de9.0p-79 },
+	 { 0xc20000.0p-24,  0x8dfccb.0p-25,  0x1ad35ca6ed5148.0p-81 },
+	 { 0xc10000.0p-24,  0x90a22b.0p-25,  0x1a1d71a87deba4.0p-79 },
+	 { 0xbf8000.0p-24,  0x94a0d8.0p-25, -0x139e5210c2b731.0p-80 },
+	 { 0xbe8000.0p-24,  0x974f16.0p-25, -0x18f6ebcff3ed73.0p-81 },
+	 { 0xbd8000.0p-24,  0x9a00f1.0p-25, -0x1aa268be39aab7.0p-79 },
+	 { 0xbc8000.0p-24,  0x9cb672.0p-25, -0x14c8815839c566.0p-79 },
+	 { 0xbb0000.0p-24,  0xa0cda1.0p-25,  0x1eaf46390dbb24.0p-81 },
+	 { 0xba0000.0p-24,  0xa38c6e.0p-25,  0x138e20d831f698.0p-81 },
+	 { 0xb90000.0p-24,  0xa64f05.0p-25, -0x1e8d3c41123616.0p-82 },
+	 { 0xb80000.0p-24,  0xa91570.0p-25,  0x1ce28f5f3840b2.0p-80 },
+	 { 0xb70000.0p-24,  0xabdfbb.0p-25, -0x186e5c0a424234.0p-79 },
+	 { 0xb60000.0p-24,  0xaeadef.0p-25, -0x14d41a0b2a08a4.0p-83 },
+	 { 0xb50000.0p-24,  0xb18018.0p-25,  0x16755892770634.0p-79 },
+	 { 0xb40000.0p-24,  0xb45642.0p-25, -0x16395ebe59b152.0p-82 },
+	 { 0xb30000.0p-24,  0xb73077.0p-25,  0x1abc65c8595f09.0p-80 },
+	 { 0xb20000.0p-24,  0xba0ec4.0p-25, -0x1273089d3dad89.0p-79 },
+	 { 0xb10000.0p-24,  0xbcf133.0p-25,  0x10f9f67b1f4bbf.0p-79 },
+	 { 0xb00000.0p-24,  0xbfd7d2.0p-25, -0x109fab90486409.0p-80 },
+	 { 0xaf0000.0p-24,  0xc2c2ac.0p-25, -0x1124680aa43333.0p-79 },
+	 { 0xae8000.0p-24,  0xc439b3.0p-25, -0x1f360cc4710fc0.0p-80 },
+	 { 0xad8000.0p-24,  0xc72afd.0p-25, -0x132d91f21d89c9.0p-80 },
+	 { 0xac8000.0p-24,  0xca20a2.0p-25, -0x16bf9b4d1f8da8.0p-79 },
+	 { 0xab8000.0p-24,  0xcd1aae.0p-25,  0x19deb5ce6a6a87.0p-81 },
+	 { 0xaa8000.0p-24,  0xd0192f.0p-25,  0x1a29fb48f7d3cb.0p-79 },
+	 { 0xaa0000.0p-24,  0xd19a20.0p-25,  0x1127d3c6457f9d.0p-81 },
+	 { 0xa90000.0p-24,  0xd49f6a.0p-25, -0x1ba930e486a0ac.0p-81 },
+	 { 0xa80000.0p-24,  0xd7a94b.0p-25, -0x1b6e645f31549e.0p-79 },
+	 { 0xa70000.0p-24,  0xdab7d0.0p-25,  0x1118a425494b61.0p-80 },
+	 { 0xa68000.0p-24,  0xdc40d5.0p-25,  0x1966f24d29d3a3.0p-80 },
+	 { 0xa58000.0p-24,  0xdf566d.0p-25, -0x1d8e52eb2248f1.0p-82 },
+	 { 0xa48000.0p-24,  0xe270ce.0p-25, -0x1ee370f96e6b68.0p-80 },
+	 { 0xa40000.0p-24,  0xe3ffce.0p-25,  0x1d155324911f57.0p-80 },
+	 { 0xa30000.0p-24,  0xe72179.0p-25, -0x1fe6e2f2f867d9.0p-80 },
+	 { 0xa20000.0p-24,  0xea4812.0p-25,  0x1b7be9add7f4d4.0p-80 },
+	 { 0xa18000.0p-24,  0xebdd3d.0p-25,  0x1b3cfb3f7511dd.0p-79 },
+	 { 0xa08000.0p-24,  0xef0b5b.0p-25, -0x1220de1f730190.0p-79 },
+	 { 0xa00000.0p-24,  0xf0a451.0p-25, -0x176364c9ac81cd.0p-80 },
+	 { 0x9f0000.0p-24,  0xf3da16.0p-25,  0x1eed6b9aafac8d.0p-81 },
+	 { 0x9e8000.0p-24,  0xf576e9.0p-25,  0x1d593218675af2.0p-79 },
+	 { 0x9d8000.0p-24,  0xf8b47c.0p-25, -0x13e8eb7da053e0.0p-84 },
+	 { 0x9d0000.0p-24,  0xfa553f.0p-25,  0x1c063259bcade0.0p-79 },
+	 { 0x9c0000.0p-24,  0xfd9ac5.0p-25,  0x1ef491085fa3c1.0p-79 },
+	 { 0x9b8000.0p-24,  0xff3f8c.0p-25,  0x1d607a7c2b8c53.0p-79 },
+	 { 0x9a8000.0p-24,  0x814697.0p-24, -0x12ad3817004f3f.0p-78 },
+	 { 0x9a0000.0p-24,  0x821b06.0p-24, -0x189fc53117f9e5.0p-81 },
+	 { 0x990000.0p-24,  0x83c5f8.0p-24,  0x14cf15a048907b.0p-79 },
+	 { 0x988000.0p-24,  0x849c7d.0p-24,  0x1cbb1d35fb8287.0p-78 },
+	 { 0x978000.0p-24,  0x864ba6.0p-24,  0x1128639b814f9c.0p-78 },
+	 { 0x970000.0p-24,  0x87244c.0p-24,  0x184733853300f0.0p-79 },
+	 { 0x968000.0p-24,  0x87fdaa.0p-24,  0x109d23aef77dd6.0p-80 },
+	 { 0x958000.0p-24,  0x89b293.0p-24, -0x1a81ef367a59de.0p-78 },
+	 { 0x950000.0p-24,  0x8a8e20.0p-24, -0x121ad3dbb2f452.0p-78 },
+	 { 0x948000.0p-24,  0x8b6a6a.0p-24, -0x1cfb981628af72.0p-79 },
+	 { 0x938000.0p-24,  0x8d253a.0p-24, -0x1d21730ea76cfe.0p-79 },
+	 { 0x930000.0p-24,  0x8e03c2.0p-24,  0x135cc00e566f77.0p-78 },
+	 { 0x928000.0p-24,  0x8ee30d.0p-24, -0x10fcb5df257a26.0p-80 },
+	 { 0x918000.0p-24,  0x90a3ee.0p-24, -0x16e171b15433d7.0p-79 },
+	 { 0x910000.0p-24,  0x918587.0p-24, -0x1d050da07f3237.0p-79 },
+	 { 0x908000.0p-24,  0x9267e7.0p-24,  0x1be03669a5268d.0p-79 },
+	 { 0x8f8000.0p-24,  0x942f04.0p-24,  0x10b28e0e26c337.0p-79 },
+	 { 0x8f0000.0p-24,  0x9513c3.0p-24,  0x1a1d820da57cf3.0p-78 },
+	 { 0x8e8000.0p-24,  0x95f950.0p-24, -0x19ef8f13ae3cf1.0p-79 },
+	 { 0x8e0000.0p-24,  0x96dfab.0p-24, -0x109e417a6e507c.0p-78 },
+	 { 0x8d0000.0p-24,  0x98aed2.0p-24,  0x10d01a2c5b0e98.0p-79 },
+	 { 0x8c8000.0p-24,  0x9997a2.0p-24, -0x1d6a50d4b61ea7.0p-78 },
+	 { 0x8c0000.0p-24,  0x9a8145.0p-24,  0x1b3b190b83f952.0p-78 },
+	 { 0x8b8000.0p-24,  0x9b6bbf.0p-24,  0x13a69fad7e7abe.0p-78 },
+	 { 0x8b0000.0p-24,  0x9c5711.0p-24, -0x11cd12316f576b.0p-78 },
+	 { 0x8a8000.0p-24,  0x9d433b.0p-24,  0x1c95c444b807a2.0p-79 },
+	 { 0x898000.0p-24,  0x9f1e22.0p-24, -0x1b9c224ea698c3.0p-79 },
+	 { 0x890000.0p-24,  0xa00ce1.0p-24,  0x125ca93186cf0f.0p-81 },
+	 { 0x888000.0p-24,  0xa0fc80.0p-24, -0x1ee38a7bc228b3.0p-79 },
+	 { 0x880000.0p-24,  0xa1ed00.0p-24, -0x1a0db876613d20.0p-78 },
+	 { 0x878000.0p-24,  0xa2de62.0p-24,  0x193224e8516c01.0p-79 },
+	 { 0x870000.0p-24,  0xa3d0a9.0p-24,  0x1fa28b4d2541ad.0p-79 },
+	 { 0x868000.0p-24,  0xa4c3d6.0p-24,  0x1c1b5760fb4572.0p-78 },
+	 { 0x858000.0p-24,  0xa6acea.0p-24,  0x1fed5d0f65949c.0p-80 },
+	 { 0x850000.0p-24,  0xa7a2d4.0p-24,  0x1ad270c9d74936.0p-80 },
+	 { 0x848000.0p-24,  0xa899ab.0p-24,  0x199ff15ce53266.0p-79 },
+	 { 0x840000.0p-24,  0xa99171.0p-24,  0x1a19e15ccc45d2.0p-79 },
+	 { 0x838000.0p-24,  0xaa8a28.0p-24, -0x121a14ec532b36.0p-80 },
+	 { 0x830000.0p-24,  0xab83d1.0p-24,  0x1aee319980bff3.0p-79 },
+	 { 0x828000.0p-24,  0xac7e6f.0p-24, -0x18ffd9e3900346.0p-80 },
+	 { 0x820000.0p-24,  0xad7a03.0p-24, -0x1e4db102ce29f8.0p-80 },
+	 { 0x818000.0p-24,  0xae768f.0p-24,  0x17c35c55a04a83.0p-81 },
+	 { 0x810000.0p-24,  0xaf7415.0p-24,  0x1448324047019b.0p-78 },
+	 { 0x808000.0p-24,  0xb07298.0p-24, -0x1750ee3915a198.0p-78 },
+	 { 0x800000.0p-24,  0xb17218.0p-24, -0x105c610ca86c39.0p-81 },
 };
 
 #ifdef USE_UTAB
@@ -288,135 +288,135 @@ static const struct {
 	float	H;			/* 1 + i/INTERVALS (exact) */
 	float	E;			/* H(i) * G(i) - 1 (exact) */
 } U[TSIZE] = {
-	 0x800000.0p-23,  0,
-	 0x810000.0p-23, -0x800000.0p-37,
-	 0x820000.0p-23, -0x800000.0p-35,
-	 0x830000.0p-23, -0x900000.0p-34,
-	 0x840000.0p-23, -0x800000.0p-33,
-	 0x850000.0p-23, -0xc80000.0p-33,
-	 0x860000.0p-23, -0xa00000.0p-36,
-	 0x870000.0p-23,  0x940000.0p-33,
-	 0x880000.0p-23,  0x800000.0p-35,
-	 0x890000.0p-23, -0xc80000.0p-34,
-	 0x8a0000.0p-23,  0xe00000.0p-36,
-	 0x8b0000.0p-23,  0x900000.0p-33,
-	 0x8c0000.0p-23, -0x800000.0p-35,
-	 0x8d0000.0p-23, -0xe00000.0p-33,
-	 0x8e0000.0p-23,  0x880000.0p-33,
-	 0x8f0000.0p-23, -0xa80000.0p-34,
-	 0x900000.0p-23, -0x800000.0p-35,
-	 0x910000.0p-23,  0x800000.0p-37,
-	 0x920000.0p-23,  0x900000.0p-35,
-	 0x930000.0p-23,  0xd00000.0p-35,
-	 0x940000.0p-23,  0xe00000.0p-35,
-	 0x950000.0p-23,  0xc00000.0p-35,
-	 0x960000.0p-23,  0xe00000.0p-36,
-	 0x970000.0p-23, -0x800000.0p-38,
-	 0x980000.0p-23, -0xc00000.0p-35,
-	 0x990000.0p-23, -0xd00000.0p-34,
-	 0x9a0000.0p-23,  0x880000.0p-33,
-	 0x9b0000.0p-23,  0xe80000.0p-35,
-	 0x9c0000.0p-23, -0x800000.0p-35,
-	 0x9d0000.0p-23,  0xb40000.0p-33,
-	 0x9e0000.0p-23,  0x880000.0p-34,
-	 0x9f0000.0p-23, -0xe00000.0p-35,
-	 0xa00000.0p-23,  0x800000.0p-33,
-	 0xa10000.0p-23, -0x900000.0p-36,
-	 0xa20000.0p-23, -0xb00000.0p-33,
-	 0xa30000.0p-23, -0xa00000.0p-36,
-	 0xa40000.0p-23,  0x800000.0p-33,
-	 0xa50000.0p-23, -0xf80000.0p-35,
-	 0xa60000.0p-23,  0x880000.0p-34,
-	 0xa70000.0p-23, -0x900000.0p-33,
-	 0xa80000.0p-23, -0x800000.0p-35,
-	 0xa90000.0p-23,  0x900000.0p-34,
-	 0xaa0000.0p-23,  0xa80000.0p-33,
-	 0xab0000.0p-23, -0xac0000.0p-34,
-	 0xac0000.0p-23, -0x800000.0p-37,
-	 0xad0000.0p-23,  0xf80000.0p-35,
-	 0xae0000.0p-23,  0xf80000.0p-34,
-	 0xaf0000.0p-23, -0xac0000.0p-33,
-	 0xb00000.0p-23, -0x800000.0p-33,
-	 0xb10000.0p-23, -0xb80000.0p-34,
-	 0xb20000.0p-23, -0x800000.0p-34,
-	 0xb30000.0p-23, -0xb00000.0p-35,
-	 0xb40000.0p-23, -0x800000.0p-35,
-	 0xb50000.0p-23, -0xe00000.0p-36,
-	 0xb60000.0p-23, -0x800000.0p-35,
-	 0xb70000.0p-23, -0xb00000.0p-35,
-	 0xb80000.0p-23, -0x800000.0p-34,
-	 0xb90000.0p-23, -0xb80000.0p-34,
-	 0xba0000.0p-23, -0x800000.0p-33,
-	 0xbb0000.0p-23, -0xac0000.0p-33,
-	 0xbc0000.0p-23,  0x980000.0p-33,
-	 0xbd0000.0p-23,  0xbc0000.0p-34,
-	 0xbe0000.0p-23,  0xe00000.0p-36,
-	 0xbf0000.0p-23, -0xb80000.0p-35,
-	 0xc00000.0p-23, -0x800000.0p-33,
-	 0xc10000.0p-23,  0xa80000.0p-33,
-	 0xc20000.0p-23,  0x900000.0p-34,
-	 0xc30000.0p-23, -0x800000.0p-35,
-	 0xc40000.0p-23, -0x900000.0p-33,
-	 0xc50000.0p-23,  0x820000.0p-33,
-	 0xc60000.0p-23,  0x800000.0p-38,
-	 0xc70000.0p-23, -0x820000.0p-33,
-	 0xc80000.0p-23,  0x800000.0p-33,
-	 0xc90000.0p-23, -0xa00000.0p-36,
-	 0xca0000.0p-23, -0xb00000.0p-33,
-	 0xcb0000.0p-23,  0x840000.0p-34,
-	 0xcc0000.0p-23, -0xd00000.0p-34,
-	 0xcd0000.0p-23,  0x800000.0p-33,
-	 0xce0000.0p-23, -0xe00000.0p-35,
-	 0xcf0000.0p-23,  0xa60000.0p-33,
-	 0xd00000.0p-23, -0x800000.0p-35,
-	 0xd10000.0p-23,  0xb40000.0p-33,
-	 0xd20000.0p-23, -0x800000.0p-35,
-	 0xd30000.0p-23,  0xaa0000.0p-33,
-	 0xd40000.0p-23, -0xe00000.0p-35,
-	 0xd50000.0p-23,  0x880000.0p-33,
-	 0xd60000.0p-23, -0xd00000.0p-34,
-	 0xd70000.0p-23,  0x9c0000.0p-34,
-	 0xd80000.0p-23, -0xb00000.0p-33,
-	 0xd90000.0p-23, -0x800000.0p-38,
-	 0xda0000.0p-23,  0xa40000.0p-33,
-	 0xdb0000.0p-23, -0xdc0000.0p-34,
-	 0xdc0000.0p-23,  0xc00000.0p-35,
-	 0xdd0000.0p-23,  0xca0000.0p-33,
-	 0xde0000.0p-23, -0xb80000.0p-34,
-	 0xdf0000.0p-23,  0xd00000.0p-35,
-	 0xe00000.0p-23,  0xc00000.0p-33,
-	 0xe10000.0p-23, -0xf40000.0p-34,
-	 0xe20000.0p-23,  0x800000.0p-37,
-	 0xe30000.0p-23,  0x860000.0p-33,
-	 0xe40000.0p-23, -0xc80000.0p-33,

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***


More information about the svn-src-stable-11 mailing list