ARM64 build
Note that the build may fail to run with "illegal instruction"; to check
This commit is contained in:
parent
ef0685963b
commit
96c98055de
1 changed files with 1 additions and 1 deletions
2
src/external/atomic_queue/defs.h
vendored
2
src/external/atomic_queue/defs.h
vendored
|
|
@ -14,7 +14,7 @@ static inline void spin_loop_pause() noexcept {
|
||||||
_mm_pause();
|
_mm_pause();
|
||||||
}
|
}
|
||||||
} // namespace atomic_queue
|
} // 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.
|
// TODO: These need to be verified as I do not have access to ARM platform.
|
||||||
namespace atomic_queue {
|
namespace atomic_queue {
|
||||||
constexpr int CACHE_LINE_SIZE = 64;
|
constexpr int CACHE_LINE_SIZE = 64;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue