(mulsi3): Changed into define_expand.
(mulsi3): Changed into define_expand. Split insn into m68k and coldfire specific versions with appropriate constraints. From-SVN: r13798
This commit is contained in:
parent
e46a986ab9
commit
a139ec2564
|
@ -2890,11 +2890,25 @@
|
||||||
#endif
|
#endif
|
||||||
}")
|
}")
|
||||||
|
|
||||||
(define_insn "mulsi3"
|
(define_expand "mulsi3"
|
||||||
|
[(set (match_operand:SI 0 "general_operand" "")
|
||||||
|
(mult:SI (match_operand:SI 1 "general_operand" "")
|
||||||
|
(match_operand:SI 2 "general_operand" "")))]
|
||||||
|
"TARGET_68020 || TARGET_5200"
|
||||||
|
"")
|
||||||
|
|
||||||
|
(define_insn ""
|
||||||
[(set (match_operand:SI 0 "general_operand" "=d")
|
[(set (match_operand:SI 0 "general_operand" "=d")
|
||||||
(mult:SI (match_operand:SI 1 "general_operand" "%0")
|
(mult:SI (match_operand:SI 1 "general_operand" "%0")
|
||||||
(match_operand:SI 2 "general_operand" "dmsK")))]
|
(match_operand:SI 2 "general_operand" "dmsK")))]
|
||||||
"TARGET_68020 || TARGET_5200"
|
"TARGET_68020"
|
||||||
|
"muls%.l %2,%0")
|
||||||
|
|
||||||
|
(define_insn ""
|
||||||
|
[(set (match_operand:SI 0 "general_operand" "=d")
|
||||||
|
(mult:SI (match_operand:SI 1 "general_operand" "%0")
|
||||||
|
(match_operand:SI 2 "general_operand" "d<>")))]
|
||||||
|
"TARGET_5200"
|
||||||
"muls%.l %2,%0")
|
"muls%.l %2,%0")
|
||||||
|
|
||||||
(define_insn "umulhisi3"
|
(define_insn "umulhisi3"
|
||||||
|
|
Loading…
Reference in New Issue