diff options
Diffstat (limited to 'softfloat/s_countLeadingZeros32.c')
-rwxr-xr-x | softfloat/s_countLeadingZeros32.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/softfloat/s_countLeadingZeros32.c b/softfloat/s_countLeadingZeros32.c deleted file mode 100755 index 0bd17e1..0000000 --- a/softfloat/s_countLeadingZeros32.c +++ /dev/null @@ -1,22 +0,0 @@ - -#include <stdint.h> -#include "primitives.h" - -int softfloat_countLeadingZeros32( uint32_t a ) -{ - int count; - - count = 0; - if ( a < 0x10000 ) { - count = 16; - a <<= 16; - } - if ( a < 0x1000000 ) { - count += 8; - a <<= 8; - } - count += softfloat_countLeadingZeros8[ a>>24 ]; - return count; - -} - |