Re: a couple of small patches for simd.h

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: a couple of small patches for simd.h
Дата
Msg-id CANWCAZaLyxDHoDFjvtaz0aM6Agx=P5i=0T8HnkgLNdwXwJn9Ug@mail.gmail.com
обсуждение исходный текст
Ответ на a couple of small patches for simd.h  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: a couple of small patches for simd.h
Список pgsql-hackers
On Tue, Sep 23, 2025 at 4:44 AM Nathan Bossart <nathandbossart@gmail.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



В списке pgsql-hackers по дате отправления: