diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2021-10-20 10:17:26 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2021-11-15 09:27:03 +0300 |
commit | ccba00b910652d7790153affef64d29e10d52dea (patch) | |
tree | 39cd8378491ffeca2a52864ce9c1836e6cd1d979 | |
parent | e504da8ce46f71606bd66b05d80b0fec1bdc1d04 (diff) | |
download | libatomic_ops-ccba00b910652d7790153affef64d29e10d52dea.tar.gz |
Do not assume 'ordered except earlier write' for UWP/arm64
(fix of commit e078c7bb7)
* src/atomic_ops/sysdeps/msftc/x86_64.h: Do not include
ordered_except_wr.h if _M_ARM64.
-rw-r--r-- | src/atomic_ops/sysdeps/msftc/x86_64.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/atomic_ops/sysdeps/msftc/x86_64.h b/src/atomic_ops/sysdeps/msftc/x86_64.h index 196fc65..fa14d7e 100644 --- a/src/atomic_ops/sysdeps/msftc/x86_64.h +++ b/src/atomic_ops/sysdeps/msftc/x86_64.h @@ -22,14 +22,15 @@ #include "../all_aligned_atomic_load_store.h" +#if !defined(_M_ARM64) /* Real X86 implementations appear */ /* to enforce ordering between memory operations, EXCEPT that a later */ /* read can pass earlier writes, presumably due to the visible */ /* presence of store buffers. */ /* We ignore the fact that the official specs */ /* seem to be much weaker (and arguably too weak to be usable). */ - #include "../ordered_except_wr.h" +#endif #ifdef AO_ASM_X64_AVAILABLE # include "../test_and_set_t_is_char.h" |