public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V: Fix warning of vxrm pattern
@ 2023-07-14  2:38 Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2023-07-14  2:38 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7c8a202309f759660c7e6d1f953841d152b968fa

commit 7c8a202309f759660c7e6d1f953841d152b968fa
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date:   Tue May 23 22:24:22 2023 +0800

    RISC-V: Fix warning of vxrm pattern
    
    I just notice the warning:
    ../../../riscv-gcc/gcc/config/riscv/vector.md:618:1: warning: source
    missing a mode?
    
    gcc/ChangeLog:
    
            * config/riscv/vector.md: Add mode.
    
    Signed-off-by: Juzhe-Zhong <juzhe.zhong@rivai.ai>

Diff:
---
 gcc/config/riscv/vector.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md
index 17ce0eb5274..8a95dbfaac2 100644
--- a/gcc/config/riscv/vector.md
+++ b/gcc/config/riscv/vector.md
@@ -617,7 +617,7 @@
 ;; Set VXRM
 (define_insn "vxrmsi"
   [(set (reg:SI VXRM_REGNUM)
-	(match_operand 0 "const_int_operand" "i"))]
+	(match_operand:SI 0 "const_int_operand" "i"))]
   "TARGET_VECTOR"
   "csrwi\tvxrm,%0"
   [(set_attr "type" "wrvxrm")

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V: Fix warning of vxrm pattern
@ 2023-05-25 23:22 Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2023-05-25 23:22 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0b7b5818c044ba2243b4634a6bbce35aded8b7f1

commit 0b7b5818c044ba2243b4634a6bbce35aded8b7f1
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date:   Tue May 23 22:24:22 2023 +0800

    RISC-V: Fix warning of vxrm pattern
    
    I just notice the warning:
    ../../../riscv-gcc/gcc/config/riscv/vector.md:618:1: warning: source
    missing a mode?
    
    gcc/ChangeLog:
    
            * config/riscv/vector.md: Add mode.
    
    Signed-off-by: Juzhe-Zhong <juzhe.zhong@rivai.ai>

Diff:
---
 gcc/config/riscv/vector.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md
index ac244430970..13b94862693 100644
--- a/gcc/config/riscv/vector.md
+++ b/gcc/config/riscv/vector.md
@@ -617,7 +617,7 @@
 ;; Set VXRM
 (define_insn "vxrmsi"
   [(set (reg:SI VXRM_REGNUM)
-	(match_operand 0 "const_int_operand" "i"))]
+	(match_operand:SI 0 "const_int_operand" "i"))]
   "TARGET_VECTOR"
   "csrwi\tvxrm,%0"
   [(set_attr "type" "wrvxrm")

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-14  2:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14  2:38 [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V: Fix warning of vxrm pattern Jeff Law
  -- strict thread matches above, loose matches on Subject: below --
2023-05-25 23:22 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).