Module Name:    src
Committed By:   mrg
Date:           Sun Apr 11 01:38:05 UTC 2021

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

Log Message:
revert a local change that i can't figure out how to port
makes vax-gcc10 tools build.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 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.16 src/external/gpl3/gcc/dist/gcc/config/vax/vax.md:1.17
--- src/external/gpl3/gcc/dist/gcc/config/vax/vax.md:1.16	Sun Apr 11 00:02:15 2021
+++ src/external/gpl3/gcc/dist/gcc/config/vax/vax.md	Sun Apr 11 01:38:05 2021
@@ -216,27 +216,29 @@
   ""
   "
 {
+#if 0
   if (CONST_INT_P (operands[2]) && INTVAL (operands[2]) <= 48)
     {
-      emit_insn (gen_movmemsi1_2 (operands[0], operands[1], operands[2]));
+      emit_insn (gen_cpymemsi1_2 (operands[0], operands[1], operands[2]));
       DONE;
     }
+#endif
   emit_insn (gen_cpymemhi1 (operands[0], operands[1], operands[2]));
   DONE;
 }")
 
+;;(define_insn "cpymemsi1_2"
+;;  [(set (match_operand:BLK 0 "memory_operand" "=B")
+;;	(match_operand:BLK 1 "memory_operand" "B"))
+;;   (use (match_operand:SI 2 "const_int_operand" "g"))]
+;;  "INTVAL (operands[2]) <= 48"
+;;  "* return vax_output_cpymemsi (insn, operands);")
+
 ;; The definition of this insn does not really explain what it does,
 ;; but it should suffice
 ;; that anything generated as this insn will be recognized as one
 ;; and that it won't successfully combine with anything.
 
-(define_insn "movmemsi1_2"
-  [(set (match_operand:BLK 0 "memory_operand" "=B")
-	(match_operand:BLK 1 "memory_operand" "B"))
-   (use (match_operand:SI 2 "const_int_operand" "g"))]
-  "INTVAL (operands[2]) <= 48"
-  "* return vax_output_movmemsi (insn, operands);")
-
 (define_insn "cpymemhi1"
   [(set (match_operand:BLK 0 "memory_operand" "=o")
 	(match_operand:BLK 1 "memory_operand" "o"))

Reply via email to