x86[_64]: Fix style issues

This commit is contained in:
Pawel Dziepak
2013-10-05 18:03:00 +02:00
parent 149c82a8ec
commit 7039b950fb
2 changed files with 39 additions and 39 deletions
+2 -2
View File
@@ -14,7 +14,7 @@
// http://graphics.stanford.edu/~seander/bithacks.html
static inline uint32
nextPowerOf2(uint32 v)
next_power_of_2(uint32 v)
{
v--;
v |= v >> 1;
@@ -30,7 +30,7 @@ nextPowerOf2(uint32 v)
// http://graphics.stanford.edu/~seander/bithacks.html
static inline uint32
countSetBits(uint32 v)
count_set_bits(uint32 v)
{
v = v - ((v >> 1) & 0x55555555);
v = (v & 0x33333333) + ((v >> 2) & 0x33333333);