Remove TARGET_FALLBACK

This commit is contained in:
John Keiser 2020-03-17 14:11:21 -07:00
parent 7cf3a7511b
commit 5a071c1907
7 changed files with 0 additions and 15 deletions

View File

@ -70,7 +70,6 @@
#endif
// under GCC and CLANG, we use these two macros
#define TARGET_FALLBACK TARGET_REGION("")
#define TARGET_HASWELL TARGET_REGION("avx2,bmi,pclmul,lzcnt")
#define TARGET_WESTMERE TARGET_REGION("sse4.2,pclmul")
#define TARGET_ARM64

View File

@ -4,7 +4,6 @@
#include "simdjson.h"
#include <limits>
TARGET_FALLBACK
namespace simdjson::fallback {
#ifndef _MSC_VER
@ -60,6 +59,5 @@ really_inline bool mul_overflow(uint64_t value1, uint64_t value2, uint64_t *resu
}
} // namespace simdjson::fallback
UNTARGET_REGION
#endif // SIMDJSON_FALLBACK_BITMANIPULATION_H

View File

@ -4,7 +4,6 @@
#include "simdjson.h"
#include "isadetection.h"
TARGET_FALLBACK
namespace simdjson::fallback {
class implementation final : public simdjson::implementation {
@ -21,6 +20,5 @@ public:
};
} // namespace simdjson::fallback
UNTARGET_REGION
#endif // SIMDJSON_FALLBACK_IMPLEMENTATION_H

View File

@ -14,7 +14,6 @@ void found_unsigned_integer(uint64_t result, const uint8_t *buf);
void found_float(double result, const uint8_t *buf);
#endif
TARGET_FALLBACK
namespace simdjson::fallback {
static inline uint32_t parse_eight_digits_unrolled(const char *chars) {
uint32_t result = 0;
@ -29,6 +28,5 @@ static inline uint32_t parse_eight_digits_unrolled(const char *chars) {
#include "generic/numberparsing.h"
} // namespace simdjson::fallback
UNTARGET_REGION
#endif // SIMDJSON_FALLBACK_NUMBERPARSING_H

View File

@ -4,7 +4,6 @@
#include "simdjson.h"
#include "fallback/implementation.h"
TARGET_FALLBACK
namespace simdjson::fallback::stage1 {
class structural_scanner {
@ -141,9 +140,7 @@ private:
}; // structural_scanner
} // simdjson::fallback::stage1
UNTARGET_REGION
TARGET_FALLBACK
namespace simdjson::fallback {
WARN_UNUSED error_code implementation::stage1(const uint8_t *buf, size_t len, document::parser &parser, bool streaming) const noexcept {
@ -155,6 +152,5 @@ WARN_UNUSED error_code implementation::stage1(const uint8_t *buf, size_t len, do
}
} // namespace simdjson::fallback
UNTARGET_REGION
#endif // SIMDJSON_FALLBACK_STAGE1_FIND_MARKS_H

View File

@ -7,7 +7,6 @@
#include "fallback/stringparsing.h"
#include "fallback/numberparsing.h"
TARGET_FALLBACK
namespace simdjson::fallback {
#include "generic/atomparsing.h"
@ -15,6 +14,5 @@ namespace simdjson::fallback {
#include "generic/stage2_streaming_build_tape.h"
} // namespace simdjson
UNTARGET_REGION
#endif // SIMDJSON_FALLBACK_STAGE2_BUILD_TAPE_H

View File

@ -4,7 +4,6 @@
#include "simdjson.h"
#include "jsoncharutils.h"
TARGET_FALLBACK
namespace simdjson::fallback {
// Holds backslashes and quotes locations.
@ -30,6 +29,5 @@ really_inline backslash_and_quote backslash_and_quote::copy_and_find(const uint8
#include "generic/stringparsing.h"
} // namespace simdjson::fallback
UNTARGET_REGION
#endif // SIMDJSON_FALLBACK_STRINGPARSING_H