[LLVMdev] MOS6502 target

Edwin Amsler edwinguy at gmail.com
Thu Jul 3 06:21:35 PDT 2014


Thanks! I feel the offline documentation could be improved or re-done with some of these. The current backend doc has lots of definition without explanation. It makes it fairly frustrating when it says "look at the spark target" when it doesn't define any of the classes or define what the options were for or the motivations for their use.

Once I've figured this stuff out, I'll likely be contributing to that. 

> On Jul 3, 2014, at 3:57 AM, Roel Jordans <r.jordans at tue.nl> wrote:
> 
> Hi,
> 
> I found the tutorial presented at last LLVM conference very helpful when starting on my own backend.  Especially with the GitHub repository containing a template backend that was quite easy to rename and extend.
> 
> Here's the slides with a pointer to the repository:
> 
> http://llvm.org/devmtg/2014-04/PDFs/Talks/Building%20an%20LLVM%20backend.pdf
> 
> Cheers,
> Roel
> 
>> On 03/07/14 03:23, Edwin Amsler wrote:
>> Hey there!
>> 
>> I've started to embark on a path to try and create a backend for a 39 year old CPU with only an accumulator, two index registers, and a 256 byte stack. It does have a bank of 256 bytes before the stack that are pretty quick though.
>> 
>> Really, if I can get an assembler out of `llc`, that'll be success enough for me. Clang would be better, but I think that might be crazy talk.
>> 
>> I've been doing lots of research so far, but from the experts, how feasible does this sound?
>> 
>> I've also been banging my head against the wall trying to figure out what all the classes for different instruction types do. Is there a nicely documented index? Is it in source somewhere, or should I start one?
>> 
>> Thanks,
>> 
>> Edwin
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list