From: Richard Earnshaw Date: Wed, 1 Jun 1994 08:52:15 +0000 (+0000) Subject: (short_branch): Convert length calculations to bytes X-Git-Tag: misc/cutover-egcs-0~6529 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5472d00b23e73c0da5f1ea4becf13f7e7fb1f62e;p=thirdparty%2Fgcc.git (short_branch): Convert length calculations to bytes From-SVN: r7414 --- diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index e8775493dc47..dae7f9825bce 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -796,9 +796,9 @@ int short_branch (from, to) int from, to; { - int delta = insn_addresses[from] + 2 - insn_addresses[to]; + int delta = insn_addresses[from] + 8 - insn_addresses[to]; - return abs (delta) < 245; /* A small margin for safety */ + return abs (delta) < 980; /* A small margin for safety */ } /* Check to see that the insn isn't the target of the conditionalizing