RE: Use __attribute__((target(sse4.2))) for SSE42 CRC32C

From: "Devulapalli, Raghuveer" <raghuveer(dot)devulapalli(at)intel(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: "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: Use __attribute__((target(sse4.2))) for SSE42 CRC32C
Date: 2024-11-22 21:00:01
Message-ID: SA1PR11MB8278FF0BEC5BA16806391358FB232@SA1PR11MB8278.namprd11.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I think we should still use the test program even when __SSE4_2__ is defined, but
> we can use that macro to determine whether to use a runtime check. I think that
> would keep autoconf and meson consistent.

Sure. Updated patch.

Attachment Content-Type Size
v5-0001-Use-__attribute__-target-sse4.2-for-SSE42-CRC32C.patch application/octet-stream 11.2 KB
v5-0002-Use-consistent-logic-in-configure-and-meson-to-ge.patch application/octet-stream 1.7 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2024-11-22 21:01:06 Re: Make COPY format extendable: Extract COPY TO format implementations
Previous Message Masahiko Sawada 2024-11-22 20:44:19 Re: Make COPY format extendable: Extract COPY TO format implementations