From 5115542a5cc17c5096e6e498c363e75d5bc14276 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 10 Mar 2020 22:16:19 -0600 Subject: [PATCH] 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. --- gcc/ChangeLog | 4 ++++ gcc/config/bfin/bfin.md | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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" "") -- 2.30.2