mirror of
https://codeberg.org/wownero/RandomWOW
synced 2026-03-05 14:17:33 -05:00
Fixed reading from the red zone
This commit is contained in:
@@ -535,8 +535,9 @@ namespace randomx {
|
||||
asmCode << "\trol rax, " << rotate << std::endl;
|
||||
asmCode << "\tand eax, 24576" << std::endl;
|
||||
asmCode << "\tor eax, 40896" << std::endl;
|
||||
asmCode << "\tmov dword ptr [rsp-8], eax" << std::endl;
|
||||
asmCode << "\tldmxcsr dword ptr [rsp-8]" << std::endl;
|
||||
asmCode << "\tpush rax" << std::endl;
|
||||
asmCode << "\tldmxcsr dword ptr [rsp]" << std::endl;
|
||||
asmCode << "\tpop rax" << std::endl;
|
||||
tracenop(instr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user