Stream: general

Topic: riscv abis

nagisa (Dec 28 2018 at 18:50, on Zulip):

@rkruppe which ABI is the one for riscv nowadays?

rkruppe (Dec 28 2018 at 19:00, on Zulip):

the "unix C ABI" is documented at which llvm and gcc implement but idk what rustc does if that's what you mean. there's a lot of talk about other ABIs (faster interrupts, vector calls, rv32e with its 16 gprs, etc.) but none of them are really as defined yet afaik

nagisa (Dec 28 2018 at 19:11, on Zulip):

I’m gonna use extern "C" and write some assembly

nagisa (Dec 28 2018 at 19:11, on Zulip):

so was wondering what I should target

Last update: Jul 16 2020 at 14:15UTC