On Thu, 5 Nov 2026 03:41:31 +0800 Max Chou <[email protected]> wrote:
> Add implied rules to enable the implied extensions of Zvfqwdota8f > 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 4f2e7a8faa9..6c09685bd4b 100644 > --- a/target/riscv/cpu.c > +++ b/target/riscv/cpu.c > @@ -2875,6 +2875,15 @@ static RISCVCPUImpliedExtsRule ZVQWDOTA8I_IMPLIED = { > }, > }; > > +static RISCVCPUImpliedExtsRule ZVFQWDOTA8F_IMPLIED = { > + .ext = CPU_CFG_OFFSET(ext_zvfqwdota8f), > + .implied_multi_exts = { > + CPU_CFG_OFFSET(ext_zve32f), > + > + RISCV_IMPLIED_EXTS_RULE_END > + }, > +}; > + > static RISCVCPUImpliedExtsRule ZVFWDOTA16BF_IMPLIED = { > .ext = CPU_CFG_OFFSET(ext_zvfwdota16bf), > .implied_multi_exts = { > @@ -3081,6 +3090,7 @@ RISCVCPUImpliedExtsRule > *riscv_multi_ext_implied_rules[] = { > &ZVFBFWMA_IMPLIED, > &ZVFH_IMPLIED, > &ZVFHMIN_IMPLIED, > + &ZVFQWDOTA8F_IMPLIED, > &ZVFWDOTA16BF_IMPLIED, > &ZVKN_IMPLIED, > &ZVKNC_IMPLIED, > -- > 2.56.0 > > > Sent using hkml (https://github.com/sjp38/hackermail)
