aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Xu <alice.d.xu@gmail.com>2021-05-07 19:03:21 -0700
committerH.J. Lu <hjl.tools@gmail.com>2022-01-27 16:25:58 -0800
commit3cee1ddad2257c0f505790161fd2afdedef3cd8f (patch)
treeaba42df97a3701f99c8fa754cba36f97625b0e35
parentcba2fbe17f512f3edc5cadf9804d0a5ab9d33488 (diff)
downloadglibc-3cee1ddad2257c0f505790161fd2afdedef3cd8f.zip
glibc-3cee1ddad2257c0f505790161fd2afdedef3cd8f.tar.gz
glibc-3cee1ddad2257c0f505790161fd2afdedef3cd8f.tar.bz2
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)
-rw-r--r--sysdeps/x86_64/multiarch/memchr-evex.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/memchr-evex.S b/sysdeps/x86_64/multiarch/memchr-evex.S
index 81d5cd6..f3fdad4 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