From: Jeff Law Date: Wed, 11 Mar 2020 04:16:19 +0000 (-0600) Subject: Fix length computation for movsi_insv which resulted in regressions due to out of... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5115542a5cc17c5096e6e498c363e75d5bc14276;p=gcc.git Fix length computation for movsi_insv which resulted in regressions due to out of range branches on the bfin port. * config/bfin/bfin.md (movsi_insv): Add length attribute. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5b67b79745f..887a55097db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-03-10 Jeff Law + + * config/bfin/bfin.md (movsi_insv): Add length attribute. + 2020-03-10 Jiufu Guo PR target/93709 diff --git a/gcc/config/bfin/bfin.md b/gcc/config/bfin/bfin.md index bb71a377772..aecb8138181 100644 --- a/gcc/config/bfin/bfin.md +++ b/gcc/config/bfin/bfin.md @@ -752,7 +752,8 @@ "@ %d0 = %h1 << 0%! %d0 = %1;" - [(set_attr "type" "dsp32shiftimm,mvi")]) + [(set_attr "type" "dsp32shiftimm,mvi") + (set_attr "length" "*,4")]) (define_expand "insv" [(set (zero_extract:SI (match_operand:SI 0 "register_operand" "")