Re: Improve CRC32C performance on SSE4.2

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: John Naylor <johncnaylorls(at)gmail(dot)com>, Andy Fan <zhihuifan1213(at)163(dot)com>, "Devulapalli, Raghuveer" <raghuveer(dot)devulapalli(at)intel(dot)com>, Jesper Pedersen <jesperpedersen(dot)db(at)gmail(dot)com>, Tomas Vondra <tomas(at)vondra(dot)me>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "Shankaran, Akash" <akash(dot)shankaran(at)intel(dot)com>
Subject: Re: Improve CRC32C performance on SSE4.2
Date: 2025-06-23 15:43:12
Message-ID: aFl2EOpXOL06ja10@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 23, 2025 at 11:29:32AM -0400, Tom Lane wrote:
> The code still uses _mm512_castsi512_si128, so I think removing it
> from the configure snippet might not be bright.

Ah, right. I'm not firing on all cylinders this morning, apparently.

> I adapted what's
> there now to get the attached, which builds successfully on my old
> compiler. I still need to check it on a newer compiler.

LGTM

--
nathan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christoph Berg 2025-06-23 15:59:24 Re: pgsql: Introduce pg_shmem_allocations_numa view
Previous Message Maxim Orlov 2025-06-23 15:40:31 Issue with custom operator in simple case