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/memcmp/avx2 updated. glibc-2.25-522-g2b047a8


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/memcmp/avx2 has been updated
       via  2b047a8ff3d46e39e5abc677a3438710710a7cb2 (commit)
      from  9c933ed098769d38c56138bcec3096cb462030f6 (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=2b047a8ff3d46e39e5abc677a3438710710a7cb2

commit 2b047a8ff3d46e39e5abc677a3438710710a7cb2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jun 20 06:45:20 2017 -0700

    Use vptest

diff --git a/sysdeps/x86_64/multiarch/memcmp-avx2-movbe-new.S b/sysdeps/x86_64/multiarch/memcmp-avx2-movbe-new.S
index 9338cb0..3bdd12e 100644
--- a/sysdeps/x86_64/multiarch/memcmp-avx2-movbe-new.S
+++ b/sysdeps/x86_64/multiarch/memcmp-avx2-movbe-new.S
@@ -314,9 +314,8 @@ L(loop_4x_vec):
 	VPCMPEQ (VEC_SIZE * 3)(%rdi), %ymm4, %ymm4
 	vpand	%ymm4, %ymm5, %ymm5
 
-	vpmovmskb %ymm5, %eax
-	subl	$VEC_MASK, %eax
-	jnz	L(4x_vec_end)
+	vptest	%ymm0, %ymm5
+	jnc	L(4x_vec_end)
 
 	addq	$(VEC_SIZE * 4), %rdi
 	addq	$(VEC_SIZE * 4), %rsi

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

Summary of changes:
 sysdeps/x86_64/multiarch/memcmp-avx2-movbe-new.S |    5 ++---
 1 files changed, 2 insertions(+), 3 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]