about summary refs log tree commit diff
path: root/sysdeps/sh/s_fma.c
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2013-12-17 09:00:05 +0900
committerKaz Kojima <kkojima@rr.iij4u.or.jp>2013-12-17 09:00:05 +0900
commit29618f6b74520811db2d2394e33606b9c7f2ef4a (patch)
treee262749f96f12f524d7f337f9fb8eb0ce91b0e80 /sysdeps/sh/s_fma.c
parenteacfdfbfad99346b53048d5a2da1d98f94659258 (diff)
downloadglibc-29618f6b74520811db2d2394e33606b9c7f2ef4a.tar.gz
glibc-29618f6b74520811db2d2394e33606b9c7f2ef4a.tar.xz
glibc-29618f6b74520811db2d2394e33606b9c7f2ef4a.zip
Make soft-float sh use soft-fp fma/fmaf.
Diffstat (limited to 'sysdeps/sh/s_fma.c')
-rw-r--r--sysdeps/sh/s_fma.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/sh/s_fma.c b/sysdeps/sh/s_fma.c
new file mode 100644
index 0000000000..d92438d448
--- /dev/null
+++ b/sysdeps/sh/s_fma.c
@@ -0,0 +1,5 @@
+#ifdef __SH_FPU_ANY__
+# include <sysdeps/ieee754/dbl-64/s_fma.c>
+#else
+# include <soft-fp/fmadf4.c>
+#endif