check libfp which is available in msp430-libc
~d
On Thursday 24 July 2003 20:44, Takahashi, Chris wrote:
> 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
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
--
/*****************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) State Polytechnical Univ.
(_Y_.)' ._ ) `._ `. ``-..-' Radio-Physics Departament
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 5403923, 5585314
*****************************************************************/