This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: SH: far conditional branch
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Cc: gcc-bugs at gcc dot gnu dot org, aoliva at redhat dot com, gniibe at m17n dot org, aph at cambridge dot redhat dot com
- Date: Fri, 28 Jun 2002 10:59:52 +0100
- Subject: Re: SH: far conditional branch
- Organization: SuperH UK Ltd.
- References: <200206280741.g5S7fMN29956@r-rr.iij4u.or.jp>
kaz Kojima wrote:
> It seems that the appended parts of .mach and .dbr dump files
> show what is going in this case. After the machine dependant
> reorg phase, there are no "far" conditional branches, but
> the dbr optimization makes them: dbr optimization deforms
>
> conditional_branch Lnear
> branch Lfar0
> Lnear: branch Lfar1
>
> to
>
> conditional_branch Lfar1
> branch Lfar0
>
> where Lfar? are out of the medium (+-4096) range relative to pc.
Why isn't this transformation prevented by MD_CAN_REDIRECT_BRANCH ?
--
--------------------------
SuperH
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330