Re: refactor architecture-specific popcount code

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: John Naylor <johncnaylorls(at)gmail(dot)com>
Cc: Greg Burd <greg(at)burd(dot)me>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: refactor architecture-specific popcount code
Date: 2026-02-12 17:34:38
Message-ID: aY4PLpvDa89SWuTD@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Feb 12, 2026 at 11:58:37AM +0700, John Naylor wrote:
> I have a better idea, but it depends on re-thinking feature detection
> and compile-time vs run-time checks, and that's not quite ready to
> share, so let's shelve this for now.

Sounds good.

> Anyway, I think 0001 and 0002 are ready for commit.

Committed. I've attached rebased versions of the remaining patches under
consideration.

--
nathan

Attachment Content-Type Size
v14-0001-Remove-uses-of-popcount-builtins.patch text/plain 6.3 KB
v14-0002-Make-use-of-pg_popcount-in-more-places.patch text/plain 3.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2026-02-12 17:42:20 Re: pgsql: Introduce pg_shmem_allocations_numa view
Previous Message Bertrand Drouvot 2026-02-12 17:23:49 Re: pgsql: Introduce pg_shmem_allocations_numa view