From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0055.outbound.protection.outlook.com [104.47.36.55]) by dpdk.org (Postfix) with ESMTP id CA53B4C9F for ; Wed, 29 Aug 2018 09:25:37 +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:X-MS-Exchange-SenderADCheck; bh=Z9c7+1H0gJ3ck1WBN9qHGk4GqDaio2d8bk9uBSYnZvE=; b=QAcG1sbBPnmVz2xJ7kAJsOlRHey+D1/gpg+4f8D85a2Zax8VmTvnbf1RL3mRKTM47dvX2iPPnXkUykSqiON/JKKLM4acho5l3jI5FS6xO5w5fTU9usy74XFDjw1w4fPkYsixug4MuWtfi2vOL0WEedSlvParxuxAfH60o7r7rkk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (223.226.45.236) by DM6PR07MB5003.namprd07.prod.outlook.com (2603:10b6:5:25::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.17; Wed, 29 Aug 2018 07:21:45 +0000 Date: Wed, 29 Aug 2018 12:51:32 +0530 From: Jerin Jacob To: Honnappa Nagarahalli Cc: bruce.richardson@intel.com, dev@dpdk.org, gavin.hu@arm.com, rasland@mellanox.com, therbert@redhat.com Message-ID: <20180829072131.GA6581@jerin> References: <1534950067-113999-1-git-send-email-honnappa.nagarahalli@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1534950067-113999-1-git-send-email-honnappa.nagarahalli@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [223.226.45.236] X-ClientProxiedBy: SG2PR01CA0116.apcprd01.prod.exchangelabs.com (2603:1096:4:40::20) To DM6PR07MB5003.namprd07.prod.outlook.com (2603:10b6:5:25::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 91e92d8c-afc8-4358-baed-08d60d801538 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:DM6PR07MB5003; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB5003; 3:szUZYhhkjOW+V336wkWnR0qCPWJo5THNdPsfwCJpyifxM4Ll0WGYufSFtHs5zxsKjglck0mIGzAfKcMI9zAd4Evbnj3Sa6SUx08cnAlXvLuUBjsyZtnwXzDoNCnmi3lZlBcR/dIAOLYqAc1ridrtGjXmSTjClLq7h3v1m12dxYi3rW2kEscEDr26d8nE4uIxNsY0LAtAPVOoW2N9RosT9/U88hG06e70Ll4tnfcjPDJEfGsGBCJNa1wEUYUeRmse; 25:nth/ho2mdSYyrloCFFq+sUujhv9Hbu+H8Jl2SYgoNY21aZkt0z42/E/lGQ8di1a8u35ZsFkAhHw8j88CeS5O1Ml1H8QISCBuuRqy5j/upTJzj+PmbLu0aP+LLBugf5r/Hd/+1biCji/wgUinSH1+ai0zVYbH6G5Y3aieZMkqAznAPZKp5a/i+THSWTfFku3+3cynwiOVlku/b4O2fRs9fvgD4pk9FbaoVVyQhJx5xNUx+8iwqANRcziSKGtQkSGoCfoexhD7pL/aPCgU6Ja8Cf7Y8FcDhGrUnbIzCRACTChXsEAuoZ+VGtWUxBCYA2kAJwecANYaMhbLY/3Z+QmlbA==; 31:qXkR0ETCEWzSCuvz9owh3809CaqUrbhUPU2f9lG+1eilm4subG1NI4z6b7XA4HS5nzDRu81TCAltckQAklBpbm49f1GUY8739r8eUcVDWAkK4E9nF0qMsjj0EY6gRC8RQLdDPFYqd6ahfWUKOrpG/dw3U5jUHn6hN+OFFZlxdtecAO/z817G6AakE6Y0aThHXy6+jpZqwmgMeyYpKntan4hSRYpJxowd6HlKgsb1pcI= X-MS-TrafficTypeDiagnostic: DM6PR07MB5003: X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB5003; 20:wlvqIejbnCNKaik7bahrBRxXl1ilpwWJanQlCsJmXB65MYq2OUg3sAEBXwNWa0pvFBLv/95EPHuNb5b71L2x18wSoPDm/cpmAinyucp8JeRHtUCi2AyiH7KYJRx/59yJjSvQsPWL5+hUQTP6bllimTlxkNAUebX9WmexFuI9l+VGwNFWVhYd9vkVReEfyhSBEnmwwzE2kYY0zNRDthlhUtC4C5XX15BZNMCs70oOnIkG2a/eePOLAdD2o73z7oXkVCZjFD7lFvFSAyB2Zi8D+/CH1ORo/+1u+S6tcaj4YNDPv0sggqra0ZgzfHVlwed8SfzmmKe0S6221DHkw9KpgJtQj367+t9crVJUMIEZQzT5ZziwlWxcfQhaVV8fzu82Oan0EHgft4HBGZJZVvtiFfTcHdEtWM7b5Hl8E3xWG3Kej4+3KLEozrNAH5ocOBKBogqUN9dejpIOirvt0T2IKmNzrbga0OjxdIvaWYpP+6mBiSMBFBOmLDOMDd6m3iTLJxL5Kc0qN0xXWluRzDbtQ6LfxNcGs2PNDYo63dA8rGmc0+1eZ7tBya88Kfml5K3yeLEOhfpSlYkcwUAam6rcWB8GXSrQO7yH64+nFDy6QkE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231311)(944501410)(52105095)(93006095)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016); SRVR:DM6PR07MB5003; BCL:0; PCL:0; RULEID:; SRVR:DM6PR07MB5003; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB5003; 4:iZ2CTZMCDhKdRhtPQHMGkivA8ekt0Yg8LGH6IV1pEIX6NKSrG6+BlWIBL23ZZClOjkMc0bLDwMUCjP1f9eN7C7d5H8nfENX3EfDx4NO2sehsmoFMrnWJ/U63kvBiCcD9G6gBAGBnJamPSeoApSoVGx64ISZ3m66qp1xca65DTJ8YMKKIn5899uAs/eu5/hphjUjqwPEmlvs2nyavrtLGMLWQr8OIrU2ocE6jLdTcST764jXeMIEBBfAW7MKsmneYb+lR/dTz0aqUfnwNJX9vxtmjIKJmI0e6miaDc23cpkrQ5Bs16khpPB99kon3wWSSnZUma4bQUpyJ5dAYa6XOCVypoP9Ck0Q8xzTZxqBgAr8= X-Forefront-PRVS: 077929D941 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(136003)(39860400002)(346002)(366004)(376002)(13464003)(199004)(189003)(8936002)(33716001)(446003)(2906002)(68736007)(316002)(58126008)(42882007)(1076002)(4326008)(186003)(23726003)(16526019)(3846002)(6116002)(105586002)(106356001)(386003)(33656002)(26005)(16586007)(52116002)(6496006)(33896004)(476003)(25786009)(76176011)(486006)(50466002)(956004)(97736004)(11346002)(81166006)(6666003)(7736002)(229853002)(47776003)(66066001)(14444005)(8676002)(81156014)(6246003)(9686003)(305945005)(5660300001)(44832011)(55016002)(6916009)(53936002)(478600001)(72206003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR07MB5003; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM6PR07MB5003; 23:cfK1bPIkPfSYr0nasXW2ehbYZqo62PfjDqxNF4A7W?= =?us-ascii?Q?Vgfml+r57wlHBrA1fGNzIPLBLbjjfLvpwFcLCrd1HHkyTDYlBn9W9AhIr4hL?= =?us-ascii?Q?u2nzlDTatf045UF5xs0+DPqo1wCHlJ1eHYWWCFj23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S7MwizVAcR3jrY+Llq3vi8Sizw4FV8nqt9+eC01?= =?us-ascii?Q?kyGzmc9v00qe6FRZSlP4wouHlvxWbpHKjOuZcbO7y5EruEudCk1peMyRJeVm?= =?us-ascii?Q?4QfdJXtfUrvGTW0JAOxRscU5zYgSizMJgZRcfK92Kge4Ai+eZufB0/D43Jwb?= =?us-ascii?Q?T0YLTHZhi6C+pkpcpccKsSE/wIyUSxe7cPDBP1C8ZfVEnyUFLOwNy2pVHY4n?= =?us-ascii?Q?AUQz5lTG9bgdcolVZN42VC//UdUTMiD4BN2QCl9ihOORTaUjk24w04huOBxq?= =?us-ascii?Q?ZBULHAta313qdB5cGMBjxM7mwiA77EYub8F551aY049?= X-Microsoft-Antispam-Message-Info: GL/t6FV1EQpIzJOJyAfwH/mRoHJsLUa/Bkk1MGRCFMElcni5MGlZjMApnU/U/NqjqqJ3PDtou7RvvNpR1DdNit8034ho5i6USm//j7FgTF8b9UP+7Jq53c0ZrxL0UniEm3hrd8GLjYXSuddFcsIZDGkGCZRA8sFgZhK0cbmI1DxAJR+ocMlpOKXtHs5wX/kEBhHdIJi0nF++p/2AsMDYxsIRue9htQfh21VEaP1CvUzRYFtkSQhxXj0OQKmI8fKPfXHh+O+VPcqoKr6WD6rbU0pXqsoKQcXgje3kyMh/MV5jUz8rVONI0OxmUMPCRscWvgUHbZ9FDgIKrj+T/A7oM6rD2bMxZFj8gW3FheJbiTs= X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB5003; 6:+Hk+MldtVtHnBS11FTZ/WUd8/P6s2eTd7Q/Tg+AiycS8rBTwIVCSLzXp+//8n3Y5sOl/89qMAQuMg5mqT28e9tr9ewdT98nis3+0l8Lw6nO2PQFpNasZkVDMWiOx/PiV6FjF7L/oEY3c23WXEpblu5DiMXa3HsVyEv3PG6fLQEG4novviUY812zeECwGw0eVF98pp9rMcNHY2NoHgSQ6WHJVXZC+vPl+SbeP5Tm1ipsnK5bsPcB10EdRxgW14HTEy1zgiqdszYgDphW0xXTeH6AjK8mIl5dlUE1jo24jdSJcIHHophqYjFvlrH6kSrs3R7c+Z35+HU6APECYjTRGEjJc0deFzxW03k1BJ2O5Ivr/w9lAO4uDFALhvb8nmWIV7w3LoXo6GL1tfdjTeb6mKb2zKgwYykIP/FFglJUjQNyOHHkbhOzdCcN8QBJ2xTk6kYf9ifkXTYpyJ1EYmQtviQ==; 5:8saLxL0WPayoLanhWz7wmRTYWm1LMlu2nKERMLiVIcjVwvFZ/28pwex0G4g6gnH1PH4qWHCZ+33EmDhUGxih2Yuo8/5iZmCWAtbXood7VodL2/hM0c/Nwrv2/zOVFnGFImj32PuA5r5cksMcSN7NkNBWZVPjbReaCri+IG+0p1M=; 7:G4IFKxvtP2I9HXsLHgZssbPMH8X/u+1a7OuU+y/qpNiTF2ROicYDWjtBLpmhgxyCQWnXkdKG4pSb/eHHSSpGOZXqLbHJ1PrTyGaCQ3Dm+yjhMGiuSeZ3cXujrPPhrHWxQiKaUTLNtOi+07AysJxclabY3r2f2llJbN3iy2H0JCt156eRVDXalw2fzncCSPSDmaExiYTgFBg7aZsIMRv/xaftq0WDhZq6xWylHA/fDhzl8RA2886CFB10rJSKeOfR SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2018 07:21:45.6839 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 91e92d8c-afc8-4358-baed-08d60d801538 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB5003 Subject: Re: [dpdk-dev] [PATCH] build: enable Arm NEON flags when __aarch64__ is defined 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, 29 Aug 2018 07:25:38 -0000 -----Original Message----- > Date: Wed, 22 Aug 2018 10:01:07 -0500 > From: Honnappa Nagarahalli > To: bruce.richardson@intel.com > CC: dev@dpdk.org, gavin.hu@arm.com, rasland@mellanox.com, > therbert@redhat.com, honnappa.nagarahalli@arm.com > Subject: [dpdk-dev] [PATCH] build: enable Arm NEON flags when __aarch64__ > is defined > X-Mailer: git-send-email 2.7.4 > > External Email > > GCC version 4.8.5 does not pre-define __ARM_NEON. NEON is not > optional for ArmV8. Hence NEON related code can be enabled > when __aarch64__ is defined. > > Bugzilla ID: 82 > > Signed-off-by: Honnappa Nagarahalli > Reviewed-by: Phil Yang > Reviewed-by: Gavin Hu > Reported-by: Raslan Darawsheh > Reported-by: Thomas F Herbert Fixes: Cc: stable blank line Reported-by: Suggested-by: Signed-off-by: In general, Please follow the above order. With above change: Acked-by: Jerin Jacob > --- > config/arm/meson.build | 3 ++- > mk/rte.cpuflags.mk | 2 +- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/config/arm/meson.build b/config/arm/meson.build > index 40dbc87f7..94cca490e 100644 > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -157,7 +157,8 @@ else > endif > message(machine_args) > > -if cc.get_define('__ARM_NEON', args: machine_args) != '' > +if (cc.get_define('__ARM_NEON', args: machine_args) != '' or > + cc.get_define('__aarch64__', args: machine_args) != '') > dpdk_conf.set('RTE_MACHINE_CPUFLAG_NEON', 1) > compile_time_cpuflags += ['RTE_CPUFLAG_NEON'] > endif > diff --git a/mk/rte.cpuflags.mk b/mk/rte.cpuflags.mk > index 60713137d..43ed84155 100644 > --- a/mk/rte.cpuflags.mk > +++ b/mk/rte.cpuflags.mk > @@ -89,7 +89,7 @@ CPUFLAGS += VSX > endif > > # ARM flags > -ifneq ($(filter $(AUTO_CPUFLAGS),__ARM_NEON),) > +ifneq ($(filter __ARM_NEON __aarch64__,$(AUTO_CPUFLAGS)),) > CPUFLAGS += NEON > endif > > -- > 2.17.1 >