mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Fix Intellisense errors opening .h files on VS2019 (#253)
This commit is contained in:
committed by
Daniel Lemire
parent
4c7e95aac3
commit
d9a0e2b8f4
+10
-10
@@ -2,32 +2,32 @@
|
||||
#include "simdjson/portability.h"
|
||||
|
||||
#ifdef IS_X86_64
|
||||
|
||||
#include "simdjson/stage1_find_marks_haswell.h"
|
||||
#include "simdjson/stage1_find_marks_westmere.h"
|
||||
|
||||
TARGET_HASWELL
|
||||
namespace simdjson {
|
||||
#define TARGETED_ARCHITECTURE Architecture::HASWELL
|
||||
#define TARGETED_REGION TARGET_HASWELL
|
||||
#include "simdjson/stage1_find_marks_common.h"
|
||||
#undef TARGETED_ARCHITECTURE
|
||||
} // namespace simdjson
|
||||
UNTARGET_REGION
|
||||
#undef TARGETED_REGION
|
||||
|
||||
TARGET_WESTMERE
|
||||
namespace simdjson {
|
||||
#define TARGETED_ARCHITECTURE Architecture::WESTMERE
|
||||
#define TARGETED_REGION TARGET_WESTMERE
|
||||
#include "simdjson/stage1_find_marks_common.h"
|
||||
#undef TARGETED_ARCHITECTURE
|
||||
} // namespace simdjson
|
||||
UNTARGET_REGION
|
||||
#undef TARGETED_REGION
|
||||
|
||||
#endif // IS_X86_64
|
||||
|
||||
#ifdef IS_ARM64
|
||||
|
||||
#include "simdjson/stage1_find_marks_arm64.h"
|
||||
namespace simdjson {
|
||||
|
||||
#define TARGETED_ARCHITECTURE Architecture::ARM64
|
||||
#define TARGETED_REGION TARGET_ARM64
|
||||
#include "simdjson/stage1_find_marks_common.h"
|
||||
#undef TARGETED_ARCHITECTURE
|
||||
} // namespace simdjson
|
||||
#undef TARGETED_REGION
|
||||
|
||||
#endif // IS_ARM64
|
||||
|
||||
@@ -1,27 +1,23 @@
|
||||
#include "simdjson/stage2_build_tape.h"
|
||||
|
||||
#ifdef IS_X86_64
|
||||
TARGET_HASWELL
|
||||
namespace simdjson {
|
||||
#define TARGETED_ARCHITECTURE Architecture::HASWELL
|
||||
#define TARGETED_REGION TARGET_HASWELL
|
||||
#include "simdjson/stage2_build_tape_common.h"
|
||||
#undef TARGETED_ARCHITECTURE
|
||||
} // namespace simdjson
|
||||
UNTARGET_REGION
|
||||
#undef TARGETED_REGION
|
||||
|
||||
TARGET_WESTMERE
|
||||
namespace simdjson {
|
||||
#define TARGETED_ARCHITECTURE Architecture::WESTMERE
|
||||
#define TARGETED_REGION TARGET_WESTMERE
|
||||
#include "simdjson/stage2_build_tape_common.h"
|
||||
#undef TARGETED_ARCHITECTURE
|
||||
} // namespace simdjson
|
||||
UNTARGET_REGION
|
||||
#undef TARGETED_REGION
|
||||
#endif // IS_X86_64
|
||||
|
||||
#ifdef IS_ARM64
|
||||
namespace simdjson {
|
||||
#define TARGETED_ARCHITECTURE Architecture::ARM64
|
||||
#define TARGETED_REGION TARGET_ARM64
|
||||
#include "simdjson/stage2_build_tape_common.h"
|
||||
#undef TARGETED_ARCHITECTURE
|
||||
} // namespace simdjson
|
||||
#endif
|
||||
#undef TARGETED_REGION
|
||||
#endif // IS_ARM64
|
||||
|
||||
Reference in New Issue
Block a user