Re: vectorized CRC on ARM64

John Naylor <johncnaylorls@gmail.com>

From: John Naylor <johncnaylorls@gmail.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-05-05T11:56:37Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Use C11 alignas instead of pg_attribute_aligned

  2. Compute CRC32C on ARM using the Crypto Extension where available

On Mon, Apr 6, 2026 at 9:38 AM John Naylor <johncnaylorls@gmail.com> wrote:
> and appropriate guards. The earlier use of __builtin_constant_p in the
> x86 case didn't happen to cause any failures on MSVC for some reason.
> That path needs a guard as well, but since that's backpatchable I
> handle it later. It's unlikely anyone passing special CFLAGS is using
> a non-mainstream compiler, but that's still a potential trap waiting
> for someone.

Done in 648818ba3.

-- 
John Naylor
Amazon Web Services