Skip to content

Commit c67add5

Browse files
committed
By default, it seems that optimized kernels are disabled.
1 parent cbacec0 commit c67add5

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

include/simdjson/arm64.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
#endif
77

88
#include "simdjson/portability.h"
9-
9+
// Default Haswell to on if this is x86-64. Even if we're not compiled for it, it could be selected
10+
// at runtime.
11+
#ifndef SIMDJSON_IMPLEMENTATION_ARM64
12+
#define SIMDJSON_IMPLEMENTATION_ARM64 (SIMDJSON_IS_ARM64)
13+
#endif
1014
#include "simdjson/internal/isadetection.h"
1115
#include "simdjson/internal/jsoncharutils_tables.h"
1216
#include "simdjson/internal/numberparsing_tables.h"

include/simdjson/ppc64.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
#include "simdjson/portability.h"
99

10+
#ifndef SIMDJSON_IMPLEMENTATION_PPC64
11+
#define SIMDJSON_IMPLEMENTATION_PPC64 (SIMDJSON_IS_PPC64)
12+
#endif
13+
1014
#include "simdjson/internal/isadetection.h"
1115
#include "simdjson/internal/jsoncharutils_tables.h"
1216
#include "simdjson/internal/numberparsing_tables.h"

0 commit comments

Comments
 (0)