19 #ifndef _NIOS2_COUNT_ZEROS_H 20 #define _NIOS2_COUNT_ZEROS_H 24 #include <rtems/score/bitfield.h> 34 static inline unsigned _Nios2_Count_leading_zeros( uint32_t
p )
61 static inline unsigned _Nios2_Count_trailing_zeros( uint32_t
p )
63 return 31u - _Nios2_Count_leading_zeros(
p & ( -
p ) );
unsigned p
Definition: tte.h:90
const unsigned char _Bitfield_Leading_zeros[256]
Definition: log2table.c:24