From 8d0c8a579f8bfbde21e365140e964c05db927a3c Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Mon, 15 Jul 2019 20:12:50 +0200 Subject: [PATCH] attempt to fix bug in Zano/zanod related to CPU with hardware suport of SSE less then 4.2 --- contrib/ethereum/libethash/bit_manipulation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/ethereum/libethash/bit_manipulation.h b/contrib/ethereum/libethash/bit_manipulation.h index 3fa22948..eab00fc0 100644 --- a/contrib/ethereum/libethash/bit_manipulation.h +++ b/contrib/ethereum/libethash/bit_manipulation.h @@ -39,7 +39,7 @@ static inline uint32_t clz32(uint32_t x) static inline uint32_t popcount32(uint32_t x) { - return (uint32_t)__builtin_popcount(x); + return (uint32_t)__popcnt(x); } static inline uint32_t mul_hi32(uint32_t x, uint32_t y)