Skip to content

Commit

Permalink
AAL disable __builtin_readcyclecounter on macOs arm64. (#601)
Browse files Browse the repository at this point in the history
Fix perf-content* tests.
  • Loading branch information
devnexen authored Mar 13, 2023
1 parent 959531b commit 848db74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snmalloc/aal/aal.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ namespace snmalloc
}
else
{
#if __has_builtin(__builtin_readcyclecounter) && \
#if __has_builtin(__builtin_readcyclecounter) && !defined(__APPLE__) && \
!defined(SNMALLOC_NO_AAL_BUILTINS)
return __builtin_readcyclecounter();
#else
Expand Down

0 comments on commit 848db74

Please sign in to comment.