Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/vax revert a local change ...
details: https://anonhg.NetBSD.org/src/rev/1aab89c18427
branches: trunk
changeset: 982350:1aab89c18427
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Apr 11 01:38:05 2021 +0000
description:
revert a local change that i can't figure out how to port
makes vax-gcc10 tools build.
diffstat:
external/gpl3/gcc/dist/gcc/config/vax/vax.md | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diffs (41 lines):
diff -r 01d06420c9da -r 1aab89c18427 external/gpl3/gcc/dist/gcc/config/vax/vax.md
--- a/external/gpl3/gcc/dist/gcc/config/vax/vax.md Sun Apr 11 01:37:18 2021 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/vax/vax.md Sun Apr 11 01:38:05 2021 +0000
@@ -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"))
Home |
Main Index |
Thread Index |
Old Index