Basically, haswell processor should be able to count on lzcnt. (#458)
This commit is contained in:
parent
adaef43bc6
commit
3488c49d0a
|
@ -48,7 +48,7 @@
|
|||
#endif
|
||||
|
||||
// under GCC and CLANG, we use these two macros
|
||||
#define TARGET_HASWELL TARGET_REGION("avx2,bmi,pclmul")
|
||||
#define TARGET_HASWELL TARGET_REGION("avx2,bmi,pclmul,lzcnt")
|
||||
#define TARGET_WESTMERE TARGET_REGION("sse4.2,pclmul")
|
||||
#define TARGET_ARM64
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
#include "simdjson/common_defs.h"
|
||||
#include "simdjson/portability.h"
|
||||
#include "westmere/intrinsics.h"
|
||||
#include "arm64/intrinsics.h"
|
||||
#include "arm64/bitmanipulation.h"
|
||||
#include "simdjson/parsedjson.h"
|
||||
#include "jsoncharutils.h"
|
||||
#include <cmath>
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
#include "simdjson/common_defs.h"
|
||||
#include "simdjson/portability.h"
|
||||
#include "westmere/intrinsics.h"
|
||||
#include "haswell/intrinsics.h"
|
||||
#include "haswell/bitmanipulation.h"
|
||||
#include "simdjson/parsedjson.h"
|
||||
#include "jsoncharutils.h"
|
||||
#include <cmath>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "simdjson/common_defs.h"
|
||||
#include "simdjson/portability.h"
|
||||
#include "westmere/intrinsics.h"
|
||||
#include "westmere/bitmanipulation.h"
|
||||
#include "simdjson/parsedjson.h"
|
||||
#include "jsoncharutils.h"
|
||||
#include <cmath>
|
||||
|
|
Loading…
Reference in New Issue