public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V: Update comments for FP rounding related autovec
@ 2023-10-09 12:51 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-10-09 12:51 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:31db7ba254417994ebfe06520eb60ab031c788b8

commit 31db7ba254417994ebfe06520eb60ab031c788b8
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>
    (cherry picked from commit f05b68b8f009c644521d6ff2fde940342029b830)

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")

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-09 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-09 12:51 [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V: Update comments for FP rounding related autovec Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).