AArch64 has single-copy 64 bit atomicity

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: AArch64 has single-copy 64 bit atomicity
Date: 2021-11-02 22:33:40
Message-ID: CA+hUKGKyJf7kwYkqDgzTE26Ra1m9nvM=eds2RSSu7WSL-r2wKw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
0001-AArch64-has-single-copy-64-bit-atomicity.patch text/x-patch 907 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-11-02 22:39:00 Re: [PATCH] postgres_fdw: suppress explicit casts in text:text comparisons (was: column option to override foreign types)
Previous Message David G. Johnston 2021-11-02 22:30:25 Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.