From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0051.outbound.protection.outlook.com [104.47.0.51]) by dpdk.org (Postfix) with ESMTP id 3D2A82935 for ; Thu, 13 Jul 2017 05:13:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=RO0BxOGTupnEQ7hoZY4xt2wtG8Ifp16LG1TkKE5Tzno=; b=qENvm5z+9tXaoaIyXaHiti9qHXD0+r3Nfe5OA1fMvXNyYF00FZuH4Xl3Jn+oOLR7oHfNB0KXHE8ebG67+v6ksJ3/HMgVPE+i7cCPN+OTWtfKs9vhG298MR3N0aK718m97yj7YWiRj/XLBZYTBmwoFsJRu20rn/js5OwnZh+mBUk= Received: from HE1PR08MB2809.eurprd08.prod.outlook.com (10.170.246.148) by HE1PR08MB2809.eurprd08.prod.outlook.com (10.170.246.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Thu, 13 Jul 2017 03:13:40 +0000 Received: from HE1PR08MB2809.eurprd08.prod.outlook.com ([fe80::7c9e:1746:de24:6484]) by HE1PR08MB2809.eurprd08.prod.outlook.com ([fe80::7c9e:1746:de24:6484%13]) with mapi id 15.01.1240.020; Thu, 13 Jul 2017 03:13:40 +0000 From: Herbert Guan To: Jerin Jacob CC: "dev@dpdk.org" , "jianbo.liu@linaro.org" Thread-Topic: [PATCH] ARMv8: Use built-in data types for unsupported poly64/128 types for GCC version lower than 4.9.0. Thread-Index: AQHS+vyytImBmhd6aECwZsQ+ULLu+aJQd0OAgACd+pA= Date: Thu, 13 Jul 2017 03:13:40 +0000 Message-ID: References: <1499856619-21007-1-git-send-email-herbert.guan@arm.com> <20170712174514.GA13824@jerin> In-Reply-To: <20170712174514.GA13824@jerin> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: caviumnetworks.com; dkim=none (message not signed) header.d=none; caviumnetworks.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR08MB2809; 7:jrzhf88dCwaeU75+MS8cehXPHmt2oy/bgN1z18P1VKKtkqTeWYuNnMnojYBn5098khjFV8GaZtrZ8phD2uYqnBniQkhiR7fXVdmKhNpOGyCAVXbIkJARV9lq2rbxwBUi7i99xbbwXQ9lsZLSn/kyhEpHR5+jV7R5mF3wYMyhHP5nquY2JYmCxy7hhLQLm9kiVmvOcbGRoua+64XJTGA7nW9n5hGqlE/uxSusCFPo9xsFoC8YnZM+6wN/BtZGqcIfYcj6klUMcmII4IGpp0MIEysJ/34FvKP21oZ9GAQDq2DKHjnz8FFp1ruTfA4b/6zXp8tcWX1hb5thRGXSOrX+05G29ssgbwJ9gwq1fo8bl1NeX6fVk4M+iWC96s4YFBTJloTeB9i5veUWWk8DE5zPdjLKX0IbAzLUnPxT9Tj0/Rwy+jU+LOUX1tgFdwph+h0cEwjOlW8d9Bizkrd4BoP1dVz0LpNo87lg3jFDd9MriduYtGu8stCbm1BHgDWLYAERDGe3uYzEqqd3yXg4Rr8ardBbbblZ8oHoXBIziPIn8qsTtYKRoFRu9CNhptjRJ54BD4z0B/ppN0hlH5Gw11cry6M/7tIkH7nA85/UyHO5B+OyZbidNNUHQxgJtguW5wC5SlQDNp5Vtfjrq5rtqxMCQHqjN35c8fkbyl5CgGj/l+4Nf4jZC96nX2BZekYKsJ49+trcPjF9caEwGQdwicgrtVOXl0D31CYzME0TMBVEqtCOPN1aIznFTfUbS9s6LBoeQ0r6lOoRzwKY9+SICjUr6T/qYiweJI+10iR4lC9OrEA= x-ms-office365-filtering-correlation-id: 182ec950-7643-4e10-2542-08d4c99d2932 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HE1PR08MB2809; x-ms-traffictypediagnostic: HE1PR08MB2809: x-exchange-antispam-report-test: UriScan:(180628864354917)(236129657087228)(209349559609743); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123562025)(20161123564025)(20161123558100)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR08MB2809; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR08MB2809; x-forefront-prvs: 0367A50BB1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39840400002)(39400400002)(39850400002)(39860400002)(39410400002)(13464003)(40434004)(74316002)(2906002)(2900100001)(81166006)(8676002)(14454004)(305945005)(8936002)(229853002)(50986999)(72206003)(9686003)(2950100002)(6246003)(76176999)(478600001)(7736002)(4326008)(38730400002)(110136004)(54356999)(6916009)(5660300001)(7696004)(6506006)(33656002)(25786009)(3660700001)(99286003)(3846002)(102836003)(5250100002)(53546010)(6436002)(66066001)(5890100001)(86362001)(189998001)(6116002)(54906002)(3280700002)(53936002)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR08MB2809; H:HE1PR08MB2809.eurprd08.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2017 03:13:40.1939 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR08MB2809 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: Thu, 13 Jul 2017 03:13:42 -0000 Thank, Jerin. I've fixed the git-log warnings and raised a v2 patch just n= ow. Best Regards, Herbert -----Original Message----- From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] Sent: Thursday, July 13, 2017 1:45 To: Herbert Guan Cc: dev@dpdk.org; jianbo.liu@linaro.org Subject: Re: [PATCH] ARMv8: Use built-in data types for unsupported poly64/= 128 types for GCC version lower than 4.9.0. -----Original Message----- > Date: Wed, 12 Jul 2017 18:50:19 +0800 > From: Herbert Guan > To: dev@dpdk.org, jerin.jacob@caviumnetworks.com, > jianbo.liu@linaro.org > CC: Herbert Guan > Subject: [PATCH] ARMv8: Use built-in data types for unsupported > poly64/128 types for GCC version lower than 4.9.0. > X-Mailer: git-send-email 1.8.3.1 > > Fixes: 3c4b4024c2 (arch/arm: add vcopyq_laneq_u32 for old gcc) Fix the check-git-log.sh warning. You could start the commit with eal/armv8: With check-git-log.sh fix: Acked-by: Jerin Jacob [master][dpdk.org] $ ./devtools/check-git-log.sh Wrong headline format: ARMv8: Use built-in data types for unsupported poly64/128 types for GCC ver= sion lower than 4.9.0. Wrong headline uppercase: ARMv8: Use built-in data types for unsupported poly64/128 types for GCC ver= sion lower than 4.9.0. Headline too long: ARMv8: Use built-in data types for unsupported poly64/128 types for GCC ver= sion lower than 4.9.0. > > 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/libr= te_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 versio= n 7 */ > static inline uint64x2_t > vreinterpretq_u64_p128(poly128_t x) > -- > 1.8.3.1 > IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.