From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Cc: | johncnaylorls(at)gmail(dot)com |
Subject: | a couple of small patches for simd.h |
Date: | 2025-09-22 21:44:20 |
Message-ID: | aNHDNDSHleq0ogC_@nathan |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
0001 essentially reverts commit c6a43c2, and instead fixes the problem
(MSVC dislikes casts to the same type) by omitting the cast in the
problematic line in pg_lfind32(). While working on optimizing hex_encode()
and hex_decode() [0], I noticed that implicit conversions sufficed.
0002 optimizes vector8_has_le() on AArch64 by using vminvq_u8(). I needed
vector8_has_ge() for the hex_encode()/hex_decode() work and noticed this
opportunity.
[0] https://commitfest.postgresql.org/patch/5538/
--
nathan
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Remove-vector32_is_highbit_set.patch | text/plain | 2.1 KB |
v1-0002-Optimize-vector8_has_le-on-AArch64.patch | text/plain | 627 bytes |
From | Date | Subject | |
---|---|---|---|
Previous Message | Tomas Vondra | 2025-09-22 21:31:31 | Re: Fix overflow of nbatch |