summaryrefslogtreecommitdiff
path: root/string/test-strnlen.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2022-10-03 23:16:46 +0200
committerAurelien Jarno <aurelien@aurel32.net>2022-10-04 00:03:20 +0200
commit67e310afb91fa27295f7cf5140176efd6ba5dd51 (patch)
treec8d694e61d6d2207fa7e6a95665232fd8fda0fb8 /string/test-strnlen.c
parent38e321f4ac70b6aecb35a8af7d1a2fbe366ab482 (diff)
downloadglibc-67e310afb91fa27295f7cf5140176efd6ba5dd51.tar.gz
x86-64: Require BMI1/BMI2 for AVX2 strrchr and wcsrchr implementations
The AVX2 strrchr and wcsrchr implementation uses the 'blsmsk' instruction which belongs to the BMI1 CPU feature and the 'shrx' instruction, which belongs to the BMI2 CPU feature. Fixes: df7e295d18ff ("x86: Optimize {str|wcs}rchr-avx2") Partially resolves: BZ #29611 Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com> (cherry picked from commit 7e8283170c5d6805b609a040801d819e362a6292)
Diffstat (limited to 'string/test-strnlen.c')
0 files changed, 0 insertions, 0 deletions