diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2022-10-03 23:46:11 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2022-10-03 23:46:11 +0200 |
commit | fc7de1d9b99ae1676bc626ddca422d7abee0eb48 (patch) | |
tree | b176de5b939945812d7542fc1bf34c24f92c3a42 /inet/tst-gethnm.c | |
parent | 4d64c6445735e9b34e2ac8e369312cbfc2f88e17 (diff) | |
download | glibc-fc7de1d9b99ae1676bc626ddca422d7abee0eb48.zip glibc-fc7de1d9b99ae1676bc626ddca422d7abee0eb48.tar.gz glibc-fc7de1d9b99ae1676bc626ddca422d7abee0eb48.tar.bz2 |
x86-64: Require BMI2 for AVX2 strncmp implementation
The AVX2 strncmp implementations uses the 'bzhi' instruction, which
belongs to the BMI2 CPU feature.
NB: It also uses the 'tzcnt' BMI1 instruction, but it is executed as BSF
as BSF if the CPU doesn't support TZCNT, and produces the same result
for non-zero input.
Partially fixes: b77b06e0e296 ("x86: Optimize strcmp-avx2.S")
Partially resolves: BZ #29611
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
Diffstat (limited to 'inet/tst-gethnm.c')
0 files changed, 0 insertions, 0 deletions