mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
12 lines
164 B
C
12 lines
164 B
C
#pragma once
|
|
|
|
|
|
#if !defined(__x86_64__)
|
|
|
|
inline unsigned int _bit_scan_reverse(unsigned int x)
|
|
{
|
|
return sizeof(unsigned int) * 8 - 1 - __builtin_clz(x);
|
|
}
|
|
|
|
#endif
|