Inlined countLeadingZeros per Dmitri's suggestion.

Swift SVN r9970
This commit is contained in:
Howard Hinnant
2013-11-05 20:20:19 +00:00
parent c6195df7b8
commit 46f26de87b
2 changed files with 20 additions and 7 deletions

View File

@@ -261,10 +261,3 @@ __muloti4(ti_int a, ti_int b, int* overflow)
}
#endif
extern "C"
long long
countLeadingZeros(long long x)
{
return __builtin_clzll(x);
}