From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 0/4] arm: detect NEON by RTE_MACHINE_CPUFLAG_NEON flag only Date: Thu, 24 Mar 2016 17:47:51 +0100 Message-ID: <37407375.t09mPlLbzH@xps13> References: <1458379590-18618-1-git-send-email-viktorin@rehivetech.com> <1458417485-29436-1-git-send-email-viktorin@rehivetech.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, jerin.jacob@caviumnetworks.com, tomaszx.kulasek@intel.com, jianbo.liu@linaro.org, david.marchand@6wind.com To: Jan Viktorin Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 5C5BC2C08 for ; Thu, 24 Mar 2016 17:49:36 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id p65so74557228wmp.0 for ; Thu, 24 Mar 2016 09:49:36 -0700 (PDT) In-Reply-To: <1458417485-29436-1-git-send-email-viktorin@rehivetech.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-03-19 20:58, Jan Viktorin: > Hello, > > finally, I've broken the original patch into 4 pieces as it solves more issues > and not just a single one. > > * As Thomas have already mentioned, the CONFIG_RTE_ARCH_ARM_NEON is confusing. > So, I've decided to remove it entirely and provide another option for a more > specific purpose: CONFIG_RTE_ARCH_ARM_NEON_MEMCPY. > > * The RTE_MACHINE_CPUFLAG_NEON detection is now based on __ARM_NEON as only > this compiler definition gives us the arm_neon.h and is compatible with > arm64. In DPDK, the RTE_MACHINE_CPUFLAG_NEON should be prefered over the > __ARM_NEON. I'd recommend the same for x86 code (__SSE2__)... > > History: > v2 > * fix l3fwm_em.c to refer RTE_MACHINE_CPUFLAG_NEON instead of __ARM_NEON > > v3 > * divided into 4 patches as there are more independent problems > * compiles well for armv7 > * (probably) fixes RTE_MACHINE_CPUFLAG_NEON detection on arm64 Applied with discussed changes.