about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/sparc/sparc32/fpu/s_fma.c2
-rw-r--r--sysdeps/sparc/sparc64/fpu/s_fma.c2
3 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 88f99c37cc..3ad8764ec4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-03-15  David S. Miller  <davem@davemloft.net>
 
+	* sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
+	* sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
+
 	* sysdeps/sparc/sparc-ifunc.h: New file.
 	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use sparc-ifunc.h
 	* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
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>