aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/fe310.json
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2022-11-27 14:18:22 +0100
committerRon Evans <[email protected]>2023-09-18 21:58:02 +0200
commit1d7543e2bfcba3eed51f5340dcaf607d11b0bdeb (patch)
tree2125653ea6b465f39b05a9d76af9282c255959d2 /targets/fe310.json
parentff32fbbb4ff266f5f29080479a29d941cad2a57e (diff)
downloadtinygo-1d7543e2bfcba3eed51f5340dcaf607d11b0bdeb.tar.gz
tinygo-1d7543e2bfcba3eed51f5340dcaf607d11b0bdeb.zip
all: switch to LLVM 16
This commit adds support for LLVM 16 and switches to it by default. That means three LLVM versions are supported at the same time: LLVM 14, 15, and 16. This commit includes work by QuLogic: * Part of this work was based on a PR by QuLogic: https://github.com/tinygo-org/tinygo/pull/3649 But I also had parts of this already implemented in an old branch I already made for LLVM 16. * QuLogic also provided a CGo fix here, which is also incorporated in this commit: https://github.com/tinygo-org/tinygo/pull/3869 The difference with the original PR by QuLogic is that this commit is more complete: * It switches to LLVM 16 by default. * It updates some things to also make it work with a self-built LLVM. * It fixes the CGo bug in a slightly different way, and also fixes another one not included in the original PR. * It does not keep compiler tests passing on older LLVM versions. I have found this to be quite burdensome and therefore don't generally do this - the smoke tests should hopefully catch most regressions.
Diffstat (limited to 'targets/fe310.json')
-rw-r--r--targets/fe310.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/fe310.json b/targets/fe310.json
index 2c9e6b5c8..37bd5a4c2 100644
--- a/targets/fe310.json
+++ b/targets/fe310.json
@@ -1,6 +1,6 @@
{
"inherits": ["riscv32"],
"cpu": "sifive-e31",
- "features": "+a,+c,+m,-64bit,-relax,-save-restore",
+ "features": "+32bit,+a,+c,+m,-64bit,-d,-e,-experimental-zawrs,-experimental-zca,-experimental-zcd,-experimental-zcf,-experimental-zihintntl,-experimental-ztso,-experimental-zvfh,-f,-h,-relax,-save-restore,-svinval,-svnapot,-svpbmt,-v,-xtheadvdot,-xventanacondops,-zba,-zbb,-zbc,-zbkb,-zbkc,-zbkx,-zbs,-zdinx,-zfh,-zfhmin,-zfinx,-zhinx,-zhinxmin,-zicbom,-zicbop,-zicboz,-zihintpause,-zk,-zkn,-zknd,-zkne,-zknh,-zkr,-zks,-zksed,-zksh,-zkt,-zmmul,-zve32f,-zve32x,-zve64d,-zve64f,-zve64x,-zvl1024b,-zvl128b,-zvl16384b,-zvl2048b,-zvl256b,-zvl32768b,-zvl32b,-zvl4096b,-zvl512b,-zvl64b,-zvl65536b,-zvl8192b",
"build-tags": ["fe310", "sifive"]
}