RE: Popcount optimization using AVX512

2024-04-18 Thread Shankaran, Akash
> 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

RE: Popcount optimization using AVX512

2024-03-29 Thread Shankaran, Akash
> 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

RE: Popcount optimization using AVX512

2023-11-16 Thread Shankaran, Akash
ions/ -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 at 09:53: