[dpdk-dev] [PATCH v2 15/16] lpm/arm: implement rte_lpm_lookupx4 using rte_lpm_lookup_bulk on for-x86

2015-10-27 Thread Jan Viktorin
s Monjalon; Hunt, David; dev at dpdk.org > > Cc: Vlastimil Kosar > > Subject: [dpdk-dev] [PATCH v2 15/16] lpm/arm: implement rte_lpm_lookupx4 > > using rte_lpm_lookup_bulk on for-x86 > > > > From: Vlastimil Kosar > > > > LPM function rte_lpm_lookupx4() us

[dpdk-dev] [PATCH v2 15/16] lpm/arm: implement rte_lpm_lookupx4 using rte_lpm_lookup_bulk on for-x86

2015-10-27 Thread Ananyev, Konstantin
Hi Jan, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jan Viktorin > Sent: Monday, October 26, 2015 4:38 PM > To: Thomas Monjalon; Hunt, David; dev at dpdk.org > Cc: Vlastimil Kosar > Subject: [dpdk-dev] [PATCH v2 15/16] lpm/arm: implemen

[dpdk-dev] [PATCH v2 15/16] lpm/arm: implement rte_lpm_lookupx4 using rte_lpm_lookup_bulk on for-x86

2015-10-26 Thread Jan Viktorin
From: Vlastimil Kosar LPM function rte_lpm_lookupx4() uses i686/x86_64 SIMD intrinsics. Therefore, the function is reimplemented using non-vector operations for non-x86 architectures. In the future, each architecture should have vectorized code. This patch includes rudimentary emulation of intrin