Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Do not include x86intrin.h if unavailable
[vpp.git]
/
src
/
vppinfra
/
cuckoo_8_8.h
diff --git
a/src/vppinfra/cuckoo_8_8.h
b/src/vppinfra/cuckoo_8_8.h
index
127e4e5
..
608cb0e
100644
(file)
--- a/
src/vppinfra/cuckoo_8_8.h
+++ b/
src/vppinfra/cuckoo_8_8.h
@@
-39,7
+39,9
@@
#define CLIB_CUCKOO_OPTIMIZE_UNROLL 1
#define CLIB_CUCKOO_OPTIMIZE_USE_COUNT_LIMITS_SEARCH 1
#define CLIB_CUCKOO_OPTIMIZE_UNROLL 1
#define CLIB_CUCKOO_OPTIMIZE_USE_COUNT_LIMITS_SEARCH 1
+#if __SSE4_2__ && !defined (__i386__)
#include <x86intrin.h>
#include <x86intrin.h>
+#endif
/** 8 octet key, 8 octet key value pair */
typedef struct
/** 8 octet key, 8 octet key value pair */
typedef struct