diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-04-30 15:54:47 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-04-30 15:54:47 +0300 |
| commit | 9f261587a75d5fa21ef63fd9a38e0f7851180adf (patch) | |
| tree | d40b9a79e22efcce5820ac15f66682a5c61c8e7f | |
| parent | e45146b9a38980c28d6d31beba9beb24f22464ad (diff) | |
| download | qbt-9f261587a75d5fa21ef63fd9a38e0f7851180adf.tar.gz qbt-9f261587a75d5fa21ef63fd9a38e0f7851180adf.zip | |
reference qbe and fix markdown formatting
| -rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,9 +1,17 @@ # qbt -Optimizing middle/back end for triscv. +Optimizing middle/back end for triscv. Takes pretty heavy inspiration from QBE: +https://c9x.me/compile/ + +Instruction documentation is TODO, please see `src/parser.y` for current list of +instructions. They may still change in the near future. # ABI +Currently I'm assuming the ABI to be according to the following table, but this +is not quite set in stone yet. + +``` | Register | Name | |----------|------| | x0 | x0 @@ -87,3 +95,4 @@ Optimizing middle/back end for triscv. | x78 | s22 | x79 | s23 | x80 | tmp2 +``` |
