]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Update RVV integer compare simplification comments
authorPan Li <pan2.li@intel.com>
Mon, 8 May 2023 08:48:54 +0000 (16:48 +0800)
committerPan Li <pan2.li@intel.com>
Thu, 11 May 2023 12:26:16 +0000 (20:26 +0800)
The VMSET simplification RVV integer comparision has merged already.
This patch would like to update the comments for the cases that the
define_split will act on.

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/ChangeLog:

* config/riscv/vector.md: Add comments for simplifying to vmset.

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/config/riscv/vector.md

index 75479f27bcd69c9ac4dacfde48b542c200b119c6..328fce8d632d706819f83b3504357644ca143c3a 100644 (file)
 ;; -----------------------------------------------------------------------------
 ;; ---- Integer Compare Instructions Simplification
 ;; -----------------------------------------------------------------------------
-;; Simplify to VMCLR.m Includes:
+;; Simplify OP(V, V) Instructions to VMCLR.m Includes:
 ;; - 1.  VMSNE
 ;; - 2.  VMSLT
 ;; - 3.  VMSLTU
 ;; - 4.  VMSGT
 ;; - 5.  VMSGTU
 ;; -----------------------------------------------------------------------------
+;; Simplify OP(V, V) Instructions to VMSET.m Includes:
+;; - 1.  VMSEQ
+;; - 2.  VMSLE
+;; - 3.  VMSLEU
+;; - 4.  VMSGE
+;; - 5.  VMSGEU
+;; -----------------------------------------------------------------------------
 (define_split
   [(set (match_operand:VB      0 "register_operand")
        (if_then_else:VB