search for: fixupunconditionalbr

Displaying 3 results from an estimated 3 matches for "fixupunconditionalbr".

2013 Nov 18
3
[LLVMdev] possible thumb bug in constant islands
I don't know ARM hardly at all but... This comment does not seem to match the code. Or maybe tBfar is a BL? Also, how does this work if the destination is greater than 2**21? /// fixupUnconditionalBr - Fix up an unconditional branch whose destination is /// too far away to fit in its displacement field. If the LR register has been /// spilled in the epilogue, then we can use BL to implement a far jump. /// Otherwise, add an intermediate branch instruction to a branch. bool ARMConstantIslands:...
2013 Nov 19
0
[LLVMdev] possible thumb bug in constant islands
...What does the definition of tBfar say? > > Also, how does this work if the destination is greater than 2**21? > It doesn’t. IIRC, that’s under the category of “if people start having problems with that limit, we’ll consider complicating the code enough to deal with it." > /// fixupUnconditionalBr - Fix up an unconditional branch whose destination is > /// too far away to fit in its displacement field. If the LR register has been > /// spilled in the epilogue, then we can use BL to implement a far jump. > /// Otherwise, add an intermediate branch instruction to a branch. > bool &...
2013 Nov 19
1
[LLVMdev] possible thumb bug in constant islands
...return from the function. >> Also, how does this work if the destination is greater than 2**21? >> > It doesn’t. IIRC, that’s under the category of “if people start having problems with that limit, we’ll consider complicating the code enough to deal with it." > >> /// fixupUnconditionalBr - Fix up an unconditional branch whose destination is >> /// too far away to fit in its displacement field. If the LR register has been >> /// spilled in the epilogue, then we can use BL to implement a far jump. >> /// Otherwise, add an intermediate branch instruction to a branch....