From: Maciej W. Rozycki Date: Wed, 16 Nov 2016 21:39:31 +0000 (+0000) Subject: MIPS16/GCC: Improve `casesi_internal_mips16_'s instruction count estimate X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3be783adf3615d77da725cd3f51072cfbdcdee8;p=gcc.git 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 --- 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