mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
9a404bdcdc
* Reenabling the optimized kernels (main branch). * Defining SIMDJSON_CAN_ALWAYS_RUN_PPC64 and SIMDJSON_CAN_ALWAYS_RUN_ARM64 * Adding the bad UTF8 string from the fuzzer. * Taking into account John's comments. * Bumping the lib version. * Update CMakeLists.txt
56 lines
1.5 KiB
C++
56 lines
1.5 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"
|
|
|
|
#ifndef SIMDJSON_IMPLEMENTATION_ARM64
|
|
#define SIMDJSON_IMPLEMENTATION_ARM64 (SIMDJSON_IS_ARM64)
|
|
#endif
|
|
#define SIMDJSON_CAN_ALWAYS_RUN_ARM64 SIMDJSON_IMPLEMENTATION_ARM64 && SIMDJSON_IS_ARM64
|
|
|
|
|
|
#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
|