aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2025-08-16 16:08:23 +0800
committerPan Li <pan2.li@intel.com>2025-08-17 08:07:15 +0800
commit38d76a4e6033016b5e2dcaae57df67075a605edd (patch)
tree211cf0005658565f3f47917d791e4b2731db1579
parent756f771f58f79406a08b6d574939b70d895bb613 (diff)
downloadgcc-38d76a4e6033016b5e2dcaae57df67075a605edd.zip
gcc-38d76a4e6033016b5e2dcaae57df67075a605edd.tar.gz
gcc-38d76a4e6033016b5e2dcaae57df67075a605edd.tar.bz2
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.li@intel.com>
-rw-r--r--gcc/config/riscv/autovec-opt.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/config/riscv/autovec-opt.md b/gcc/config/riscv/autovec-opt.md
index f1e592b..ed0280f 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")