glibc/sysdeps
Aurelien Jarno fc7de1d9b9 x86-64: Require BMI2 for AVX2 strncmp implementation
The AVX2 strncmp implementations uses the 'bzhi' instruction, which
belongs to the BMI2 CPU feature.

NB: It also uses the 'tzcnt' BMI1 instruction, but it is executed as BSF
as BSF if the CPU doesn't support TZCNT, and produces the same result
for non-zero input.

Partially fixes: b77b06e0e2 ("x86: Optimize strcmp-avx2.S")
Partially resolves: BZ #29611

Reviewed-by: Noah Goldstein  <goldstein.w.n@gmail.com>
2022-10-03 23:46:11 +02:00
..
aarch64 Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
alpha Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
arc Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
arm Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
csky Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
generic m68k: Enforce 4-byte alignment on internal locks (BZ #29537) 2022-09-20 10:56:54 -03:00
gnu errlist: add missing entry for EDEADLOCK (bug 29545) 2022-09-08 11:40:24 +02:00
hppa hppa: Fix initialization of dp register [BZ 29635] 2022-10-01 19:49:25 +00:00
htl htl: Make pthread*_cond_timedwait register wref before releasing mutex 2022-08-22 22:27:24 +02:00
hurd hurd: Fix pthread_kill on exiting/ted thread 2022-01-15 15:11:54 +01:00
i386 x86: Remove .tfloat usage 2022-10-03 14:03:21 -03:00
ia64 Update _FloatN header support for C++ in GCC 13 2022-09-28 20:10:08 +00:00
ieee754 Update _FloatN header support for C++ in GCC 13 2022-09-28 20:10:08 +00:00
loongarch LoongArch: Add static PIE support 2022-09-30 11:51:58 +08:00
m68k Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
mach malloc: Do not clobber errno on __getrandom_nocancel (BZ #29624) 2022-09-30 15:25:15 -03:00
microblaze Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
mips Update _FloatN header support for C++ in GCC 13 2022-09-28 20:10:08 +00:00
nios2 Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
nptl Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
or1k Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
posix get_nscd_addresses: Fix subscript typos [BZ #29605] 2022-09-28 12:47:10 -04:00
powerpc Update _FloatN header support for C++ in GCC 13 2022-09-28 20:10:08 +00:00
pthread Do not define static_assert or thread_local in headers for C2x 2022-09-07 18:39:28 +00:00
riscv Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
s390 Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
sh Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
sparc Use atomic_exchange_release/acquire 2022-09-26 16:58:08 +01:00
unix malloc: Do not clobber errno on __getrandom_nocancel (BZ #29624) 2022-09-30 15:25:15 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
x86 x86: include BMI1 and BMI2 in x86-64-v3 level 2022-10-03 23:46:11 +02:00
x86_64 x86-64: Require BMI2 for AVX2 strncmp implementation 2022-10-03 23:46:11 +02:00