From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0083.outbound.protection.outlook.com [104.47.1.83]) by dpdk.org (Postfix) with ESMTP id B8CE81B6BB; Wed, 31 Jan 2018 01:07:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dWbMwVCOBMfsAC2hmkk2oLd1xz6+VOpJ0VPzSsmiytw=; b=BKtyOT4FLFSTXawFzzb17MnfHCUK+ofDCPlOM2th99rkj7TyhzuzvPx/pQNYaxuciBIHlA3yk7cHgi4bEwbsDEN/NOU595xFZWf6qIY3SUnZI5p98FDMwTxhAUZ0ZUqVGzQzjlJ4/7176CoqKlfwzV1suWTZgMBMwo6P8p6MT3o= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; Received: from mellanox.com (209.116.155.178) by VI1PR0501MB2045.eurprd05.prod.outlook.com (2603:10a6:800:36::19) 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 00:07:28 +0000 From: Yongseok Koh To: jerin.jacob@caviumnetworks.com, jianbo.liu@arm.com Cc: dev@dpdk.org, Yongseok Koh , stable@dpdk.org Date: Tue, 30 Jan 2018 16:07:08 -0800 Message-Id: <20180131000708.32562-1-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: CY4PR1201CA0004.namprd12.prod.outlook.com (2603:10b6:910:16::14) To VI1PR0501MB2045.eurprd05.prod.outlook.com (2603:10a6:800:36::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 22682ba4-fc2d-4435-9cb9-08d5683e9ea1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:VI1PR0501MB2045; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 3:oZQESn9sa/XdojMRuxGmHNky13M3XKjyk895bFbbCzCYDnCnfPv9MjRwjBfiSQA9QQUwcxOhSIwVDLB4SdIoV127cRsWk3fhXmqvG9IrVTbbeglfZxqHV4DjWLRU8RyIEj+HFexdq+toAtc7zj3IOykpz3Lx9kaNBMRS6KacxhMVPTyr2IdUmrYom284o+k/UiZznMIkVMurA9qJ5YaWxBBpjLDX/gLGgWoBs7mFBmZMbo4R2F8TdYMY6lI8bdrA; 25:sYdZdVMqo9Uaug5XWslFy2SupsLMCtcR2k9kWTTUwSz2meBPXy8yn0nTnWYiUhUGUYtFYi+m1CJsyQJ9vqeFAbx1SKw9RxEBFczO49fWzYTD1PzZ2MvIPhU+gh9Y1TQYc/xdAou5e6uww75zTUAEtG4f660UFskTTLt4hPawJ/153gcjYfeDMsRxdrhviZsoa8wQiLjvjGxiYvy2MTzyF2Q/A6p3kwXITWv/jJ9hhAIIq+FhfFgB39ig1maw6May/uWc3KuBwAJjQh4RtFaNhgSSxNrzL1tM/nDUJ1a923zzy+KIzPSAikP0MH2Tb88JHdaQP51lDnC1/Er4Gslzcw==; 31:EswX30xuEQdqlatVkpFr7qnkhyQwXGM4wneE5pRffPMN3IwEqJKTUf94lA0om71wPgx8NVZjzKuLbExm98JW2iNpjb4lVUFQlsAj1DLMLMei5VJdLxXInZUw8jIvSKCI3L/pZVpr+cE2hEF9eKNmMrmdE+L7aAB12BpvnBOsfhvPvMa6/9cFCJcgFjLbRjPxocniknSmHEq4dx2ZhMmK0+LO3NCWyvPKpEZ4bTgE+Vk= X-MS-TrafficTypeDiagnostic: VI1PR0501MB2045: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 20:LVV02171Sy+k0S7JRgXEMNHOR3SjSa5//e2zQvfiDyCCcGga2A26p8LMUKX+1QUOPZ3G7ORl0iEzPp5ZTgzUayLAcIZpm+/Lzx4Kb6uOrNU3466TuJaOJhO+PzHkk340P9wbcvzZTShBmANE+ElJdJIHXWAdRUN9a+AjRDsMqPq9x7bLEcnEpSnVI+X3UzlyqGztxsdr+OeadplAkXw5SDtQaXlRVlX89IUDxLwavTOBKx8agGlf9PvW49KcT0FJWP1mGQCMVhzf/+wcfhbGKHeJoKEna+UytQS/T4Kgeh1pf2FfSVqxUNIq44691P3CPvw9sGpXo0DxzkdPErxOtFyNJj0/GUBQkUYbV2niGa7ujOXOtevl5ansC1/OyUgGve4MOye/vAGpkOSrhL3+ttAjro1w+0weBTHN+sVwl8gppZrjuWa5HrQvwgUAWxZoMdFyvuiDyUIxgWyct/CmRZ79rGzGV5A4juCKWZhADNkDsPCnQVXgB8A1LRKremEu; 4:e6ZphLqZ18pTwSalvxkGz0NK9nzaSfahuZe9vnnXeNb9IHAEPkm9a2pvhyLzruswJ75t6mhvriIDifkKViIL//CMyqKDhnz5gtRLTysKCpb3fEYgJn8bZWa9OreLC8puqubQ+qAiHxDVs3SY+dsjB0WrolyZnX8ohEknqpiKiU2259yWIbJ2cTFHsMAF0mC0lah/gHBX8VvmB+nJSRuj8BgUIp8gLjkhcv/tKZaVSrrkNzpdWzl9m2dPkRRUB6K/gYFo6IQwfYRbTU0r9dqkLA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231101)(2400082)(944501161)(6055026)(6041288)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR0501MB2045; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2045; X-Forefront-PRVS: 056929CBB8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(366004)(346002)(376002)(39380400002)(189003)(199004)(86362001)(51416003)(26005)(68736007)(2906002)(52116002)(6116002)(47776003)(16586007)(1076002)(3846002)(6666003)(316002)(66066001)(69596002)(186003)(7696005)(106356001)(5660300001)(53936002)(48376002)(105586002)(386003)(25786009)(4326008)(50466002)(55016002)(50226002)(81156014)(7736002)(81166006)(305945005)(8936002)(8676002)(16526019)(478600001)(21086003)(97736004)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2045; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0501MB2045; 23:i96zt9aqBS3Kn3AnQucoENDdCv2ifMs59m/2GhC?= =?us-ascii?Q?X8lBn4amJZFajcRRM24woYSsyAzJN+9ULWs6/CA5AJL4QQ3Sj3t77Fa7cJMM?= =?us-ascii?Q?HvY06D/337MgVW02smjGOiv8OEJYUDGedc/WqLGT2xv8mVmZpVRqDpdVKrkC?= =?us-ascii?Q?pJsk6cSwMwJ/wOhKOKxh5tNa8YR3mdIAYall7vmkMDnMdcd+fiAQvGZopPV6?= =?us-ascii?Q?poJsXC8N1MW4K5X4NVPTIHvcy5IARL2AvIh5ahxa7D22V7gv5z1wDncIEyP6?= =?us-ascii?Q?UZyJkZwB2/+rfmITL3lH4nizViyw7A8gPDURae4EegTmIoCa8z74Ro1Is6Zi?= =?us-ascii?Q?q6BVrBpjayjmCx4Hig5TgDReVDcakB+bOtBVKUY0fY0647gSpCg0v5EQhahE?= =?us-ascii?Q?BQG1ITI9t6W1RhBWcu0UbrDcLhXNCO35jQ23kjHRLkjeT169Cl73Evo0e7Zp?= =?us-ascii?Q?ywVDHFvWiobx8gYHkBr+C7UR0mTm5w33pgQ8EHc84dPWQXAiSf9GzX79T75o?= =?us-ascii?Q?f1N8/2ELIy4VkdV9617MvL55gmx48pVLcwGB4XaTjnp06c7FwAtA3w9HZJ7R?= =?us-ascii?Q?UO0t/FaUgxtE0RAdySysEt9lvcz+xqFOQoU7Qn6mBOrDEvPJCh7UoQv3oPer?= =?us-ascii?Q?tulHYUkblkztXMYFyXLs9hxx6A+9IEkEE2SBM6Y1IuWGUPQJ5HtMH1Z5hjeh?= =?us-ascii?Q?lUItYAUvD2D7l2m0B4zgGbzwVrqEnHAWPC+mW8hkv84N22pEPjKOjTzUX6K9?= =?us-ascii?Q?2+KptLYEAvolYGIWwsreYSxDVZyLx0hJl2D7RDVR74+0t5g1P5GscDiTr0lV?= =?us-ascii?Q?d2PNUHyAFtRdANfzrKkIR3IJf+HSULXRevOs+FbrxqSdbDrERvBJCylXnnhH?= =?us-ascii?Q?3LnCLDtPzvi4GBmdVvdhgWFRikPVQ4SHqe5fAhZPGt25PvtwHXLQp11pPSTA?= =?us-ascii?Q?f0iVqgY+VlG69OlUOJL3qnCol9kChTBDDyRRZHAL5ne+YHZ7tggcVvoMmWA6?= =?us-ascii?Q?dPFAVAW89CpZbGL2vwfh/S56h0pmg2YZn0I2atFh1+zoltnR+lhsaIcMX3rs?= =?us-ascii?Q?9DlnqzMvfdrDhKpv4vjxHKpr4K9Jv?= X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 6:/dDvBRroscG/SIErLUUnblMRst21YfRWb2FB9R5UtWyydxjeC8o+defxmu/V6QYTwsjkdei3RNeiY5UUhnC9HDz5jAg+al88zDfP3FhrFtXLLWM/uUCpSj9QnP09R8POSSWH5VkQ5SUAQ+8SSa/8nEzuH9vhkU6tc9LaQqlFC5kcC4AFXR685d52XBUTpD2CKMAzaXiEfgZg92h4BuHCeKN7hXs1xoi34hHPtthIcixuCljkxiNaMxW+xanZyH/vfBGtmt5EP++DNRigQfOfSYO2GPOby5d5+pNSx3v6xTTP2tb3MDmIl3fg+KDkWaw7n//m2FpOHHVdoBfk3NTShu0NNsPe2D1qaZGeTHvgsx0=; 5:MrwvR2AgZnEtu9nQu44QYNfe6QdQW8KvQ34MAh+vWDIYe5/J5EhgePFyp1EEXBEpKWLUHN2sACqYsaRGkDhJXQtkUgxtadk4QRdu9MR1r3DSQc+U/fv4pLBpDqig+yRB6IijUtwNvXrYhhNrYovcl9bbaeBE68QIVVfCfFIdO+c=; 24:FRbyoHJRu//agno1rPW2c3nrwH2aR+6lMWKW2jYjn8hdNvu9ii0pVWs1Vp8EMQURPEiq+ZpSsLGl9CAveUihlydUIZ9Fh+ZtnJys/Ypv0HY=; 7:VsqOAcHKWRqomw2/7TyqjcaFenAhwgMFL7GXy2oWND9RpKrUnuGblPOdDWW3V8rV6qAdaQMeanDoedEeYnvK7dncg5WnJr8xXAd+7zOJ8uqsjqX4BDxGvtQRtVS2qDV2wnoJHDDR0dQhsYINoGCI1E1SuqAtb8tfL7DZwYovFqu/d8/xw3xoXSdGjin//dOTYetGXegLAP4Q8dr2unOcwxVPBwaC/DwrtZPy6h2VtedLbAUo4JiSg06woLZ01S7A SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2018 00:07:28.9155 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 22682ba4-fc2d-4435-9cb9-08d5683e9ea1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2045 Subject: [dpdk-dev] [PATCH] eal/arm64: fix instrinsic for ARM64 NEON with GCC < 4.9 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, 31 Jan 2018 00:07:32 -0000 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 --- 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