From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0078.outbound.protection.outlook.com [104.47.38.78]) by dpdk.org (Postfix) with ESMTP id 1E90620F for ; Mon, 15 May 2017 06:01:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=xJYrlBSKXTUIrq0m4O1ID5HJxp03Sa5ZIsNZQr9vDxA=; b=JsNudxCxbIgNqr8F+nHYWwA1V+oDtNEQzVtpfpV48686lg4QhjYriM/M0JXOdacF9kvTHe0BI65e6n6Y6ZQIQ5h/mMVKd6hRFoPNM68Y/ds6pfGpdMl0ma/34Kg5c8/r4n4p1JG+Mb1GNmzMx3E6mR28a5IT5xwh3t7iCHNd2/U= Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (111.93.218.67) by BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Mon, 15 May 2017 04:01:26 +0000 Date: Mon, 15 May 2017 09:31:06 +0530 From: Jerin Jacob To: Jianbo Liu Cc: dev@dpdk.org, tomasz.kantecki@intel.com, ashwin.sekhar@caviumnetworks.com Message-ID: <20170515040105.GA22424@jerin> References: <1493709255-8887-1-git-send-email-jianbo.liu@linaro.org> <1494819296-23049-1-git-send-email-jianbo.liu@linaro.org> <1494819296-23049-6-git-send-email-jianbo.liu@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1494819296-23049-6-git-send-email-jianbo.liu@linaro.org> User-Agent: Mutt/1.8.2 (2017-04-18) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0082.INDPRD01.PROD.OUTLOOK.COM (10.174.144.150) To BN3PR0701MB1719.namprd07.prod.outlook.com (10.163.39.18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a438e1d3-b455-4102-cc92-08d49b47100f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 3:PnSpQBqoQNieZZLTRAJ7bYDYcs29A94PMWGaVIXzAIpnY9EZaR3lNu4q4urbmuoEeZnjUpG92K5wrlPyETBh7olQcpNhW8IsMnG/R8/zY60wqYhVTy7Q/5k0KZqbZqmGOixb0QSf2h+FfoGpxjQ9SzGQy/S5byMJkYC07XLMRyj50aAunLJn3Uuqy+wSfHp8ScZimbdnkjwCq9GGqSslT6GGoADWdOnn7+aCjTw3qBub8VGbLu0/TCu9oj/cBtdRH1rCSDR4hv25ZdLLLeqriSR/XFkXHKV65FwaoqPEk+0RQxN5NAUPQl2tmc2fxu0F8ONtjJXRVMqBrnRXQOyQUw==; 25:c88lW7Xu1mUzs2j/YymY5hRRkD3ZXdJZ8PyRPwHkLcfYuMesOUzFTikEC4vrCKJpAj36KlY2l9JfSWTUH1NGn73Rf064wJiygqhF0rXFZgt3UQQ6oiV+4D2GQGCRKUVCaycnwuLfOubB+KpAVMnIJU0PcF410d7/Wbx6gewD6WYGZMVryzSIbKj5UYjR1fXxLtsBsxFBlNhXvGy2MYtddwlp46UTqfx+hp8cco4doepcl75GYY92cExOGYOHYyAYaCwkfa/MD7pzeqAa352NRqCFTYKjwhqj68PThu7ZMWBZqdLCvK7qS8hsFpkKJdpZC8CHG3tH7YYoqcTWl1SXeia5rmXcz2t4zLT2bRIQX9Keh7lpyjO3/7XmsxzLXtC8ZI6o6DhC1G7DDTJfg33rNeH5FT818ziY8pgHbF1UbXw+WmU3ooVi+FtQv/9+keopftu3WS3PlPAiJRTwiWr3rqVdiTuhpotsNW7xyDNaChQ= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 31:C5FH9xsvFYmwxL6KV85jPcsQuCk2kuG97zzGlW6hCF7YEDDNiW0EUMVWZ/iUB9OXQvR1bmlGl0WBLIUesSvUQoJEFz+RPBYYDJ2hMMM5XBLgXDIp5NClD9lhcn6Z/LCXZn294yOygmbXYtL5atsj9Fsoe0tPKfjas8oL2vGRQ7KLcwm8zIXHl+Mtbr2OX50/tKeFZlnxMAKD30XN//OalUczU0xd0IsWhoyPZchN+fE=; 20:6ti4clytC8Mt/p+ZmQQJ1czYs5hYheKOA2GIZnaXBbbiK4SJwaj0Myzd42gMjhwPuMmmPGLRXNHhcu4pAn5IuuVhWNGayk70Fw3SGFEttqMHC+EF3NK9E11QD1THGHMY9wvRGfP4ms+Zbz901zF8U4xUEGXGoC16tyWh1UTtSGxuJPpB1/POTrURSNnPoScnoRfh31IAg8s24v77Sdyyn0nbEsl8BYTNEXK9rwqEypG0qzReZUnTigjfBSW8NVCJmmH/S040XkKGmMaZ/lVeJX6nZbChyWNQDAvNoRoIFqRA64h6XCJM7gUudkbBzTy9WA/RSmkeUTjQerDaweJuuexshboOWPTCIq/YJvEsXca4iMJsbIMNDYA6GZeGThm7nv9qkByRNimwdieRWHH6m1Qd6WZQQKJrUWoGH60T2qLhIfsyGq7L6RBNvN5eWqqU6FMmLqZvx/YE/iGxH29/id1UIU7zawDqGrVsVKEEp4eOvk9ws931y9aNODLkiiQGkLoHtPMtQXH4VFYbO/m1jl7wbYHVcB/troByi8mqwUJSC0m0ZRDXixWdKlGerS7bqlnTyPsw9I2cl+t7uGoCKvPZqCaZJkHewkZptYJpUWc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006095)(3002001)(6041248)(20161123564025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(6072148); SRVR:BN3PR0701MB1719; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1719; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 4:AppbpYr5/IwMSbYWvV3xLHzd09JfmYH2Bd6GokWCJSfps5V/sfFCXXY6wydvaWvrzA1Uuf4W9xMJoeOd9wBKBf43C2LhQhFa+AgN5gJzjkzLz3ICVyx3qTdfrMDpVMY4aM5g3UV9Y5kDaIDdcEYvGIB27xcjGGb8/dodwt4b6PknXkV15rc5O8FRiBEE5IoOhhhGe15J/YmyN0iO4gD43XREuxyDC3uw75Oj366p6QeK0JyqhxOiYStdLTsKKtUhE/91MZadq/OdjZL5q1MGK3jLM61g7GBl7V6Xb7lqEmpdcvSV62K5S5iFwPWQW7J4nmfcGe2KvGH/cnAgjzBWEy5n+DvC4Uk+A9imzoyYkUDlwBJ+8nxNDQprMMcVlY8Hr/2Wdm2O8/4hpjhLDHJ/DllgutHKmJ6MulP8+vkK3vg3R1jNxyeIQgsGnTCWjMjqvjNGq9Xk4e6TeMWVON+5vez2QOTjOUfU/502yrGCWnu7nVT7OHQwxW/26j4DlPxgEPv9W1XQqMJh8ADlFiLFULvLVduQZlvMWXzGrtKO8/sbzoNPk9KAESnGsN8EUwNWuRfwhiulT/V7dG9RF0P1leMvkKbewo6+9nLJUf9G03PtCV7Kio6aYfFQyg7Rm1Nvd4sHYLT/qdqVmxqj3xp3XdJY7ApzKh1vQpCyqGN+eSrt8lXF36JIsHciihUTWorgSM3qpd998wdzuJADodtig5P/QeUNexFYXMEKcpAuAWvrRjRJtyWzbSkFags3MwAkaaao2GO48sjRmtPgQ4S8SvLQYYZFkKvOxG2lhE9wvhRsdGyw4F9Vi4eLuUxi5erB X-Forefront-PRVS: 0308EE423E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39400400002)(39450400003)(39410400002)(39840400002)(13464003)(25786009)(305945005)(7736002)(6116002)(3846002)(4326008)(50466002)(72206003)(478600001)(8676002)(81166006)(50986999)(107886003)(110136004)(23726003)(229853002)(1076002)(38730400002)(6496005)(53936002)(2906002)(9686003)(33716001)(6246003)(55016002)(5660300001)(76176999)(6666003)(42882006)(6916009)(54356999)(2950100002)(66066001)(189998001)(33656002)(42186005)(18370500001)(15760500002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1719; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1719; 23:nnxNvDyIUO08UpssGRX+YUDrabv0y0t17YKGq72?= =?us-ascii?Q?bvfL3A80WzAonD3cASTUTB6o6n+EXU2e8Mg8DA2k9cAf4lMhemPK4VkoopNu?= =?us-ascii?Q?/BA3DAsArKYpH+vIsn1hy+kwm6OD9ogqe2i6btkqh6xZxUsjZXExz7YUOEcv?= =?us-ascii?Q?YF88zKgbpoh8otdTxLAvbSfcCHO072P1VPH46f5s3Ae9cWDWhjRVqxL6lUHN?= =?us-ascii?Q?msnj54QS/D1OBct1nOddgygKphFK7b3LdzaiUg9kC6GgYrJfeULp0+hR4Qak?= =?us-ascii?Q?xPcQUw+Rbw/DV8rSlwuxXEhYXkezgunQ2in9k5crOnsBjrBYAPJDhdCjAqMV?= =?us-ascii?Q?V+e5/aPADKjWHA+asmYYbcX3GwbsAA7I2GKq15YmRN5ufBJUJO8/A4CtZSWk?= =?us-ascii?Q?aKapuHGH5qO6iX6PJuWe1Q/vYcsmKLdfPEJTnbdWgf8FTQzhbh9ccatvjR2e?= =?us-ascii?Q?10q/l1cuYsmTB3HAHLSayWVFRxLY1FPLjOOb1+3QxpwDPnDFqMq03gB3T5/0?= =?us-ascii?Q?BXyU/VIQwf1VbPPjfSXCf8H5VR1Dwuq/NxsydEEgIa8FKDNJnX8VFBe14/DD?= =?us-ascii?Q?gMseHvZB8oYs3XHHQ+OSx4XeY+pLNQD8TyNrcTr2T3mRyNUYlkMD0QycHogl?= =?us-ascii?Q?kIPGcgfwH3/Rp+q43wPchWWIkUOXs50ttcU59ywqxr9V+YMVUOBszhVujYrt?= =?us-ascii?Q?/np/MJkhfv7ALcgGxs0Cmng7o8zhJmA3wYhB41LkQbKSiIfsZzXg5fyD/DWu?= =?us-ascii?Q?aJ5g5MyK301flbhflcWzLCxdKhdVTYBT1ZkKw56RxFcltbk9Artl0TKAEN9l?= =?us-ascii?Q?Os+weG59hh6FiU6Y14CcojpVx5NcHNgI4+Do3ZjAPDwroI2EB7c4QJM1wmjL?= =?us-ascii?Q?rRIhb2Q8F7npC1pU2wu/QagbLy3bee1INx897YydyNggH/Adnej+kahLduX0?= =?us-ascii?Q?Yru1EPxKVuhGVXu+DlCSCzagxkNyTTa1sCUp2e0eqjcYPhP4V4MXo3Q0PMVn?= =?us-ascii?Q?w2y92/dmG9nFyHGn/gm1LMbCGsBVUu33R9X2c58xGNApV8456O6cdpInAlhA?= =?us-ascii?Q?OlXevArDw6Au5Gr048iGKZmiAM2w6PQlEgr/dbMxxpIqY/5pVu/fidrvfCg1?= =?us-ascii?Q?5vgzxyU9xTZTs+wnfAEPJ4+HFaXHp/dL3?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 6:iMDOcB90VCb5pGWqLjnTGMaFoV+PD0TltJIBxOsk8WLdoWVG1VmZODdrDad6pEiU5Vf0hDKs11HftODpTCXEZ4wccrHSfp9me8LcwXOAxyGCjKjTcwt57fDTqCOntyN08lCDRs2yGof6InWjEZjGKHP7DPJCPSbg/cI21x7y6dAJ3i4EtYt2G8TVOW/GWxOb7+3+LvnFKz1xUkd/gCZcc0a7BE3wtxhtvNEVttTnZdFEHaSCDieYxJrsdJ3qK2khMSk2WZlpokzwrMoqNC+e2KgZhfOREOObAQ8vkDfhO4vrMZ/JK6r5n19x4M968lXykamAPvcUQwDJxgactXkzeEoCyDqKH3B9eATDnHfeD2UKnkVyx0QEKJShez0jZvPjajJpno8ClcxZb4eKMRhLbRc6iROTORf6TbBoAita0iajzahyfpNaT+J8DxaoBAF6D/TTRSznQxvQisaQD2ud00Smp22B4DOFuEK4xBJYQ4OyrTIlYXCePqv7kbDBc09Zn9Zg8EjnqYMpwO5T/a+3kw==; 5:9tFY7o2Kv0YNupsfMB6JR0sfkwLTnfvnkeGqbmN6FQ8p8pQjRkWMH0WRC1f2pj6H/pfGAiQDA28O/iw2+XH5iEfFBTJG3IDeijosPz95BDcK1kE9HzsAhgSrOX3kf+tl7zqYLt02dq6TcT43ZlK4wQ==; 24:42YdPcFVfK0XEPWs4kJ6JNbJ3d+xm3bsqd4Lf9Zclvn4glATT9XyS7Fm2fNkkCQMKuzyzwe9BxV4gYgsIc9valG2tVGubil0GbEQVSLF5yU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1719; 7:D/vGyn6sNj2H0t2bxIEi5NBRwtUywowW9MjX09ZPZI1Vzp3TihrZoUheGhEe5ku4drLnzv1z/crKR98gPJiKth58p2SO/CUZBgKCK7BRQ3QdFQk+hb5LhHpKTBS1lUz+8wkEvqvG8AJUD76eXDUy5VFn334bLD0znjVZIM9Wl8ygXE1YtQJb76nzlVrlhcQAGbD7vnNt1dTfpz5arpL0H7pPgcSW/zgCwIvSamk4X8lmhSEIdNgj640wDfUwOfezcbMt+ZmUZMIaWZ3OE/vtOBCHUWD9JEKs38ak/sy19pUmoSE39jGUE3cMFTgkoRINgGWH+hKR2ScgzCmLEd9+Ww== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2017 04:01:26.0800 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1719 Subject: Re: [dpdk-dev] [PATCH v4 5/8] arch/arm: add vcopyq_laneq_u32 for old version of gcc 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: Mon, 15 May 2017 04:01:30 -0000 -----Original Message----- > Date: Mon, 15 May 2017 11:34:53 +0800 > From: Jianbo Liu > To: dev@dpdk.org, tomasz.kantecki@intel.com, > jerin.jacob@caviumnetworks.com, ashwin.sekhar@caviumnetworks.com > CC: Jianbo Liu > Subject: [PATCH v4 5/8] arch/arm: add vcopyq_laneq_u32 for old version of > gcc > X-Mailer: git-send-email 1.8.3.1 > > Implement vcopyq_laneq_u32 if gcc version is lower than 7. > > Signed-off-by: Jianbo Liu Acked-by: Jerin Jacob > --- > lib/librte_eal/common/include/arch/arm/rte_vect.h | 9 +++++++++ > 1 file changed, 9 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 4107c99..d9fb4d0 100644 > --- a/lib/librte_eal/common/include/arch/arm/rte_vect.h > +++ b/lib/librte_eal/common/include/arch/arm/rte_vect.h > @@ -78,6 +78,15 @@ > } > #endif > > +#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION < 70000) > +static inline uint32x4_t > +vcopyq_laneq_u32(uint32x4_t a, const int lane_a, > + uint32x4_t b, const int lane_b) > +{ > + return vsetq_lane_u32(vgetq_lane_u32(b, lane_b), a, lane_a); > +} > +#endif > + > #ifdef __cplusplus > } > #endif > -- > 1.8.3.1 >