Re: Guidelines for instruction set design?

George Neuner <gneuner2@comcast.net>
Sun, 03 May 2009 17:15:01 -0400

          From comp.compilers

Related articles
Guidelines for instruction set design? cyril.cressent@gmail.com (2009-04-30)
Re: Guidelines for instruction set design? rose@acm.org (Ken Rose) (2009-05-01)
Re: Guidelines for instruction set design? kamalpr@gmail.com (2009-05-03)
Re: Guidelines for instruction set design? gneuner2@comcast.net (George Neuner) (2009-05-03)
Re: Guidelines for instruction set design? hsheboul@gmail.com (Hasan Alsheboul) (2009-05-04)
Re: Guidelines for instruction set design? cyril.cressent@gmail.com (2009-05-04)
Re: Guidelines for instruction set design? torbenm@pc-003.diku.dk (2009-05-04)
Re: Guidelines for instruction set design? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2009-05-05)
Re: Guidelines for instruction set design? bartc@freeuk.com (BartC) (2009-05-05)
Re: Guidelines for instruction set design? gneuner2@comcast.net (George Neuner) (2009-05-05)
[12 later articles]
| List of all articles for this month |

From: George Neuner <gneuner2@comcast.net>
Newsgroups: comp.compilers
Date: Sun, 03 May 2009 17:15:01 -0400
Organization: A noiseless patient Spider
References: 09-05-008
Keywords: architecture, design
Posted-Date: 03 May 2009 20:23:10 EDT

On Thu, 30 Apr 2009 09:25:33 -0700 (PDT), cyril.cressent@gmail.com
wrote:


>I was wondering if there are some general guidelines one should
>observe when designing an instruction set so that a C compiler can
>easily be ported to that CPU.
>I'm asking because I'm having a hard time porting LCC with the current
>instruction set of our custom CPU.
>
>I can provide more information on our current instruction set if it
>helps you answer my question, though I don't think it's revelant here.


C has been implemented on most architectures (with varying degrees of
effort) ... everything from stack machines to accumulator machines to
general register sets.


It would be helpful to have some details on the ISA and the C features
that are giving you trouble.


George



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.