diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-06-01 19:56:36 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-06-01 19:57:06 +0000 |
commit | d97b8a3d218fc43ce0b345a81b283bc0d439b1ea (patch) | |
tree | 617e6f4d0a99401c13a08064ebb4d0a88678d2e3 | |
parent | f93d7902de4adbf944a3712b35f9e13108cd2874 (diff) | |
download | glibc-d97b8a3d218fc43ce0b345a81b283bc0d439b1ea.tar glibc-d97b8a3d218fc43ce0b345a81b283bc0d439b1ea.tar.gz glibc-d97b8a3d218fc43ce0b345a81b283bc0d439b1ea.tar.bz2 glibc-d97b8a3d218fc43ce0b345a81b283bc0d439b1ea.zip |
Use dbl-64 fma for MIPS64.
-rw-r--r-- | ChangeLog.mips | 3 | ||||
-rw-r--r-- | sysdeps/mips/mips64/n32/s_fma.c | 6 | ||||
-rw-r--r-- | sysdeps/mips/mips64/n64/s_fma.c | 6 |
3 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips index 5cd25e790e..853f286811 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,5 +1,8 @@ 2012-06-01 Joseph Myers <joseph@codesourcery.com> + * sysdeps/mips/mips64/n32/s_fma.c: New file. + * sysdeps/mips/mips64/n64/s_fma.c: Likewise. + * sysdeps/unix/sysv/linux/mips/Makefile (abi-n32-condition): Fix typo. diff --git a/sysdeps/mips/mips64/n32/s_fma.c b/sysdeps/mips/mips64/n32/s_fma.c new file mode 100644 index 0000000000..74a1e01fc1 --- /dev/null +++ b/sysdeps/mips/mips64/n32/s_fma.c @@ -0,0 +1,6 @@ +/* MIPS long double is implemented in software by fp-bit (as of GCC + 4.7) without support for exceptions or rounding modes, so the fma + implementation in terms of long double is slow and will not produce + correctly rounding results. */ + +#include <sysdeps/ieee754/dbl-64/s_fma.c> diff --git a/sysdeps/mips/mips64/n64/s_fma.c b/sysdeps/mips/mips64/n64/s_fma.c new file mode 100644 index 0000000000..74a1e01fc1 --- /dev/null +++ b/sysdeps/mips/mips64/n64/s_fma.c @@ -0,0 +1,6 @@ +/* MIPS long double is implemented in software by fp-bit (as of GCC + 4.7) without support for exceptions or rounding modes, so the fma + implementation in terms of long double is slow and will not produce + correctly rounding results. */ + +#include <sysdeps/ieee754/dbl-64/s_fma.c> |