diff options
author | Anton Blanchard <anton@samba.org> | 2016-01-04 13:28:52 -0200 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2016-01-04 14:55:38 -0200 |
commit | 0a1f1e78fbdfaf2c01e9c2368023b2533e7136cf (patch) | |
tree | 1e451d9c004d8e38228c8ead00b042c4bdac1ee4 /ChangeLog | |
parent | 1979f3c1ad7a6ae30de5c9cd162729b29488cece (diff) | |
download | glibc-0a1f1e78fbdfaf2c01e9c2368023b2533e7136cf.tar.gz glibc-0a1f1e78fbdfaf2c01e9c2368023b2533e7136cf.tar.xz glibc-0a1f1e78fbdfaf2c01e9c2368023b2533e7136cf.zip |
Eliminate redundant sign extensions in pow()
When looking at the code generated for pow() on ppc64 I noticed quite a few sign extensions. Making the array indices unsigned reduces the number of sign extensions from 24 to 7. Tested for powerpc64le and x86_64.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index bea73e3582..de8a1bcb65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2016-01-04 Anton Blanchard <anton@samba.org> + + * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int + for array indices. + * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise. + 2016-01-04 Joseph Myers <joseph@codesourcery.com> * NEWS: Update copyright dates. |