This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch hjl/ifunc/c updated. glibc-2.25-466-g9354431


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, hjl/ifunc/c has been updated
       via  93544317ccc040a40d30019ce53d7a97f1ea1a08 (commit)
      from  e1355953de6ace21bde48d841ba1de3740591ef9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=93544317ccc040a40d30019ce53d7a97f1ea1a08

commit 93544317ccc040a40d30019ce53d7a97f1ea1a08
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jun 13 06:50:12 2017 -0700

    remove some IS_IN (libc) strcmp

diff --git a/sysdeps/x86_64/multiarch/strcmp-avx.S b/sysdeps/x86_64/multiarch/strcmp-avx.S
index 51425f6..dd942c1 100644
--- a/sysdeps/x86_64/multiarch/strcmp-avx.S
+++ b/sysdeps/x86_64/multiarch/strcmp-avx.S
@@ -16,7 +16,9 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#define STRCMP_SSE42		__strcmp_avx
+#if IS_IN (libc)
+# define STRCMP_SSE42		__strcmp_avx
 
-#define USE_AVX			1
-#include "strcmp-sse42.S"
+# define USE_AVX			1
+# include "strcmp-sse42.S"
+#endif
diff --git a/sysdeps/x86_64/multiarch/strncase_l-sse2.S b/sysdeps/x86_64/multiarch/strncase_l-sse2.S
index f391463..a2fc1fb 100644
--- a/sysdeps/x86_64/multiarch/strncase_l-sse2.S
+++ b/sysdeps/x86_64/multiarch/strncase_l-sse2.S
@@ -16,10 +16,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#if IS_IN (libc)
-# define USE_AS_STRNCASECMP_L
-# define NO_NOLOCALE_ALIAS
-# define STRCMP __strncasecmp_l_sse2
-# define __strncasecmp __strncasecmp_sse2
-# include <sysdeps/x86_64/strcmp.S>
-#endif
+#define USE_AS_STRNCASECMP_L
+#define NO_NOLOCALE_ALIAS
+#define STRCMP __strncasecmp_l_sse2
+#define __strncasecmp __strncasecmp_sse2
+#include <sysdeps/x86_64/strcmp.S>
diff --git a/sysdeps/x86_64/multiarch/strncase_l-sse42.S b/sysdeps/x86_64/multiarch/strncase_l-sse42.S
index 0b8e7ee..8f5c3ad 100644
--- a/sysdeps/x86_64/multiarch/strncase_l-sse42.S
+++ b/sysdeps/x86_64/multiarch/strncase_l-sse42.S
@@ -16,9 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#if IS_IN (libc)
-# define STRCMP_SSE42		__strncasecmp_l_sse42
+#define STRCMP_SSE42		__strncasecmp_l_sse42
 
-# define USE_AS_STRNCASECMP_L
-# include "strcmp-sse42.S"
-#endif
+#define USE_AS_STRNCASECMP_L
+#include "strcmp-sse42.S"
diff --git a/sysdeps/x86_64/multiarch/strncmp-sse2.S b/sysdeps/x86_64/multiarch/strncmp-sse2.S
index b625c4f..f16d33d 100644
--- a/sysdeps/x86_64/multiarch/strncmp-sse2.S
+++ b/sysdeps/x86_64/multiarch/strncmp-sse2.S
@@ -16,14 +16,12 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#if IS_IN (libc)
-# include <sysdep.h>
+#include <sysdep.h>
 
-# define STRCMP	__strncmp_sse2
+#define STRCMP	__strncmp_sse2
 
-# undef libc_hidden_builtin_def
-# define libc_hidden_builtin_def(strcmp)
-#endif
+#undef libc_hidden_builtin_def
+#define libc_hidden_builtin_def(strcmp)
 
 #define USE_AS_STRNCMP
 #include <sysdeps/x86_64/strcmp.S>
diff --git a/sysdeps/x86_64/multiarch/strncmp-sse42.S b/sysdeps/x86_64/multiarch/strncmp-sse42.S
index d8c1622..f727374 100644
--- a/sysdeps/x86_64/multiarch/strncmp-sse42.S
+++ b/sysdeps/x86_64/multiarch/strncmp-sse42.S
@@ -16,9 +16,6 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#if IS_IN (libc)
-# define STRCMP_SSE42	__strncmp_sse42
-
-# define USE_AS_STRNCMP
-# include "strcmp-sse42.S"
-#endif
+#define STRCMP_SSE42	__strncmp_sse42
+#define USE_AS_STRNCMP
+#include "strcmp-sse42.S"

-----------------------------------------------------------------------

Summary of changes:
 sysdeps/x86_64/multiarch/strcmp-avx.S       |    8 +++++---
 sysdeps/x86_64/multiarch/strncase_l-sse2.S  |   12 +++++-------
 sysdeps/x86_64/multiarch/strncase_l-sse42.S |    8 +++-----
 sysdeps/x86_64/multiarch/strncmp-sse2.S     |   10 ++++------
 sysdeps/x86_64/multiarch/strncmp-sse42.S    |    9 +++------
 5 files changed, 20 insertions(+), 27 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]