mirror of
https://github.com/xmrig/xmrig.git
synced 2024-10-30 21:17:52 +00:00
commit
13ee9d09a8
1 changed files with 4 additions and 6 deletions
|
@ -495,12 +495,10 @@ namespace randomx {
|
||||||
|
|
||||||
emit32(instr.getImm32(), code, codePos);
|
emit32(instr.getImm32(), code, codePos);
|
||||||
emitByte(0x25, code, codePos);
|
emitByte(0x25, code, codePos);
|
||||||
if (instr.getModCond() < StoreL3Condition) {
|
|
||||||
emit32(AddressMask[instr.getModMem()], code, codePos);
|
const uint32_t mask1 = AddressMask[instr.getModMem()];
|
||||||
}
|
const uint32_t mask2 = ScratchpadL3Mask;
|
||||||
else {
|
emit32((instr.mod < (StoreL3Condition << 4)) ? mask1 : mask2, code, codePos);
|
||||||
emit32(ScratchpadL3Mask, code, codePos);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FORCE_INLINE void JitCompilerX86::genAddressImm(const Instruction& instr, uint8_t* code, uint32_t& codePos) {
|
FORCE_INLINE void JitCompilerX86::genAddressImm(const Instruction& instr, uint8_t* code, uint32_t& codePos) {
|
||||||
|
|
Loading…
Reference in a new issue