>> diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc >> index 681b816d248..caf2d3023c5 100644 >> --- a/gcc/config/riscv/riscv.cc >> +++ b/gcc/config/riscv/riscv.cc >> @@ -299,6 +299,7 @@ struct riscv_tune_param >> const char *jump_align; >> const char *loop_align; >> bool prefer_agnostic; >> + bool vl_dependent_lmul_scaling; > > ^^^ I would prefer just using `rvv_lmul_scaling_mode_enum` here rather > than bool, > so that we can have different modeling in future.
We might also want to use a polynomial right away, with two or three predefined? Quadratic seems crazy, though, not sure how or why hardware would do that :) -- Regards Robin
