]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Update the comments of vx combine [NFC]
authorPan Li <pan2.li@intel.com>
Sat, 16 Aug 2025 08:08:23 +0000 (16:08 +0800)
committerPan Li <pan2.li@intel.com>
Sun, 17 Aug 2025 00:07:15 +0000 (08:07 +0800)
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.li@intel.com>
gcc/config/riscv/autovec-opt.md

index f1e592b46b52965572f3d1012bb12093fcc57e8f..ed0280fa987f9f5e80335553aeeb5c71829ea290 100644 (file)
 ;; 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")