Message ID | 20231006023847.428045-1-pan2.li@intel.com |
---|---|
State | New |
Headers | show |
Series | [v1] RISC-V: Update comments for FP rounding related autovec | expand |
LGTM <pan2.li@intel.com> 於 2023年10月6日 週五 10:39 寫道: > From: Pan Li <pan2.li@intel.com> > > 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> > --- > 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 @@ (define_expand "<u>avg<v_double_trunc>3_ceil" > }) > > ;; > ------------------------------------------------------------------------- > -;; ---- [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") > -- > 2.34.1 > >
Committed, thanks Kito. Pan From: Kito Cheng <kito.cheng@gmail.com> Sent: Friday, October 6, 2023 11:09 AM To: Li, Pan2 <pan2.li@intel.com> Cc: GCC Patches <gcc-patches@gcc.gnu.org>; 钟居哲 <juzhe.zhong@rivai.ai>; Wang, Yanzhang <yanzhang.wang@intel.com> Subject: Re: [PATCH v1] RISC-V: Update comments for FP rounding related autovec LGTM <pan2.li@intel.com<mailto:pan2.li@intel.com>> 於 2023年10月6日 週五 10:39 寫道: From: Pan Li <pan2.li@intel.com<mailto:pan2.li@intel.com>> 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<mailto:pan2.li@intel.com>> --- 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 @@ (define_expand "<u>avg<v_double_trunc>3_ceil" }) ;; ------------------------------------------------------------------------- -;; ---- [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") -- 2.34.1
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 @@ (define_expand "<u>avg<v_double_trunc>3_ceil" }) ;; ------------------------------------------------------------------------- -;; ---- [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")