aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.mips3
-rw-r--r--sysdeps/mips/mips64/n32/s_fma.c6
-rw-r--r--sysdeps/mips/mips64/n64/s_fma.c6
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>