Fix preprocessor guard for avx512 longestCommonPrefix
This commit is contained in:
1 parent
d1dc1247e1
commit
abce4591d0
1 file changed
+1
-1
+1
-1
@@ -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