Re: Popcount optimization using AVX512 - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Popcount optimization using AVX512
Date
Msg-id 20240404172840.GB3866970@nathanxps13
Whole thread Raw
In response to Re: Popcount optimization using AVX512  (Ants Aasma <ants.aasma@cybertec.at>)
Responses Re: Popcount optimization using AVX512
List pgsql-hackers
On Thu, Apr 04, 2024 at 04:02:53PM +0300, Ants Aasma wrote:
> Speaking of which, what does bumping up the inlined version threshold
> to 16 do with and without AVX-512 available? Linearly extrapolating
> the 2 and 4 byte numbers it might just come ahead in both cases,
> making the choice easy.

IIRC the inlined version starts losing pretty quickly after 8 bytes.  As I
noted in my previous message, I think we have enough data to switch to your
approach already, so I think it's a moot point.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: ZeroImpl@gmail.com
Date:
Subject: [MASSMAIL]Materialized views and check constraints
Next
From: Ranier Vilela
Date:
Subject: Re: Fix out-of-bounds in the function PQescapeinternal (src/interfaces/libpq/fe-exec.c)