From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6E30741E3A; Fri, 10 Mar 2023 10:32:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5EF4440A81; Fri, 10 Mar 2023 10:32:17 +0100 (CET) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id 4411A40685 for ; Fri, 10 Mar 2023 10:32:16 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 28F85320034E; Fri, 10 Mar 2023 04:32:15 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 10 Mar 2023 04:32:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1678440734; x=1678527134; bh=Giyz0b9hn4oLrNdOhDoA/mXIO6S9tDXpA0l vf1KhW0M=; b=QWBxc+d3pUecXqT3r9z9WehbcZziwI2o7nIKkUoLe/3HCW5sr2c NnQCl82MuEqCqQ5GwvWCz0By+hJsqM582S2aqEjT3QZujKfyMdb11V5mt6S24MtO 4F/Ae1912l8SHMasqy1Zp2AsCCj+f5xPs1uQ3LHZNTTWwAfKDM1tVLKgJCoLnV1k /eYEWGmzgASu58Yg5U5Wm6nWLrJd80qCaFovIoluyaQl62KXqgzkdnHgF1Gh/p7z o/tDkx27gOkZPyYe5SRF85nFobHrOipmuJVwZobBg1WU3+S+ST0tIFy3ULdu4dcx ydFnJ5B8Sl5phtUuCPdy5uUrp+X2Wxa5orQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1678440734; x=1678527134; bh=Giyz0b9hn4oLrNdOhDoA/mXIO6S9tDXpA0l vf1KhW0M=; b=idfZQ3H3e3ZBFRHeTgvd1woR8PILsBhiDpROhUadXVEGw98328Q MQBybqQA0qm+O0LirRBNox1vSI0Kov3fMNiB0h/3U8hxgosYA+H9n/rx1G1RT4xU n2tYAAqlecMod0Mnejldg0PVXc76yOUF7O8RMaZRprC0cACrlNk/tFnuHU05YJ9r WlE2DYRGyOq0QYkCgMGvWZa9dcRSq0TArSlLWaROJXsjiVbmBEST7Ey+RdQA1ja4 n5/B7WCGSp7P0rRN4UgHNWBu+PIoW/l0tmqJjU9JmDBKKDerIrTnghdR6o4jk9ue gIDNP8VtEq7+X5mAjWAUXYslvB7ljYdCvBg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddukedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 10 Mar 2023 04:32:14 -0500 (EST) From: Thomas Monjalon To: David Marchand Cc: dev@dpdk.org, Srikanth Yalavarthi Subject: Re: [PATCH] mldev: fix build for aarch32 Date: Fri, 10 Mar 2023 10:32:13 +0100 Message-ID: <4441851.8F6SAcFxjW@thomas> In-Reply-To: <20230310085711.1366455-1-david.marchand@redhat.com> References: <20230310085711.1366455-1-david.marchand@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 10/03/2023 09:57, David Marchand: > Caught by UNH lab, cross compiling for aarch32: > > ../lib/mldev/mldev_utils_neon.c: In function > '__float32_to_int8_neon_s8x8': > ../lib/mldev/mldev_utils_neon.c:34:10: error: implicit declaration > of function 'vcvtaq_s32_f32'; did you mean 'vcvtq_s32_f32'? > [-Werror=implicit-function-declaration] > 34 | s32x4 = vcvtaq_s32_f32(f32x4); > | ^~~~~~~~~~~~~~ > | vcvtq_s32_f32 > ../lib/mldev/mldev_utils_neon.c:34:10: error: nested extern declaration > of 'vcvtaq_s32_f32' [-Werror=nested-externs] > ../lib/mldev/mldev_utils_neon.c:34:10: error: incompatible types when > assigning to type 'int32x4_t' from type 'int' > ../lib/mldev/mldev_utils_neon.c:42:10: error: incompatible types when > assigning to type 'int32x4_t' from type 'int' > 42 | s32x4 = vcvtaq_s32_f32(f32x4); > | ^~~~~~~~~~~~~~ > > Only compile NEON optimisation for aarch64. > > Fixes: fc54766b1612 ("mldev: add Arm NEON type conversion") > > Signed-off-by: David Marchand Applied, thanks.