aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps/arm/s_fma.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-07-02 19:51:19 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-07-02 19:51:19 +0000
commit6bed143eb4bd42be907d143cca456d527e25efec (patch)
tree0ce247c507e5ee8d1f08bc101828af64ad52991b /ports/sysdeps/arm/s_fma.c
parentc87156e5e913532f6c470baadd7ca636678d7c8b (diff)
downloadglibc-6bed143eb4bd42be907d143cca456d527e25efec.tar
glibc-6bed143eb4bd42be907d143cca456d527e25efec.tar.gz
glibc-6bed143eb4bd42be907d143cca456d527e25efec.tar.bz2
glibc-6bed143eb4bd42be907d143cca456d527e25efec.zip
Make soft-float ARM use soft-fp fma/fmaf.
Diffstat (limited to 'ports/sysdeps/arm/s_fma.c')
-rw-r--r--ports/sysdeps/arm/s_fma.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/sysdeps/arm/s_fma.c b/ports/sysdeps/arm/s_fma.c
new file mode 100644
index 0000000000..dc4e27bfc1
--- /dev/null
+++ b/ports/sysdeps/arm/s_fma.c
@@ -0,0 +1,5 @@
+#ifdef __SOFTFP__
+# include <soft-fp/fmadf4.c>
+#else
+# include <sysdeps/ieee754/dbl-64/s_fma.c>
+#endif