[V2] Adding new CRC32C implementation for IBM S390X

From: Eduard Stefes <Eduard(dot)Stefes(at)ibm(dot)com>
To: "johncnaylorls(at)gmail(dot)com" <johncnaylorls(at)gmail(dot)com>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "brueckner(at)linux(dot)ibm(dot)com" <brueckner(at)linux(dot)ibm(dot)com>, "iii(at)linux(dot)ibm(dot)com" <iii(at)linux(dot)ibm(dot)com>, Eduard Stefes <Eduard(dot)Stefes(at)ibm(dot)com>
Subject: [V2] Adding new CRC32C implementation for IBM S390X
Date: 2025-06-05 07:15:10
Message-ID: 2078ad39a456088fd4a5ea98084e7d72bdf8ff2b.camel@ibm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

So here is V2 of the crc32c_s390x patch. Changes from V1 are:

- added gcc 14-14.2 as known broken compiler (bug was fixed with 14.3)
- moved broken compiler check to vx extension compile&link check
- made variables global in the extension check
- create dependency to getauxval in configure, so we don't compile the
code if we won't be able to detect the cpu extension at runtime
- moved buffer length check into macro
- changed minimal buffer length for crc32c_s390x from 64 to 16 byte
- added CFLAGS_CRC to all crc32c_s390x* artifacts
- fixed formatting with pgindent
- fixed typos in email address

--
Eduard Stefes <eduard(dot)stefes(at)ibm(dot)com>

Attachment Content-Type Size
v2-0001-Added-crc32c-extension-for-ibm-s390x-based-on-VX-.patch text/x-patch 34.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2025-06-05 07:16:34 Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Previous Message Nikhil Kumar Veldanda 2025-06-05 07:03:49 Re: ZStandard (with dictionaries) compression support for TOAST compression