glibc/sysdeps/x86_64/multiarch/strcasecmp_l-avx2-rtm.S
Noah Goldstein bbf8122234 x86: Add AVX2 optimized str{n}casecmp
geometric_mean(N=40) of all benchmarks AVX2 / SSE42: .702

All string/memory tests pass.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
2022-03-25 13:16:43 -05:00

16 lines
319 B
ArmAsm

#ifndef STRCMP
# define STRCMP __strcasecmp_l_avx2_rtm
#endif
#define _GLABEL(x) x ## _rtm
#define GLABEL(x) _GLABEL(x)
#define ZERO_UPPER_VEC_REGISTERS_RETURN \
ZERO_UPPER_VEC_REGISTERS_RETURN_XTEST
#define VZEROUPPER_RETURN jmp L(return_vzeroupper)
#define SECTION(p) p##.avx.rtm
#include "strcasecmp_l-avx2.S"