home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,641 of 2,753   
   cyril.cressent@gmail.com to All   
   Guidelines for instruction set design?   
   30 Apr 09 09:25:33   
   
   Hello,   
      
   I'm currently trying to port LCC to a custom CPU implemented in a   
   FPGA.  A different person is designing the hardware and instruction   
   set.   
      
   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've already searched in this group's archive but I couldn't find an   
   answer.   
      
   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.   
      
   Cyril   
   [Interesting question.  C should be pretty straightforward on anything   
   with flat byte addressing and enough registers to handle stack frames.   
   What makes this architecture hard? -John]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca