public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Michael Matz <matz@suse.de>
To: Andrew Haley <aph@redhat.com>
Cc: "Grégoire Dooms" <dooms@student.info.ucl.ac.be>, gcc@gcc.gnu.org
Subject: Re: porting gcc
Date: Tue, 22 Oct 2002 15:16:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.33.0210222117360.20702-100000@wotan.suse.de> (raw)
In-Reply-To: <15797.41590.824194.255887@cuddles.cambridge.redhat.com>


On Tue, 22 Oct 2002, Andrew Haley wrote:

> =?iso-8859-1?Q?Gr=E9goire=5FDooms?= writes:
>  > I'd like to port gcc to the Microchip PIC 8 bit microcontroller familly.
>
> Ouch.  Are you really sure that you want to do this?  Gcc requires
> reasonably efficient addressing of stack frames in order to spill and
> fill when there are insufficient physical registers.  This might be
> hard to do on the PIC.  gcc has been [orted to some 16-bitters, but a
> microcontroller is a stretch.

The AVR _is_ a 8 bit microcontroller, and is supported by gcc (it also
supports it with 16bit integers).  Sure, it has around 30 free registers.
And yes, the stack pointer (like all its 16 bit pointers) actually are two
registers.


Ciao,
Michael.

  reply	other threads:[~2002-10-22 19:22 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-22  9:53 Grégoire Dooms
2002-10-22  9:56 ` Grégoire Dooms
2002-10-22 14:40 ` Mike Stump
2002-10-22 14:43 ` Andrew Haley
2002-10-22 15:16   ` Michael Matz [this message]
2002-10-22 15:27   ` Svein E. Seldal
2002-10-22 18:02   ` Mike Stump
2002-10-23 10:05     ` Andrew Haley
2002-10-22 15:50 ` Denis Chertykov
  -- strict thread matches above, loose matches on Subject: below --
2008-10-20 10:20 Aurélien Buhrig
2008-10-20 19:34 ` Ian Lance Taylor
2008-03-12  6:11 Porting gcc Schmave
2008-03-12  6:15 ` Ben Elliston
2004-06-04 15:24 Porting GCC Gyle Yearsley
2004-06-02 16:49 Gyle Yearsley
2004-06-03 15:38 ` Richard Sandiford
2004-05-21 13:09 Porting gcc Mile Davidovic
2004-05-21 13:43 ` Dave Korn
2003-08-13 11:15 Petar Penchev
2003-08-13 16:07 ` Ben Elliston
2001-02-15  8:41 porting gcc Filippo Basso
2001-02-15  9:50 ` Fergus Henderson
2001-02-01  2:37 porting GCC Krzysztof Matula
2001-02-01  3:10 ` Richard Earnshaw
2001-02-02  3:43   ` Krzysztof Matula
2001-02-02  4:00     ` Richard Earnshaw
2001-02-02  6:07       ` Krzysztof Matula
2001-02-02  7:08         ` Richard Earnshaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.33.0210222117360.20702-100000@wotan.suse.de \
    --to=matz@suse.de \
    --cc=aph@redhat.com \
    --cc=dooms@student.info.ucl.ac.be \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).