search for: far_branch

Displaying 2 results from an estimated 2 matches for "far_branch".

Did you mean: can_branch
2020 Oct 06
3
[MC] Questions about relaxation in MC
...message to tell users it could not resolve the fixup record. I have compared the result with the GNU assembler. GNU assembler will convert the branch to inverted one plus jump to make the branch possible. The range of unconditional jump is 1MiB. It looks like ########################## bne a0, a1, FAR_BRANCHFAR_BRANCH: converted to ########################## beq a0, a1, SKIP_J j FAR_BRANCH SKIP_J: … FAR_BRANCH: I found there is a target hook, relaxInstruction, that tries to achieve the similar goal. However, the target hook only replaces one MCInst with another one with a larger branch range. For...
2020 Oct 06
3
Questions about relaxation in MC
...xup record. I have compared the result with the GNU > assembler. GNU assembler will convert the branch to inverted one > plus jump to make the branch possible. The range of unconditional > jump is 1MiB. It looks like > > ########################## > bne a0, a1, FAR_BRANCH > … > FAR_BRANCH: > > converted to > > ########################## > beq a0, a1, SKIP_J > j FAR_BRANCH > SKIP_J: > … > FAR_BRANCH: > > I found there is a target hook, relaxInstruction, that tries to > achieve the s...