mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 10:01:06 +00:00
Fix copy/paste typo.
This commit is contained in:
parent
079de97fab
commit
5c02cb50da
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ void JitCompilerA64::generateProgram(Program& program, ProgramConfiguration& con
|
||||||
codePos = ((uint8_t*)randomx_program_aarch64_update_spMix1) - ((uint8_t*)randomx_program_aarch64);
|
codePos = ((uint8_t*)randomx_program_aarch64_update_spMix1) - ((uint8_t*)randomx_program_aarch64);
|
||||||
emit32(ARMV8A::EOR | 10 | (IntRegMap[config.readReg0] << 5) | (IntRegMap[config.readReg1] << 16), code, codePos);
|
emit32(ARMV8A::EOR | 10 | (IntRegMap[config.readReg0] << 5) | (IntRegMap[config.readReg1] << 16), code, codePos);
|
||||||
|
|
||||||
# ifdef HAVE_BUILTIN_CLEAR_CACHE_
|
# ifdef HAVE_BUILTIN_CLEAR_CACHE
|
||||||
__builtin___clear_cache(reinterpret_cast<char*>(code + MainLoopBegin), reinterpret_cast<char*>(code + codePos));
|
__builtin___clear_cache(reinterpret_cast<char*>(code + MainLoopBegin), reinterpret_cast<char*>(code + codePos));
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue