diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-30 10:52:30 +0000 |
|---|---|---|
| committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-30 10:52:30 +0000 |
| commit | ba4be5157191af6fbb83756119ffd29147b7fb99 (patch) | |
| tree | 11e1cafefa29f74c763b3a54e9823814886feb59 /tools/root.make | |
| parent | b081a38131bf50aa4ca10b7805b1dd6b5c7a1c75 (diff) | |
| download | rockbox-ba4be5157191af6fbb83756119ffd29147b7fb99.zip rockbox-ba4be5157191af6fbb83756119ffd29147b7fb99.tar.gz rockbox-ba4be5157191af6fbb83756119ffd29147b7fb99.tar.bz2 rockbox-ba4be5157191af6fbb83756119ffd29147b7fb99.tar.xz | |
per Jens Arnold's suggestion:
use platform clz instruction only on ARMv5+, where we know it returns 32 for a 0 input, and remove the special case for 0
use binary search only to find most significant four bits, then use lookup table to add number of leading zeroes within those bits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19888 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/root.make')
0 files changed, 0 insertions, 0 deletions