Re: a couple of small patches for simd.h

2025-09-25 Thread Nathan Bossart
On Thu, Sep 25, 2025 at 02:10:19PM -0500, Nathan Bossart wrote: > Here's a new version of 0002 with a modified SSE2 implementation, as > discussed elsewhere [0]. This allows us to remove vector8_ssub(). Sorry for the noise. v3 fixes the mixed-declarations-and-code problems. -- nathan >From 2d3

Re: a couple of small patches for simd.h

2025-09-25 Thread Nathan Bossart
Here's a new version of 0002 with a modified SSE2 implementation, as discussed elsewhere [0]. This allows us to remove vector8_ssub(). [0] https://postgr.es/m/aNWO7L43UevRErw_%40nathan -- nathan >From a644f049add68ea78326f88d8994898c92f23c20 Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date:

Re: a couple of small patches for simd.h

2025-09-24 Thread Nathan Bossart
On Wed, Sep 24, 2025 at 08:04:59AM +0700, John Naylor wrote: > On Tue, Sep 23, 2025 at 4:44 AM Nathan Bossart > 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(

Re: a couple of small patches for simd.h

2025-09-23 Thread John Naylor
On Tue, Sep 23, 2025 at 4:44 AM Nathan Bossart 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]

a couple of small patches for simd.h

2025-09-22 Thread Nathan Bossart
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 v