Arm Community
Site
Search
User
Site
Search
User
Support forums
Architectures and Processors forum
Count Leading Zeros
Jump...
Cancel
State
Accepted Answer
+1
person also asked this
people also asked this
Locked
Locked
Replies
7 replies
Subscribers
349 subscribers
Views
9744 views
Users
0 members are here
Arm9
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Count Leading Zeros
lesbattersbie lesbattersbie
over 12 years ago
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?
Top replies
Jacob Bramley
over 12 years ago
+1
verified
Note: This was originally posted on 6th April 2009 at http://forums.arm.com It's surprisingly useful when hand-optimizing assembler. I think it has benefits for some cryptographic routines, and it speeds...
Parents
0
Peter Harris
over 12 years ago
Note: This was originally posted on 7th April 2009 at
http://forums.arm.com
For general purpose code it is commonly used for integer normalization (placing the MSB of the integer at a known location).
In more practical terms normalized integers are used for optimized Newton-Raphson software integer division, as Jacob mentioned, but also things like integer to floating point conversion, and bit-field priority decoders.
Cancel
Vote up
0
Vote down
Cancel
Reply
0
Peter Harris
over 12 years ago
Note: This was originally posted on 7th April 2009 at
http://forums.arm.com
For general purpose code it is commonly used for integer normalization (placing the MSB of the integer at a known location).
In more practical terms normalized integers are used for optimized Newton-Raphson software integer division, as Jacob mentioned, but also things like integer to floating point conversion, and bit-field priority decoders.
Cancel
Vote up
0
Vote down
Cancel
Children
No data