OSDN Git Service

(movstrsi1): Renamed from movstrsi.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Aug 1992 04:18:46 +0000 (04:18 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Aug 1992 04:18:46 +0000 (04:18 +0000)
(movstrsi): New define_expand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1882 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/ns32k/ns32k.md

index 243f40c..0e273e2 100644 (file)
   return \"movb %1,%0\";
 }")
 \f
+;; 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"))