[LLVMdev] MOS6502 target

Edwin Amsler edwinguy at gmail.com
Thu Jul 3 06:49:57 PDT 2014


I've read about half-way. Holy crap is this helpful.

This needs to be referenced in the backend docs or the talk needs to be transcribed to become the new backend docs. 

> 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