simdjson 4.2.1
Ridiculously Fast JSON
Loading...
Searching...
No Matches
implementation.h
1#ifndef SIMDJSON_BUILTIN_IMPLEMENTATION_H
2#define SIMDJSON_BUILTIN_IMPLEMENTATION_H
3
4#include "simdjson/builtin/base.h"
5
6#include "simdjson/generic/dependencies.h"
7
8#define SIMDJSON_CONDITIONAL_INCLUDE
9
10#if SIMDJSON_BUILTIN_IMPLEMENTATION_IS(arm64)
11#include "simdjson/arm64/implementation.h"
12#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(fallback)
13#include "simdjson/fallback/implementation.h"
14#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(haswell)
15#include "simdjson/haswell/implementation.h"
16#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(icelake)
17#include "simdjson/icelake/implementation.h"
18#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(ppc64)
19#include "simdjson/ppc64/implementation.h"
20#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(westmere)
21#include "simdjson/westmere/implementation.h"
22#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(lsx)
23#include "simdjson/lsx/implementation.h"
24#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(lasx)
25#include "simdjson/lasx/implementation.h"
26#else
27#error Unknown SIMDJSON_BUILTIN_IMPLEMENTATION
28#endif
29
30#undef SIMDJSON_CONDITIONAL_INCLUDE
31
32namespace simdjson {
40} // namespace simdjson
41
42#endif // SIMDJSON_BUILTIN_IMPLEMENTATION_H
An implementation of simdjson for a particular CPU architecture.
The top level simdjson namespace, containing everything the library provides.
Definition base.h:8
const implementation * builtin_implementation()
Function which returns a pointer to an implementation matching the "builtin" implementation.