[dpdk-dev] compilation error in l3fwd for ARMv7 NEON
Jan Viktorin
viktorin at rehivetech.com
Fri Jul 7 17:51:51 CEST 2017
On Fri, 07 Jul 2017 17:24:38 +0200
Thomas Monjalon <thomas at monjalon.net> wrote:
> Hi Jianbo,
>
> It seems your NEON acceleration of the example l3fwd
> is not compiling for ARMv7:
> examples/l3fwd/l3fwd_neon.h:113:6: error:
> implicit declaration of function ‘vaddvq_u16’
>
> I am using gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf.
>
> Is it something we can fix easily?
It seems that the vaddvq_u16 is for AArch64 only. It is not listed in:
https://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/ARM-NEON-Intrinsics.html
And e.g. here:
https://gcc.gnu.org/ml/gcc-patches/2014-09/msg00162.html
they ifdef it for __aarch64.
Regards
Jan
--
Jan Viktorin E-mail: Viktorin at RehiveTech.com
System Architect Web: www.RehiveTech.com
RehiveTech
Brno, Czech Republic
More information about the dev
mailing list