File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
22
end
23
23
end
24
24
25
- if have_header ( 'x86intrin.h' ) && have_type ( '__m128i' , headers = [ 'x86intrin.h' ] ) && try_compile ( <<~'SRC' , opt = '-msse2' )
25
+ if have_header ( 'x86intrin.h' ) && have_type ( '__m128i' , headers = [ 'x86intrin.h' ] ) && try_compile ( <<~'SRC' )
26
26
#include <x86intrin.h>
27
27
int main() {
28
28
__m128i test = _mm_set1_epi8(32);
Original file line number Diff line number Diff line change @@ -117,9 +117,9 @@ typedef struct _search_state {
117
117
const char * chunk_end ;
118
118
bool has_matches ;
119
119
120
- #ifdef HAVE_SIMD_NEON
120
+ #if defined( HAVE_SIMD_NEON )
121
121
uint64_t matches_mask ;
122
- #elif HAVE_SIMD_SSE2
122
+ #elif defined( HAVE_SIMD_SSE2 )
123
123
int matches_mask ;
124
124
#else
125
125
#error "Unknown SIMD Implementation."
You can’t perform that action at this time.
0 commit comments