Ok, 

I see now....
Without printf and FP supoprt the overall code is about 8.3K.

Actually I spend a day finding the reason why the code so big.
But I see that gcc produses near optimal code which cannot be optimized 
anymore _much_. One can save about 10 assembly instructions 'by hands' but 
not more.

~d




On Thursday 28 November 2002 16:02, Oleg Skidan wrote:
> Hi, All !
>
> I have found the same problem.
> When I use floating point operations and printf function
> IAR produces smaller code (I do not know is it faster).
> Otherwise GCC beats IAR.
>
> Allthe best,
> Oleg.
>
> ----- Original Message -----
> From: "Steve Underwood" <[email protected]>
> To: <[email protected]>
> Sent: Wednesday, November 27, 2002 2:07 PM
> Subject: [Mspgcc-users] mspgcc vs IAR
>
> > Hi all,
> >
> > I usually find that mspgcc produces smaller and faster code than the IAR
> > compiler (at least for integer code). Today I tried building the TCP/IP
> > code that can be found for the IAR compiler at the TI web site, and for
> > mspgcc in the mspgcc CVS. I was surprised to find it took 10.6K bytes
> > with mspgcc, but only 8.6K bytes with the IAR compiler. Does anyone know
> > why this particular program produces such results?
> >
> > Regards,
> > Steve
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Get the new Palm Tungsten T
> > handheld. Power & Color in a compact size!
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> > _______________________________________________
> > Mspgcc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Get the new Palm Tungsten T
> handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

-- 
/********************************************************************
     ("`-''-/").___..--''"`-._     (\   Dimmy the Wild      UA1ACZ
      `6_ 6  )   `-.  (     ).`-.__.`)  Enterprise Information Sys 
      (_Y_.)'  ._   )  `._ `. ``-..-'   Nevsky prospekt,   20 / 44
    _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,   Russia
   (il),-''  (li),'  ((!.-'             +7 (812)  3468202, 5585314
 ********************************************************************/


Reply via email to