* compiler barrier.
*
*/
-#if defined(__arm__) || defined(__arm) || \
- defined(__aarch64__) || defined(__aarch64)
+#if defined(__arm__) || defined(__arm) || defined(__aarch64__)
#include "port/atomics/arch-arm.h"
#elif defined(__i386__) || defined(__i386) || defined(__x86_64__)
#include "port/atomics/arch-x86.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.
*/
-#if !defined(__aarch64__) && !defined(__aarch64)
+#if !defined(__aarch64__)
#define PG_DISABLE_64_BIT_ATOMICS
#else
/*
* general purpose register is atomic.
*/
#define PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY
-#endif /* __aarch64__ || __aarch64 */
+#endif /* __aarch64__ */
* We use the int-width variant of the builtin because it works on more chips
* than other widths.
*/
-#if defined(__arm__) || defined(__arm) || defined(__aarch64__) || defined(__aarch64)
+#if defined(__arm__) || defined(__arm) || defined(__aarch64__)
#ifdef HAVE_GCC__SYNC_INT32_TAS
#define HAS_TEST_AND_SET
* high-core-count ARM64 processors. It seems mostly a wash for smaller gear,
* and ISB doesn't exist at all on pre-v7 ARM chips.
*/
-#if defined(__aarch64__) || defined(__aarch64)
+#if defined(__aarch64__)
#define SPIN_DELAY() spin_delay()
" isb; \n");
}
-#endif /* __aarch64__ || __aarch64 */
+#endif /* __aarch64__ */
#endif /* HAVE_GCC__SYNC_INT32_TAS */
-#endif /* __arm__ || __arm || __aarch64__ || __aarch64 */
+#endif /* __arm__ || __arm || __aarch64__ */
/*