From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1039) id D826B38515CB; Thu, 27 Jan 2022 22:40:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D826B38515CB Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: H.J. Lu To: glibc-cvs@sourceware.org Subject: [glibc/release/2.33/master] x86-64: Fix an unknown vector operation in memchr-evex.S X-Act-Checkin: glibc X-Git-Author: Alice Xu X-Git-Refname: refs/heads/release/2.33/master X-Git-Oldrev: 355afae9408b6f53fe1efebde036317523749a7e X-Git-Newrev: 3dea108f608f84914e452f44ded8d9799050bf36 Message-Id: <20220127224019.D826B38515CB@sourceware.org> Date: Thu, 27 Jan 2022 22:40:19 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2022 22:40:19 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3dea108f608f84914e452f44ded8d9799050bf36 commit 3dea108f608f84914e452f44ded8d9799050bf36 Author: Alice Xu 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 (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