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

From David Rowley
Subject Re: Popcount optimization using AVX512
Date
Msg-id CAApHDvoM7O8aQqfH6Z-D_w7mf=pG94oqDm+UGTfPMBgaNoh+gQ@mail.gmail.com
Whole thread Raw
In response to Re: Popcount optimization using AVX512  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Popcount optimization using AVX512  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
On Thu, 4 Apr 2024 at 11:50, Nathan Bossart <nathandbossart@gmail.com> wrote:
> If we can verify this approach won't cause segfaults and can stomach the
> regression between 8 and 16 bytes, I'd happily pivot to this approach so
> that we can avoid the function call dance that I have in v25.
>
> Thoughts?

If we're worried about regressions with some narrow range of byte
values, wouldn't it make more sense to compare that to cc4826dd5~1 at
the latest rather than to some version that's already probably faster
than PG16?

David



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Extension Enhancement: Buffer Invalidation in pg_buffercache
Next
From: David Rowley
Date:
Subject: Re: Streaming read-ready sequential scan code