mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Use direct call to templated flatten_bits instead of if (#262)
* Use direct call to templated flatten_bits instead of if * Put really_inline back on find_structural_bits_64
This commit is contained in:
committed by
Daniel Lemire
parent
1e26859bb7
commit
f3c3afd4cd
@@ -3,17 +3,18 @@
|
||||
|
||||
#ifdef IS_X86_64
|
||||
|
||||
#include "simdjson/stage1_find_marks_haswell.h"
|
||||
#include "simdjson/stage1_find_marks_westmere.h"
|
||||
|
||||
#define TARGETED_ARCHITECTURE Architecture::HASWELL
|
||||
#define TARGETED_REGION TARGET_HASWELL
|
||||
#include "simdjson/stage1_find_marks_flatten_haswell.h"
|
||||
#include "simdjson/stage1_find_marks_haswell.h"
|
||||
#include "simdjson/stage1_find_marks_common.h"
|
||||
#undef TARGETED_ARCHITECTURE
|
||||
#undef TARGETED_REGION
|
||||
|
||||
#define TARGETED_ARCHITECTURE Architecture::WESTMERE
|
||||
#define TARGETED_REGION TARGET_WESTMERE
|
||||
#include "simdjson/stage1_find_marks_flatten_common.h"
|
||||
#include "simdjson/stage1_find_marks_westmere.h"
|
||||
#include "simdjson/stage1_find_marks_common.h"
|
||||
#undef TARGETED_ARCHITECTURE
|
||||
#undef TARGETED_REGION
|
||||
@@ -22,10 +23,10 @@
|
||||
|
||||
#ifdef IS_ARM64
|
||||
|
||||
#include "simdjson/stage1_find_marks_arm64.h"
|
||||
|
||||
#define TARGETED_ARCHITECTURE Architecture::ARM64
|
||||
#define TARGETED_REGION TARGET_ARM64
|
||||
#include "simdjson/stage1_find_marks_flatten_common.h"
|
||||
#include "simdjson/stage1_find_marks_arm64.h"
|
||||
#include "simdjson/stage1_find_marks_common.h"
|
||||
#undef TARGETED_ARCHITECTURE
|
||||
#undef TARGETED_REGION
|
||||
|
||||
Reference in New Issue
Block a user