[dpdk-dev] [PATCH] eal/armv7: emulate vaddvq u16 variant

Thomas Monjalon thomas at monjalon.net
Mon Jul 10 09:32:27 CEST 2017


10/07/2017 09:28, Thomas Monjalon:
> 10/07/2017 05:51, Jianbo Liu:
> > On 9 July 2017 at 01:08, Thomas Monjalon <thomas at monjalon.net> wrote:
> > > 07/07/2017 18:26, Jerin Jacob:
> > >> vaddvq_u16() is not available for armv7.
> > >> Emulate the vaddvq_u16() using armv7 NEON intrinsics.
> > >
> > > After implementing this function, another missing function appears:
> > >
> > >         lib/librte_sched/rte_sched.c:1747:7: error:
> > >         implicit declaration of function ‘vminvq_u32’
> > 
> > But sched_vector is disabled in defconfig_arm-armv7a-linuxapp-gcc:
> >     CONFIG_RTE_SCHED_VECTOR=n
> 
> Yes, I really need to fix test-build.sh which is enabling SCHED_VECTOR.
> 
> So with this patch, the error remains:
> examples/l3fwd/l3fwd_neon.h:113:6: error:
> implicit declaration of function ‘vaddvq_u16’
>   v = vaddvq_u16(dp1);
>       ^~~~~~~~~~
> 
> We need to include rte_vect.h.

Forget it, I mixed up my branches :/

So the patch is OK, compilation is fixed.



More information about the dev mailing list