Build only the SIMD code with SIMD compiler flags

This commit is contained in:
Kovid Goyal
2024-01-24 14:11:22 +05:30
parent 465616223c
commit 7e77a196e6
8 changed files with 172 additions and 55 deletions

View File

@@ -8,12 +8,6 @@
#include "data-types.h"
#include "charsets.h"
#include "simd-string.h"
#undef BITS
#define BITS 128
#include "simd-string-impl.h"
#define BITS 256
#include "simd-string-impl.h"
#undef BITS
static bool has_sse4_2 = false, has_avx2 = false;
// find_either_of_two_bytes {{{