mirror of
https://github.com/xmrig/xmrig.git
synced 2026-07-04 23:52:41 -04:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 806cfc3f4d | |||
| 84352c71ca |
@@ -420,7 +420,7 @@ inline void* rx_aligned_alloc(size_t size, size_t align) {
|
||||
# define rx_aligned_free(a) free(a)
|
||||
#endif
|
||||
|
||||
inline void rx_prefetch_nta(void* ptr) {
|
||||
inline void rx_prefetch_nta(const void* ptr) {
|
||||
asm volatile ("prfm pldl1strm, [%0]\n" : : "r" (ptr));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user