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

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move x86-64-specific popcount code to pg_popcount_x86.c.
Date: 2026-01-21 20:21:28
Message-ID: E1viehj-001rU0-2U@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2026-01-21 20:25:00 Re: pgsql: tests: Add a test C++ extension module
Previous Message Tom Lane 2026-01-21 20:08:49 pgsql: Force standard_conforming_strings to always be ON.