Matt Ritchie <[EMAIL PROTECTED]> writes:

> Basically make it even more crossplatform compiliant
> and emulator friendly
> eg: add the following cpu series : 8080, z80, 6502,
> 6800, and cpm/8000? :)

gcc is driven by volunteer efforts and by paid efforts.  The way to
get gcc to support these targets is to write support yourself, or to
pay somebody else to do it.  If the code is written, I'm sure the gcc
maintainers would accept the ports.  Otherwise, simply stating that it
is a goal of gcc to support these processors will, unfortunately,
accomplish nothing.  It is already a stated goal for gcc to support
multiple architectures:
    http://gcc.gnu.org/gccmission.html

That said, I should note that none of those processors would be an
easy port.  gcc's register allocator and reload pass are generally
designed for targets with many registers and/or flexible addressing
modes.  None of the chips you mention have either.  The ports are
definitely doable (at least, they are doable for the processors I
know: 8080, z80, and 6502).  But they would be a poor choice for
somebody's first gcc backend port.  And especially for the 6502 the
resulting code would likely compare poorly to hand written assembler
code.

Ian

Reply via email to