Re: Use __attribute__((target(sse4.2))) for SSE42 CRC32C - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Use __attribute__((target(sse4.2))) for SSE42 CRC32C
Date
Msg-id Z0DsnGtosDduShSP@nathan
Whole thread Raw
In response to Re: Use __attribute__((target(sse4.2))) for SSE42 CRC32C  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
On Thu, Nov 21, 2024 at 11:07:59PM +0000, Devulapalli, Raghuveer wrote:
> Thanks for the review! We can actually leverage meson's built in option
> to check for a macro: cc.get_define('__SSE4_2__') != ''. This should keep
> the logic consistent across configure and meson. 

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.

-- 
nathan



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Document NULL
Next
From: Masahiko Sawada
Date:
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations