> diff --git a/gcc/config/riscv/generic-vector-ooo.md > b/gcc/config/riscv/generic-vector-ooo.md > index > e0d9a9f972ead6a5ba7fa8dbd2cec79e388b193d..af07a43d4a47c834aebb8f54fe4fbe5e38ccceba > 100644 > --- a/gcc/config/riscv/generic-vector-ooo.md > +++ b/gcc/config/riscv/generic-vector-ooo.md > @@ -71,7 +71,7 @@ > (define_insn_reservation "vec_imul" 4 > (and (eq_attr "tune" "generic_ooo,generic") > (eq_attr "type" > "vimul,viwmul,vimuladd,viwmuladd,vsmul,vclmul,vclmulh,\ > - vghsh,vgmul")) > + vghsh,vgmul,vidota,vibdota")) > "vxu_ooo_issue,vxu_ooo_alu") > > ;; Vector float addition. > @@ -83,7 +83,8 @@ > ;; Vector float multiplication and FMA. > (define_insn_reservation "vec_fmul" 6 > (and (eq_attr "tune" "generic_ooo,generic") > - (eq_attr "type" > "vfmul,vfwmul,vfmuladd,vfwmuladd,vfwmaccbf16,sf_vqmacc,sf_vfnrclip")) > + (eq_attr "type" "vfmul,vfwmul,vfmuladd,vfwmuladd,vfwmaccbf16,\ > + vfdota,vfbdota,sf_vqmacc,sf_vfnrclip")) > "vxu_ooo_issue,vxu_ooo_alu") > > ;; Vector crypto, assumed to be a generic operation for now.
Thanks, this is a good start but unfortunately, you'll need to add the new types to all models. It's not ideal but how we currently deal with this. The easiest way is to just stuff it into the "unknown" bucket of each scheduler model. I guess Sashiko will still have some remarks once it picks this patch up, please make sure to check if they apply. To me the patch looks OK with the above fixed. -- Regards Robin
