[PATCH] D140633: [lld][ARM] don't use short thumb thunks if no branch range extension
Ties Stuij via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 23 12:50:03 PST 2022
stuij added a comment.
In D140633#4015503 <https://reviews.llvm.org/D140633#4015503>, @MaskRay wrote:
>> On these architectures (v4, v5, and most of v6), we could replace the b.w with a Thumb b (2) instruction, but that would in an ideal situation only give us an extra range of 2048 bytes on top of the 4MB range of a BL,
>
> Q: what is "Thumb b (2)" ?
Its version 2 of the Thumb b instruction as per the v4-v6 Arm Architecture Reference Manual (doc nr: ddi 0100i).
So section A7.1.14 of https://documentation-service.arm.com/static/5f8dacc8f86e16515cdb865a
>> if a thunk section happens to be placed on the outer range of a BL and the stars are aligned.
>
> stars?
'stars are aligned' figure of speech embellishing the notion that it's very unlikely. That part didn't include any actual information.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140633/new/
https://reviews.llvm.org/D140633
More information about the llvm-commits
mailing list