This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.25-573-g7fa1d94


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  7fa1d9462baabc5a1058efc13a48444af4678acf (commit)
       via  18a336772d8920780a0e5a60c363fb2d4bf4e81e (commit)
       via  9f0170af26fa3643d9d4cd28d484b4e2d28c6cd5 (commit)
      from  c340290de867e02d37215df139fac0a7d9640704 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7fa1d9462baabc5a1058efc13a48444af4678acf

commit 7fa1d9462baabc5a1058efc13a48444af4678acf
Author: Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Date:   Thu Jun 22 15:47:16 2017 -0300

    Add libio-mtsafe flags to the build of strfromf128
    
    Similar to the other functions in the strfrom class, strfromf128 calls
    __printf_fp in order to convert the floating-point value to characters.
    This requires the value of IO_MTSAFE_IO.
    
    Tested for powerpc64le and s390x.
    
    	* sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
    	$(libio-mtsafe) to get the value of IO_MTSAFE_IO.

diff --git a/ChangeLog b/ChangeLog
index f63f017..4f1ef82 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
 
+	* sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
+	$(libio-mtsafe) to get the value of IO_MTSAFE_IO.
+
+2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
 	* manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
 	Enable generation of float128 entries on the error table.
 
diff --git a/sysdeps/ieee754/float128/Makefile b/sysdeps/ieee754/float128/Makefile
index 166e630..571a841 100644
--- a/sysdeps/ieee754/float128/Makefile
+++ b/sysdeps/ieee754/float128/Makefile
@@ -1,6 +1,10 @@
 ifeq ($(subdir),stdlib)
 routines += float1282mpn strfromf128
 routines += strtof128 strtof128_l strtof128_nan mpn2float128
+
+# The strfrom class of functions call __printf_fp in order to convert the
+# floating-point value to characters.  This requires the value of IO_MTSAFE_IO.
+CFLAGS-strfromf128.c += $(libio-mtsafe)
 endif
 
 ifeq ($(subdir),wcsmbs)

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=18a336772d8920780a0e5a60c363fb2d4bf4e81e

commit 18a336772d8920780a0e5a60c363fb2d4bf4e81e
Author: Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Date:   Thu Jun 22 10:07:04 2017 -0300

    Prepare the manual to display math errors for float128 functions
    
    When float128 support gets enabled for powerpc64le, the ULP errors for
    float128 functions need to be presented in the manual.  This patch adds
    support for displaying them.
    
    Tested for powerpc64le and s390x.
    
    	* manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
    	Enable generation of float128 entries on the error table.

diff --git a/ChangeLog b/ChangeLog
index 9b7a655..f63f017 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
 
+	* manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
+	Enable generation of float128 entries on the error table.
+
+2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
 	* include/float.h: Include libc-header-start.h to get the
 	definition of __GLIBC_USE.
 
diff --git a/manual/libm-err-tab.pl b/manual/libm-err-tab.pl
index 75f5e5b..e0bc3b7 100755
--- a/manual/libm-err-tab.pl
+++ b/manual/libm-err-tab.pl
@@ -40,11 +40,12 @@ use vars qw (%results @all_floats %suffices %all_functions);
 
 # all_floats is in output order and contains all recognised float types that
 # we're going to output
-@all_floats = ('float', 'double', 'ldouble');
+@all_floats = ('float', 'double', 'ldouble', 'float128');
 %suffices =
   ( 'float' => 'f',
     'double' => '',
-    'ldouble' => 'l'
+    'ldouble' => 'l',
+    'float128' => 'f128'
   );
 
 # Pretty description of platform
@@ -113,7 +114,7 @@ sub parse_ulps {
       $ignore_fn = 0;
       $all_functions{$test} = 1;
     }
-    if (/^i?(float|double|ldouble):/) {
+    if (/^i?(float|double|ldouble|float128):/) {
       ($float, $eps) = split /\s*:\s*/,$_,2;
       if ($ignore_fn) {
 	next;

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=9f0170af26fa3643d9d4cd28d484b4e2d28c6cd5

commit 9f0170af26fa3643d9d4cd28d484b4e2d28c6cd5
Author: Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Date:   Thu Jun 22 09:45:32 2017 -0300

    Include libc-header-start.h in include/float.h
    
    The file include/float.h uses the macro __GLIBC_USE to test for TS 18661-3
    support.  Such macro is provided by bits/libc-header-start.h, so include it
    to get the definition.
    
    Tested for powerpc64le and s390x.
    
    	* include/float.h: Include libc-header-start.h to get the
    	definition of __GLIBC_USE.

diff --git a/ChangeLog b/ChangeLog
index 1c3e6ff..9b7a655 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
+	* include/float.h: Include libc-header-start.h to get the
+	definition of __GLIBC_USE.
+
 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
 
 	* sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
diff --git a/include/float.h b/include/float.h
index a5b357d..736868f 100644
--- a/include/float.h
+++ b/include/float.h
@@ -1,6 +1,9 @@
 #ifndef _LIBC_FLOAT_H
 #define _LIBC_FLOAT_H
 
+#define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION
+#include <bits/libc-header-start.h>
+
 #ifndef _ISOMAC
 # define __STDC_WANT_IEC_60559_TYPES_EXT__
 #endif

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                         |   15 +++++++++++++++
 include/float.h                   |    3 +++
 manual/libm-err-tab.pl            |    7 ++++---
 sysdeps/ieee754/float128/Makefile |    4 ++++
 4 files changed, 26 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]