1 2 3 4 5 6 7 8 9 10 11 12
#ifndef STRCHR # define STRCHR __strchr_avx2_rtm #endif #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 "strchr-avx2.S"