refactor architecture-specific popcount code - Mailing list pgsql-hackers

From Nathan Bossart
Subject refactor architecture-specific popcount code
Date
Msg-id aWf_InS1VrbeXAfP@nathan
Whole thread Raw
Responses Re: refactor architecture-specific popcount code
List pgsql-hackers
Right now, the organization of this code is weird.  All AArch64-specific
implementations live in an AArch64-specific file, the AVX-512
implementations live in their own file, and the architecture-agnostic and
SSE4.2 implementations live in pg_bitutils.c.  The attached patches move
the SSE4.2 implementations to the AVX-512 file (which is renamed
appropriately), and they update some function names to be more descriptive,
i.e., "fast" is replaced with "sse42" and "slow" is replaced with
"generic".

I probably should've done this a while ago...

-- 
nathan

Attachment

pgsql-hackers by date:

Previous
From: Dmitry Dolgov
Date:
Subject: Re: [[BUG] pg_stat_statements crashes with var and non-var expressions in IN clause
Next
From: Jacob Champion
Date:
Subject: Re: Updating IPC::Run in CI?