OSDN Git Service

* mn10300.md (mulsi): Turn into expander + pattern.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 1998 14:53:36 +0000 (14:53 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 1998 14:53:36 +0000 (14:53 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21143 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mn10300/mn10300.md

index 4c94b27..cb6fb70 100644 (file)
@@ -6,6 +6,8 @@ Tue Jul 14 14:15:30 1998  Nick Clifton  <nickc@cygnus.com>
 
 Tue Jul 14 14:46:08 1998  Jeffrey A Law  (law@cygnus.com)
 
+       * mn10300.md (mulsi): Turn into expander + pattern.
+
        * mn10300.md (movsi, movsf, movdi, movdf): Remove "x" from I -> a
        alternative.
 
index 8ae3d48..6b56fd7 100644 (file)
 ;; MULTIPLY INSTRUCTIONS
 ;; ----------------------------------------------------------------------
 
-(define_insn "mulsi3"
+(define_expand "mulsi3"
+  [(set (match_operand:SI 0 "register_operand" "")
+       (mult:SI (match_operand:SI 1 "register_operand" "")
+                (match_operand:SI 2 "register_operand" "")))]
+  ""
+  "")
+
+(define_insn ""
   [(set (match_operand:SI 0 "register_operand" "=dx")
        (mult:SI (match_operand:SI 1 "register_operand" "%0")
                 (match_operand:SI 2 "register_operand" "dx")))]