]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Add support for VEC_SIZE == 64 in strcmp-evex.S impl
authorNoah Goldstein <goldstein.w.n@gmail.com>
Thu, 20 Oct 2022 02:15:55 +0000 (19:15 -0700)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Thu, 20 Oct 2022 18:29:05 +0000 (11:29 -0700)
commit5ce9766417782c1b57f239451d0400f1229e83f7
treecdb8abe3eb381c2ba224600155ce09f7e532b7aa
parentc25eb94aed942761aabdcd05239b7e76dcdde098
x86: Add support for VEC_SIZE == 64 in strcmp-evex.S impl

Unused at the moment, but evex512 strcmp, strncmp, strcasecmp{l}, and
strncasecmp{l} functions can be added by including strcmp-evex.S with
"x86-evex512-vecs.h" defined.

In addition save code size a bit in a few places.

1. tzcnt ...         -> bsf ...
2. vpcmp{b|d} $0 ... -> vpcmpeq{b|d}

This saves a touch of code size but has minimal net affect.

Full check passes on x86-64.
sysdeps/x86_64/multiarch/strcmp-evex.S