| /*------------------------------------------------------------------------- | |
| * | |
| * arch-arm.h | |
| * Atomic operations considerations specific to ARM | |
| * | |
| * Portions Copyright (c) 2013-2023, PostgreSQL Global Development Group | |
| * | |
| * NOTES: | |
| * | |
| * src/include/port/atomics/arch-arm.h | |
| * | |
| *------------------------------------------------------------------------- | |
| */ | |
| /* intentionally no include guards, should only be included by atomics.h */ | |
| /* | |
| * 64 bit atomics on ARM32 are implemented using kernel fallbacks and thus | |
| * might be slow, so disable entirely. On ARM64 that problem doesn't exist. | |
| */ | |
| /* | |
| * Architecture Reference Manual for ARMv8 states aligned read/write to/from | |
| * general purpose register is atomic. | |
| */ | |