RE: Popcount optimization using AVX512 - Mailing list pgsql-hackers

From Devulapalli, Raghuveer
Subject RE: Popcount optimization using AVX512
Date
Msg-id PH8PR11MB82863AB8040AD090909DC18BFB0E2@PH8PR11MB8286.namprd11.prod.outlook.com
Whole thread Raw
In response to Re: Popcount optimization using AVX512  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Popcount optimization using AVX512
List pgsql-hackers
> On that note, is it necessary to also check for avx512f?  At the moment, we are assuming that's supported if the
otherAVX-512 instructions are available. 

No, it's not needed. There are no CPU's with avx512bw/avx512popcnt without avx512f.  Unfortunately though, avx512popcnt
doesnot mean avx512bw (I think the deprecated Xeon Phi processors falls in this category) which is why we need both.  



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Popcount optimization using AVX512
Next
From: Tomas Vondra
Date:
Subject: Re: brininsert optimization opportunity