sched: 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
to check for its presence any more.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_sched/rte_sched.c

index 4ba476a..b7cba11 100644 (file)
@@ -56,7 +56,7 @@
 #ifdef RTE_SCHED_VECTOR
 #include <rte_vect.h>
 
-#if defined(__SSE4__)
+#ifdef RTE_ARCH_X86
 #define SCHED_VECTOR_SSE4
 #elif defined(RTE_MACHINE_CPUFLAG_NEON)
 #define SCHED_VECTOR_NEON