Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/TracyYield.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/TracyYield.hpp b/common/TracyYield.hpp
index 403ca29c..7b8ccef0 100644
--- a/common/TracyYield.hpp
+++ b/common/TracyYield.hpp
@@ -16,6 +16,8 @@ static tracy_force_inline void YieldThread()
{
#if defined __SSE2__ || defined _M_AMD64 || _M_IX86_FP == 2
_mm_pause();
+#elif defined __aarch64__
+ asm volatile( "isb" : : );
#else
std::this_thread::yield();
#endif