AArch64 has single-copy 64 bit atomicity - Mailing list pgsql-hackers

From Thomas Munro
Subject AArch64 has single-copy 64 bit atomicity
Date
Msg-id CA+hUKGKyJf7kwYkqDgzTE26Ra1m9nvM=eds2RSSu7WSL-r2wKw@mail.gmail.com
Whole thread Raw
Responses Re: AArch64 has single-copy 64 bit atomicity
List pgsql-hackers
Hi,

Andres mentioned in passing that he'd defined
PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY only on Itanium, PPC and x86 but
not ARM.

I took a look at https://developer.arm.com/documentation/ddi0487/gb/
under "B2.2.1 Requirements for single-copy atomicity" and it seemed
like we should turn this on for __aarch64__.  It goes back to the
original ARMv8-A so should cover all 64 bit ARM systems.

Attachment

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] postgres_fdw: suppress explicit casts in text:text comparisons (was: column option to override foreign types)