aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-10-18 09:13:23 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-18 09:13:23 -0400
commit581d30e386b9567b973a65d0bc82af782ac078ed (patch)
tree9c4b80b4e202a38117880ccce87cb8465e2b1f51 /sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c
parentStart optimizing the use of the fenv interfaces in libm itself (diff)
downloadglibc-581d30e386b9567b973a65d0bc82af782ac078ed.tar.gz
glibc-581d30e386b9567b973a65d0bc82af782ac078ed.tar.bz2
glibc-581d30e386b9567b973a65d0bc82af782ac078ed.zip
Add optimized nearbyint{,f} for x86-64
Diffstat (limited to 'sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c')
-rw-r--r--sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c b/sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c
new file mode 100644
index 0000000000..aa7768233b
--- /dev/null
+++ b/sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c
@@ -0,0 +1,3 @@
+#undef __nearbyintf
+#define __nearbyintf __nearbyintf_c
+#include <sysdeps/ieee754/flt-32/s_nearbyintf.c>