diff options
author | Richard Earnshaw <erich@gnu.org> | 1994-06-01 08:52:15 +0000 |
---|---|---|
committer | Richard Earnshaw <erich@gnu.org> | 1994-06-01 08:52:15 +0000 |
commit | 5472d00b23e73c0da5f1ea4becf13f7e7fb1f62e (patch) | |
tree | f1b8169399414e99bfcc9962f3c8845233f4021f /gcc | |
parent | c5563e117b59e25743f745e976e0c252db635b71 (diff) | |
download | gcc-5472d00b23e73c0da5f1ea4becf13f7e7fb1f62e.zip gcc-5472d00b23e73c0da5f1ea4becf13f7e7fb1f62e.tar.gz gcc-5472d00b23e73c0da5f1ea4becf13f7e7fb1f62e.tar.bz2 |
(short_branch): Convert length calculations to bytes
From-SVN: r7414
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/arm/arm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index e877549..dae7f98 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 |