codewars / docs

The Codewars Docs :construction: WIP
https://docs.codewars.com
MIT License
55 stars 191 forks source link

Specify exact variation of RISC-V specification emulated by Codewars in the docs #439

Closed DonaldKellett closed 1 year ago

DonaldKellett commented 1 year ago

Depends on #438

RISC-V is a highly modular ISA, meaning it is comprised of a base ISA with many optional extensions. Currently, the language version for RISC-V specifies "RV64" which is too vague. Multiple sources suggest that the QEMU RISC-V emulator implements the RV64GC specification:

Details on the full range of base + extension ISAs defined can be found in the official specification.

kazk commented 1 year ago

Yeah, I wasn't sure which extensions were supported. I'll update Codewars once we find out. RV64IMACFD might be more clear instead of using the G shorthand, but that might be too long. RV64GC will fit better.