Skip to content

Commit 967e7a8

Browse files
arichardsonbsdjhb
authored andcommitted
Enable CHERIv9 semantics by default
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.
1 parent a2452e0 commit 967e7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

target/riscv/cpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ static Property riscv_cpu_properties[] = {
968968
DEFINE_PROP_BOOL("Zicsr", RISCVCPU, cfg.ext_icsr, true),
969969
#ifdef TARGET_CHERI
970970
DEFINE_PROP_BOOL("Xcheri", RISCVCPU, cfg.ext_cheri, true),
971-
DEFINE_PROP_BOOL("Xcheri_v9", RISCVCPU, cfg.ext_cheri_v9, false),
971+
DEFINE_PROP_BOOL("Xcheri_v9", RISCVCPU, cfg.ext_cheri_v9, true),
972972
#endif
973973
DEFINE_PROP_STRING("priv_spec", RISCVCPU, cfg.priv_spec),
974974
DEFINE_PROP_STRING("vext_spec", RISCVCPU, cfg.vext_spec),

0 commit comments

Comments
 (0)