write-your-llvm-backend/README.md
Ushitora Anqou d774515b58 Add drafts
2020-10-01 19:24:58 +09:00

36 lines
2.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 手を動かせばできるLLVMバックエンド チュートリアルWIP
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a>
[![Build Status](https://travis-ci.org/ushitora-anqou/write-your-llvm-backend.svg?branch=master)](https://travis-ci.org/ushitora-anqou/write-your-llvm-backend)
自作ISAのためのLLVMバックエンドをイテレーティブに作ります。鋭意執筆中。
[ここからmasterが読めます。](https://ushitora-anqou.github.io/write-your-llvm-backend/)
## 下書き
この文章は、2019年度に艮 鮟鱇が作成したLLVMバックエンドの、自分用メモがベースになっています。
このメモをブラッシュアップしてまともな文章として公開する予定でしたが、
その作業が遅れているため、一旦メモのまま公開します。
- [RV32Kv1](https://ushitora-anqou.github.io/write-your-llvm-backend/draft-rv32kv1.html)
- [RV16Kv2](https://ushitora-anqou.github.io/write-your-llvm-backend/draft-rv16kv2.html)
- [CAHPv3](https://ushitora-anqou.github.io/write-your-llvm-backend/draft-cahpv3.html)
## ビルド方法
Asciidoctorのmasterを持ってきて`asciidoctor main.asciidoc`とかする。
文章を書くときに、ファイルを更新するたびにコンパイルしたい場合は
付属の`Gemfile`と`Guardfile`を使って`bundle exec guard`とかする。
要`bundle install`。EpiphanyGNU Webを入れて生成されたHTMLを見ると、
更新時にリロードしてくれるので便利。詳細は[公式ドキュメント](https://asciidoctor.org/docs/editing-asciidoc-with-live-preview/)を参照。
## Author
[艮 鮟鱇(うしとら あんこうUshitora Anqou](https://anqou.net/)
## LICENSE
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.