Fix preprocessor guard for avx512 longestCommonPrefix
This commit is contained in:
@@ -1673,7 +1673,7 @@ int firstNeqStride(const uint8_t *ap, const uint8_t *bp) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__x86_64__) && !defined(__SANITIZE_THREAD__)
|
#if defined(HAS_AVX) && !defined(__SANITIZE_THREAD__)
|
||||||
__attribute__((target("avx512bw"))) int
|
__attribute__((target("avx512bw"))) int
|
||||||
longestCommonPrefix(const uint8_t *ap, const uint8_t *bp, int cl) {
|
longestCommonPrefix(const uint8_t *ap, const uint8_t *bp, int cl) {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
Reference in New Issue
Block a user