diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-11-01 16:42:07 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-11-15 11:09:44 -0600 |
commit | b7f8b6b64b135e6dba5083d688675874d6809c91 (patch) | |
tree | 51e5b72df52355bef8b5522c822a95cb7742d7cc /stdio-common/tst-printf-binary-main.c | |
parent | 0575073dda99169e61b0201225078c364a3980f5 (diff) | |
download | glibc-b7f8b6b64b135e6dba5083d688675874d6809c91.zip glibc-b7f8b6b64b135e6dba5083d688675874d6809c91.tar.gz glibc-b7f8b6b64b135e6dba5083d688675874d6809c91.tar.bz2 |
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 'stdio-common/tst-printf-binary-main.c')
0 files changed, 0 insertions, 0 deletions