pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move x86-64-specific popcount code to pg_popcount_x86.c.
Date: Wed, 21 Jan 2026 20:21:28 +0000
Message-ID: <E1viehj-001rU0-2U@gemulon.postgresql.org> (raw)

Move x86-64-specific popcount code to pg_popcount_x86.c.

This moves the remaining x86-64-specific popcount implementations
in pg_bitutils.c to pg_popcount_x86.c.

Reviewed-by: John Naylor <johncnaylorls@gmail.com>
Discussion: https://postgr.es/m/aWf_InS1VrbeXAfP%40nathan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/79e232ca013c7f357704f8af9782fe72466c216e

Modified Files
--------------
src/include/port/pg_bitutils.h |  20 ++--
src/port/pg_bitutils.c         | 263 +---------------------------------------
src/port/pg_popcount_x86.c     | 264 +++++++++++++++++++++++++++++++++++++++--
3 files changed, 267 insertions(+), 280 deletions(-)



Message-ID: <E1viehj-001rU0-2U@gemulon.postgresql.org>
Permalink:  ../E1viehj-001rU0-2U@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1viehj-001rU0-2U@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Move x86-64-specific popcount code to pg_popcount_x86.c.
  In-Reply-To: <E1viehj-001rU0-2U@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox