Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f39ddd8 commit f8f1430Copy full SHA for f8f1430
src/include/port/atomics/arch-arm.h
@@ -18,8 +18,9 @@
18
#endif
19
20
/*
21
- * 64 bit atomics on arm are implemented using kernel fallbacks and might be
22
- * slow, so disable entirely for now.
23
- * XXX: We might want to change that at some point for AARCH64
+ * 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.
24
*/
+#if !defined(__aarch64__) && !defined(__aarch64)
25
#define PG_DISABLE_64_BIT_ATOMICS
26
+#endif /* __aarch64__ || __aarch64 */
0 commit comments