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.
This commit is contained in:
Jeff Law 2020-03-10 22:16:19 -06:00
parent e11d05c1ed
commit 5115542a5c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2020-03-10 Jeff Law <law@redhat.com>
* config/bfin/bfin.md (movsi_insv): Add length attribute.
2020-03-10 Jiufu Guo <guojiufu@linux.ibm.com>
PR target/93709

View File

@ -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" "")