Removed excess code for v0 & v1

This commit is contained in:
SChernykh 2018-08-29 19:52:33 +02:00
parent 36a562e1f1
commit f151c7131d
2 changed files with 17 additions and 7 deletions

View file

@ -527,7 +527,9 @@ inline void cryptonight_single_hash(const uint8_t *__restrict__ input, size_t si
idx0 = d ^ q;
}
}
bx1 = bx0;
if (VARIANT == xmrig::VARIANT_2) {
bx1 = bx0;
}
bx0 = cx;
}
@ -699,9 +701,11 @@ inline void cryptonight_double_hash(const uint8_t *__restrict__ input, size_t si
idx1 = d ^ q;
}
}
bx01 = bx00;
if (VARIANT == xmrig::VARIANT_2) {
bx01 = bx00;
bx11 = bx10;
}
bx00 = cx0;
bx11 = bx10;
bx10 = cx1;
}