mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
6dcbb7d95d
This is not meant as a performance optimization. The previous code was far to liberal in aligning targets and wasted code size unnecissarily. The total code size saving is: 59 bytes There are no major changes in the benchmarks. Geometric Mean of all benchmarks New / Old: 0.967 Full xcheck passes on x86_64. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
14 lines
296 B
ArmAsm
14 lines
296 B
ArmAsm
#ifndef MEMCHR
|
|
# define MEMCHR __memchr_avx2_rtm
|
|
#endif
|
|
|
|
#define COND_VZEROUPPER COND_VZEROUPPER_XTEST
|
|
#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 "memchr-avx2.S"
|