Hi all,

I was wondering if there are any alternatives to the current FP functions in
Libc?  Looking at the code size for floating point functions in libc versus
the functions in IAR (1.26A) I get a considerable difference with gcc coming
out almost 3 times larger with the libs that are imported.  One example is
_fpmul_parts is 542 bytes (gcc) while ?F_MUL_L04 is 120 bytes (IAR).  It is
my understanding that this is because GCC implements FP math with strict
attention to IEEE spec.  This is good for some applications and Bad for
others.  In our application ROM space is of utmost importance and as long as
the math comes out to within a certain percent error it is fine.  Is there
an alternative which would allow us to use smaller but possibly non IEEE
strict FP code? 

Thanks for all the help!


-Chris Takahashi

Reply via email to