From ed22dcf691326d148222eb9a215d6d98bb8073a4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 17 Oct 2011 11:23:40 -0400 Subject: Provide internal optimizations on x86-64 with SSE4.1 Provide macros so that the internal users can, if possible, directly use the new instructions. Also fix up the mathinline.h header when compiling with SSE4.1 enabled. --- sysdeps/x86_64/fpu/multiarch/s_floor-c.c | 1 + sysdeps/x86_64/fpu/multiarch/s_floorf-c.c | 1 + sysdeps/x86_64/fpu/multiarch/s_rint-c.c | 1 + sysdeps/x86_64/fpu/multiarch/s_rintf-c.c | 1 + 4 files changed, 4 insertions(+) (limited to 'sysdeps/x86_64/fpu/multiarch') diff --git a/sysdeps/x86_64/fpu/multiarch/s_floor-c.c b/sysdeps/x86_64/fpu/multiarch/s_floor-c.c index 8b8c31d..68733b6 100644 --- a/sysdeps/x86_64/fpu/multiarch/s_floor-c.c +++ b/sysdeps/x86_64/fpu/multiarch/s_floor-c.c @@ -1,2 +1,3 @@ +#undef __floor #define __floor __floor_c #include diff --git a/sysdeps/x86_64/fpu/multiarch/s_floorf-c.c b/sysdeps/x86_64/fpu/multiarch/s_floorf-c.c index 3f36786..2386362 100644 --- a/sysdeps/x86_64/fpu/multiarch/s_floorf-c.c +++ b/sysdeps/x86_64/fpu/multiarch/s_floorf-c.c @@ -1,2 +1,3 @@ +#undef __floorf #define __floorf __floorf_c #include diff --git a/sysdeps/x86_64/fpu/multiarch/s_rint-c.c b/sysdeps/x86_64/fpu/multiarch/s_rint-c.c index f29f45b..162a630 100644 --- a/sysdeps/x86_64/fpu/multiarch/s_rint-c.c +++ b/sysdeps/x86_64/fpu/multiarch/s_rint-c.c @@ -1,2 +1,3 @@ +#undef __rint #define __rint __rint_c #include diff --git a/sysdeps/x86_64/fpu/multiarch/s_rintf-c.c b/sysdeps/x86_64/fpu/multiarch/s_rintf-c.c index 30ed42a..8505249 100644 --- a/sysdeps/x86_64/fpu/multiarch/s_rintf-c.c +++ b/sysdeps/x86_64/fpu/multiarch/s_rintf-c.c @@ -1,2 +1,3 @@ +#undef __rintf #define __rintf __rintf_c #include -- cgit v1.1