summary refs log tree commit diff
path: root/sysdeps/sh/s_fmaf.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_fmaf.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_fmaf.c')
-rw-r--r--sysdeps/sh/s_fmaf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/sh/s_fmaf.c b/sysdeps/sh/s_fmaf.c
new file mode 100644
index 0000000000..3b811ae6da
--- /dev/null
+++ b/sysdeps/sh/s_fmaf.c
@@ -0,0 +1,5 @@
+#ifdef __SH_FPU_ANY__
+# include <sysdeps/ieee754/dbl-64/s_fmaf.c>
+#else
+# include <soft-fp/fmasf4.c>
+#endif