RTEMS Logo

RTEMS 4.6.0 On-Line Library


CPU Model Dependent Features Count Leading Zeroes Instruction

PREV UP NEXT Bookshelf RTEMS ARM Applications Supplement

1.3: Count Leading Zeroes Instruction

The macro ARM_HAS_CLZ is set to 1 to indicate that the architectural version has the clz instruction. On ARM architectural version 5 and above, the count leading zeroes instruction (clz) is available and can be used to speed up the find first bit operation. The use of this instruction significantly speeds up the scheduling associated with a thread blocking.


PREV UP NEXT Bookshelf RTEMS ARM Applications Supplement

Copyright © 1988-2004 OAR Corporation