(umulsidi3+1): Add variant which accepts constants.
From-SVN: r3353
This commit is contained in:
parent
590d6f8e98
commit
9116497e24
|
@ -1494,6 +1494,19 @@
|
|||
}"
|
||||
[(set_attr "type" "mult")])
|
||||
|
||||
(define_insn ""
|
||||
[(set (match_operand:DI 0 "register_operand" "=d")
|
||||
(mult:DI (zero_extend:DI (match_operand:SI 1 "register_operand" "%d"))
|
||||
(match_operand:SI 2 "literal" "I"))))]
|
||||
""
|
||||
"*
|
||||
{
|
||||
if (i960_bypass (insn, operands[1], operands[2], 0))
|
||||
return \"emul %2,%1,%0\";
|
||||
return \"emul %1,%2,%0\";
|
||||
}"
|
||||
[(set_attr "type" "mult")])
|
||||
|
||||
;; This goes after the move/add/sub/mul instructions
|
||||
;; because those instructions are better when they apply.
|
||||
|
||||
|
|
Loading…
Reference in New Issue