mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
6d978c383a
- Allow user to specify SIMDJSON_BUILTIN_IMPLEMENTATION - Make cmake -DSIMDJSON_IMPLEMENTATION=haswell *only* specify haswell - Move negative implementation selection to -DSIMDJSON_EXCLUDE_IMPLEMENTATION - Automatically select SIMDJSON_BUILTIN_IMPLEMENTATION if SIMDJSON_IMPLEMENTATION is set - Move implementation enablement mostly to implementation files - Make implementation enablement and selection simpler and more robust - Fix bug where programs linked against simdjson were not passed SIMDJSON_XXX_IMPLEMENTATION or SIMDJSON_EXCEPTIONS
50 lines
1.3 KiB
C++
50 lines
1.3 KiB
C++
#ifndef SIMDJSON_ARM64_H
|
|
#define SIMDJSON_ARM64_H
|
|
|
|
#ifdef SIMDJSON_FALLBACK_H
|
|
#error "arm64.h must be included before fallback.h"
|
|
#endif
|
|
|
|
#include "simdjson/portability.h"
|
|
|
|
#include "simdjson/internal/isadetection.h"
|
|
#include "simdjson/internal/jsoncharutils_tables.h"
|
|
#include "simdjson/internal/numberparsing_tables.h"
|
|
#include "simdjson/internal/simdprune_tables.h"
|
|
|
|
#if SIMDJSON_IMPLEMENTATION_ARM64
|
|
|
|
namespace simdjson {
|
|
/**
|
|
* Implementation for NEON (ARMv8).
|
|
*/
|
|
namespace arm64 {
|
|
} // namespace arm64
|
|
} // namespace simdjson
|
|
|
|
#include "simdjson/arm64/implementation.h"
|
|
|
|
#include "simdjson/arm64/begin.h"
|
|
|
|
// Declarations
|
|
#include "simdjson/generic/dom_parser_implementation.h"
|
|
#include "simdjson/arm64/intrinsics.h"
|
|
#include "simdjson/arm64/bitmanipulation.h"
|
|
#include "simdjson/arm64/bitmask.h"
|
|
#include "simdjson/arm64/simd.h"
|
|
#include "simdjson/generic/jsoncharutils.h"
|
|
#include "simdjson/generic/atomparsing.h"
|
|
#include "simdjson/arm64/stringparsing.h"
|
|
#include "simdjson/arm64/numberparsing.h"
|
|
#include "simdjson/generic/implementation_simdjson_result_base.h"
|
|
#include "simdjson/generic/ondemand.h"
|
|
|
|
// Inline definitions
|
|
#include "simdjson/generic/implementation_simdjson_result_base-inl.h"
|
|
#include "simdjson/generic/ondemand-inl.h"
|
|
#include "simdjson/arm64/end.h"
|
|
|
|
#endif // SIMDJSON_IMPLEMENTATION_ARM64
|
|
|
|
#endif // SIMDJSON_ARM64_H
|