Use xxhash in map code when SSE4.2 not available 79/479/2
authorDamjan Marion <damarion@cisco.com>
Fri, 4 Mar 2016 12:39:38 +0000 (13:39 +0100)
committerGerrit Code Review <gerrit@fd.io>
Fri, 4 Mar 2016 13:47:01 +0000 (13:47 +0000)
Change-Id: If4fb86cfeeaf35f3ae89946b437ce5160adbce94
Signed-off-by: Damjan Marion <damarion@cisco.com>
vnet/vnet/map/map.c

index b55c4c2..deeab4d 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "map.h"
 
-#if defined(__powerpc64__) || defined(__aarch64__)
+#ifndef __SSE4_2__
 #include <vppinfra/xxhash.h>
 
 static inline u32