3 #include "primitives.h"
6 int softfloat_countLeadingZeros64( uint64_t a
)
13 if ( UINT64_C( 0x100000000 ) <= a
) {
17 /*------------------------------------------------------------------------
18 | From here, result is current count + count leading zeros of `a32'.
19 *------------------------------------------------------------------------*/
20 if ( a32
< 0x10000 ) {
24 if ( a32
< 0x1000000 ) {
28 count
+= softfloat_countLeadingZeros8
[ a32
>>24 ];