diff options
author | lloyd <[email protected]> | 2009-12-29 20:21:32 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-29 20:21:32 +0000 |
commit | 3073f497124a0b4e0aa95a75ee94eec52e887ae7 (patch) | |
tree | dd958128b1079c01f050613ea82ff7d83e90d4ab /src/utils/prefetch.h | |
parent | 1613452fd47f1dd3012db18013403a10cf517d18 (diff) |
Mark read/write prefetches as such, instead of read-only prefetch
Diffstat (limited to 'src/utils/prefetch.h')
-rw-r--r-- | src/utils/prefetch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/prefetch.h b/src/utils/prefetch.h index 7afdbda0a..ede196692 100644 --- a/src/utils/prefetch.h +++ b/src/utils/prefetch.h @@ -32,7 +32,7 @@ inline void readwrite(const T* addr, u32bit length) const u32bit Ts_per_cache_line = CPUID::cache_line_size() / sizeof(T); for(u32bit i = 0; i <= length; i += Ts_per_cache_line) - __builtin_prefetch(addr + i, 0); + __builtin_prefetch(addr + i, 1); #endif } |