This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC for 8051 based architectures
- From: Julia Nilsson <juliahansnillson at yahoo dot ca>
- To: tm_gccmail at mail dot kloo dot net
- Cc: Shaun Jackman <sjackman at pathwayconnect dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 15 Jul 2003 10:35:37 -0700 (PDT)
- Subject: Re: GCC for 8051 based architectures
--- tm_gccmail@mail.kloo.net wrote:
>
> Yes, the 8051 instruction set was not really
> designed for
> compiler-generated code. It was designed in an era
> when hand
> assembly was more common.
>
Thats true but commercial compilers do exist for
microcontrollers. What can be the possible issues with
GCC for such a target?
>
> Most compiler optimizations require a reasonable
> number of registers to
> work efficiently, so even if the optimizations are
> supported, they
> may not work well on the 8051 anyway.
>
Thats OK but do you feel that if I have say an 8051
based core with 16 GPRs then GCC will have lot many
optimizations. GCC is supported for H8 that does not
have that many registers but it has addressing modes
and Memory Map that is more like we have in RISC.
> > ~J
>
> Toshi
>
>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com