Move x86-64-specific popcount code to pg_popcount_x86.c.
Nathan Bossart <nathan@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| 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
- refactor architecture-specific popcount code 40 messages · 2026-01-14 → 2026-02-23