Re: call popcount32/64 directly on non-x86 platforms - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: call popcount32/64 directly on non-x86 platforms
Date
Msg-id 202108121433.p7vt5rdwdthi@alvherre.pgsql
Whole thread Raw
In response to Re: call popcount32/64 directly on non-x86 platforms  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
On 2021-Aug-13, David Rowley wrote:

> Maybe you saw that there's no such equivalent test when we set
> HAVE_X86_64_POPCNTQ for MSVC on x86_64.  The reason for that is that
> we do the run-time test using cpuid.

Yeah, that and also I mistook the two independent "ifdef" blocks for one
block with an "#else".  Re-reading the ifdef maze, it looks reasonable.

-- 
Álvaro Herrera           39°49'30"S 73°17'W  —  https://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Shared memory size computation oversight?
Next
From: Robert Haas
Date:
Subject: Re: when the startup process doesn't (logging startup delays)