This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ARM SDT2.51 vs arm-elf-gcc
- From: "dnt ly" <lydnt at hotmail dot com>
- To: David dot Airlie at parthus dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 11 Apr 2002 19:12:45 +0800
- Subject: Re: [ECOS] ARM SDT2.51 vs arm-elf-gcc
- Bcc:
>
>arm-elf-gcc does produce crap ARM code, don't bother trying 3.0.4 I'll
>save you the bother it produces code the same level of crapiness as 2.95.3
>:-)
yes, I also had tried 3.0.4,
>
>you might have a hope of getting the object linking using ADS the newer
>ARM stuff and gcc objects.. debugging would of course be impossible,
have you had a try!
>
>
>On Thu, 11 Apr 2002, dnt ly wrote:
>
> >
> > I had a code which decode data, I compiled it using both
> > arm-elf-gcc(2.95/3.0) and ARM SDT2.51, and run it in test board, text
> > generated by ARM SDT2.51 is very fast than genereated by
> > arm-elf-gcc(2.95)(17.3 ms VS 70.2ms). I try the following simple code,
and
> > get different asm code:
> >
> > int i = 1000000;
> > while(i--);
> >
> > ARM SDT2.51:
> > 0xc12e38c: mov r0, #0x240
> > 0xc12e390: add r0, r0, #0xf4000
> >
> > 0xc12e394: subs r0, r0, #0x1
> > 0xc12e398: bcs 0xc12e394
> >
> > arm-elf-gcc(2.95/3.0):
> > 0xc145c0c: ldr r2, 0xc145c48
> >
> > 0xc145c10: sub r2, r2, 0x1
> > 0xc145c14: cmn r2, 0x1
> > 0xc145c18: bne c145c10
> >
> > Is it that arm-elf-gcc(2.95) have not optimized full with ARM
> > instructions? anyone can help me or where can I get/buy arm-elf-gcc
that
> > optimized full with ARM instructions?
> >
> > Or are there any way to compile eCos using arm-elf-gcc, compile
my
> > application using ARM SDT, link them together?
> >
> >
> >
> >
> >
> > _________________________________________________________________
> > MSN 相簿提供您最簡單的方式分享並列印您的相片,請移至
> > http://photos.msn.com/support/worldwide.aspx。
> >
> >
> >
>
>--
> David Airlie, Software Engineer, Parthus Technologies plc.,
> Mary Rosse Centre, National Tech Park, Limerick, Ireland.
> t: +353-61-508116 / f: +353-61-508101 / David.Airlie@parthus.com
>
>
>--
>Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
>and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
_________________________________________________________________
在您的行動裝置上傳送接收 Hotmail 郵件,請移至 http://mobile.msn.com。
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss