FS#12120. Convert FRACMUL macros into inline functions and fix typecasting for 64...
commit60afbabb83e3716896cbe56dc722f21b290141c6
authornls <nls@a1c6a512-1295-4272-9138-f99709370657>
Tue, 24 May 2011 10:44:12 +0000 (24 10:44 +0000)
committernls <nls@a1c6a512-1295-4272-9138-f99709370657>
Tue, 24 May 2011 10:44:12 +0000 (24 10:44 +0000)
tree9cc94d5448c3a421b37a21d7a4d2567ec197782b
parent1fc1a4f5627c1d8e12603b8fe1c3005dfcfeed6b
FS#12120. Convert FRACMUL macros into inline functions and fix typecasting for 64 bit platforms so that sims produce the same results as targets. Tweak the cf inline asm to not require an immediate value but add a FORCE_INLINE attribute to one of the cf functions to make sure it gets inlined as that saves both codesize and cycles.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29921 a1c6a512-1295-4272-9138-f99709370657
apps/fracmul.h
firmware/include/gcc_extensions.h