From f8ed6a2dc224de455b5712619e3fbb8a32eda6e0 Mon Sep 17 00:00:00 2001 From: Jan Viktorin Date: Tue, 26 Apr 2016 13:30:59 +0200 Subject: [PATCH] examples/l3fwd: report error when no vector engine available If no SSE nor NEON are available the l3fwd should complain loudly to quickly find out the reason. Signed-off-by: Jan Viktorin --- examples/l3fwd/l3fwd_em.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c index fc59243d82..def5a02428 100644 --- a/examples/l3fwd/l3fwd_em.c +++ b/examples/l3fwd/l3fwd_em.c @@ -259,6 +259,8 @@ em_mask_key(void *key, xmm_t mask) return vandq_s32(data, mask); } +#else +#error No vector engine (SSE, NEON) available, check your toolchain #endif static inline uint8_t -- 2.20.1