[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r24984 - in /fsf/trunk/libc: ./ elf/ po/ sysdeps/i386/i686/ sysdeps/ieee754/ldbl-128ibm/ sysdeps/powerpc/fpu/ sysdeps/powerp...



Author: eglibc
Date: Thu Jan  9 00:01:56 2014
New Revision: 24984

Log:
Import glibc-mainline for 2014-01-09

Added:
    fsf/trunk/libc/po/pot.header
Removed:
    fsf/trunk/libc/po/header.pot
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_truncl.S
Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/NEWS
    fsf/trunk/libc/elf/dl-load.c
    fsf/trunk/libc/po/Makefile
    fsf/trunk/libc/sysdeps/i386/i686/memmove.S
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_truncl.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Thu Jan  9 00:01:56 2014
@@ -1,3 +1,37 @@
+2014-01-08  Brooks Moses  <bmoses@xxxxxxxxxx>
+
+	* elf/dl-load.c: Fix comment typo.
+
+2014-01-08  Carlos O'Donell  <carlos@xxxxxxxxxx>
+
+	* po/header.pot: Rename to...
+	* po/pot.header: ... this.
+	* po/Makefile: Use pot.header.
+
+2014-01-08  Yuriy Kaminskiy  <yumkam@xxxxxxxxx>
+	    Maxim Kuvyrkov  <maxim@xxxxxxxxxxxxxx>
+
+	[BZ #16394]
+	* sysdeps/i386/i686/memmove.S (memmove): Compare distance between
+	SRC and DEST against LEN.
+
+2014-01-08  Adhemerval Zanella  <azanella@xxxxxxxxxxxxxxxxxx>
+
+	[BZ #16414]
+	* sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
+	implementation.
+	* sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
+
+2014-01-08  Adhemerval Zanella  <azanella@xxxxxxxxxxxxxxxxxx>
+
+	* sysdeps/powerpc/fpu/libm-test-ulps: Update.
+
+2014-01-08  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	[BZ #16408]
+	* sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
+	for large positive arguments.
+
 2014-01-07  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.

Modified: fsf/trunk/libc/NEWS
==============================================================================
--- fsf/trunk/libc/NEWS (original)
+++ fsf/trunk/libc/NEWS Thu Jan  9 00:01:56 2014
@@ -24,7 +24,7 @@
   16103, 16112, 16143, 16144, 16146, 16150, 16151, 16153, 16167, 16172,
   16195, 16214, 16245, 16271, 16274, 16283, 16289, 16293, 16314, 16316,
   16330, 16337, 16338, 16356, 16365, 16366, 16369, 16372, 16375, 16379,
-  16384, 16385, 16386, 16387, 16390, 16400, 16407.
+  16384, 16385, 16386, 16387, 16390, 16394, 16400, 16407, 16408, 16414.
 
 * Slovenian translations for glibc messages have been contributed by the
   Translation Project's Slovenian team of translators.

Modified: fsf/trunk/libc/elf/dl-load.c
==============================================================================
--- fsf/trunk/libc/elf/dl-load.c (original)
+++ fsf/trunk/libc/elf/dl-load.c Thu Jan  9 00:01:56 2014
@@ -1734,7 +1734,7 @@
       unsigned int osversion;
       size_t maplength;
 
-      /* We successfully openened the file.  Now verify it is a file
+      /* We successfully opened the file.  Now verify it is a file
 	 we can use.  */
       __set_errno (0);
       fbp->len = 0;

Modified: fsf/trunk/libc/po/Makefile
==============================================================================
--- fsf/trunk/libc/po/Makefile (original)
+++ fsf/trunk/libc/po/Makefile Thu Jan  9 00:01:56 2014
@@ -50,7 +50,7 @@
 include ../Rules
 
 # Generate the translation template from all the source files.
-libc.pot: header.pot libc.pot.files
+libc.pot: pot.header libc.pot.files
 	@rm -f $@.new
 	set `date -R`; disp="$$6"; \
 	sed -e 's/VERSION/$(version)/' \

Removed: fsf/trunk/libc/po/header.pot
==============================================================================
--- fsf/trunk/libc/po/header.pot (original)
+++ fsf/trunk/libc/po/header.pot (removed)
@@ -1,16 +1,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR Free Software Foundation, Inc.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: libc VERSION\n"
-"POT-Creation-Date: DATE\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@xxxxxx>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-

Added: fsf/trunk/libc/po/pot.header
==============================================================================
--- fsf/trunk/libc/po/pot.header (added)
+++ fsf/trunk/libc/po/pot.header Thu Jan  9 00:01:56 2014
@@ -1,0 +1,15 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: libc VERSION\n"
+"POT-Creation-Date: DATE\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"

Modified: fsf/trunk/libc/sysdeps/i386/i686/memmove.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/memmove.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/memmove.S Thu Jan  9 00:01:56 2014
@@ -58,8 +58,8 @@
 
 	movl	%edi, %eax
 	subl	%esi, %eax
-	cmpl	%eax, %edi
-	jae	3f
+	cmpl	%eax, %ecx
+	ja	3f
 
 	cld
 	shrl	$1, %ecx

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_expm1l.c Thu Jan  9 00:01:56 2014
@@ -101,6 +101,8 @@
   EXTRACT_WORDS (ix, lx, xhi);
   sign = ix & 0x80000000;
   ix &= 0x7fffffff;
+  if (!sign && ix >= 0x40600000)
+    return __expl (x);
   if (ix >= 0x7ff00000)
     {
       /* Infinity. */

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_truncl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_truncl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_truncl.c Thu Jan  9 00:01:56 2014
@@ -16,9 +16,6 @@
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
-
-/* This has been coded in assembler because GCC makes such a mess of it
-   when it's coded in C.  */
 
 #include <math.h>
 #include <math_ldbl_opt.h>

Modified: fsf/trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps (original)
+++ fsf/trunk/libc/sysdeps/powerpc/fpu/libm-test-ulps Thu Jan  9 00:01:56 2014
@@ -8242,6 +8242,15 @@
 Test "cosh (-0x2.c5e3acp+8)":
 double: 1
 idouble: 1
+Test "cosh (-0x2.c679d1f73f0fap+8)":
+ildouble: 3
+ldouble: 3
+Test "cosh (-0x2.c679d1f73f0fb624d358b213a7p+8)":
+ildouble: 3
+ldouble: 3
+Test "cosh (-0x2.c679d1f73f0fb624p+8)":
+ildouble: 1
+ldouble: 1
 Test "cosh (-0x2.c679dp+8)":
 double: 1
 idouble: 1
@@ -8251,6 +8260,15 @@
 Test "cosh (0x2.c5e3acp+8)":
 double: 1
 idouble: 1
+Test "cosh (0x2.c679d1f73f0fap+8)":
+ildouble: 3
+ldouble: 3
+Test "cosh (0x2.c679d1f73f0fb624d358b213a7p+8)":
+ildouble: 3
+ldouble: 3
+Test "cosh (0x2.c679d1f73f0fb624p+8)":
+ildouble: 1
+ldouble: 1
 Test "cosh (0x2.c679dp+8)":
 double: 1
 idouble: 1
@@ -8344,6 +8362,15 @@
 Test "cosh_tonearest (-0x2.c5e3acp+8)":
 double: 1
 idouble: 1
+Test "cosh_tonearest (-0x2.c679d1f73f0fap+8)":
+ildouble: 3
+ldouble: 3
+Test "cosh_tonearest (-0x2.c679d1f73f0fb624d358b213a7p+8)":
+ildouble: 3
+ldouble: 3
+Test "cosh_tonearest (-0x2.c679d1f73f0fb624p+8)":
+ildouble: 1
+ldouble: 1
 Test "cosh_tonearest (-0x2.c679dp+8)":
 double: 1
 idouble: 1
@@ -8353,6 +8380,15 @@
 Test "cosh_tonearest (0x2.c5e3acp+8)":
 double: 1
 idouble: 1
+Test "cosh_tonearest (0x2.c679d1f73f0fap+8)":
+ildouble: 3
+ldouble: 3
+Test "cosh_tonearest (0x2.c679d1f73f0fb624d358b213a7p+8)":
+ildouble: 3
+ldouble: 3
+Test "cosh_tonearest (0x2.c679d1f73f0fb624p+8)":
+ildouble: 1
+ldouble: 1
 Test "cosh_tonearest (0x2.c679dp+8)":
 double: 1
 idouble: 1
@@ -14674,6 +14710,12 @@
 Test "tgamma (-0x2.7fffffffffffffffffffffffffp+4)":
 ildouble: 1
 ldouble: 1
+Test "tgamma (-0x2.80000000000000000000000001p+4)":
+ildouble: 1
+ldouble: 1
+Test "tgamma (-0x2.8000000000000004p+4)":
+ildouble: 2
+ldouble: 2
 Test "tgamma (-0x2.8000000000002p+4)":
 double: 1
 idouble: 1
@@ -14953,8 +14995,8 @@
 Test "tgamma (-0x7.0000000000004p+0)":
 double: 3
 idouble: 3
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 Test "tgamma (-0x7.0000000000004p0)":
 double: 3
 idouble: 3
@@ -15133,6 +15175,8 @@
 Test "tgamma (0x1.38p+4)":
 double: 2
 idouble: 2
+ildouble: 1
+ldouble: 1
 Test "tgamma (0x1.78p+4)":
 double: 1
 float: 1
@@ -15292,6 +15336,8 @@
 Test "tgamma (0x7.0000000000004p+0)":
 double: 4
 idouble: 4
+ildouble: 1
+ldouble: 1
 Test "tgamma (0x7.0000000000004p0)":
 double: 4
 idouble: 4
@@ -15996,6 +16042,8 @@
 Function: "acosh":
 double: 1
 idouble: 1
+ildouble: 1
+ldouble: 1
 
 Function: "asin":
 ildouble: 2
@@ -16034,6 +16082,7 @@
 float: 1
 ifloat: 1
 ildouble: 1
+ldouble: 1
 
 Function: "atan":
 double: 1
@@ -16062,24 +16111,32 @@
 float: 2
 idouble: 1
 ifloat: 2
+ildouble: 1
+ldouble: 1
 
 Function: Imaginary part of "cacos":
 double: 3
 float: 2
 idouble: 3
 ifloat: 2
+ildouble: 2
+ldouble: 2
 
 Function: Real part of "cacosh":
 double: 1
 float: 7
 idouble: 1
 ifloat: 7
+ildouble: 2
+ldouble: 2
 
 Function: Imaginary part of "cacosh":
 double: 1
 float: 3
 idouble: 1
 ifloat: 3
+ildouble: 1
+ldouble: 1
 
 Function: "carg":
 ildouble: 1
@@ -16098,12 +16155,16 @@
 float: 2
 idouble: 3
 ifloat: 2
+ildouble: 2
+ldouble: 2
 
 Function: Real part of "casinh":
 double: 5
 float: 2
 idouble: 5
 ifloat: 2
+ildouble: 2
+ldouble: 2
 
 Function: Imaginary part of "casinh":
 double: 3
@@ -16116,6 +16177,8 @@
 Function: Real part of "catan":
 float: 4
 ifloat: 4
+ildouble: 1
+ldouble: 1
 
 Function: Imaginary part of "catan":
 double: 1
@@ -16136,12 +16199,16 @@
 Function: Imaginary part of "catanh":
 float: 1
 ifloat: 1
+ildouble: 1
+ldouble: 1
 
 Function: "cbrt":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
+ildouble: 1
+ldouble: 1
 
 Function: Real part of "ccos":
 double: 1
@@ -16266,8 +16333,8 @@
 float: 1
 idouble: 1
 ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 3
+ldouble: 3
 
 Function: "cosh_downward":
 double: 1
@@ -16282,14 +16349,16 @@
 float: 1
 idouble: 1
 ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 3
+ldouble: 3
 
 Function: "cosh_towardzero":
 double: 1
 float: 1
 idouble: 1
 ifloat: 1
+ildouble: 2
+ldouble: 2
 
 Function: "cosh_upward":
 double: 1
@@ -16350,12 +16419,16 @@
 float: 2
 idouble: 1
 ifloat: 2
+ildouble: 1
+ldouble: 1
 
 Function: Imaginary part of "csqrt":
 double: 1
 float: 2
 idouble: 1
 ifloat: 2
+ildouble: 1
+ldouble: 1
 
 Function: Real part of "ctan":
 double: 1
@@ -16546,6 +16619,8 @@
 Function: "exp10_downward":
 double: 1
 idouble: 1
+ildouble: 4
+ldouble: 4
 
 Function: "exp10_tonearest":
 double: 1
@@ -16556,6 +16631,8 @@
 Function: "exp10_towardzero":
 double: 1
 idouble: 1
+ildouble: 4
+ldouble: 4
 
 Function: "exp10_upward":
 double: 1
@@ -16626,6 +16703,8 @@
 float: 1
 idouble: 1
 ifloat: 1
+ildouble: 2
+ldouble: 2
 
 Function: "expm1_upward":
 double: 1
@@ -16640,6 +16719,8 @@
 float: 2
 idouble: 1
 ifloat: 2
+ildouble: 1
+ldouble: 1
 
 Function: "hypot":
 double: 1
@@ -16678,10 +16759,14 @@
 float: 2
 idouble: 1
 ifloat: 2
+ildouble: 1
+ldouble: 1
 
 Function: "log":
 float: 1
 ifloat: 1
+ildouble: 1
+ldouble: 1
 
 Function: "log10":
 double: 1

Removed: fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_truncl.S
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_truncl.S (original)
+++ fsf/trunk/libc/sysdeps/powerpc/powerpc64/fpu/s_truncl.S (removed)
@@ -1,120 +1,0 @@
-/* long double trunc function.
-   IBM extended format long double version.
-   Copyright (C) 2004-2014 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
-
-   The GNU C Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 of the License, or (at your option) any later version.
-
-   The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
-
-#include <sysdep.h>
-#include <math_ldbl_opt.h>
-
-	.section	".toc","aw"
-.LC0:	/* 2**52 */
-	.tc FD_43300000_0[TC],0x4330000000000000
-.LC1:	/* 0.5 */
-	.tc FD_3fe00000_0[TC],0x3fe0000000000000
-	.section	".text"
-
-/* long double [fp1,fp2] truncl (long double x [fp1,fp2])  */
-
-ENTRY (__truncl)
-	mffs	fp11		/* Save current FPU rounding mode.  */
-	lfd	fp13,.LC0@toc(2)
-	fabs	fp0,fp1
-	fabs	fp9,fp2
-	fsub	fp12,fp13,fp13	/* generate 0.0  */
-	fcmpu	cr7,fp0,fp13	/* if (fabs(x) > TWO52)  */
-	fcmpu	cr6,fp1,fp12	/* if (x > 0.0)  */
-	bnl-	cr7,.L2
-	mtfsfi	7,1		/* Set rounding mode toward 0.  */
-	ble-	cr6,.L1
-	fneg	fp2,fp12
-	fadd	fp1,fp1,fp13	/* x+= TWO52;  */
-	fsub	fp1,fp1,fp13	/* x-= TWO52;  */
-	fabs	fp1,fp1		/* if (x == 0.0) x = 0.0;  */
-.L0:
-	mtfsf	0x01,fp11	/* restore previous rounding mode.  */
-	blr
-.L1:
-	fneg	fp2,fp12
-	bge-	cr6,.L0		/* if (x < 0.0)  */
-	fsub	fp1,fp1,fp13	/* x-= TWO52;  */
-	fadd	fp1,fp1,fp13	/* x+= TWO52;  */
-	fnabs	fp1,fp1		/* if (x == 0.0) x = -0.0;  */
-	mtfsf	0x01,fp11	/* restore previous rounding mode.  */
-	blr
-
-/* The high double is > TWO52 so we need to round the low double and
-   perhaps the high double.  In this case we have to round the low
-   double and handle any adjustment to the high double that may be
-   caused by rounding (up).  This is complicated by the fact that the
-   high double may already be rounded and the low double may have the
-   opposite sign to compensate.This gets a bit tricky so we use the
-   following algorithm:
-
-   tau = floor(x_high/TWO52);
-   x0 = x_high - tau;
-   x1 = x_low + tau;
-   r1 = rint(x1);
-   y_high = x0 + r1;
-   y_low = x0 - y_high + r1;
-   return y;  */
-.L2:
-	fcmpu	cr7,fp9,fp13	/* if (|x_low| > TWO52)  */
-	fcmpu	cr0,fp9,fp12	/* || (|x_low| == 0.0)  */
-	fcmpu	cr5,fp2,fp12	/* if (x_low > 0.0)  */
-	bgelr-	cr7		/*   return x;	*/
-	beqlr-  cr0
-	mtfsfi	7,1		/* Set rounding mode toward 0.  */
-	fdiv	fp8,fp1,fp13	/* x_high/TWO52  */
-
-	bng-	cr6,.L6		/* if (x > 0.0)  */
-	fctidz	fp0,fp8
-	fcfid	fp8,fp0		/* tau = floor(x_high/TWO52);  */
-	fadd	fp8,fp8,fp8	/* tau++; Make tau even  */
-	bng	cr5,.L4		/* if (x_low > 0.0)  */
-	fmr	fp3,fp1
-	fmr	fp4,fp2
-	b	.L5
-.L4:				/* if (x_low < 0.0)  */
-	fsub	fp3,fp1,fp8	/* x0 = x_high - tau;  */
-	fadd	fp4,fp2,fp8	/* x1 = x_low + tau;  */
-.L5:
-	fadd	fp5,fp4,fp13	/* r1 = r1 + TWO52;  */
-	fsub	fp5,fp5,fp13	/* r1 = r1 - TWO52;  */
-	b	.L9
-.L6:				/* if (x < 0.0)  */
-	fctidz	fp0,fp8
-	fcfid	fp8,fp0		/* tau = floor(x_high/TWO52);  */
-	fadd	fp8,fp8,fp8	/* tau++; Make tau even  */
-	bnl	cr5,.L7		/* if (x_low < 0.0)  */
-	fmr	fp3,fp1
-	fmr	fp4,fp2
-	b	.L8
-.L7:				/* if (x_low > 0.0)  */
-	fsub	fp3,fp1,fp8	/* x0 = x_high - tau;  */
-	fadd	fp4,fp2,fp8	/* x1 = x_low + tau;  */
-.L8:
-	fsub	fp5,fp4,fp13	/* r1-= TWO52;  */
-	fadd	fp5,fp5,fp13	/* r1+= TWO52;  */
-.L9:
-	mtfsf	0x01,fp11	/* restore previous rounding mode.  */
-	fadd	fp1,fp3,fp5	/* y_high = x0 + r1;  */
-	fsub	fp2,fp3,fp1	/* y_low = x0 - y_high + r1;  */
-	fadd	fp2,fp2,fp5
-	blr
-END (__truncl)
-
-long_double_symbol (libm, __truncl, truncl)

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits