Re: Optimize Arm64 crc32c implementation in Postgresql - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Optimize Arm64 crc32c implementation in Postgresql
Date
Msg-id 20180403164356.wv36j24r4og5u44f@alap3.anarazel.de
Whole thread Raw
In response to Re: Optimize Arm64 crc32c implementation in Postgresql  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
Hi,

On 2018-04-03 19:38:42 +0300, Heikki Linnakangas wrote:
> I was just about to commit this, when I started to wonder: Do we need to
> worry about alignment? As the patch stands, it will merrily do unaligned
> 8-byte loads. Is that OK on ARM? It seems to work on the system I've been
> testing on, but I don't know. And even if it's OK, would it perform better
> if we did 1-byte loads in the beginning, until we reach the 8-byte boundary?

Architecture manual time?  They're available freely IIRC and should
answer this.

- Andres


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Optimize Arm64 crc32c implementation in Postgresql
Next
From: Teodor Sigaev
Date:
Subject: Re: Prefix operator for text and spgist support