ARM64 build

Note that the build may fail to run
with "illegal instruction"; to check
This commit is contained in:
Paul Ferrand 2020-01-03 17:42:14 +01:00
parent ef0685963b
commit 96c98055de

View file

@ -14,7 +14,7 @@ static inline void spin_loop_pause() noexcept {
_mm_pause();
}
} // namespace atomic_queue
#elif defined(__arm__)
#elif defined(__arm__) || defined(__aarch64__)
// TODO: These need to be verified as I do not have access to ARM platform.
namespace atomic_queue {
constexpr int CACHE_LINE_SIZE = 64;