Module Name:    src
Committed By:   kalvisd
Date:           Sun Sep 29 09:28:56 UTC 2024

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config/vax: vax.md

Log Message:
gcc: vax: update instruction constraints

    Mark the output operands of the 'sbcdi3' instruction pattern as being
    written before the instruction has finished using the input operands.

    OK rin@


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/gpl3/gcc/dist/gcc/config/vax/vax.md

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config/vax/vax.md
diff -u src/external/gpl3/gcc/dist/gcc/config/vax/vax.md:1.20 src/external/gpl3/gcc/dist/gcc/config/vax/vax.md:1.21
--- src/external/gpl3/gcc/dist/gcc/config/vax/vax.md:1.20	Sun Sep 29 04:33:07 2024
+++ src/external/gpl3/gcc/dist/gcc/config/vax/vax.md	Sun Sep 29 09:28:56 2024
@@ -934,7 +934,7 @@
   "vax_expand_addsub_di_operands (operands, MINUS); DONE;")
 
 (define_insn_and_split "sbcdi3"
-  [(set (match_operand:DI 0 "nonimmediate_addsub_di_operand" "=Rr,Rr")
+  [(set (match_operand:DI 0 "nonimmediate_addsub_di_operand" "=&Rr,&Rr")
 	(minus:DI (match_operand:DI 1 "general_addsub_di_operand" "0,I")
 		  (match_operand:DI 2 "general_addsub_di_operand" "nRr,Rr")))]
   "TARGET_QMATH"
@@ -948,7 +948,7 @@
   "")
 
 (define_insn "*sbcdi3<ccn>"
-  [(set (match_operand:DI 0 "nonimmediate_addsub_di_operand" "=Rr,Rr")
+  [(set (match_operand:DI 0 "nonimmediate_addsub_di_operand" "=&Rr,&Rr")
 	(minus:DI (match_operand:DI 1 "general_addsub_di_operand" "0,I")
 		  (match_operand:DI 2 "general_addsub_di_operand" "nRr,Rr")))
    (clobber (reg:CC VAX_PSL_REGNUM))]

Reply via email to