Hi, I've had a bit of a look through the archives but the interface makes it very difficult to peruse posts over any large length of time...
I'm looking to assist in a project to develop a C-compiler for a custom soft-core RISC processor. The processor itself has a very small instruction set, but is designed to run at high clock speeds and is scalable in terms of data width. I'm currently in the process of determining the most suitable compiler stack for the task, and from what I have learned in the last few hours it seems to come down to SDCC vs. CLANG/LLVM. I've used the 8051 (Cypress EZUSB) and Z80 ports of SDCC in the past, but of course have never developed a back-end for it. IIUC there's absolutely no documentation to assist in the process, and it's simply a case of "Use The Source, Luke"! That's not necessarily a show-stopper for me, but in this respect does make LLVM look more attractive. Anyway, I notice that an STM8 port was added to the trunk recently. May I inquire as to how much effort (weeks?) that port required? I understand it's not a trivial task to add a back-end, and it involves developing assemblers and simulators as well, but I don't really have a feel for how much overall effort it requires. Obviously it depends to a degree on the target CPU, but if I knew how long the STM8 port took, I might be able to extrapolate some ball-park figure for this custom RISC processor!?! So any statistics on the STM8 port would be greatly appreciated! Regards, -- Mark McDougall, Engineer Virtual Logic Pty Ltd, <http://www.vl.com.au> 21-25 King St, Rockdale, 2216 Ph: +612-9599-3255 Fax: +612-9599-3266 ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user