Re: [PATCH] CRC32C optimizations using SVE2 on ARM.

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: "Devanga(dot)Susmitha(at)fujitsu(dot)com" <Devanga(dot)Susmitha(at)fujitsu(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, "Ragesh(dot)Hajela(at)fujitsu(dot)com" <Ragesh(dot)Hajela(at)fujitsu(dot)com>, "Chiranmoy(dot)Bhattacharya(at)fujitsu(dot)com" <Chiranmoy(dot)Bhattacharya(at)fujitsu(dot)com>
Subject: Re: [PATCH] CRC32C optimizations using SVE2 on ARM.
Date: 2025-12-19 02:57:21
Message-ID: CANWCAZZq0Ci9t-jUDvmdWJTgcCXX8YwQU8k0_h5wm7sMHAZFkw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Dec 19, 2025 at 4:20 AM Devanga(dot)Susmitha(at)fujitsu(dot)com
<Devanga(dot)Susmitha(at)fujitsu(dot)com> wrote:
> For architecture-specific functions, we use pg_attribute_target("arch=armv9-a+sve2-aes")

There was already a proposal to use armv8-a+crypto, which is more
widely available and works on smaller inputs. Perhaps you'd be
interested in reviewing and testing?

https://www.postgresql.org/message-id/CANWCAZaKhE%2BRD5KKouUFoxx1EbUNrNhcduM1VQ%3DDkSDadNEFng%40mail.gmail.com

> to ensure precise compilation control without modifying global CFLAGS, enabling a clean integration within PostgreSQL’s build system.

I think the reason we continue to use CFLAGS here was that clang
support for target attributes on Arm is fairly recent. It's probably
too soon to reconsider that.

--
John Naylor
Amazon Web Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2025-12-19 03:00:54 Re: Switch buffile.c/h to use pgoff_t
Previous Message Michael Paquier 2025-12-19 02:52:49 Re: [PATCH v1] Fixed a spelling error in the comments in gininsert.c