[gcc r14-4429] RISC-V: Update comments for FP rounding related autovec

Pan Li panli@gcc.gnu.org
Fri Oct 6 03:10:38 GMT 2023


https://gcc.gnu.org/g:f05b68b8f009c644521d6ff2fde940342029b830

commit r14-4429-gf05b68b8f009c644521d6ff2fde940342029b830
Author: Pan Li <pan2.li@intel.com>
Date:   Thu Oct 5 20:39:16 2023 +0800

    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>

Diff:
---
 gcc/config/riscv/autovec.md | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/config/riscv/autovec.md b/gcc/config/riscv/autovec.md
index 056f2c352f6..53e9d34eea1 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")


More information about the Gcc-cvs mailing list