38#ifndef _NIOS2_COUNT_ZEROS_H
39#define _NIOS2_COUNT_ZEROS_H
43#include <rtems/score/bitfield.h>
53static inline unsigned _Nios2_Count_leading_zeros( uint32_t
p )
80static inline unsigned _Nios2_Count_trailing_zeros( uint32_t
p )
82 return 31u - _Nios2_Count_leading_zeros(
p & ( -
p ) );
const unsigned char _Bitfield_Leading_zeros[256]
Definition: log2table.c:44
unsigned p
Definition: tte.h:17