mirror of
https://github.com/wownero/RandomX.git
synced 2026-11-12 11:14:12 +01:00
Fixed an inconsistency in IADD_RS in SuperscalarHash
This commit is contained in:
+1
-1
@@ -849,7 +849,7 @@ namespace randomx {
|
||||
r[instr.dst] ^= r[instr.src];
|
||||
break;
|
||||
case randomx::SuperscalarInstructionType::IADD_RS:
|
||||
r[instr.dst] += r[instr.src] << instr.getModMem();
|
||||
r[instr.dst] += r[instr.src] << instr.getModShift();
|
||||
break;
|
||||
case randomx::SuperscalarInstructionType::IMUL_R:
|
||||
r[instr.dst] *= r[instr.src];
|
||||
|
||||
Reference in New Issue
Block a user