about summary refs log tree commit diff
path: root/extra-lib.mk
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2023-11-01 16:42:07 -0500
committerNoah Goldstein <goldstein.w.n@gmail.com>2023-11-15 11:09:44 -0600
commitb7f8b6b64b135e6dba5083d688675874d6809c91 (patch)
tree51e5b72df52355bef8b5522c822a95cb7742d7cc /extra-lib.mk
parent0575073dda99169e61b0201225078c364a3980f5 (diff)
downloadglibc-b7f8b6b64b135e6dba5083d688675874d6809c91.tar.gz
glibc-b7f8b6b64b135e6dba5083d688675874d6809c91.tar.xz
glibc-b7f8b6b64b135e6dba5083d688675874d6809c91.zip
x86: Fix unchecked AVX512-VBMI2 usage in strrchr-evex-base.S
strrchr-evex-base used `vpcompress{b|d}` in the page cross logic but
was missing the CPU_FEATURE checks for VBMI2 in the
ifunc/ifunc-impl-list.

The fix is either to add those checks or change the logic to not use
`vpcompress{b|d}`. Choosing the latter here so that the strrchr-evex
implementation is usable on SKX.

New implementation is a bit slower, but this is in a cold path so its
probably okay.
Diffstat (limited to 'extra-lib.mk')
0 files changed, 0 insertions, 0 deletions