add rv64 backend

It is mostly complete, but still has a few ABI bugs when passing
floats in structs, or when structs are passed partly in register,
and partly on stack.
This commit is contained in:
Michael Forney 2022-02-12 02:27:50 -08:00 committed by Quentin Carbonneaux
parent 8e040d5861
commit 4e93eeaa3b
13 changed files with 1656 additions and 128 deletions

View file

@ -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.