From b8682397ab2db1aed7f25d0a0c7c81134a97c8c7 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 17 Sep 2015 16:47:14 +0000 Subject: Reduce number of constants in __finite* (bug 15384). Bug 15384 notes that in __finite, two different constants are used that could be the same constant (the result only depends on the exponent of the floating-point representation), and that using the same constant is better for architectures where constants need loading from a constant pool. This patch implements that change. Tested for x86_64, mips64 and powerpc. [BZ #15384] * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as bit-mask as in subtraction. * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite): Likewise. * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise. * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise. --- NEWS | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index cb281865c9..46ad3fa128 100644 --- a/NEWS +++ b/NEWS @@ -9,13 +9,13 @@ Version 2.23 * The following bugs are resolved with this release: - 2542, 2543, 2558, 2898, 4404, 6803, 14341, 14912, 15786, 15918, 16141, - 16296, 16415, 16517, 16519, 16520, 16521, 16734, 16973, 16985, 17243, - 17244, 17787, 17905, 18084, 18086, 18240, 18265, 18370, 18421, 18480, - 18525, 18595, 18610, 18618, 18647, 18661, 18674, 18675, 18681, 18757, - 18778, 18781, 18787, 18789, 18790, 18795, 18796, 18820, 18823, 18824, - 18857, 18863, 18870, 18872, 18873, 18875, 18887, 18921, 18951, 18952, - 18961, 18966, 18967, 18977. + 2542, 2543, 2558, 2898, 4404, 6803, 14341, 14912, 15384, 15786, 15918, + 16141, 16296, 16415, 16517, 16519, 16520, 16521, 16734, 16973, 16985, + 17243, 17244, 17787, 17905, 18084, 18086, 18240, 18265, 18370, 18421, + 18480, 18525, 18595, 18610, 18618, 18647, 18661, 18674, 18675, 18681, + 18757, 18778, 18781, 18787, 18789, 18790, 18795, 18796, 18820, 18823, + 18824, 18857, 18863, 18870, 18872, 18873, 18875, 18887, 18921, 18951, + 18952, 18961, 18966, 18967, 18977. * The obsolete header has been removed. Programs that require this header must be updated to use instead. -- cgit 1.4.1