about summary refs log tree commit diff
path: root/sysdeps/sparc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-03-15 20:53:16 -0700
committerDavid S. Miller <davem@davemloft.net>2012-03-15 20:55:42 -0700
commit88cb87d908526bbcc53f4175acbefc008299a770 (patch)
treed141fd276a239ecf1a8c41c9fe5326e1e2bac1dc /sysdeps/sparc
parent006f1daa5aacba8a10b7c748f6559a56d0ffbf12 (diff)
downloadglibc-88cb87d908526bbcc53f4175acbefc008299a770.tar.gz
glibc-88cb87d908526bbcc53f4175acbefc008299a770.tar.xz
glibc-88cb87d908526bbcc53f4175acbefc008299a770.zip
Sparc long double is emulated in software, therefore use dbl-64's s_fma.c
	* sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
	* sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/sparc32/fpu/s_fma.c2
-rw-r--r--sysdeps/sparc/sparc64/fpu/s_fma.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc32/fpu/s_fma.c b/sysdeps/sparc/sparc32/fpu/s_fma.c
new file mode 100644
index 0000000000..8f62605870
--- /dev/null
+++ b/sysdeps/sparc/sparc32/fpu/s_fma.c
@@ -0,0 +1,2 @@
+/* Always use dbl-64 version because long double is emulated in software.  */
+#include <sysdeps/ieee754/dbl-64/s_fma.c>
diff --git a/sysdeps/sparc/sparc64/fpu/s_fma.c b/sysdeps/sparc/sparc64/fpu/s_fma.c
new file mode 100644
index 0000000000..8f62605870
--- /dev/null
+++ b/sysdeps/sparc/sparc64/fpu/s_fma.c
@@ -0,0 +1,2 @@
+/* Always use dbl-64 version because long double is emulated in software.  */
+#include <sysdeps/ieee754/dbl-64/s_fma.c>