From: Jeff Law Date: Mon, 30 Nov 2020 01:03:28 +0000 (-0700) Subject: Fix minor bug in ft32 widening multiply X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f628fb5cea5cc2b42513d5095228da9c0f56483;p=gcc.git Fix minor bug in ft32 widening multiply gcc/ * config/ft32/ft32.md (umulsidi3): Do not allow constants as arguments. --- diff --git a/gcc/config/ft32/ft32.md b/gcc/config/ft32/ft32.md index 8918bb7cd58..1a2380f58fe 100644 --- a/gcc/config/ft32/ft32.md +++ b/gcc/config/ft32/ft32.md @@ -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")