fix build on Atom without SSE4 support
PATCH 1/1 fix build on Atom without SSE4 support
I'm buiding dpdk on an N2600 Cedarview Atom, using gcc 4.9.2 on Fedora 21. At least one instruction in the optimized version of rte_sched::grinder_pipe_exists (_mm_testz_si128) requires SSE4.
Mike Sowka (1):
sched: fix build on Atom without SSE4 support
lib/librte_sched/rte_sched.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.1.0
PATCH 1/1 sched: fix build on Atom without SSE4 support
--- lib/librte_sched/rte_sched.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
lib/librte_sched/rte_sched.c +3 -3
@@ -55,8 +55,8 @@#ifdef RTE_SCHED_VECTOR #include <rte_vect.h> -#if defined(__SSE2__) -#define SCHED_VECTOR_SSE2 +#if defined(__SSE4__) +#define SCHED_VECTOR_SSE4 #endif #endif
@@ -1672,7 +1672,7 @@ grinder_schedule(struct rte_sched_port *port, uint32_t pos)return 1 ; } -#ifdef SCHED_VECTOR_SSE2 +#ifdef SCHED_VECTOR_SSE4 static inline int grinder_pipe_exists (struct rte_sched_port *port,uint32_t base_pipe)
Signature · 1 line
2.1.0
Re: [PATCH] sched: fix build on Atom without SSE4 support
2015-12-05 00:00, Mike Sowka:
Quoted 2 lines
--- lib/librte_sched/rte_sched.c | 6 +++---
Please provide some explanations and Signed-off.
No cover letter is needed for one patch.
Guide of patch submission here:
http://dpdk.org/dev#send
Thanks