[PATCH] D88629: [lld-macho] Add ARM64 target arch
Thorsten via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 3 14:21:50 PDT 2020
tschuett added a comment.
only for the b instruction, you use
inline uint64_t fixupBranch26(uint64_t encoding, uint64_t va) {
return (encoding | bitField(va, 2, 26, 0));
}
The label is encoded in a slot starting at 0 and the width is 26, which matches the 0 and 26. The label is encoded as imm26 times 4, which could explain the 2.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88629/new/
https://reviews.llvm.org/D88629
More information about the llvm-commits
mailing list