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