[PATCH] x86-64: Require BMI2 for __strlen_evex and __strnlen_evex

H.J. Lu hjl.tools@gmail.com
Mon Apr 19 14:53:28 GMT 2021


On Mon, Apr 19, 2021 at 7:29 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> * H. J. Lu via Libc-alpha:
>
> > I am committing this patch as an obvious fix.
>
> Can you add a reference to the commit that is fixed?  Thanks.

Here is the commit message I am checking in:

---
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.
---

Thanks.

-- 
H.J.


More information about the Libc-alpha mailing list