From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
---|---|
To: | "Chiranmoy(dot)Bhattacharya(at)fujitsu(dot)com" <Chiranmoy(dot)Bhattacharya(at)fujitsu(dot)com> |
Cc: | "Malladi, Rama" <ramamalladi(at)hotmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, "Ragesh(dot)Hajela(at)fujitsu(dot)com" <Ragesh(dot)Hajela(at)fujitsu(dot)com>, Salvatore Dipietro <dipiets(at)amazon(dot)com>, "Devanga(dot)Susmitha(at)fujitsu(dot)com" <Devanga(dot)Susmitha(at)fujitsu(dot)com> |
Subject: | Re: [PATCH] SVE popcount support |
Date: | 2025-03-03 23:00:52 |
Message-ID: | Z8Y0pKrlQPPbhVKC@nathan |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Feb 19, 2025 at 09:31:50AM +0000, Chiranmoy(dot)Bhattacharya(at)fujitsu(dot)com wrote:
>> Hm. Any idea why that is? I wonder if the compiler isn't using as many
>> SVE registers as it could for this.
>
> Not sure, we tried forcing loop unrolling using the below line in the MakeFile
> but the results are the same.
>
> pg_popcount_sve.o: CFLAGS += ${CFLAGS_UNROLL_LOOPS} -march=native
Interesting. I do see different assembly with the 2 and 4 register
versions, but I didn't get to testing it on a machine with SVE support
today.
Besides some additional benchmarking, I might make some small adjustments
to the patch. But overall, it seems to be in decent shape.
--
nathan
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2025-03-03 23:04:31 | Re: proposal - plpgsql - support standard syntax for named arguments for cursors |
Previous Message | Devulapalli, Raghuveer | 2025-03-03 22:40:27 | RE: Improve CRC32C performance on SSE4.2 |