From: | John Naylor <johncnaylorls(at)gmail(dot)com> |
---|---|
To: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: a couple of small patches for simd.h |
Date: | 2025-09-24 01:04:59 |
Message-ID: | CANWCAZaLyxDHoDFjvtaz0aM6Agx=P5i=0T8HnkgLNdwXwJn9Ug@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Sep 23, 2025 at 4:44 AM Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote:
>
> 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.
I don't remember why that cast was there, but I suggest testing on gcc
/ aarch64 if you haven't already.
As for 0002, +1 for more succinct expressions when the hardware supports it.
--
John Naylor
Amazon Web Services
From | Date | Subject | |
---|---|---|---|
Next Message | Alexandra Wang | 2025-09-24 01:05:26 | Re: SQL:2023 JSON simplified accessor support |
Previous Message | Ajin Cherian | 2025-09-24 00:51:24 | Re: Clear logical slot's 'synced' flag on promotion of standby |