Clarify comments in ARMv6 divider regarding special-case handling of large (high bit set) numerators.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24783 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andrew Mahone 2010-02-20 06:29:23 +00:00
parent 3716abba92
commit 950b2dfa2c
2 changed files with 9 additions and 5 deletions

View file

@ -244,7 +244,9 @@
tst \numerator, \numerator
smmla \divisor, \divisor, \inv, \divisor
/* Branch to large-numerator handler, or else use smmul if sign bit is not
set. */
set. This wins on average with random numerators, and should be no
slower than using umull for small numerator, even if prediction fails.
*/
bmi 40f
smmul \inv, \numerator, \divisor
#else