Re: Popcount optimization using AVX512

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Raghuveer Devulapalli <raghuveer(dot)devulapalli(at)intel(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Popcount optimization using AVX512
Date: 2024-10-30 21:10:10
Message-ID: ZyKgsihSKB0kAI3U@nathan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Oct 30, 2024 at 08:53:10PM +0000, Raghuveer Devulapalli wrote:
> BTW, I just realized function attributes for xsave and avx512 don't work
> on MSVC (see
> https://developercommunity.visualstudio.com/t/support-function-target-attribute-and-mutiversioning/10130630)
> Not sure if you care about it. Its an easy fix (see
> https://gcc.godbolt.org/z/Pebdj3vMx)

Oh, good catch. IIUC we only need to check for #ifndef _MSC_VER in the
configure programs for meson. pg_attribute_target will be empty on MSVC,
and I believe we only support meson builds there.

--
nathan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2024-10-30 21:21:10 Having problems generating a code coverage report
Previous Message Devulapalli, Raghuveer 2024-10-30 21:03:20 RE: Proposal for Updating CRC32C with AVX-512 Algorithm.