Skip to content

Commit

Permalink
Enable CHERIv9 semantics by default
Browse files Browse the repository at this point in the history
I believe CheriBSD has been ready for this switch for a long time.
Importantly, LLVM will not assume these new semantics yet, so
potentially trapping CHERI instructions will not be hoisted.
  • Loading branch information
arichardson authored Oct 10, 2024
1 parent 6fc0bf7 commit a10c229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/riscv/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ static Property riscv_cpu_properties[] = {
DEFINE_PROP_BOOL("Zicsr", RISCVCPU, cfg.ext_icsr, true),
#ifdef TARGET_CHERI
DEFINE_PROP_BOOL("Xcheri", RISCVCPU, cfg.ext_cheri, true),
DEFINE_PROP_BOOL("Xcheri_v9", RISCVCPU, cfg.ext_cheri_v9, false),
DEFINE_PROP_BOOL("Xcheri_v9", RISCVCPU, cfg.ext_cheri_v9, true),
#endif
DEFINE_PROP_STRING("priv_spec", RISCVCPU, cfg.priv_spec),
DEFINE_PROP_STRING("vext_spec", RISCVCPU, cfg.vext_spec),
Expand Down

0 comments on commit a10c229

Please sign in to comment.