From: Jan Viktorin <viktorin@rehivetech.com>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: Jianbo Liu <jianbo.liu@linaro.org>, dev@dpdk.org
Subject: Re: [dpdk-dev] compilation error in l3fwd for ARMv7 NEON
Date: Fri, 7 Jul 2017 17:51:51 +0200 [thread overview]
Message-ID: <20170707175151.2b1ac552.viktorin@rehivetech.com> (raw)
In-Reply-To: <8641088.RBqXrsVZZf@xps>
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
prev parent reply other threads:[~2017-07-07 15:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-07 15:24 Thomas Monjalon
2017-07-07 15:51 ` Jan Viktorin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170707175151.2b1ac552.viktorin@rehivetech.com \
--to=viktorin@rehivetech.com \
--cc=dev@dpdk.org \
--cc=jianbo.liu@linaro.org \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).