From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] eal/armv8: fix poly64/128 compile issue in old GCC(<4.9.0) Date: Tue, 18 Jul 2017 17:44:26 +0300 Message-ID: <11032881.QA85Xq1nMD@xps> References: <1499856619-21007-1-git-send-email-herbert.guan@arm.com> <1499912202-22117-1-git-send-email-herbert.guan@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, jianbo.liu@linaro.org, jerin.jacob@caviumnetworks.com, nelio.laranjeiro@6wind.com To: Herbert Guan Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 1767C532C for ; Tue, 18 Jul 2017 16:44:30 +0200 (CEST) In-Reply-To: <1499912202-22117-1-git-send-email-herbert.guan@arm.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 13/07/2017 05:16, Herbert Guan: > --- a/lib/librte_eal/common/include/arch/arm/rte_vect.h > +++ b/lib/librte_eal/common/include/arch/arm/rte_vect.h > +#if (GCC_VERSION < 40900) > +typedef uint64_t poly64_t; > +typedef uint64x2_t poly64x2_t; > +typedef uint8_t poly128_t __attribute__((vector_size(16), aligned(16))); > +#endif I think a better fix would be to switch to DPDK types like rte_v128u8_t.