Optimize overlap_math by only doing shifting if theres gain, and moving the check...
commit8e8983cc05a7dab469878bdeb26d861cee78cba6
authorsaratoga <saratoga@a1c6a512-1295-4272-9138-f99709370657>
Sat, 18 Jul 2009 00:24:54 +0000 (18 00:24 +0000)
committersaratoga <saratoga@a1c6a512-1295-4272-9138-f99709370657>
Sat, 18 Jul 2009 00:24:54 +0000 (18 00:24 +0000)
treee5d98b03ae86cc4657757bb92db0b446fc6d1a49
parent4508ce3840a0fe4a9979bb47d7c4bae1d827094c
Optimize overlap_math by only doing shifting if theres gain, and moving the check for sign outside of the for loop.  3% speedup on PP5024.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21940 a1c6a512-1295-4272-9138-f99709370657
apps/codecs/libcook/cook_fixpoint.h