From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0056.outbound.protection.outlook.com [104.47.32.56]) by dpdk.org (Postfix) with ESMTP id 9DDB11B6E8; Wed, 31 Jan 2018 06:43:16 +0100 (CET) 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=tUm9SeoMBraYuNvkzkJErzzzTLj0y+VhXtK+HnCLj+8=; b=DfbwlN+3JIc7QKbUn4cBNaRi/ilE19i7A4UxEO1VJf7/jw3haAgEbcNgQLhd7V7+IhwDBz8ckiu6gk1pM4MeL0xl+IwyVzuafxfyWNU+Uj3jDQ0QQM/PydGZzwY7rMnjPijrlzMK0oyChSePsfb5wMp8w87pF5Bg4EY1cUaNbdA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (115.113.156.3) by BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Wed, 31 Jan 2018 05:43:12 +0000 Date: Wed, 31 Jan 2018 11:12:41 +0530 From: Jerin Jacob To: Yongseok Koh Cc: jianbo.liu@arm.com, dev@dpdk.org, stable@dpdk.org Message-ID: <20180131054240.GA11264@jerin> References: <20180131000708.32562-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180131000708.32562-1-yskoh@mellanox.com> User-Agent: Mutt/1.9.3 (2018-01-21) X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: BM1PR01CA0087.INDPRD01.PROD.OUTLOOK.COM (10.174.208.155) To BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e8aaf78a-de13-4f85-8332-08d5686d8583 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 3:LeW4hd0m4BQSqHEHxkE290qu+D8hF8W+Yf/OhjOMUg85Y7uFA1xdj2RvwIo36y2nqslw+pnlVGqomfnbv+BIqWesd9sd63eXvBhQvw8EGfgDJXI/PGqXBq/BSsB8FV8WjJgvN/8s2Suu7TWThvZsJD8wVwoHYHTp2cYQ0vXBV8TdL9zQ6bhThtew8FAduP8TE+vte/BRLnaE7UUjK9r0SK0Ls2K34nBPPpBUEypPWDN66cqm3gyOkxLHZ/dB5MfB; 25:DQcHAwY3pK5NXYomJsSKMPbfevwXUGhnvT2CbwPiIIxBsgsGce35wChRw8IiM+azcjKdQA2QzN5dz6r1GoVRmUvEsqlR6KiNbH7l3gt34/HLo7jtykoNSS1or3WgNpOlzx3SCoyzq5P4upZG/QJCQRFFtrabZZRZVR/lJJcKEyCdvSJPgM6JZjlxamobVP6H0j7raWWdFIX+8ozsNstLKQ6/pY4v18tOo8862ToRMWW8+2KIajldZeq7pmGA9pvoHRGE3nWIi5kCoZK1Y+RMeMK9WYAbEeNSVOLVA7LYuMKQABoN2vESW+XITL4P5TlcWub0mXoeR3lnXq451JSLJg==; 31:d2rkdEKMxhr9801/i//JdSJcYWaW3rhsB19ekl3PrVPqm4FiHGBbN8gGPCACTAkHKHsM+X+HyL0e1+YdHSGyTPk0W2nHlGsosb6LJszmmRK6dJtoj/U8YN01gmr/pX9ZPCy/4sAyRHabERm9HqrhclV0N2b6Crxw0pO3oK3lOB4l1hIlklvwQ1ydy+2ap4isDGdN5JiUQYJPGwOS378eEFHq/yAVWYEYKlFJSok1z88= X-MS-TrafficTypeDiagnostic: BN3PR07MB2513: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 20:OUZ+LU0ADHezBkM/snHCGQJ8rm3aeejjNPFzeSp7hMqoRKQv8jxGgixpf2GNfcxZdnrD0wdRu7Hrh5QbHD6lfQnbO858cEEkJLCpRW1nmbYXAPTNugf3qfbcP0+ZH6Q/afpwqsO+sIYa7q9AZQD3DxZ0fYFe1omNSAmcCZXpBGaeJEKalW6swXKfAlWiNbdCgFT5hKcmyAWWvsR4geyScDSuLCsqBuwgTwOmDP69tg6WxDdQDayZn1qY7fMCESkCcYkBmK7lA7ecx+O504J9vkERSC+YyQq4oqywnVDHXyOfQRGiUiXl9MGyMyhk8EAKUQczDRf7KV4Mia9WzgcLFdCCApNIbQcIgDsyt/n2Q2Y4WxLVabdMrmlkt/mG1KGUR1W3fg6hYzRo7cvj3sPTTABpMeomQnedw6SQgrSmayBy5AirPhe/otAW+Llc6fHHGoWWVszMwJaZOEJ4VXAEPPV1Pz3bJJ41TEJMevCWD/lpP737DX/A6bymeB9ClCWCclmLR0ZYcZRD6996+39XfcRk0BW/T5OYHiGB9g3yvBSTiS3toevq5s56QR28dMOJhNSFy+nGHTZ3g8o0c/fiRE65oxdQxeiTtKHCV4uE+Ho=; 4:6qj17ahyuYEmjfvh3rvRqySzfjV2O6TYeC566uSiyeqBi2Xeu+N1O6hkKZeKsku1yGZ+IG35EWFNy8kIV6foDmJ/GrXUxGaTLOIfcafrmosaa7vEAm4QJJWSRj+TNsIX0R+iv7jTk/m8kO0ShM2KU0Tu4F1Zr8P0ZfxnC2x3sBa4t4hYMMVnpYxy7SVjtJvgdXxveIgKch35CGZ5+aJdWn+2PI6vhpG+EtAZdUttaYHRCsOpsuVMYd6N5TBTaukoOOTDJu3ejRfj3nLgU3csyhVwy0kpZn19qSKDpd9EsVoAIUOB/MJz1DioYEeve1ju X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(10201501046)(93006095)(3002001)(3231101)(2400082)(944501161)(6041288)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:BN3PR07MB2513; BCL:0; PCL:0; RULEID:; SRVR:BN3PR07MB2513; X-Forefront-PRVS: 056929CBB8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39380400002)(396003)(366004)(39860400002)(13464003)(189003)(199004)(47776003)(66066001)(53936002)(68736007)(97736004)(33656002)(4326008)(25786009)(72206003)(7736002)(106356001)(83506002)(2906002)(229853002)(33716001)(23726003)(58126008)(3846002)(52116002)(16586007)(16526019)(105586002)(9686003)(33896004)(55016002)(478600001)(76176011)(6496006)(316002)(386003)(186003)(6246003)(2950100002)(6916009)(42882006)(26005)(6116002)(81156014)(1076002)(8936002)(50466002)(81166006)(8676002)(5660300001)(305945005)(6666003)(55236004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2513; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2513; 23:rrBWsJ/d5xw7HNPX6NOWMCg4j+ypwjTlqReSpakHK?= =?us-ascii?Q?OqTr1c8ITmIFrKAn1Fa09fNdxK+y3UO4X4FSaVZOXxVKg87LpEip6wldGB8g?= =?us-ascii?Q?y3Y91NV85DtJXutfe2ko66SYsrW4ejWKeIKnJF23hLOtYSWF/W1tVsTcK62q?= =?us-ascii?Q?o+4ZzxvDTTuxdVJWfFujCcVpAS9NopiL9PCgiKbflm/FYMUz1lY/Liu+OCM0?= =?us-ascii?Q?VaIzjpRgfHpwhWIMLHcrchFmOnRw6UV3EtLCHbHK9aPnYnUXvDxxKVcbqItX?= =?us-ascii?Q?Kbx7fToskzB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vWnt4cz8k8O/ql5qBI2/aRo1e2 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2018 05:43:12.3036 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e8aaf78a-de13-4f85-8332-08d5686d8583 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2513 Subject: Re: [dpdk-stable] [PATCH] eal/arm64: fix instrinsic for ARM64 NEON with GCC < 4.9 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2018 05:43:17 -0000 -----Original Message----- > Date: Tue, 30 Jan 2018 16:07:08 -0800 > From: Yongseok Koh > To: jerin.jacob@caviumnetworks.com, jianbo.liu@arm.com > CC: dev@dpdk.org, Yongseok Koh , stable@dpdk.org > Subject: [PATCH] eal/arm64: fix instrinsic for ARM64 NEON with GCC < 4.9 > X-Mailer: git-send-email 2.11.0 > > vceqzq_u32() is being used by mlx5 PMD but added since gcc 4.9. > > Fixes: 570acdb1da8a ("net/mlx5: add vectorized Rx/Tx burst for ARM") > Cc: stable@dpdk.org > > Signed-off-by: Yongseok Koh Acked-by: Jerin Jacob > --- > lib/librte_eal/common/include/arch/arm/rte_vect.h | 6 ++++++ > 1 file changed, 6 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 5cc34190f..2a18a6854 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,12 @@ vcopyq_laneq_u32(uint32x4_t a, const int lane_a, > typedef uint64_t poly64_t; > typedef uint64x2_t poly64x2_t; > typedef uint8_t poly128_t __attribute__((vector_size(16), aligned(16))); > + > +static inline uint32x4_t > +vceqzq_u32(uint32x4_t a) > +{ > + return (a == 0); > +} > #endif > > /* NEON intrinsic vreinterpretq_u64_p128() is supported since GCC version 7 */ > -- > 2.11.0 >