On Thu, 5 Nov 2026 03:41:46 +0800 Max Chou <[email protected]> wrote:
> Add implied rules to enable the implied extensions of Zvfqwbdota8f > extension recursively. > > Signed-off-by: Max Chou <[email protected]> Reviewed-by: Chao Liu <[email protected]> Thanks, Chao > --- > target/riscv/cpu.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c > index b4a9f2c3e30..0a35bc7c416 100644 > --- a/target/riscv/cpu.c > +++ b/target/riscv/cpu.c > @@ -2892,6 +2892,15 @@ static RISCVCPUImpliedExtsRule ZVFQWDOTA8F_IMPLIED = { > }, > }; > > +static RISCVCPUImpliedExtsRule ZVFQWBDOTA8F_IMPLIED = { > + .ext = CPU_CFG_OFFSET(ext_zvfqwbdota8f), > + .implied_multi_exts = { > + CPU_CFG_OFFSET(ext_zve32f), > + > + RISCV_IMPLIED_EXTS_RULE_END > + }, > +}; > + > static RISCVCPUImpliedExtsRule ZVFWBDOTA16BF_IMPLIED = { > .ext = CPU_CFG_OFFSET(ext_zvfwbdota16bf), > .implied_multi_exts = { > @@ -3125,6 +3134,7 @@ RISCVCPUImpliedExtsRule > *riscv_multi_ext_implied_rules[] = { > &ZVFBFWMA_IMPLIED, > &ZVFH_IMPLIED, > &ZVFHMIN_IMPLIED, > + &ZVFQWBDOTA8F_IMPLIED, > &ZVFQWDOTA8F_IMPLIED, > &ZVFWBDOTA16BF_IMPLIED, > &ZVFWDOTA16BF_IMPLIED, > -- > 2.56.0 > > > Sent using hkml (https://github.com/sjp38/hackermail)
