Basically, haswell processor should be able to count on lzcnt. (#458)

This commit is contained in:
Daniel Lemire 2020-01-22 16:52:55 -05:00 committed by GitHub
parent adaef43bc6
commit 3488c49d0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -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>