aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/simdjson/src/simdjson.cpp
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2024-10-03 14:09:02 +0000
committerAlexander Smirnov <alex@ydb.tech>2024-10-03 14:09:02 +0000
commit812d97f62befea9d9b47a410d28548ef9f274510 (patch)
treed52031e2d62a9e7e9c25c43bb564dce30368e780 /contrib/libs/simdjson/src/simdjson.cpp
parent1e9cd6bece572c59f55fdcf55c68b9c48e5aa6da (diff)
parentd7525e0eec8e7242a5cedd5fbdaf3bdaaeea02c7 (diff)
downloadydb-812d97f62befea9d9b47a410d28548ef9f274510.tar.gz
Merge branch 'rightlib' into mergelibs-241003-1407
Diffstat (limited to 'contrib/libs/simdjson/src/simdjson.cpp')
-rw-r--r--contrib/libs/simdjson/src/simdjson.cpp50
1 files changed, 50 insertions, 0 deletions
diff --git a/contrib/libs/simdjson/src/simdjson.cpp b/contrib/libs/simdjson/src/simdjson.cpp
new file mode 100644
index 0000000000..1012795253
--- /dev/null
+++ b/contrib/libs/simdjson/src/simdjson.cpp
@@ -0,0 +1,50 @@
+#define SIMDJSON_SRC_SIMDJSON_CPP
+
+#include <base.h>
+
+SIMDJSON_PUSH_DISABLE_UNUSED_WARNINGS
+
+#include <to_chars.cpp>
+#include <from_chars.cpp>
+#include <internal/error_tables.cpp>
+#include <internal/jsoncharutils_tables.cpp>
+#include <internal/numberparsing_tables.cpp>
+#include <internal/simdprune_tables.cpp>
+
+#include <simdjson/generic/dependencies.h>
+#include <generic/dependencies.h>
+#include <generic/stage1/dependencies.h>
+#include <generic/stage2/dependencies.h>
+
+#include <implementation.cpp>
+
+#define SIMDJSON_CONDITIONAL_INCLUDE
+
+#if SIMDJSON_IMPLEMENTATION_ARM64
+#include <arm64.cpp>
+#endif
+#if SIMDJSON_IMPLEMENTATION_HASWELL
+#include <haswell.cpp>
+#endif
+#if SIMDJSON_IMPLEMENTATION_ICELAKE
+#include <icelake.cpp>
+#endif
+#if SIMDJSON_IMPLEMENTATION_PPC64
+#error #include <ppc64.cpp>
+#endif
+#if SIMDJSON_IMPLEMENTATION_WESTMERE
+#include <westmere.cpp>
+#endif
+#if SIMDJSON_IMPLEMENTATION_LSX
+#error #include <lsx.cpp>
+#endif
+#if SIMDJSON_IMPLEMENTATION_LASX
+#error #include <lasx.cpp>
+#endif
+#if SIMDJSON_IMPLEMENTATION_FALLBACK
+#include <fallback.cpp>
+#endif
+#undef SIMDJSON_CONDITIONAL_INCLUDE
+
+SIMDJSON_POP_DISABLE_UNUSED_WARNINGS
+