diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-03-26 20:24:04 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-03-26 20:24:04 +0530 |
commit | 5739f705eed5cf58e7b439e5983542e06d7fc2da (patch) | |
tree | 8582d5275ea764cd9304eaac4d4258d7c16b54f5 /ChangeLog | |
parent | e375e83d17f930519f52342aa83c89e8a287fe1d (diff) | |
download | glibc-5739f705eed5cf58e7b439e5983542e06d7fc2da.zip glibc-5739f705eed5cf58e7b439e5983542e06d7fc2da.tar.gz glibc-5739f705eed5cf58e7b439e5983542e06d7fc2da.tar.bz2 |
Use integral constants
The compiler is smart enough to convert those into double for powerpc,
but if we put them as doubles, it adds overhead by performing those
operations in floating point mode.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,5 +1,19 @@ 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com> + * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral + constants. + (norm): Likewise. + (denorm): Likewise. + (__dbl_mp): Likewise. + (add_magnitudes): Likewise. + (sub_magnitudes): Likewise. + (__add): Likewise. + (__sub): Likewise. + (__mul): Likewise. + (__sqr): Likewise. + (__inv): Likewise. + (__dvd): Likewise. + * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove commented code. * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise. |