table: remove check for SSE4
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 20 Jun 2017 15:23:03 +0000 (16:23 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 Jul 2017 12:39:18 +0000 (14:39 +0200)
Since SSE4 is now part of the minimum requirements for DPDK, we don't need
the scalar version on x86.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_table/rte_lru_x86.h

index 041b538..314e0d6 100644 (file)
@@ -47,11 +47,7 @@ extern "C" {
 #endif
 
 #ifndef RTE_TABLE_HASH_LRU_STRATEGY
-#ifdef __SSE4_2__
 #define RTE_TABLE_HASH_LRU_STRATEGY                        2
-#else /* if no SSE, use simple scalar version */
-#define RTE_TABLE_HASH_LRU_STRATEGY                        1
-#endif
 #endif
 
 #if RTE_TABLE_HASH_LRU_STRATEGY == 2