1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-25 05:40:39 -05:00
This commit is contained in:
MoneroOcean
2020-03-04 17:58:35 -08:00
33 changed files with 2354 additions and 30 deletions

View File

@@ -326,9 +326,9 @@ namespace randomx {
}
void JitCompilerX86::prepare() {
for (int i = 0; i < sizeof(engine); i += 64)
for (size_t i = 0; i < sizeof(engine); i += 64)
rx_prefetch_nta((const char*)(&engine) + i);
for (int i = 0; i < sizeof(RandomX_CurrentConfig); i += 64)
for (size_t i = 0; i < sizeof(RandomX_CurrentConfig); i += 64)
rx_prefetch_nta((const char*)(&RandomX_CurrentConfig) + i);
}