Skip to content

Commit

Permalink
Update x64 prefetch default
Browse files Browse the repository at this point in the history
  • Loading branch information
mjp41 committed Aug 1, 2023
1 parent 453e5e3 commit a799f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snmalloc/aal/aal_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ namespace snmalloc
#if defined(_MSC_VER)
_m_prefetchw(ptr);
#else
_mm_prefetch(reinterpret_cast<const char*>(ptr), _MM_HINT_T0);
_mm_prefetch(reinterpret_cast<const char*>(ptr), _MM_HINT_ET0);
#endif
}

Expand Down

0 comments on commit a799f1d

Please sign in to comment.