Hi Juzhe, LGTM apart from a tiny nit:
> + /* We have a maximum of 11 operands for RVV instruction patterns according > to > + * vector.md. */ > + insn_expander<11> e (/*OP_NUM*/ op_num, /*HAS_DEST_P*/ true, Seems like you copied this from the non-fp ternary part but the rest of the file uses RVV_INSN_OPERANDS_MAX already. Could you adjust this as well as emit_vlmax_ternary_insn? Thanks. Regards Robin