diff options
Diffstat (limited to 'src/Run.cpp')
-rw-r--r-- | src/Run.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Run.cpp b/src/Run.cpp index 399f516..dab1d11 100644 --- a/src/Run.cpp +++ b/src/Run.cpp @@ -409,7 +409,8 @@ static benchmark chase_pointers(int64 chains_per_thread, // memory loading per t c.mov(positions[i], ptr(positions[i], offsetof(Chain, next))); // Prefetch next - // TODO + if (prefetch) + c.prefetch(ptr(positions[i]), AsmJit::PREFETCH_T0); } // Wait |