From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wes1-so1.wedos.net (wes1-so1.wedos.net [46.28.106.15]) by dpdk.org (Postfix) with ESMTP id 8DD03235 for ; Fri, 7 Jul 2017 17:56:52 +0200 (CEST) Received: from pcviktorin.fit.vutbr.cz (dhcpz196.fit.vutbr.cz [147.229.14.196]) by wes1-so1.wedos.net (Postfix) with ESMTPSA id 3x3zkW5BQjz3GW; Fri, 7 Jul 2017 17:56:51 +0200 (CEST) Date: Fri, 7 Jul 2017 17:51:51 +0200 From: Jan Viktorin To: Thomas Monjalon Cc: Jianbo Liu , dev@dpdk.org Message-ID: <20170707175151.2b1ac552.viktorin@rehivetech.com> In-Reply-To: <8641088.RBqXrsVZZf@xps> References: <8641088.RBqXrsVZZf@xps> Organization: RehiveTech MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] compilation error in l3fwd for ARMv7 NEON X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jul 2017 15:56:52 -0000 On Fri, 07 Jul 2017 17:24:38 +0200 Thomas Monjalon wrote: > Hi Jianbo, >=20 > 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 =E2=80=98vaddvq_u16=E2=80=99 >=20 > I am using gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf. >=20 > 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 --=20 Jan Viktorin E-mail: Viktorin@RehiveTech.com System Architect Web: www.RehiveTech.com RehiveTech Brno, Czech Republic