From a3be783adf3615d77da725cd3f51072cfbdcdee8 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Wed, 16 Nov 2016 21:39:31 +0000 Subject: [PATCH] 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(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a8ff380c180..17b79e52eed 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 3aea5a7a4f3..13852ef2293 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 -- 2.30.2