Hi, On 2018-03-06 02:44:35 +0800, Heikki Linnakangas wrote: > On 02/03/18 06:42, Andres Freund wrote: > > On 2018-03-02 11:37:52 +1300, Thomas Munro wrote: > > > So... that stuff probably needs either a configure check for the > > > getauxval function and/or those headers, or an OS check? > > > > It'd probably be better to not rely on os specific headers, and instead > > directly access the capabilities. > > Anyone got an idea on how to do that? I googled around a bit, but couldn't > find any examples.
Similar... > * Use compiler intrinsics instead of inline assembly. +many > * I tested this on Linux, with gcc and clang, on an ARM64 virtual machine > that I had available (not an emulator, but a VM on a shared ARM64 server). Have you seen actual postgres performance benefits with the patch? - Andres