Re: add AVX2 support to simd.h - Mailing list pgsql-hackers

From Tom Lane
Subject Re: add AVX2 support to simd.h
Date
Msg-id 3442907.1711573813@sss.pgh.pa.us
Whole thread Raw
In response to Re: add AVX2 support to simd.h  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: add AVX2 support to simd.h
List pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> Here's what I had in mind.  My usual benchmark seems to indicate that this
> shouldn't impact performance.

Shouldn't "i" be declared uint32, since nelem is?

BTW, I wonder why these functions don't declare their array
arguments like "const uint32 *base".

LGTM otherwise, and I like the fact that the #if structure
gets a lot less messy.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: Streaming I/O, vectored I/O (WIP)
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] plpython function causes server panic