<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt">Mikael,<br><br>Yes, I agree that llvm document stays in some high level and didn't talk about how to translate IR into backend since it will binding with a specific CPU instructions. That's the reason I contribute this document back to llvm.<br><br>During the past several months, there are readers corrections and questions to me. I try to answer their questions in my limited time.<br>I am appreciated with other programmers review for this book but I live in Taiwan where speak in Chinese. So, please mail me with English as simple and easy understanding as possible.<br><br>The other question out of llvm is,<br>I am a Christian. Do you connect to https://www.lyngvig.org.<br><br>Jonathan<br><div><span><br></span></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div
 style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> Mikael Lyngvig <mikael@lyngvig.org> 於 2013/12/6 (週五) 9:43 AM 寫道﹕<br> </font> </div>  <div class="y_msg_container"><div id="yiv1806369607"><div><div dir="ltr">I was wondering if this shouldn't somehow find its way into the official LLVM documentation?  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.<div>
<br clear="none"></div><div>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.<div>
<br clear="none"></div><div>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.</div><div><br clear="none"></div><div><br clear="none"></div><div>
-- Mikael</div><div><br clear="none"></div></div><div><br clear="none"></div></div><div class="yiv1806369607gmail_extra"><br clear="none"><br clear="none"><div class="yiv1806369607yqt6437376693" id="yiv1806369607yqtfd92148"><div class="yiv1806369607gmail_quote">2013/12/5 Jonathan <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:gamma_chen@yahoo.com.tw" target="_blank" href="mailto:gamma_chen@yahoo.com.tw">gamma_chen@yahoo.com.tw</a>></span><br clear="none">
<blockquote class="yiv1806369607gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br clear="none">
<br clear="none">
I am writing an llvm backend tutorial through my learning process of llvm backend study and implementation. Web as follows,<br clear="none">
<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://jonathan2251.github.com/lbd/index.html">http://jonathan2251.github.com/lbd/index.html</a><br clear="none">
<br clear="none">
It include 10,000 lines of sources code for<br clear="none">
<br clear="none">
1. Step by step, create an llvm backend for the Cpu0 which beginning from a CPU design for school teaching purpose in system programming.<br clear="none">
2. ELF linker for Cpu0 which extended from lld.<br clear="none">
3. elf2hex extended from llvm-objump.<br clear="none">
4. Cpu0 verilog source code.<br clear="none">
<br clear="none">
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.<br clear="none">
The pdf and epub is also available in the web. It is a tutorial for llvm backend developer but not for an expert.<br clear="none">
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<br clear="none">
toolchain to support a new CPU.<br clear="none">
<br clear="none">
Jonathan<br clear="none">
<br clear="none">
<br clear="none">
_______________________________________________<br clear="none">
LLVM Developers mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:LLVMdev@cs.uiuc.edu" target="_blank" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a rel="nofollow" shape="rect" target="_blank" href="http://llvm.cs.uiuc.edu/">http://llvm.cs.uiuc.edu</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br clear="none">
</blockquote></div><br clear="none"></div></div></div></div><br><br></div>  </div> </div>  </div> </div></body></html>