mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Make it compile
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
SIMDJSON_TARGET_REGION("sse4.2,pclmul,popcnt")
|
||||
#endif
|
||||
|
||||
#include "simdjson/westmere/bitmask.h"
|
||||
#include "simdjson/westmere/bitmask.h"
|
||||
#include "simdjson/westmere/numberparsing_defs.h"
|
||||
#include "simdjson/westmere/simd.h"
|
||||
|
||||
@@ -10,6 +10,11 @@ namespace simdjson {
|
||||
namespace westmere {
|
||||
namespace bitmask {
|
||||
|
||||
simdjson_constinit uint64_t ALL = 0xFFFFFFFFFFFFFFFF;
|
||||
simdjson_constinit uint64_t NONE = 0xFFFFFFFFFFFFFFFF;
|
||||
simdjson_constinit uint64_t EVEN = 0x5555555555555555;
|
||||
simdjson_constinit uint64_t ODD = 0xAAAAAAAAAAAAAAAA;
|
||||
|
||||
// We sometimes call trailing_zero on inputs that are zero,
|
||||
// but the algorithms do not end up using the returned value.
|
||||
// Sadly, sanitizers are not smart enough to figure it out.
|
||||
|
||||
Reference in New Issue
Block a user