Add RISC-V Zbb popcount optimization

From: "Greg Burd" <greg(at)burd(dot)me>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Add RISC-V Zbb popcount optimization
Date: 2026-03-21 16:54:10
Message-ID: d9f246d9-70dc-45ed-b0a2-1c583e2835e3@app.fastmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello.

Attached is a small patch that enables hardware popcount on RISC-V when available and also sets the arch flag to 'rv64gc_zbb' flag when appropriate.

best.

-greg

Attachment Content-Type Size
v1-0001-Add-RISC-V-Zbb-popcount-optimization.patch text/x-patch 5.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message KAZAR Ayoub 2026-03-21 16:58:36 Add pg_stat_vfdcache view for VFD cache statistics
Previous Message Amit Kapila 2026-03-21 16:52:31 Re: Use SIGTERM instead of SIGUSR1 for slotsync worker to exit during promotion?