Fix insn length for pdp11 shift patterns.
authorPaul Koning <ni1d@arrl.net>
Thu, 28 Jun 2018 18:50:12 +0000 (14:50 -0400)
committerPaul Koning <pkoning@gcc.gnu.org>
Thu, 28 Jun 2018 18:50:12 +0000 (14:50 -0400)
commit9cd1665b997d3cdf4d6984b6268d3d9da19dcba8
treeb72a5172e0ecaaf1d6250379e74bd185fcb3a7b6
parenta0e8e6308fa856a7783f4c60938f0c57521cb473
Fix insn length for pdp11 shift patterns.

* config/pdp11/pdp11-protos.h (pdp11_shift_length): New function.
* config/pdp11/pdp11.c (pdp11_shift_length): New function.
* config/pdp11/pdp11.h (ADJUST_INSN_LENGTH): Remove.
* config/pdp11/pdp11.md: Correct "length" attribute calculation
for shift insn patterns.

From-SVN: r262227
gcc/ChangeLog
gcc/config/pdp11/pdp11-protos.h
gcc/config/pdp11/pdp11.c
gcc/config/pdp11/pdp11.h
gcc/config/pdp11/pdp11.md