diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/il.txt | 1 | ||||
-rw-r--r-- | doc/rv64.txt | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/doc/il.txt b/doc/il.txt index 994729e..0e05283 100644 --- a/doc/il.txt +++ b/doc/il.txt @@ -856,6 +856,7 @@ alignment required by all the targets. type :valist = align 8 { 24 } # For amd64_sysv type :valist = align 8 { 32 } # For arm64 + type :valist = align 8 { 8 } # For rv64 The following example defines a variadic function adding its first three arguments. diff --git a/doc/rv64.txt b/doc/rv64.txt new file mode 100644 index 0000000..e696d77 --- /dev/null +++ b/doc/rv64.txt @@ -0,0 +1,20 @@ +========= +RISC-V 64 +========= + +- Known issues +-------------- + +ABI with structs containing floats is not yet supported. + +- Possible improvements +----------------------- + +rv64_isel() could turn compare used only with jnz into b{lt,ge}[u]. + +- Helpful links +--------------- + +RISC-V spec: https://github.com/riscv/riscv-isa-manual/releases/latest/download/riscv-spec.pdf +ASM manual: https://github.com/riscv-non-isa/riscv-asm-manual/blob/master/riscv-asm.md +psABI: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc |