ARMv4 unsigned integer division: Using an overflow-safe comparison method in the...
commitfb25eeabf2bb30aed23841b9945bf8317ff11964
authoramiconn <amiconn@a1c6a512-1295-4272-9138-f99709370657>
Thu, 6 Nov 2008 21:21:33 +0000 (6 21:21 +0000)
committeramiconn <amiconn@a1c6a512-1295-4272-9138-f99709370657>
Thu, 6 Nov 2008 21:21:33 +0000 (6 21:21 +0000)
treece3f11540b1bfb7e7ee1127bdbd3c587289b26e6
parent1381bc1985a93d122ef8603d480a1072caea098d
ARMv4 unsigned integer division: Using an overflow-safe comparison method in the main calculation allows to put back the 1.5 cyle (average) optimisation. Shaved off another instruction, as we don't need the remainder. * Use the very efficient ffs algorithm from ffs-arm.S for dividing by a power of 2.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19032 a1c6a512-1295-4272-9138-f99709370657
apps/codecs/lib/udiv32_armv4.S