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

x86-64: Require BMI2 and LZCNT for AVX2 memrchr implementation



The AVX2 memrchr implementation uses the 'shlxl' instruction, which
belongs to the BMI2 CPU feature and uses the 'lzcnt' instruction, which
belongs to the LZCNT CPU feature.

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

Reviewed-by: default avatarNoah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit 3c0c78af)
parent d9196d4f
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