Commit 5472d00b by Richard Earnshaw

(short_branch): Convert length calculations to bytes

From-SVN: r7414
parent c5563e11
...@@ -796,9 +796,9 @@ int ...@@ -796,9 +796,9 @@ int
short_branch (from, to) short_branch (from, to)
int 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 /* Check to see that the insn isn't the target of the conditionalizing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment