On Thu, 5 Nov 2026 03:41:27 +0800 Max Chou <[email protected]> wrote:
> Add implied rules to enable the implied extensions of Zvfwdota16bf > 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 d6e2b07c401..2d905a99d68 100644 > --- a/target/riscv/cpu.c > +++ b/target/riscv/cpu.c > @@ -2873,6 +2873,15 @@ static RISCVCPUImpliedExtsRule ZVQWDOTA8I_IMPLIED = { > }, > }; > > +static RISCVCPUImpliedExtsRule ZVFWDOTA16BF_IMPLIED = { > + .ext = CPU_CFG_OFFSET(ext_zvfwdota16bf), > + .implied_multi_exts = { > + CPU_CFG_OFFSET(ext_zve32f), > + > + RISCV_IMPLIED_EXTS_RULE_END > + }, > +}; > + > static RISCVCPUImpliedExtsRule ZVKN_IMPLIED = { > .ext = CPU_CFG_OFFSET(ext_zvkn), > .implied_multi_exts = { > @@ -3070,6 +3079,7 @@ RISCVCPUImpliedExtsRule > *riscv_multi_ext_implied_rules[] = { > &ZVFBFWMA_IMPLIED, > &ZVFH_IMPLIED, > &ZVFHMIN_IMPLIED, > + &ZVFWDOTA16BF_IMPLIED, > &ZVKN_IMPLIED, > &ZVKNC_IMPLIED, > &ZVKNG_IMPLIED, > -- > 2.56.0 > > > Sent using hkml (https://github.com/sjp38/hackermail)
