Add RISC-V (riscv64) support (#7417)

This commit is contained in:
Federico Ceratto 2018-04-06 23:40:39 +01:00 • committed by Andreas Rumpf
commit 673f5f3534
3 changed files with 9 additions and 5 deletions

View file

@ -1377,7 +1377,8 @@ const
hostCPU* {.magic: "HostCPU".}: string = ""
## a string that describes the host CPU. Possible values:
## "i386", "alpha", "powerpc", "powerpc64", "powerpc64el", "sparc",
## "amd64", "mips", "mipsel", "arm", "arm64", "mips64", "mips64el".
## "amd64", "mips", "mipsel", "arm", "arm64", "mips64", "mips64el",
## "riscv64".
seqShallowFlag = low(int)
strlitFlag = 1 shl (sizeof(int)*8 - 2) # later versions of the codegen \