]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Require BMI2 for __strlen_evex and __strnlen_evex
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 19 Apr 2021 14:07:21 +0000 (07:07 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 28 Jan 2022 00:31:28 +0000 (16:31 -0800)
commit208e34a7000d36109bbf3d70400d96b1c10b2ccb
tree77147932f225211877d39fb8afe0b3e4b9959336
parent2baf5616d5ec5e592d64746253713969eb473f5b
x86-64: Require BMI2 for __strlen_evex and __strnlen_evex

Since __strlen_evex and __strnlen_evex added by

commit 1fd8c163a83d96ace1ff78fa6bac7aee084f6f77
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Mar 5 06:24:52 2021 -0800

    x86-64: Add ifunc-avx2.h functions with 256-bit EVEX

use sarx:

c4 e2 6a f7 c0        sarx   %edx,%eax,%eax

require BMI2 for __strlen_evex and __strnlen_evex in ifunc-impl-list.c.
ifunc-avx2.h already requires BMI2 for EVEX implementation.

(cherry picked from commit 55bf411b451c13f0fb7ff3d3bf9a820020b45df1)
sysdeps/x86_64/multiarch/ifunc-impl-list.c