// // strnlen-avx2.cpp // // Copyright (c) Timo Kreuzer // // Explicit template instantiations for AVX2 str(n)len code // #pragma GCC target("avx2") #define _UCRT_BUILD_AVX2 #include "strnlen.cpp" template size_t __cdecl common_strnlen_simd( uint8_t const* const string, size_t const maximum_count ) throw(); template size_t __cdecl common_strnlen_simd( uint16_t const* const string, size_t const maximum_count ) throw(); template size_t __cdecl common_strnlen_simd( uint16_t const* const string, size_t const maximum_count ) throw();