mirror of
https://codeberg.org/wownero/RandomX.git
synced 2026-10-18 05:51:26 +02:00
Updated JIT compiler and assembly generator for new int -> float conversion
This commit is contained in:
@@ -385,9 +385,9 @@ namespace RandomX {
|
||||
instr.dst %= 4;
|
||||
genAddressReg(instr);
|
||||
asmCode << "\tcvtdq2pd xmm12, qword ptr [rsi+rax]" << std::endl;
|
||||
asmCode << "\tandps xmm12, xmm14" << std::endl;
|
||||
asmCode << "\tandps xmm12, xmm13" << std::endl;
|
||||
asmCode << "\torps xmm12, xmm14" << std::endl;
|
||||
asmCode << "\tdivpd " << regE[instr.dst] << ", xmm12" << std::endl;
|
||||
asmCode << "\tmaxpd " << regE[instr.dst] << ", " << dblMin << std::endl;
|
||||
traceflt(instr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user