From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B8A1B20807; Tue, 18 Jul 2017 10:44:29 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 18 Jul 2017 10:44:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=Yxog0hg8mV9hLHV +eesRJngMhuGAchc8JWSDLpy2Avg=; b=k5+ulJ75gDXF7eI1GKu323/5dfGa+GZ GGN0A/NKsED1nqZT4/dsNrFrJXZryJIcawWqWSRt2M6PGo+yfdKDIRWKo9T88lJ2 c/AB7/7J+PqpAmt3AKAKsIWTbwOgA3fFpDvqWbtK1qN0FpEkzmb/nQv2P46qwuH0 Pb/kGn5YxCa8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=Yxog0hg8mV9hLHV+eesRJngMhuGAchc8JWSDLpy2Avg=; b=RXN7iLp1 lKaPB5xv/f+Z2Y3MFC+1mpIOE59h0Ubli8bSjElxwBvwKcVCeEtq0mwnSGPBXNGN UdgJ12C/q8Yhnvp+m/9g9kfHdfjphcPDLofp02B4j9Hc7ksAsXpclQncwD1aVTr0 sqGFWtxieRN7z9jVv3f/ExauyupGUlg+f8mUblbkFO7wU9pzokCDT8jLtBOYP3QQ S9VVh39QczZu6TzXoJIQjs1254B1fvr6tAORNDL+MywyKT2gSFKBUOXJy6837Ifr Bdfx7XiItYI6W0u8Lx2hB5waSetAWOxvzQL4kzVaq6MT+AUXtvxpHlpjjqtWA8wL c6YQfcQi0TjjsA== X-ME-Sender: X-Sasl-enc: ItRST0GeoCG4OtqobcBPbdbrL0oAtsGBn+Y54CPNK8V8 1500389069 Received: from xps.localnet (unknown [193.47.165.251]) by mail.messagingengine.com (Postfix) with ESMTPA id 53C502418A; Tue, 18 Jul 2017 10:44:29 -0400 (EDT) From: Thomas Monjalon To: Herbert Guan Cc: dev@dpdk.org, jianbo.liu@linaro.org, jerin.jacob@caviumnetworks.com, nelio.laranjeiro@6wind.com Date: Tue, 18 Jul 2017 17:44:26 +0300 Message-ID: <11032881.QA85Xq1nMD@xps> In-Reply-To: <1499912202-22117-1-git-send-email-herbert.guan@arm.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] eal/armv8: fix poly64/128 compile issue in old GCC(<4.9.0) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2017 14:44:30 -0000 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.