This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/3] [SH] Add jump insn for -freorder-blocks-and-partition
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 10 Feb 2015 09:14:27 +0900 (JST)
- Subject: Re: [PATCH 2/3] [SH] Add jump insn for -freorder-blocks-and-partition
- Authentication-results: sourceware.org; auth=none
- References: <20150127 dot 084945 dot 143543252 dot kkojima at rr dot iij4u dot or dot jp>
> This patch adds a new jump insn for the jump crossing between hot/cold
> pertitions and reenables -freorder-blocks-and-partition on SH in
> some cases.
>
> --
> PR target/64761
> * config/sh/sh.c (sh_option_override): Don't change
> -freorder-blocks-and-partition to -freorder-blocks even when
> unwinding is enabled.
> (sh_can_follow_jump): Return false if the followee jump is
> a crossing jump when -freorder-blocks-and-partition is specified.
> * config/sh/sh.md (*jump_compact_crossing): New insn.
For the record, I've committed this SH specific patch
https://gcc.gnu.org/ml/gcc-patches/2015-01/msg02347.html
which is the last piece of the fix for PR target/64761.
Regards,
kaz