aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/riscv/autovec.md
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2023-10-05 20:39:16 +0800
committerPan Li <pan2.li@intel.com>2023-10-06 11:10:28 +0800
commitf05b68b8f009c644521d6ff2fde940342029b830 (patch)
tree80694c89e3abdf3bbda8767b0bb26391ffe28c88 /gcc/config/riscv/autovec.md
parent6c44b95d9778cd8235891a27f340a43fd51f05f3 (diff)
downloadgcc-f05b68b8f009c644521d6ff2fde940342029b830.zip
gcc-f05b68b8f009c644521d6ff2fde940342029b830.tar.gz
gcc-f05b68b8f009c644521d6ff2fde940342029b830.tar.bz2
RISC-V: Update comments for FP rounding related autovec
Some comment is out of date, this patch would like to fix it. gcc/ChangeLog: * config/riscv/autovec.md: Update comments. Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'gcc/config/riscv/autovec.md')
-rw-r--r--gcc/config/riscv/autovec.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/riscv/autovec.md b/gcc/config/riscv/autovec.md
index 056f2c3..53e9d34 100644
--- a/gcc/config/riscv/autovec.md
+++ b/gcc/config/riscv/autovec.md
@@ -2229,12 +2229,16 @@
})
;; -------------------------------------------------------------------------
-;; ---- [FP] Math.h.
+;; ---- [FP] Rounding.
;; -------------------------------------------------------------------------
;; Includes:
;; - ceil/ceilf
;; - floor/floorf
;; - nearbyint/nearbyintf
+;; - rint/rintf
+;; - round/roundf
+;; - trunc/truncf
+;; - roundeven/roundevenf
;; -------------------------------------------------------------------------
(define_expand "ceil<mode>2"
[(match_operand:V_VLSF 0 "register_operand")