mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix uninitialized use of variable. Remove tabs and fix identation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34850 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f7dcfa81c5
commit
e6efc85939
@ -236,7 +236,7 @@ inline unsigned CountPopulation_32(uint32_t Value) {
|
|||||||
#if __GNUC__ >= 4
|
#if __GNUC__ >= 4
|
||||||
return __builtin_popcount(Value);
|
return __builtin_popcount(Value);
|
||||||
#else
|
#else
|
||||||
uint32_t v = v - ((v >> 1) & 0x55555555);
|
uint32_t v = Value - ((Value >> 1) & 0x55555555);
|
||||||
v = (v & 0x33333333) + ((v >> 2) & 0x33333333);
|
v = (v & 0x33333333) + ((v >> 2) & 0x33333333);
|
||||||
return ((v + (v >> 4) & 0xF0F0F0F) * 0x1010101) >> 24;
|
return ((v + (v >> 4) & 0xF0F0F0F) * 0x1010101) >> 24;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user