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

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Use __attribute__((target(sse4.2))) for SSE42 CRC32C
Дата
Msg-id Z0DsnGtosDduShSP@nathan
обсуждение исходный текст
Ответ на Re: Use __attribute__((target(sse4.2))) for SSE42 CRC32C  (Nathan Bossart <nathandbossart@gmail.com>)
Список 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 по дате отправления: