Fix non-x86 build
This commit is contained in:
@@ -484,6 +484,7 @@ PRESERVE_NONE WeaselJsonStatus n_string2_impl(Parser3 *self, char *buf,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __x86_64__
|
||||||
template WeaselJsonStatus
|
template WeaselJsonStatus
|
||||||
n_string2_impl<simd<int8_t, 64, sse::Simd_x86_SSE>>(Parser3 *, char *, char *);
|
n_string2_impl<simd<int8_t, 64, sse::Simd_x86_SSE>>(Parser3 *, char *, char *);
|
||||||
|
|
||||||
@@ -501,6 +502,12 @@ n_string2(Parser3 *self, char *buf, char *bufEnd) {
|
|||||||
MUSTTAIL return n_string2_impl<simd<int8_t, 64, sse::Simd_x86_AVX2>>(
|
MUSTTAIL return n_string2_impl<simd<int8_t, 64, sse::Simd_x86_AVX2>>(
|
||||||
self, buf, bufEnd);
|
self, buf, bufEnd);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
inline PRESERVE_NONE WeaselJsonStatus n_string2(Parser3 *self, char *buf,
|
||||||
|
char *bufEnd) {
|
||||||
|
MUSTTAIL return n_string2_impl<simd<int8_t, 32>>(self, buf, bufEnd);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
inline PRESERVE_NONE WeaselJsonStatus n_string_following_escape(Parser3 *self,
|
inline PRESERVE_NONE WeaselJsonStatus n_string_following_escape(Parser3 *self,
|
||||||
char *buf,
|
char *buf,
|
||||||
|
|||||||
Reference in New Issue
Block a user