From a3be783adf3615d77da725cd3f51072cfbdcdee8 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Wed, 16 Nov 2016 21:39:31 +0000 Subject: MIPS16/GCC: Improve `casesi_internal_mips16_'s instruction count estimate gcc/ * config/mips/mips.md (casesi_internal_mips16_): Set `insn_count' to 11 rather than 16. From-SVN: r242516 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a8ff380..17b79e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2016-11-16 Maciej W. Rozycki + * config/mips/mips.md (casesi_internal_mips16_): Set + `insn_count' to 11 rather than 16. + +2016-11-16 Maciej W. Rozycki + * config/mips/mips.md (casesi_internal_mips16_): Use the `ltu' rather than `leu' operation in the RTL pattern diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 3aea5a7..13852ef 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -6444,7 +6444,7 @@ return "j\t%4"; } - [(set_attr "insn_count" "16")]) + [(set_attr "insn_count" "11")]) ;; For TARGET_USE_GOT, we save the gp in the jmp_buf as well. ;; While it is possible to either pull it off the stack (in the -- cgit v1.1