Merge pull request #2235 from SChernykh/dev

Fixed cn-heavy for GCC-8
This commit is contained in:
xmrig
2021-04-04 18:09:09 +07:00
committed by GitHub

View File

@ -743,7 +743,7 @@ inline void cryptonight_single_hash(const uint8_t *__restrict__ input, size_t si
int64_t d5;
# if defined _MSC_VER
# if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 8))
d5 = d | 5;
# else
// Workaround for stupid GCC which converts to 32 bit before doing "| 5" and then converts back to 64 bit