Re: [RFC v2 15/15] target/riscv: rvb: support and turn on B-extension from command line

2020-12-16 Thread Richard Henderson
On 12/16/20 3:14 AM, Kito Cheng wrote: > Hi Alistair, Frank: > > Should we add the bext_spec option like Vector-ext? I would suggest > adding one to align the behavior between V and B. > But I have no strong opinion for this. > I don't think there's any point in that. The experimental

Re: [RFC v2 15/15] target/riscv: rvb: support and turn on B-extension from command line

2020-12-16 Thread Kito Cheng
Hi Alistair, Frank: Should we add the bext_spec option like Vector-ext? I would suggest adding one to align the behavior between V and B. But I have no strong opinion for this. >DEFINE_PROP_STRING("vext_spec", RISCVCPU, cfg.vext_spec),

[RFC v2 15/15] target/riscv: rvb: support and turn on B-extension from command line

2020-12-15 Thread frank . chang
From: Kito Cheng B-extension is default off, use cpu rv32 or rv64 with x-b=true to enable B-extension. Signed-off-by: Kito Cheng Signed-off-by: Frank Chang --- target/riscv/cpu.c | 4 target/riscv/cpu.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/target/riscv/cpu.c