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

Nathan Bossart <nathan@postgresql.org>

Commit: 79e232ca013c7f357704f8af9782fe72466c216e
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2026-01-21T20:21:00Z
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

Files

PathChange+/−
src/include/port/pg_bitutils.h modified +9 −11
src/port/pg_bitutils.c modified +4 −259
src/port/pg_popcount_x86.c modified +254 −10

Discussion