From: law Date: Tue, 14 Jul 1998 14:53:36 +0000 (+0000) Subject: * mn10300.md (mulsi): Turn into expander + pattern. X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=56d12157ff4e10f4a5c4a0b19cb8020f3a67bcd4 * mn10300.md (mulsi): Turn into expander + pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21143 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4c94b2778f4..cb6fb7098da 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -6,6 +6,8 @@ Tue Jul 14 14:15:30 1998 Nick Clifton 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. diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md index 8ae3d484d5f..6b56fd740d7 100644 --- a/gcc/config/mn10300/mn10300.md +++ b/gcc/config/mn10300/mn10300.md @@ -758,7 +758,14 @@ ;; 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")))]