From 5f628fb5cea5cc2b42513d5095228da9c0f56483 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 29 Nov 2020 18:03:28 -0700 Subject: [PATCH] Fix minor bug in ft32 widening multiply gcc/ * config/ft32/ft32.md (umulsidi3): Do not allow constants as arguments. --- gcc/config/ft32/ft32.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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") -- 2.30.2