|
|
190885 |
From 3210a5e4acc812b94b8514d8d9664c7b4b6451af Mon Sep 17 00:00:00 2001
|
|
|
190885 |
From: Alice Xu <alice.d.xu@gmail.com>
|
|
|
190885 |
Date: Fri, 7 May 2021 19:03:21 -0700
|
|
|
190885 |
Subject: [PATCH] x86-64: Fix an unknown vector operation in memchr-evex.S
|
|
|
190885 |
|
|
|
190885 |
An unknown vector operation occurred in commit 2a76821c308. Fixed it
|
|
|
190885 |
by using "ymm{k1}{z}" but not "ymm {k1} {z}".
|
|
|
190885 |
|
|
|
190885 |
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
|
|
|
190885 |
(cherry picked from commit 6ea916adfa0ab9af6e7dc6adcf6f977dfe017835)
|
|
|
190885 |
---
|
|
|
190885 |
sysdeps/x86_64/multiarch/memchr-evex.S | 2 +-
|
|
|
190885 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
190885 |
|
|
|
190885 |
diff --git a/sysdeps/x86_64/multiarch/memchr-evex.S b/sysdeps/x86_64/multiarch/memchr-evex.S
|
|
|
190885 |
index 81d5cd64..f3fdad4f 100644
|
|
|
190885 |
--- a/sysdeps/x86_64/multiarch/memchr-evex.S
|
|
|
190885 |
+++ b/sysdeps/x86_64/multiarch/memchr-evex.S
|
|
|
190885 |
@@ -271,7 +271,7 @@ L(loop_4x_vec):
|
|
|
190885 |
vpxorq (VEC_SIZE * 6)(%rdi), %YMMMATCH, %YMM3
|
|
|
190885 |
VPCMP $0, (VEC_SIZE * 7)(%rdi), %YMMMATCH, %k3
|
|
|
190885 |
/* Reduce VEC2 / VEC3 with min and VEC1 with zero mask. */
|
|
|
190885 |
- VPMINU %YMM2, %YMM3, %YMM3 {%k1} {z}
|
|
|
190885 |
+ VPMINU %YMM2, %YMM3, %YMM3{%k1}{z}
|
|
|
190885 |
VPCMP $0, %YMM3, %YMMZERO, %k2
|
|
|
190885 |
# ifdef USE_AS_RAWMEMCHR
|
|
|
190885 |
subq $-(VEC_SIZE * 4), %rdi
|
|
|
190885 |
--
|
|
|
190885 |
GitLab
|
|
|
190885 |
|