1 2 3 4 5 6 7 8 9 10 11 12
#ifndef STRLEN # define STRLEN __strlen_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 "strlen-avx2.S"