From 0a1f1e78fbdfaf2c01e9c2368023b2533e7136cf Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Mon, 4 Jan 2016 13:28:52 -0200 Subject: 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. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index bea73e3582..de8a1bcb65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2016-01-04 Anton Blanchard + + * 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 * NEWS: Update copyright dates. -- cgit v1.2.3-70-g09d2