Re: optimize several list functions with SIMD intrinsics - Mailing list pgsql-hackers

From Ankit Kumar Pandey
Subject Re: optimize several list functions with SIMD intrinsics
Date
Msg-id 7fc23473-7f10-5282-711e-34247d089f75@gmail.com
Whole thread Raw
In response to Re: optimize several list functions with SIMD intrinsics  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: optimize several list functions with SIMD intrinsics  (Nathan Bossart <nathandbossart@gmail.com>)
List 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




pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: windows CI failing PMSignalState->PMChildFlags[slot] == PM_CHILD_ASSIGNED
Next
From: Andrew Dunstan
Date:
Subject: Re: Making background psql nicer to use in tap tests