aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pdp11/pdp11-protos.h
diff options
context:
space:
mode:
authorPaul Koning <ni1d@arrl.net>2018-06-28 14:50:12 -0400
committerPaul Koning <pkoning@gcc.gnu.org>2018-06-28 14:50:12 -0400
commit9cd1665b997d3cdf4d6984b6268d3d9da19dcba8 (patch)
treeb72a5172e0ecaaf1d6250379e74bd185fcb3a7b6 /gcc/config/pdp11/pdp11-protos.h
parenta0e8e6308fa856a7783f4c60938f0c57521cb473 (diff)
downloadgcc-9cd1665b997d3cdf4d6984b6268d3d9da19dcba8.zip
gcc-9cd1665b997d3cdf4d6984b6268d3d9da19dcba8.tar.gz
gcc-9cd1665b997d3cdf4d6984b6268d3d9da19dcba8.tar.bz2
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
Diffstat (limited to 'gcc/config/pdp11/pdp11-protos.h')
-rw-r--r--gcc/config/pdp11/pdp11-protos.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/pdp11/pdp11-protos.h b/gcc/config/pdp11/pdp11-protos.h
index 4536323..754a29d 100644
--- a/gcc/config/pdp11/pdp11-protos.h
+++ b/gcc/config/pdp11/pdp11-protos.h
@@ -41,6 +41,7 @@ extern machine_mode pdp11_cc_mode (enum rtx_code, rtx, rtx);
extern bool pdp11_expand_shift (rtx *, rtx (*) (rtx, rtx, rtx),
rtx (*) (rtx, rtx, rtx));
extern const char * pdp11_assemble_shift (rtx *, machine_mode, int);
+extern int pdp11_shift_length (rtx *, machine_mode, int, bool);
extern bool pdp11_small_shift (int);
#endif /* RTX_CODE */