public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8213] LoongArch: Remove constraint z from movsi_internal
@ 2024-01-18  9:08 Xi Ruoyao
  0 siblings, 0 replies; only message in thread
From: Xi Ruoyao @ 2024-01-18  9:08 UTC (permalink / raw)
  To: gcc-cvs

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

commit r14-8213-gb4cb9c9606b421a1d95e9bdff7ec3e409a3e9a3b
Author: Xi Ruoyao <xry111@xry111.site>
Date:   Thu Dec 14 20:19:47 2023 +0800

    LoongArch: Remove constraint z from movsi_internal
    
    We don't allow SImode in FCC, so constraint z is never really used
    here.
    
    gcc/ChangeLog:
    
            * config/loongarch/loongarch.md (movsi_internal): Remove
            constraint z.

Diff:
---
 gcc/config/loongarch/loongarch.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/config/loongarch/loongarch.md b/gcc/config/loongarch/loongarch.md
index ebc0476ea6f..dda3cdf8be5 100644
--- a/gcc/config/loongarch/loongarch.md
+++ b/gcc/config/loongarch/loongarch.md
@@ -2197,8 +2197,8 @@
 })
 
 (define_insn_and_split "*movsi_internal"
-  [(set (match_operand:SI 0 "nonimmediate_operand" "=r,r,r,w,*f,f,*r,*m,*r,*z")
-	(match_operand:SI 1 "move_operand" "r,Yd,w,rJ,*r*J,m,*f,*f,*z,*r"))]
+  [(set (match_operand:SI 0 "nonimmediate_operand" "=r,r,r,w,*f,f,*r,*m")
+	(match_operand:SI 1 "move_operand" "r,Yd,w,rJ,*r*J,m,*f,*f"))]
   "(register_operand (operands[0], SImode)
     || reg_or_0_operand (operands[1], SImode))"
   { return loongarch_output_move (operands[0], operands[1]); }
@@ -2211,7 +2211,7 @@
   DONE;
 }
   "
-  [(set_attr "move_type" "move,const,load,store,mgtf,fpload,mftg,fpstore,mftg,mgtf")
+  [(set_attr "move_type" "move,const,load,store,mgtf,fpload,mftg,fpstore")
    (set_attr "mode" "SI")])
 
 ;; 16-bit Integer moves

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

only message in thread, other threads:[~2024-01-18  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-18  9:08 [gcc r14-8213] LoongArch: Remove constraint z from movsi_internal Xi Ruoyao

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