* mn10300.md (mulsi): Turn into expander + pattern.

From-SVN: r21143
This commit is contained in:
Jeffrey A Law 1998-07-14 14:53:36 +00:00 committed by Jeff Law
parent e0e6c0aaa9
commit 284280b5f9
2 changed files with 10 additions and 1 deletions

View 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.

View File

@ -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")))]