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.
---
lib/librte_sched/rte_sched.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c
index 21ebf25..6f92aa6 100644
--- a/lib/librte_sched/rte_sched.c
+++ b/lib/librte_sched/rte_sched.c
@@ -55,8 +55,8 @@
#ifdef RTE_S
grinder_pipe_exists, with following:
error: inlining failed in call to always_inline _mm_testz_si128?:
target specific option mismatch
GCC 4.9 correctly identifies my target as not having SSE4, and with
provided patch builds the non-optimized version of grinder_pipe_exists.
Signed-off-by: Mike
3 matches
Mail list logo