Make mantissa type of mp_no configurable
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 26 Mar 2013 13:58:50 +0000 (19:28 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 26 Mar 2013 13:58:50 +0000 (19:28 +0530)
commit6f2e90e78f151bab153c2b38492505ae2012db06
tree03965f28878b90725ad89572ae61993bff4ebdfd
parentfce14d4e9c6e08ad8c825fe88d8cbdac5c739565
Make mantissa type of mp_no configurable

The mantissa of mp_no is intended to take only integral values.  This
is a relatively good choice for powerpc due to its 4 fpus, but not for
other architectures, which suffer due to this choice.  This change
makes the default mantissa a long integer and allows powerpc to
override it.  Additionally, some operations have been optimized for
integer manipulation, resulting in a significant improvement in
performance.
ChangeLog
sysdeps/ieee754/dbl-64/mpa-arch.h [new file with mode: 0644]
sysdeps/ieee754/dbl-64/mpa.c
sysdeps/ieee754/dbl-64/mpa.h
sysdeps/powerpc/power4/fpu/mpa-arch.h [new file with mode: 0644]