From c2e15e2b8666dd48cfb341df251765a5d704d44a Mon Sep 17 00:00:00 2001 From: SChernykh Date: Sun, 10 Feb 2019 15:34:31 +0100 Subject: [PATCH] Fixed ARM compilation --- src/crypto/CryptoNight_arm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/crypto/CryptoNight_arm.h b/src/crypto/CryptoNight_arm.h index 0c03900b9..096499b18 100644 --- a/src/crypto/CryptoNight_arm.h +++ b/src/crypto/CryptoNight_arm.h @@ -517,7 +517,7 @@ inline void cryptonight_single_hash(const uint8_t *__restrict__ input, size_t si if (BASE == xmrig::VARIANT_2) { VARIANT2_INTEGER_MATH(0, cl, cx); } - else if ((VARIANT == xmrig::VARIANT_4) || (VARIANT == xmrig::VARIANT_4_64)) { + else if (VARIANT == xmrig::VARIANT_WOW) { VARIANT4_RANDOM_MATH(0, al0, ah0, cl, bx0, bx1); } @@ -687,7 +687,7 @@ inline void cryptonight_double_hash(const uint8_t *__restrict__ input, size_t si if (BASE == xmrig::VARIANT_2) { VARIANT2_INTEGER_MATH(0, cl, cx0); } - else if ((VARIANT == xmrig::VARIANT_4) || (VARIANT == xmrig::VARIANT_4_64)) { + else if (VARIANT == xmrig::VARIANT_WOW) { VARIANT4_RANDOM_MATH(0, al0, ah0, cl, bx00, bx01); } @@ -736,7 +736,7 @@ inline void cryptonight_double_hash(const uint8_t *__restrict__ input, size_t si if (BASE == xmrig::VARIANT_2) { VARIANT2_INTEGER_MATH(1, cl, cx1); } - else if ((VARIANT == xmrig::VARIANT_4) || (VARIANT == xmrig::VARIANT_4_64)) { + else if (VARIANT == xmrig::VARIANT_WOW) { VARIANT4_RANDOM_MATH(1, al1, ah1, cl, bx10, bx11); }