simdjson  3.1.6
Ridiculously Fast JSON
haswell.h
1 #ifndef SIMDJSON_HASWELL_H
2 #define SIMDJSON_HASWELL_H
3 
5 
6 #if SIMDJSON_IMPLEMENTATION_HASWELL
7 
8 #if SIMDJSON_CAN_ALWAYS_RUN_HASWELL
9 #define SIMDJSON_TARGET_HASWELL
10 #define SIMDJSON_UNTARGET_HASWELL
11 #else
12 #define SIMDJSON_TARGET_HASWELL SIMDJSON_TARGET_REGION("avx2,bmi,pclmul,lzcnt")
13 #define SIMDJSON_UNTARGET_HASWELL SIMDJSON_UNTARGET_REGION
14 #endif
15 
16 namespace simdjson {
20 namespace haswell {
21 } // namespace haswell
22 } // namespace simdjson
23 
24 //
25 // These two need to be included outside SIMDJSON_TARGET_HASWELL
26 //
27 #include "simdjson/haswell/implementation.h"
28 #include "simdjson/haswell/intrinsics.h"
29 
30 //
31 // The rest need to be inside the region
32 //
33 #include "simdjson/haswell/begin.h"
34 
35 // Declarations
36 #include "simdjson/generic/dom_parser_implementation.h"
37 #include "simdjson/haswell/bitmanipulation.h"
38 #include "simdjson/haswell/bitmask.h"
39 #include "simdjson/haswell/simd.h"
40 #include "simdjson/generic/jsoncharutils.h"
41 #include "simdjson/generic/atomparsing.h"
42 #include "simdjson/haswell/stringparsing.h"
43 #include "simdjson/haswell/numberparsing.h"
44 #include "simdjson/haswell/end.h"
45 
46 #endif // SIMDJSON_IMPLEMENTATION_HASWELL
47 #endif // SIMDJSON_HASWELL_COMMON_H
Includes common stuff needed for implementations.
We want to support argument-dependent lookup (ADL).