| From: | John Naylor <john(dot)naylor(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Use direct function calls for pg_popcount{32,64} on non-x86 plat |
| Date: | 2021-08-16 15:53:07 |
| Message-ID: | E1mFevD-0007nU-2h@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Use direct function calls for pg_popcount{32,64} on non-x86 platforms
Previously, all pg_popcount{32,64} calls were indirected through
a function pointer, even though we had no fast implementation for
non-x86 platforms. Instead, for those platforms use wrappers around
the pg_popcount{32,64}_slow functions.
Review and additional hacking by David Rowley
Reviewed by Álvaro Herrera
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4864c8e8f184a35ed1c2c51a15e9a455e9fbb398
Modified Files
--------------
src/include/port/pg_bitutils.h | 32 +++++++++++++++++++++++++++-
src/port/pg_bitutils.c | 48 +++++++++++++++++++-----------------------
2 files changed, 53 insertions(+), 27 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Daniel Gustafsson | 2021-08-16 18:12:00 | pgsql: Emit namespace in the post-copy errmsg |
| Previous Message | Dilip Kumar | 2021-08-16 14:47:47 | Re: pgsql: pgstat: Bring up pgstat in BaseInit() to fix uninitialized use o |