* mn10300.md (mulsi): Turn into expander + pattern.
authorJeffrey A Law <law@cygnus.com>
Tue, 14 Jul 1998 14:53:36 +0000 (14:53 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 14 Jul 1998 14:53:36 +0000 (08:53 -0600)
From-SVN: r21143

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

index 4c94b2778f4cd158553a6dc7385710a5bc08fc8e..cb6fb7098da4d8f702c690ad7bc79c16b12281ad 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 8ae3d484d5f3603eab62fc1f084e6ce1b56a8293..6b56fd740d7998a73d080a8c0df1979176c5404a 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")))]