mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 12:09:22 +00:00
Fixed cn-heavy for GCC-8
This commit is contained in:
parent
8cae605e1f
commit
1741354498
1 changed files with 1 additions and 1 deletions
|
@ -743,7 +743,7 @@ inline void cryptonight_single_hash(const uint8_t *__restrict__ input, size_t si
|
||||||
|
|
||||||
int64_t d5;
|
int64_t d5;
|
||||||
|
|
||||||
# if defined _MSC_VER
|
# if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 8))
|
||||||
d5 = d | 5;
|
d5 = d | 5;
|
||||||
# else
|
# else
|
||||||
// Workaround for stupid GCC which converts to 32 bit before doing "| 5" and then converts back to 64 bit
|
// Workaround for stupid GCC which converts to 32 bit before doing "| 5" and then converts back to 64 bit
|
||||||
|
|
Loading…
Reference in a new issue