Skip to content
Commit e3e7fab7 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>
parent f31a5a88
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