about summary refs log tree commit diff
path: root/ports/sysdeps/tile/s_fma.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-07-03 11:23:01 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-07-07 11:33:24 -0400
commit36002f0786631a0f923ee2c60fb09a4fdba85ead (patch)
tree643d61f49535b976fe629f9895d877fe54db20e4 /ports/sysdeps/tile/s_fma.c
parent72c90ed01fb5ba17bbcfbe0a67ec044f4b868618 (diff)
downloadglibc-36002f0786631a0f923ee2c60fb09a4fdba85ead.tar.gz
glibc-36002f0786631a0f923ee2c60fb09a4fdba85ead.tar.xz
glibc-36002f0786631a0f923ee2c60fb09a4fdba85ead.zip
tile: use soft-fp for fma() and fmaf()
The sfp-machine.h is based on the gcc version, but extended with
required new macros by comparison with other architectures and by
investigating the hardware support for FP on tile.
Diffstat (limited to 'ports/sysdeps/tile/s_fma.c')
-rw-r--r--ports/sysdeps/tile/s_fma.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ports/sysdeps/tile/s_fma.c b/ports/sysdeps/tile/s_fma.c
index c84a9bb2df..d9613fa67c 100644
--- a/ports/sysdeps/tile/s_fma.c
+++ b/ports/sysdeps/tile/s_fma.c
@@ -1,4 +1 @@
-/* tile does not support the rounding modes required by the ieee754/dbl-64
-   implementation, but it's still better than the generic implementation.  */
-
-#include <sysdeps/ieee754/dbl-64/s_fma.c>
+#include <soft-fp/fmadf4.c>