examples/l3fwd: report error when no vector engine available
authorJan Viktorin <viktorin@rehivetech.com>
Tue, 26 Apr 2016 11:30:59 +0000 (13:30 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 8 Jun 2016 20:38:52 +0000 (22:38 +0200)
If no SSE nor NEON are available the l3fwd should complain loudly
to quickly find out the reason.

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
examples/l3fwd/l3fwd_em.c

index fc59243..def5a02 100644 (file)
@@ -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