diff options
author | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-07-15 10:57:07 -0500 |
---|---|---|
committer | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-08-05 14:38:57 -0500 |
commit | d4cf1331007743c21e4f03603add48a107a6857d (patch) | |
tree | 079add94e814723052a046bdf3836a8fec58b9a0 /ChangeLog | |
parent | 89a12e6f8e0a9776ea52389c58bf77aba87fd243 (diff) | |
download | glibc-d4cf1331007743c21e4f03603add48a107a6857d.tar.gz glibc-d4cf1331007743c21e4f03603add48a107a6857d.tar.xz glibc-d4cf1331007743c21e4f03603add48a107a6857d.zip |
Improve gen-libm-test.pl LIT() application
When bootstrapping float128, this exposed a number of areas where the L suffix is incorrectly applied to simple expressions when it should be applied to each constant in the expression. In order to stave off more macros in libm-test.inc, apply_lit is made slightly more intelligent. It will now split expressions based on space characters, and attempt to apply LIT() to each token. Having done this, there are numerous spacing issues within libm-test.inc which have been fixed. The above is problematic when the L real suffix is not the most expressive modifier, and the compiler complains (i.e ppc64) or silently truncates a value (i.e ppc64).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 2026447e98..514426302b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * math/gen-libm-test.pl (apply_lit): Rewrite to apply + LIT() to individual constants in simple expressions + after splitting on spaces. + (_apply_lit): Rename replaced version, and use it to + apply to what appears to be a token. + + * math/libm-test.inc: Fix many, many issues with + spacing. + 2016-08-05 Joseph Myers <joseph@codesourcery.com> * math/math.h: Move comment about <bits/mathdef.h> definitions |