From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb0-f178.google.com (mail-yb0-f178.google.com [209.85.213.178]) by dpdk.org (Postfix) with ESMTP id 2ACBC5689 for ; Wed, 12 Jul 2017 17:36:58 +0200 (CEST) Received: by mail-yb0-f178.google.com with SMTP id n205so5946062yba.1 for ; Wed, 12 Jul 2017 08:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Dl+ntqKMjYFm0EWN30igdRg0ItX0Jde/Jc5H6bcIJP0=; b=Q8QBVv2B0sYsiIePZ9n7X4ABUNAMD89cCdAbG3kXRPlyZz6/qpYfNmhMfeoeyZ/NP7 ueBEA6NXhwDoTGnyoZ0o6+IMmP+uaKVPokSCK9scIyBbUMIYnvCgMip/Z73bkClLcM9k 3rsDQjJGWafjyyrhyTzVb4EEWZcPyZCRvHTes= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Dl+ntqKMjYFm0EWN30igdRg0ItX0Jde/Jc5H6bcIJP0=; b=WW5GPvD5kow8lP3tEPwnV3SKyXfAglDGza4CGdiw/LJcg5SNfCg800Dz8n6wCrHfRN gegu3y0eeUZ2dvNpLZnk0GLwmN+Jcyzowa8UwdDsUI62JZLP7M9S8W8ahcxZAmIb8yVe lVwx6qJB9wKAYc7+7101r2Qip8RM8lyklTPtVByIrVmTCLRibubOKMog1rNVJFT7gI8U JzXkNg1dmGUjeTjFWNbxJBQUkRPT5yuccJ7IswWMuN+Z5VSsudU+ADwu5kPiCNAVq/KC SMcaUXO1EtpHLjJR0mSDJ5mCoB7vjWYYPW3A1WsXBzsvDYGLh2/1CBBbBXbaej0VcLxg qaTQ== X-Gm-Message-State: AIVw112eMj6qJu3g3Fa3wUYmDPL/zvriLCiIdgoFusI/C+0sbACsNmDf ++TLBDio+b0hn/5YrFqWakEF03W7wvQun68= X-Received: by 10.37.45.7 with SMTP id t7mr1348042ybt.178.1499873817399; Wed, 12 Jul 2017 08:36:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.171.73 with HTTP; Wed, 12 Jul 2017 08:36:57 -0700 (PDT) In-Reply-To: <1499856619-21007-1-git-send-email-herbert.guan@arm.com> References: <1499856619-21007-1-git-send-email-herbert.guan@arm.com> From: Jianbo Liu Date: Wed, 12 Jul 2017 23:36:57 +0800 Message-ID: To: Herbert Guan Cc: dev@dpdk.org, Jerin Jacob Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] ARMv8: Use built-in data types for unsupported poly64/128 types for GCC version lower than 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: Wed, 12 Jul 2017 15:36:58 -0000 On 12 July 2017 at 18:50, Herbert Guan wrote: > Fixes: 3c4b4024c2 (arch/arm: add vcopyq_laneq_u32 for old gcc) > > Signed-off-by: Herbert Guan > --- > lib/librte_eal/common/include/arch/arm/rte_vect.h | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/lib/librte_eal/common/include/arch/arm/rte_vect.h b/lib/librte_eal/common/include/arch/arm/rte_vect.h > index 7fec25e..782350d 100644 > --- a/lib/librte_eal/common/include/arch/arm/rte_vect.h > +++ b/lib/librte_eal/common/include/arch/arm/rte_vect.h > @@ -101,6 +101,13 @@ > > #if defined(RTE_ARCH_ARM64) > #if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION < 70000) > + > +#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 > + > /* NEON intrinsic vreinterpretq_u64_p128() is supported since GCC version 7 */ > static inline uint64x2_t > vreinterpretq_u64_p128(poly128_t x) > -- > 1.8.3.1 > Acked-by: Jianbo Liu