Count Leading Zeros

Note: This was originally posted on 6th April 2009 at http://forums.arm.com

Using the ARM9 CLZ instruction - I am wondering, generally, how often would it be required to use this function and does it justify its inclusion?
Parents
  • Note: This was originally posted on 7th April 2009 at http://forums.arm.com

    > On the contrary, what then are the disadvantages of the CLZ instruction being included in the ARM9? If any?

    Well it probably takes a few extra gates to decode the instruction, but other than that not much...

    Okay, I see. So this extra circuitry is justified by the reduced number of clk cycles and memory usage. Thanks.

    But how many clock cycles does CLZ require to execute???
Reply
  • Note: This was originally posted on 7th April 2009 at http://forums.arm.com

    > On the contrary, what then are the disadvantages of the CLZ instruction being included in the ARM9? If any?

    Well it probably takes a few extra gates to decode the instruction, but other than that not much...

    Okay, I see. So this extra circuitry is justified by the reduced number of clk cycles and memory usage. Thanks.

    But how many clock cycles does CLZ require to execute???
Children
No data
More questions in this forum