On Thu,  5 Nov 2026 03:41:42 +0800 Max Chou <[email protected]> wrote:

> Add implied rules to enable the implied extensions of Zvfwbdota16bf
> 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 c33885542f5..566e2e835ae 100644
> --- a/target/riscv/cpu.c
> +++ b/target/riscv/cpu.c
> @@ -2890,6 +2890,15 @@ static RISCVCPUImpliedExtsRule ZVFQWDOTA8F_IMPLIED = {
>      },
>  };
>  
> +static RISCVCPUImpliedExtsRule ZVFWBDOTA16BF_IMPLIED = {
> +    .ext = CPU_CFG_OFFSET(ext_zvfwbdota16bf),
> +    .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 = {
> @@ -3115,6 +3124,7 @@ RISCVCPUImpliedExtsRule 
> *riscv_multi_ext_implied_rules[] = {
>      &ZVFH_IMPLIED,
>      &ZVFHMIN_IMPLIED,
>      &ZVFQWDOTA8F_IMPLIED,
> +    &ZVFWBDOTA16BF_IMPLIED,
>      &ZVFWDOTA16BF_IMPLIED,
>      &ZVKN_IMPLIED,
>      &ZVKNC_IMPLIED,
> -- 
> 2.56.0
> 
> 
> 

Sent using hkml (https://github.com/sjp38/hackermail)

Reply via email to