> From: Nathan Bossart
> Sent: Friday, March 29, 2024 9:17 AM
> To: Amonson, Paul D
> On Fri, Mar 29, 2024 at 04:06:17PM +, Amonson, Paul D wrote:
>> Yeah, I understand that much, but I want to know how portable the
>> XGETBV instruction is. Unless I can assume that all x86_64 systems
>>
w-instructions/
-Original Message-
From: Nathan Bossart
Sent: Tuesday, November 7, 2023 12:15 PM
To: Noah Misch
Cc: Tom Lane ; Matthias van de Meent
; Amonson, Paul D ;
pgsql-hackers@lists.postgresql.org; Shankaran, Akash
Subject: Re: Popcount optimization using AVX512
On Mon, Nov 06, 2023
> It was brought to my attention [0] that we probably should be checking for
> the OSXSAVE bit instead of the XSAVE bit when determining whether there's
> support for the XGETBV instruction. IIUC that should indicate that both the
> OS and the processor have XGETBV support (not just the process
>> > I don't think "another extension might use it someday" makes a very strong
>> > case,
>> > particularly for something that requires a new dependency.
>>
>> The x86-simdsort library is an optional dependency in Postgres. Also the new
>> list sort implementation which uses the x86-simdsort lib