Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rpxxQ-009k5R-2h for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Mar 2024 22:10:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rpxxP-005GfB-3Z for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Mar 2024 22:10:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rpxxO-005Geq-7M for pgsql-hackers@lists.postgresql.org; Thu, 28 Mar 2024 22:10:46 +0000 Received: from fout6-smtp.messagingengine.com ([103.168.172.149]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rpxxF-006x2Y-OS for pgsql-hackers@lists.postgresql.org; Thu, 28 Mar 2024 22:10:44 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id DAD3D1380117; Thu, 28 Mar 2024 18:10:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 28 Mar 2024 18:10:35 -0400 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 :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1711663835; x= 1711750235; bh=CN4i7BiFz/oBHnL8oTa2buaFZO7kEnR7BDM5j96xOR8=; b=W 9SU62yAEDJXFKNTvHfNFcVUQ4yQGlFmRXHRbVJJNsWOfDMbOozcEHkadIDtHdg3b 9XlWF4ipcRPNfRqaTW+O8PDulK3mIq48jgZ95EX8y2MsqHUE2iOcAJKyh0Iq3LMT yqKe8b71H6xL9m/jqOyer/1eWv91kw9/6Yr01AZdRSXXw0GvOMNFoZ6xS3rqrg/L qpvQ7k7wM/hyYItetsFjvItJPUj5FI6QJlwhzPP1PVxOvP7SmrdKu9acnBv4+XKh 4Q9oGhQPmQ1ccPjmRrALBFuSJfteiYXUqWhRzzu5m3vYUfWijPrDMOgGAPSJOao2 4uuoeiRIKFiiiOiOqDBgA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudduledgudehiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhv rghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorh hgqeenucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeej keffgfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtoh hmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghl vhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 28 Mar 2024 18:10:35 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1711663833; bh=EFPw6Ajr5baPAIlHO1064rmdShESK3MfEFgufHO8iVs=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=TS0j+ydNtMrCywCLT+jV1LK0JGXYNNd1pc7RLXVKzJk/wQGr4Ll5wmtGDI3UvmTBN UC0QngJWzKG9sUI5UblVjo7doP4mZAn8TiL5zIFEMqT/yrllF0izZP9ZwQrxqwVEks cPWvm5ikG7YDLn5NE5DcDXyPF/1eWEabV0//M8betjb15WU9AqAJzeFDj4EYIhuGHI tLmQtzpW917kUCC2niQOG+Ca4smg7xFEzBMj0YXRBQYKv7/LjQtkQjOxyUflgXnvXd 2wK44khXkWwiNkbCRV2i0ZvraqCBO0PHwcp1QdJ+evey4QRn4D0bm36vLIxRH9XJCC DEHNnIgVuEsPw== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 9F927385; Thu, 28 Mar 2024 23:10:33 +0100 (CET) Date: Thu, 28 Mar 2024 23:10:33 +0100 From: Alvaro Herrera To: "Amonson, Paul D" Cc: Nathan Bossart , Tom Lane , David Rowley , Andres Freund , "Shankaran, Akash" , Noah Misch , Matthias van de Meent , "pgsql-hackers@lists.postgresql.org" Subject: Re: Popcount optimization using AVX512 Message-ID: <202403282210.7k22uxc5db3f@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-Mar-28, Amonson, Paul D wrote: > > -----Original Message----- > > From: Nathan Bossart > > Sent: Thursday, March 28, 2024 2:39 PM > > To: Amonson, Paul D > > > > * The latest patch set from Paul Amonson appeared to support MSVC in the > > meson build, but not the autoconf one. I don't have much expertise here, > > so the v14 patch doesn't have any autoconf/meson support for MSVC, which > > I thought might be okay for now. IIUC we assume that 64-bit/MSVC builds > > can always compile the x86_64 popcount code, but I don't know whether > > that's safe for AVX512. > > I also do not know how to integrate MSVC+Autoconf, the CI uses > MSVC+Meson+Ninja so I stuck with that. We don't do MSVC via autoconf/Make. We used to have a special build framework for MSVC which parsed Makefiles to produce "solution" files, but it was removed as soon as Meson was mature enough to build. See commit 1301c80b2167. If it builds with Meson, you're good. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "[PostgreSQL] is a great group; in my opinion it is THE best open source development communities in existence anywhere." (Lamar Owen)