File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ typedef unsigned char octet;
142142#define Sunbox (x ) (*((ptr *)TO_VOIDP((uptr)(x)+9)))
143143static inline int Spopcount (uptr x ) {
144144#if defined(__clang__ ) || defined(__GNUC__ )
145- return __builtin_popcountll (( unsigned long ) x );
145+ return __builtin_popcountll (x );
146146#else
147147 /* count bits of each 2-bit chunk */
148148 x = x - ((x >> 1 ) & 0x5555555555555555ULL );
Original file line number Diff line number Diff line change 348348 " 0x0F0F0F0F0F0F0F0FULL" " 0x0101010101010101ULL" 56 )])])
349349 (pr " static inline int Spopcount(uptr x) {\n " )
350350 (pr " #if defined(__clang__) || defined(__GNUC__)\n " )
351- (pr " return __builtin_popcount~a((unsigned long) x);\n " suffix)
351+ (pr " return __builtin_popcount~a(x);\n " suffix)
352352 (pr " #else\n " )
353353 (pr " /* count bits of each 2-bit chunk */\n " )
354354 (pr " x = x - ((x >> 1) & ~a);\n " fives)
You can’t perform that action at this time.
0 commit comments