[LLVMdev] llvm backend tutorial

Sean Silva chisophugis at gmail.com
Thu Dec 5 23:36:16 PST 2013


On Thu, Dec 5, 2013 at 8:43 PM, Mikael Lyngvig <mikael at lyngvig.org> wrote:

> I was wondering if this shouldn't somehow find its way into the official
> LLVM documentation?
>

I have been providing guidance to Jonathan and his collaborators from very
early in this project to make sure that this is an option.

-- Sean Silva


>  It certainly seems to qualify to become official documentation in my
> eyes.  Nearly any LLVM backend writer out there should be able to benefit
> from reading about your experiences, I'd think.
>
> I know it is not as generic and abstract as what the LLVM dev list seems
> to prefer, but I personally find that the more concrete and based on actual
> experience a document is, the better the reader's ability to understand
> what's going on.
>
> The only thing is that you might not want to go through the process of a
> peer review.  That will likely add much work to what you have already
> accomplished.
>
>
> -- Mikael
>
>
>
>
> 2013/12/5 Jonathan <gamma_chen at yahoo.com.tw>
>
>> Hi,
>>
>> I am writing an llvm backend tutorial through my learning process of llvm
>> backend study and implementation. Web as follows,
>>
>> http://jonathan2251.github.com/lbd/index.html
>>
>> It include 10,000 lines of sources code for
>>
>> 1. Step by step, create an llvm backend for the Cpu0 which beginning from
>> a CPU design for school teaching purpose in system programming.
>> 2. ELF linker for Cpu0 which extended from lld.
>> 3. elf2hex extended from llvm-objump.
>> 4. Cpu0 verilog source code.
>>
>> With these code, reader can run the generated code from Cpu0 llvm backend
>> compiler, linker and elf2hex and see how it run on your computer.
>> The pdf and epub is also available in the web. It is a tutorial for llvm
>> backend developer but not for an expert.
>> It is also can be a material for those who have compiler and Computer
>> Architecture book knowledge and like to know how to extend the llvm
>> toolchain to support a new CPU.
>>
>> Jonathan
>>
>>
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131206/b3af86ff/attachment.html>


More information about the llvm-dev mailing list