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.