summaryrefslogtreecommitdiff
path: root/wps
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2009-01-30 10:52:30 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2009-01-30 10:52:30 +0000
commitba4be5157191af6fbb83756119ffd29147b7fb99 (patch)
tree11e1cafefa29f74c763b3a54e9823814886feb59 /wps
parentb081a38131bf50aa4ca10b7805b1dd6b5c7a1c75 (diff)
downloadrockbox-ba4be5157191af6fbb83756119ffd29147b7fb99.tar.gz
rockbox-ba4be5157191af6fbb83756119ffd29147b7fb99.zip
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 'wps')
0 files changed, 0 insertions, 0 deletions