public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/ibm/2.32/master] x86-64: Fix an unknown vector operation in memchr-evex.S
@ 2022-04-01 20:07 Raoni Fassina Firmino
  0 siblings, 0 replies; only message in thread
From: Raoni Fassina Firmino @ 2022-04-01 20:07 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f73bf74102a93dcea344177375cf9433f31eac4f

commit f73bf74102a93dcea344177375cf9433f31eac4f
Author: Alice Xu <alice.d.xu@gmail.com>
Date:   Fri May 7 19:03:21 2021 -0700

    x86-64: Fix an unknown vector operation in memchr-evex.S
    
    An unknown vector operation occurred in commit 2a76821c308. Fixed it
    by using "ymm{k1}{z}" but not "ymm {k1} {z}".
    
    Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
    (cherry picked from commit 6ea916adfa0ab9af6e7dc6adcf6f977dfe017835)

Diff:
---
 sysdeps/x86_64/multiarch/memchr-evex.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/x86_64/multiarch/memchr-evex.S b/sysdeps/x86_64/multiarch/memchr-evex.S
index 81d5cd6486..f3fdad4fda 100644
--- a/sysdeps/x86_64/multiarch/memchr-evex.S
+++ b/sysdeps/x86_64/multiarch/memchr-evex.S
@@ -271,7 +271,7 @@ L(loop_4x_vec):
 	vpxorq	(VEC_SIZE * 6)(%rdi), %YMMMATCH, %YMM3
 	VPCMP	$0, (VEC_SIZE * 7)(%rdi), %YMMMATCH, %k3
 	/* Reduce VEC2 / VEC3 with min and VEC1 with zero mask.  */
-	VPMINU	%YMM2, %YMM3, %YMM3 {%k1} {z}
+	VPMINU	%YMM2, %YMM3, %YMM3{%k1}{z}
 	VPCMP	$0, %YMM3, %YMMZERO, %k2
 # ifdef USE_AS_RAWMEMCHR
 	subq	$-(VEC_SIZE * 4), %rdi


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-01 20:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-01 20:07 [glibc/ibm/2.32/master] x86-64: Fix an unknown vector operation in memchr-evex.S Raoni Fassina Firmino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).