From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EFE10A00C5; Mon, 6 Jul 2020 21:21:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8E3F51DC6B; Mon, 6 Jul 2020 21:21:31 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id D26061DC41 for ; Mon, 6 Jul 2020 21:21:29 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E687E5C01AC; Mon, 6 Jul 2020 15:21:28 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 06 Jul 2020 15:21:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= 3nm4bYXyywxEVaNubfb7Gkgzt+arULusXfYaX8Y9KNY=; b=HiwGXTdudq/u2SwT CDyeXRt5sOGo57X8gHfWgBLRWq3kacgzPqLys5JwW+nUuo76irjOnLv+Zz49CPh+ o8yZrzAYYC4iUUMYBnChkFmU0wTpQgctFd2cYrejwefMXt93MVudll2MmY62c1x7 jP7jftveBb9zNdQDgYW/u5zk1+mz9mHTO0TPJkkh4r9voicjnbJQ7M+X4+FRL7r7 Hac5e8yEtA1uZGFNFIvd5L8ZJG9c1QkcL+NoPu2F5PKTZr+MmT814q6JjMotJNpD qvPjztn0nT6lI422mARpsf1vw0pRohrEVkorj0tZWzIyWPrYi5FJYs1YnVhM4KSn 91PkSg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=3nm4bYXyywxEVaNubfb7Gkgzt+arULusXfYaX8Y9K NY=; b=ab+fQHdFHZBpvqwDKhlsevL9AKLmG0NHpb1FCg8POTpd903MkWltDN8v+ ZY7F6knCijFrEBV/a5BWLVOrhsv6rdcp9xrLZCgSlnEqDOR3QdpLAg5kgbr2Q26h JDklf0QeuIC2hachw0tnSvpvY5+kphisvysNuG4O+E3KZo5M9v9Dqeu8rMBVAS3A 9pa1i/i0a/GMqgTDUIWQ8VyIU4sVQALqmsMy15wOPLu1XoKiOEpkG4NvmoOpIuiJ ObpfkZAavEOn017zqAwmUHezefJzPguqQ5YK8yrheWj9TQR9s8MBnO4VFuqYfLAD DaYFnv2lAkHRysZiSLU3f86WyrbVg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudefgddufeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepkeethedtieevhfeigeejleegudefjeehkeekteeuveeiuedvveeu tdejveehveetnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 8BCDB30653ED; Mon, 6 Jul 2020 15:21:27 -0400 (EDT) From: Thomas Monjalon To: Vladimir Medvedkin Cc: dev@dpdk.org, konstantin.ananyev@intel.com, bruce.richardson@intel.com Date: Mon, 06 Jul 2020 21:21:26 +0200 Message-ID: <13626781.5Qu6SIutNE@thomas> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v3 4/8] fib: introduce AVX512 lookup 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 19/05/2020 14:12, Vladimir Medvedkin: > --- a/lib/librte_fib/meson.build > +++ b/lib/librte_fib/meson.build > +if dpdk_conf.has('RTE_ARCH_X86') and cc.has_argument('-mavx512f') > + if cc.has_argument('-mavx512dq') > + dir24_8_avx512_tmp =3D static_library('dir24_8_avx512_tmp', > + 'dir24_8_avx512.c', > + dependencies: static_rte_eal, > + c_args: cflags + ['-mavx512f'] + ['-mavx512dq']) > + objs +=3D dir24_8_avx512_tmp.extract_objects('dir24_8_avx512.c') > + cflags +=3D '-DCC_DIR24_8_AVX512_SUPPORT' > + endif > +endif I don't want to try understanding what this hack is. But please add comments around it, so we will understand why compilation fails: In file included from ../../dpdk/lib/librte_fib/dir24_8_avx512.c:5: =2E./../dpdk/lib/librte_eal/x86/include/rte_vect.h:97:18: error: expected d= eclaration specifiers or =E2=80=98...=E2=80=99 before =E2=80=98(=E2=80=99 t= oken 97 | #define ZMM_SIZE (sizeof(__x86_zmm_t)) | ^