Re: optimize several list functions with SIMD intrinsics

From: Ankit Kumar Pandey <itsankitkp(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: optimize several list functions with SIMD intrinsics
Date: 2023-03-15 14:01:46
Message-ID: 7fc23473-7f10-5282-711e-34247d089f75@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Agree with your points Nathan. Just a headup.

> On 14/03/23 03:10, Nathan Bossart wrote:
> On Sat, Mar 11, 2023 at 09:41:18AM +0000, Ankit Kumar Pandey wrote:
>> 1. In list_member_ptr, will it be okay to bring `const ListCell *cell` from
>> #ifdef USE_NO_SIMD
>> const ListCell *cell;
>> #endif
>> to #else like as mentioned below? This will make visual separation between #if cases more cleaner
> I would expect to see -Wdeclaration-after-statement warnings if we did
> this.

This worked fine for me, no warnings on gcc 12.2.0. Not a concern though.

Thanks,

Ankit

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2023-03-15 14:10:20 Re: Making background psql nicer to use in tap tests
Previous Message Karl O. Pinc 2023-03-15 13:55:21 Re: Doc: Rework contrib appendix -- informative titles, tweaked sentences