Skip to content
Commit d9196d4f authored by Aurelien Jarno's avatar Aurelien Jarno
Browse files

x86-64: Require BMI2 for AVX2 (raw|w)memchr implementations



The AVX2 memchr, rawmemchr and wmemchr implementations use the 'bzhi'
and 'sarx' instructions, which belongs to the BMI2 CPU feature.

Fixes: acfd088a ("x86: Optimize memchr-avx2.S")
Partially resolves: BZ #29611

Reviewed-by: default avatarNoah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit e3e7fab7)
parent d8bf4388
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment