[PATCH v2] x86-64: Use YMM registers in memcmpeq-evex.S
Noah Goldstein
goldstein.w.n@gmail.com
Thu Jun 1 16:08:34 GMT 2023
On Thu, Jun 1, 2023 at 10:53 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> Since the assembly source file with -evex suffix should use YMM registers,
> not ZMM registers, include x86-evex256-vecs.h by default to use YMM
> registers in memcmpeq-evex.S
> ---
> sysdeps/x86_64/multiarch/memcmpeq-evex.S | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sysdeps/x86_64/multiarch/memcmpeq-evex.S b/sysdeps/x86_64/multiarch/memcmpeq-evex.S
> index 3666f649cd..7eefff77f1 100644
> --- a/sysdeps/x86_64/multiarch/memcmpeq-evex.S
> +++ b/sysdeps/x86_64/multiarch/memcmpeq-evex.S
> @@ -42,7 +42,7 @@
> # endif
>
> # ifndef VEC_SIZE
> -# include "x86-evex512-vecs.h"
> +# include "x86-evex256-vecs.h"
> # endif
> # include "reg-macros.h"
>
> --
> 2.40.1
>
LGTM.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
More information about the Libc-alpha
mailing list