simdjson 4.2.3
Ridiculously Fast JSON
Loading...
Searching...
No Matches
begin.h
1#define SIMDJSON_IMPLEMENTATION haswell
2
3#include "simdjson/haswell/base.h"
4#include "simdjson/haswell/intrinsics.h"
5
6#if !SIMDJSON_CAN_ALWAYS_RUN_HASWELL
7// We enable bmi2 only if LLVM/clang is used, because GCC may not
8// make good use of it. See https://github.com/simdjson/simdjson/pull/2243
9#if defined(__clang__)
10SIMDJSON_TARGET_REGION("avx2,bmi,bmi2,pclmul,lzcnt,popcnt")
11#else
12SIMDJSON_TARGET_REGION("avx2,bmi,pclmul,lzcnt,popcnt")
13#endif
14#endif
15
16#include "simdjson/haswell/bitmanipulation.h"
17#include "simdjson/haswell/bitmask.h"
18#include "simdjson/haswell/numberparsing_defs.h"
19#include "simdjson/haswell/simd.h"
20#include "simdjson/haswell/stringparsing_defs.h"