X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=src%2Fbase%2Fcl_low.h;h=d146f2788f668db56b2db6c3f2754d45c67e207e;hb=795eaad1187ec695cfbff001c89091c1da453334;hp=542078d368fa63882bfbad87d901cfad3e65afa0;hpb=850abfde7f0d985ba01526c346bcd0d733562943;p=cln.git diff --git a/src/base/cl_low.h b/src/base/cl_low.h index 542078d..d146f27 100644 --- a/src/base/cl_low.h +++ b/src/base/cl_low.h @@ -1297,9 +1297,9 @@ inline uint32 mulu32_unchecked (uint32 arg1, uint32 arg2) // Bits von x64 zählen: (Input x64, Output x64) #define logcount_64() \ ( /* x64 besteht aus 64 1-Bit-Zählern (0,1). */\ - x64 = (x64 & 0x5555555555555555UL) + ((x64 & 0xAAAAAAAAAAAAAAAAUL) >> 1),\ + x64 = (x64 & 0x5555555555555555ULL) + ((x64 & 0xAAAAAAAAAAAAAAAAULL) >> 1),\ /* x64 besteht aus 32 2-Bit-Zählern (0,1,2). */\ - x64 = (x64 & 0x3333333333333333UL) + ((x64 & 0xCCCCCCCCCCCCCCCCUL) >> 2),\ + x64 = (x64 & 0x3333333333333333ULL) + ((x64 & 0xCCCCCCCCCCCCCCCCULL) >> 2),\ /* x64 besteht aus 16 4-Bit-Zählern (0,1,2,3,4). */\ x64 = (uint32)(x64 + (x64 >> 32)), \ /* x64 besteht aus 8 4-Bit-Zählern (0,...,8). */\