https://gcc.gnu.org/g:38d76a4e6033016b5e2dcaae57df67075a605edd
commit r16-3232-g38d76a4e6033016b5e2dcaae57df67075a605edd Author: Pan Li <pan2...@intel.com> Date: Sat Aug 16 16:08:23 2025 +0800 RISC-V: Update the comments of vx combine [NFC] The supported insn of vx combine is out of date, update all insn supported for now. gcc/ChangeLog: * config/riscv/autovec-opt.md: Add supported insn of vx combine. Signed-off-by: Pan Li <pan2...@intel.com> Diff: --- gcc/config/riscv/autovec-opt.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gcc/config/riscv/autovec-opt.md b/gcc/config/riscv/autovec-opt.md index f1e592b46b52..ed0280fa987f 100644 --- a/gcc/config/riscv/autovec-opt.md +++ b/gcc/config/riscv/autovec-opt.md @@ -1679,6 +1679,26 @@ ;; Combine vec_duplicate + op.vv to op.vx ;; Include ;; - vadd.vx +;; - vsub.vx +;; - vrsub.vx +;; - vand.vx +;; - vor.vx +;; - vmul.vx +;; - vdiv.vx +;; - vdivu.vx +;; - vrem.vx +;; - vremu.vx +;; - vmax.vx +;; - vmaxu.vx +;; - vmin.vx +;; - vminu.vx +;; - vsadd.vx +;; - vsaddu.vx +;; - vssub.vx +;; - vssubu.vx +;; - vaadd.vx +;; - vaaddu.vx +;; - vmerge.vxm ;; ============================================================================= (define_insn_and_split "*<optab>_vx_<mode>" [(set (match_operand:V_VLSI 0 "register_operand")