> -----Original Message----- > From: David Marchand <david.march...@redhat.com> > Sent: Thursday, January 14, 2021 11:40 PM > To: Ruifeng Wang <ruifeng.w...@arm.com>; Honnappa Nagarahalli > <honnappa.nagaraha...@arm.com> > Cc: dev <dev@dpdk.org>; Vladimir Medvedkin > <vladimir.medved...@intel.com>; Pavan Nikhilesh > <pbhagavat...@marvell.com>; jer...@marvell.com; > hemant.agra...@nxp.com; nd <n...@arm.com> > Subject: Re: [dpdk-dev] [PATCH v3 0/5] lpm lookup with sve support > > On Thu, Jan 14, 2021 at 4:18 PM David Marchand > <david.march...@redhat.com> wrote: > > > > Ruifeng, Honnappa, > > > > On Tue, Jan 12, 2021 at 3:57 AM Ruifeng Wang <ruifeng.w...@arm.com> > wrote: > > > > > > Added lpm4 lookupx4 implementation by using Arm SVE extension. > > > The SVE is Scalable Vector Extension which is exposed to the user > > > with a vector length agnostic interface. > > > Refer to [1] for more information about SVE. > > > > > > Configuration was added for Neoverse N2 CPU which has SVE support. > > > > > > Some bugs were fixed so compiling with sve enabled can pass. > > > > > > [1] > > > https://developer.arm.com/tools-and-software/server-and- > hpc/compile/ > > > arm-instruction-emulator/resources/tutorials/sve > > > > Can you point at a toolchain that supports SVE without having to > > register to some commercial spamming system? :-) The only > > aarch64-linux-gnu- toolchain I found on the ARM website is a 8.x gcc > > that does not seem to support SVE. > > I tested this using > https://developer.arm.com/-/media/Files/downloads/gnu-a/10.2- > 2020.11/binrel/gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu.tar.xz
Yes, gcc-10 has SVE support. Arm cross compilers available at: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads > But I had to modify the cross compile prefix in > config/arm/arm64_n2_linux_gcc (adding a none_). > I am still interested in a toolchain that works out of the box. I think on Ubuntu, it will work out of the box after installing package gcc-10-aarch64-linux-gnu. > > Series applied, thanks. Thank you. > > > -- > David Marchand