aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-08-18 04:18:46 +0000
committerRichard Stallman <rms@gnu.org>1992-08-18 04:18:46 +0000
commit31bcbccb4632823444daedffd10e14fc0afcf9e7 (patch)
tree5f87628e8cd8e99ded3cda47100bca3ddceb3944 /gcc
parent845e4228977a63d73e943d197377daab4879de68 (diff)
downloadgcc-31bcbccb4632823444daedffd10e14fc0afcf9e7.zip
gcc-31bcbccb4632823444daedffd10e14fc0afcf9e7.tar.gz
gcc-31bcbccb4632823444daedffd10e14fc0afcf9e7.tar.bz2
(movstrsi1): Renamed from movstrsi.
(movstrsi): New define_expand. From-SVN: r1882
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/ns32k/ns32k.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/gcc/config/ns32k/ns32k.md b/gcc/config/ns32k/ns32k.md
index 243f40c..0e273e2 100644
--- a/gcc/config/ns32k/ns32k.md
+++ b/gcc/config/ns32k/ns32k.md
@@ -477,11 +477,24 @@
return \"movb %1,%0\";
}")
+;; This is here to accept 4 arguments and pass the first 3 along
+;; to the movstrsi1 pattern that really does the work.
+(define_expand "movstrsi"
+ [(set (match_operand:BLK 0 "general_operand" "=g")
+ (match_operand:BLK 1 "general_operand" "g"))
+ (use (match_operand:SI 2 "general_operand" "rmn"))
+ (match_operand 3 "" "")]
+ ""
+ "
+ emit_insn (gen_movstrsi1 (operands[0], operands[1], operands[2]));
+ DONE;
+")
+
;; 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 "movstrsi"
+(define_insn "movstrsi1"
[(set (match_operand:BLK 0 "general_operand" "=g")
(match_operand:BLK 1 "general_operand" "g"))
(use (match_operand:SI 2 "general_operand" "rmn"))