Re: add AVX2 support to simd.h

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: add AVX2 support to simd.h
Дата
Msg-id 20240325152121.GB2662364@nathanxps13
обсуждение исходный текст
Ответ на Re: add AVX2 support to simd.h  (John Naylor <johncnaylorls@gmail.com>)
Ответы Re: add AVX2 support to simd.h  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers
On Mon, Mar 25, 2024 at 10:03:27AM +0700, John Naylor wrote:
> Seems pretty good. It'd be good to see the results of 2- vs.
> 4-register before committing, because that might lead to some
> restructuring, but maybe it won't, and v8 is already an improvement
> over HEAD.

I tested this the other day [0] (only for x86).  The results seemed to
indicate that the 4-register approach was still quite a bit better.

> /* Process the remaining elements one at a time. */
> 
> This now does all of them if that path is taken, so "remaining" can be removed.

Right, will do.

[0] https://postgr.es/m/20240321183823.GA1800896%40nathanxps13

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: "Amonson, Paul D"
Дата:
Сообщение: RE: Popcount optimization using AVX512
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: documentation structure