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 16:48:22
Message-ID: 468200fd-a039-5edc-4907-0104d0953f70@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 15/03/23 21:53, Nathan Bossart wrote:

> Did you try building without SIMD support? This is what I see:

> list.c: In function ‘list_member_ptr’:
> list.c:697:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
> 697 | const ListCell *cell;
> | ^~~~~

> If your build doesn't have USE_NO_SIMD defined, this warning won't appear
> because the code in question will be compiled out.

My mistake, I tried with USE_NO_SIMD defined and it showed the warning. Sorry for the noise.

Regards,
Ankit

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Lakhin 2023-03-15 17:00:00 Re: Add support for DEFAULT specification in COPY FROM
Previous Message Nathan Bossart 2023-03-15 16:23:19 Re: optimize several list functions with SIMD intrinsics