We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3462d81 + d3317b9 commit 829f4bcCopy full SHA for 829f4bc
ext/json/ext/simd/simd.h
@@ -162,17 +162,10 @@ static inline TARGET_SSE2 FORCE_INLINE int string_scan_simd_sse2(const char **pt
162
#endif /* HAVE_CPUID_H */
163
164
static inline SIMD_Implementation find_simd_implementation(void) {
165
-
166
-#if defined(__GNUC__ ) || defined(__clang__)
167
-#ifdef __GNUC__
168
- __builtin_cpu_init();
169
-#endif /* __GNUC__ */
170
171
// TODO Revisit. I think the SSE version now only uses SSE2 instructions.
172
if (__builtin_cpu_supports("sse2")) {
173
return SIMD_SSE2;
174
}
175
-#endif /* __GNUC__ || __clang__*/
176
177
return SIMD_NONE;
178
0 commit comments