DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] compilation error in l3fwd for ARMv7 NEON
@ 2017-07-07 15:24 Thomas Monjalon
  2017-07-07 15:51 ` Jan Viktorin
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Monjalon @ 2017-07-07 15:24 UTC (permalink / raw)
  To: Jianbo Liu; +Cc: Jan Viktorin, dev

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] compilation error in l3fwd for ARMv7 NEON
  2017-07-07 15:24 [dpdk-dev] compilation error in l3fwd for ARMv7 NEON Thomas Monjalon
@ 2017-07-07 15:51 ` Jan Viktorin
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Viktorin @ 2017-07-07 15:51 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: Jianbo Liu, dev

On Fri, 07 Jul 2017 17:24:38 +0200
Thomas Monjalon <thomas@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@RehiveTech.com
   System Architect              Web:    www.RehiveTech.com
   RehiveTech
   Brno, Czech Republic

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-07 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-07 15:24 [dpdk-dev] compilation error in l3fwd for ARMv7 NEON Thomas Monjalon
2017-07-07 15:51 ` Jan Viktorin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).