Fix minor bug in ft32 widening multiply
gcc/ * config/ft32/ft32.md (umulsidi3): Do not allow constants as arguments.
This commit is contained in:
parent
a9625c50dd
commit
5f628fb5ce
1 changed files with 3 additions and 3 deletions
|
@ -89,9 +89,9 @@
|
|||
"mul.l %0,%1,%2")
|
||||
|
||||
(define_insn "umulsidi3"
|
||||
[(set (match_operand:DI 0 "register_operand" "=r,r")
|
||||
(mult:DI (zero_extend:DI (match_operand:SI 1 "register_operand" "r,r"))
|
||||
(zero_extend:DI (match_operand:SI 2 "ft32_rimm_operand" "r,KA"))))
|
||||
[(set (match_operand:DI 0 "register_operand" "=r")
|
||||
(mult:DI (zero_extend:DI (match_operand:SI 1 "register_operand" "r"))
|
||||
(zero_extend:DI (match_operand:SI 2 "register_operand" "r"))))
|
||||
(clobber (reg:CC CC_REG))]
|
||||
""
|
||||
"mul.l $cc,%1,%2\;muluh.l %h0,%1,%2\;move.l %0,$cc")
|
||||
|
|
Loading…
Add table
Reference in a new issue