| From: | "Greg Burd" <greg(at)burd(dot)me> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Cc: | "Nathan Bossart" <nathandbossart(at)gmail(dot)com>, "John Naylor" <johncnaylorls(at)gmail(dot)com>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Andres Freund" <andres(at)anarazel(dot)de> |
| Subject: | Re: Add RISC-V Zbb popcount optimization |
| Date: | 2026-06-08 17:45:05 |
| Message-ID: | d39848c8-9b01-4838-90bc-cd0c34678251@app.fastmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hello,
The attached patch addresses the RISC-V instability when compiled with Clang < 22 related to vectorization by disabling that feature in during configuration. This fix is verified on greenfly which now passes tests given that it is now compiled with Clang 22.
IMO, given that this impacts at least one important thing in a silent and broken way it feels like something we should adopt in v19 and not wait.
best.
-greg
| Attachment | Content-Type | Size |
|---|---|---|
| v5-0001-Disable-auto-vectorization-on-RISC-V-with-Clang-older-than-22.patch | text/x-patch | 4.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Burd | 2026-06-08 17:50:58 | Re: Add RISC-V Zbb popcount optimization |
| Previous Message | Peter Eisentraut | 2026-06-08 17:33:04 | Re: Fix bug of UPDATE/DELETE FOR PORTION OF with inheritance tables |