target/riscv: Disable "G" by default
Because "G" virtual extension expands to "IMAFD", we cannot separately disable extensions like "F" or "D" without disabling "G". Because all "IMAFD" are enabled by default, it's harmless to disable "G" by default. Signed-off-by: Tsukasa OI <research_trasio@irq.a4lg.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <cab7205f1d7668f642fa242386543334af6bc1bd.1652583332.git.research_trasio@irq.a4lg.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
61cdf4593e
commit
1d398ab9dc
@ -812,7 +812,7 @@ static Property riscv_cpu_properties[] = {
|
||||
/* Defaults for standard extensions */
|
||||
DEFINE_PROP_BOOL("i", RISCVCPU, cfg.ext_i, true),
|
||||
DEFINE_PROP_BOOL("e", RISCVCPU, cfg.ext_e, false),
|
||||
DEFINE_PROP_BOOL("g", RISCVCPU, cfg.ext_g, true),
|
||||
DEFINE_PROP_BOOL("g", RISCVCPU, cfg.ext_g, false),
|
||||
DEFINE_PROP_BOOL("m", RISCVCPU, cfg.ext_m, true),
|
||||
DEFINE_PROP_BOOL("a", RISCVCPU, cfg.ext_a, true),
|
||||
DEFINE_PROP_BOOL("f", RISCVCPU, cfg.ext_f, true),
|
||||
|
Loading…
Reference in New Issue
Block a user