mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 07:55:04 -05:00
Removed cn/wow algorithm (coin forked to rx/wow).
This commit is contained in:
@@ -255,7 +255,7 @@ static int v4_random_math_init(struct V4_Instruction* code, const uint64_t heigh
|
||||
code_size = 0;
|
||||
|
||||
int total_iterations = 0;
|
||||
r8_used = (ALGO == xmrig::Algorithm::CN_WOW);
|
||||
r8_used = false;
|
||||
|
||||
// Generate random code to achieve minimal required latency for our abstract CPU
|
||||
// Try to get this latency for all 4 registers
|
||||
@@ -299,7 +299,7 @@ static int v4_random_math_init(struct V4_Instruction* code, const uint64_t heigh
|
||||
// Don't do ADD/SUB/XOR with the same register
|
||||
if (((opcode == ADD) || (opcode == SUB) || (opcode == XOR)) && (a == b)) {
|
||||
// a is always < 4, so we don't need to check bounds here
|
||||
b = (ALGO == xmrig::Algorithm::CN_WOW) ? (a + 4) : 8;
|
||||
b = 8;
|
||||
src_index = b;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user